- update to 6.3.1
- log messages to /var/log/opal-prd.log
This commit is contained in:
parent
5722dda487
commit
cf6e10c674
1
.gitignore
vendored
1
.gitignore
vendored
@ -11,3 +11,4 @@
|
|||||||
/skiboot-6.0.4.tar.gz
|
/skiboot-6.0.4.tar.gz
|
||||||
/skiboot-6.1.tar.gz
|
/skiboot-6.1.tar.gz
|
||||||
/skiboot-6.2.tar.gz
|
/skiboot-6.2.tar.gz
|
||||||
|
/skiboot-6.3.1.tar.gz
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
%global project skiboot
|
%global project skiboot
|
||||||
|
|
||||||
Name: opal-prd
|
Name: opal-prd
|
||||||
Version: 6.2
|
Version: 6.3.1
|
||||||
Release: 4%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: OPAL Processor Recovery Diagnostics Daemon
|
Summary: OPAL Processor Recovery Diagnostics Daemon
|
||||||
|
|
||||||
License: ASL 2.0
|
License: ASL 2.0
|
||||||
@ -26,7 +26,6 @@ Source0: https://github.com/open-power/%{project}/archive/v%{version}/%{project}
|
|||||||
Source1: opal-prd-rsyslog
|
Source1: opal-prd-rsyslog
|
||||||
Source2: opal-prd-logrotate
|
Source2: opal-prd-logrotate
|
||||||
Patch1: skiboot-6.1-annocheck.patch
|
Patch1: skiboot-6.1-annocheck.patch
|
||||||
Patch2: skiboot-6.2-warning.patch
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This package provides a daemon to load and run the OpenPower firmware's
|
This package provides a daemon to load and run the OpenPower firmware's
|
||||||
@ -89,8 +88,8 @@ install -m 644 -p skiboot.lid.xz %{buildroot}%{_datadir}/qemu/skiboot.lid.xz
|
|||||||
|
|
||||||
# log opal-prd messages to /var/log/opal-prd.log
|
# log opal-prd messages to /var/log/opal-prd.log
|
||||||
mkdir -p %{buildroot}%{_sysconfdir}/{rsyslog.d,logrotate.d}
|
mkdir -p %{buildroot}%{_sysconfdir}/{rsyslog.d,logrotate.d}
|
||||||
install -m 644 %{SOURCE1} %{buildroot}/%{_sysconfdir}/rsyslog.d/opal-prd
|
install -m 644 %{SOURCE1} %{buildroot}/%{_sysconfdir}/rsyslog.d/opal-prd.conf
|
||||||
install -m 644 %{SOURCE2} %{buildroot}/%{_sysconfdir}/logrotate.d/10-opal-prd.conf
|
install -m 644 %{SOURCE2} %{buildroot}/%{_sysconfdir}/logrotate.d/opal-prd
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%systemd_post opal-prd.service
|
%systemd_post opal-prd.service
|
||||||
@ -104,8 +103,8 @@ install -m 644 %{SOURCE2} %{buildroot}/%{_sysconfdir}/logrotate.d/10-opal-prd.co
|
|||||||
%files
|
%files
|
||||||
%doc README.md
|
%doc README.md
|
||||||
%license LICENCE
|
%license LICENCE
|
||||||
%config(noreplace) %{_sysconfdir}/logrotate.d/10-opal-prd.conf
|
%config(noreplace) %{_sysconfdir}/logrotate.d/opal-prd
|
||||||
%config(noreplace) %{_sysconfdir}/rsyslog.d/opal-prd
|
%config(noreplace) %{_sysconfdir}/rsyslog.d/opal-prd.conf
|
||||||
%{_sbindir}/opal-prd
|
%{_sbindir}/opal-prd
|
||||||
%{_unitdir}/opal-prd.service
|
%{_unitdir}/opal-prd.service
|
||||||
%{_mandir}/man8/*
|
%{_mandir}/man8/*
|
||||||
@ -126,6 +125,10 @@ install -m 644 %{SOURCE2} %{buildroot}/%{_sysconfdir}/logrotate.d/10-opal-prd.co
|
|||||||
%{_datadir}/qemu/
|
%{_datadir}/qemu/
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri May 24 2019 Than Ngo <than@redhat.com> - 6.3.1-1
|
||||||
|
- update to 6.3.1
|
||||||
|
- log messages to /var/log/opal-prd.log
|
||||||
|
|
||||||
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 6.2-3
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 6.2-3
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||||
|
|
||||||
|
@ -1,26 +0,0 @@
|
|||||||
diff --git a/libflash/ecc.c b/libflash/ecc.c
|
|
||||||
index 9ed9015af..e920dfa98 100644
|
|
||||||
--- a/libflash/ecc.c
|
|
||||||
+++ b/libflash/ecc.c
|
|
||||||
@@ -177,7 +177,7 @@ static int eccbyte(uint64_t *dst, struct ecc64 *src)
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
-static uint64_t *inc_uint64_by(const uint64_t *p, uint64_t i)
|
|
||||||
+static uint64_t *inc_uint64_by(const void *p, uint64_t i)
|
|
||||||
{
|
|
||||||
return (uint64_t *)(((char *)p) + i);
|
|
||||||
}
|
|
||||||
diff --git a/libflash/libffs.c b/libflash/libffs.c
|
|
||||||
index 221c2b024..4eb0ffa99 100644
|
|
||||||
--- a/libflash/libffs.c
|
|
||||||
+++ b/libflash/libffs.c
|
|
||||||
@@ -522,7 +522,7 @@ int ffs_part_info(struct ffs_handle *ffs, uint32_t part_idx,
|
|
||||||
n = calloc(1, FFS_PART_NAME_MAX + 1);
|
|
||||||
if (!n)
|
|
||||||
return FLASH_ERR_MALLOC_FAILED;
|
|
||||||
- strncpy(n, ent->name, FFS_PART_NAME_MAX);
|
|
||||||
+ strncpy(n, ent->name, FFS_PART_NAME_MAX + 1);
|
|
||||||
*name = n;
|
|
||||||
}
|
|
||||||
return 0;
|
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
SHA512 (skiboot-6.2.tar.gz) = c2751120e366cd60a4622bfca6176e21497ef766509b3e2d9bb6831ccf7eaa2d3485537228e3f2c5977f8d8cd7cbff6e9888ebd39d506627a06b740b8e04d127
|
SHA512 (skiboot-6.3.1.tar.gz) = ad2156d864cedcf3d19e8ff094d12059703aaf9a5ea8403e230ecf33d331dae45e0f28a89c65ad05f94605e493bc8d42df92698847600810d5609bc56ade24b8
|
||||||
|
Loading…
Reference in New Issue
Block a user