diff --git a/.gitignore b/.gitignore index 23a1052..4a72216 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/skiboot-6.6.tar.gz +SOURCES/skiboot-6.6.3.tar.gz diff --git a/.opal-prd.metadata b/.opal-prd.metadata index b815d1c..a19bd40 100644 --- a/.opal-prd.metadata +++ b/.opal-prd.metadata @@ -1 +1 @@ -97a6f924c558a9c8315333b591eae4d4ea3c9f9d SOURCES/skiboot-6.6.tar.gz +7ba62e1904d77dee4d9b38aad0d4ad273cf0a651 SOURCES/skiboot-6.6.3.tar.gz diff --git a/SOURCES/skiboot-6.6.2-ffspart.patch b/SOURCES/skiboot-6.6.2-ffspart.patch new file mode 100644 index 0000000..c39282b --- /dev/null +++ b/SOURCES/skiboot-6.6.2-ffspart.patch @@ -0,0 +1,25 @@ +commit 6278c6df4ff2123725efc10e5e6ea48d02fda55a +Author: Dan Horák +Date: Mon Aug 10 12:59:04 2020 +0200 + + external/ffspart: define $(sbindir) for Makefile + + Right now the $(sbindir) variable isn't defined, so the binary gets installed + directly into $(DESTDIR). + + Signed-off-by: Dan Horák + +diff --git a/external/ffspart/rules.mk b/external/ffspart/rules.mk +index 40972c688..e006dc5b7 100644 +--- a/external/ffspart/rules.mk ++++ b/external/ffspart/rules.mk +@@ -10,6 +10,9 @@ LIBFLASH_SRC := $(addprefix libflash/,$(LIBFLASH_FILES)) + OBJS += $(LIBFLASH_OBJS) + OBJS += common-arch_flash.o + ++prefix = /usr/local/ ++sbindir = $(prefix)/sbin ++ + CC = $(CROSS_COMPILE)gcc + + FFSPART_VERSION ?= $(shell ./make_version.sh $(EXE)) diff --git a/SPECS/opal-prd.spec b/SPECS/opal-prd.spec index 91176f8..564b2c8 100644 --- a/SPECS/opal-prd.spec +++ b/SPECS/opal-prd.spec @@ -1,7 +1,7 @@ %global project skiboot Name: opal-prd -Version: 6.6 +Version: 6.6.3 Release: 1%{?dist} Summary: OPAL Processor Recovery Diagnostics Daemon @@ -27,6 +27,8 @@ Source0: https://github.com/open-power/%{project}/archive/v%{version}/%{project} Source1: opal-prd-rsyslog Source2: opal-prd-logrotate +Patch0: skiboot-6.6.2-ffspart.patch + %description This package provides a daemon to load and run the OpenPower firmware's Processor Recovery Diagnostics binary. This is responsible for run time @@ -56,6 +58,7 @@ services to the OS (Linux) on IBM Power and OpenPower systems. %prep %setup -q -n %{project}-%{version} +%patch0 -p1 -b .build %build OPAL_PRD_VERSION=%{version} make V=1 CC="gcc" CFLAGS="%{build_cflags}" LDFLAGS="%{build_ldflags}" ASFLAGS="-m64 -Wa,--generate-missing-build-notes=yes" -C external/opal-prd @@ -123,6 +126,9 @@ install -m 644 %{SOURCE2} %{buildroot}/%{_sysconfdir}/logrotate.d/opal-prd %{_datadir}/qemu/ %changelog +* Thu Oct 01 2020 Than Ngo - 6.6.3-1 +- Resolves: #1844427, rebase to 6.6.3 + * Fri Apr 24 2020 Than Ngo - 6.6-1 - Resolves: #1779211, rebase to 6.6