From d55e53ac9e7fd3d134b1aa14a25972d052416601 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20Hor=C3=A1k?= Date: Thu, 12 Jul 2018 10:19:54 +0200 Subject: [PATCH] - Update to latest upstream 6.1 --- .gitignore | 1 + opal-prd.spec | 16 ++++++++-------- skiboot-5.10.2-alignment.patch | 12 ------------ sources | 2 +- 4 files changed, 10 insertions(+), 21 deletions(-) delete mode 100644 skiboot-5.10.2-alignment.patch diff --git a/.gitignore b/.gitignore index ec964a4..f61be8f 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ /skiboot-5.11.tar.gz /skiboot-6.0.1.tar.gz /skiboot-6.0.4.tar.gz +/skiboot-6.1.tar.gz diff --git a/opal-prd.spec b/opal-prd.spec index 1de63dc..6268c14 100644 --- a/opal-prd.spec +++ b/opal-prd.spec @@ -1,7 +1,7 @@ %global project skiboot Name: opal-prd -Version: 6.0.4 +Version: 6.1 Release: 1%{?dist} Summary: OPAL Processor Recovery Diagnostics Daemon @@ -24,8 +24,6 @@ Requires(preun): systemd Requires(postun): systemd Source0: https://github.com/open-power/%{project}/archive/v%{version}/%{project}-%{version}.tar.gz -# https://github.com/open-power/skiboot/issues/160 -Patch0: skiboot-5.10.2-alignment.patch %description This package provides a daemon to load and run the OpenPower firmware's @@ -57,13 +55,12 @@ services to the OS (Linux) on IBM Power and OpenPower systems. %prep %setup -q -n %{project}-%{version} -%patch0 -p1 %build -OPAL_PRD_VERSION=%{version} make V=1 CC="gcc" CFLAGS="%{optflags}" LDFLAGS="%{__global_ldflags}" -C external/opal-prd -GARD_VERSION=%{version} make V=1 CC="gcc" CFLAGS="%{optflags}" LDFLAGS="%{__global_ldflags}" -C external/gard -PFLASH_VERSION=%{version} make V=1 CC="gcc" CFLAGS="%{optflags}" LDFLAGS="%{__global_ldflags}" -C external/pflash -XSCOM_VERSION=%{version} make V=1 CC="gcc" CFLAGS="%{optflags}" LDFLAGS="%{__global_ldflags}" -C external/xscom-utils +OPAL_PRD_VERSION=%{version} make V=1 CC="gcc" CFLAGS="%{build_cflags}" LDFLAGS="%{build_ldflags}" -C external/opal-prd +GARD_VERSION=%{version} make V=1 CC="gcc" CFLAGS="%{build_cflags}" LDFLAGS="%{build_ldflags}" -C external/gard +PFLASH_VERSION=%{version} make V=1 CC="gcc" CFLAGS="%{build_cflags}" LDFLAGS="%{build_ldflags}" -C external/pflash +XSCOM_VERSION=%{version} make V=1 CC="gcc" CFLAGS="%{build_cflags}" LDFLAGS="%{build_ldflags}" -C external/xscom-utils # build skiboot with a cross-compiler on Fedora and with system compiler otherwise # and always use upstream compiler flags for the firmware (no CFLAGS override) @@ -117,6 +114,9 @@ install -m 644 -p skiboot.lid.xz %{buildroot}%{_datadir}/qemu/skiboot.lid.xz %{_datadir}/qemu/ %changelog +* Thu Jul 12 2018 Dan Horák - 6.1-1 +- Update to latest upstream 6.1 + * Mon May 28 2018 Dan Horák - 6.0.4-1 - Update to latest upstream 6.0.4 diff --git a/skiboot-5.10.2-alignment.patch b/skiboot-5.10.2-alignment.patch deleted file mode 100644 index 730713b..0000000 --- a/skiboot-5.10.2-alignment.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -up skiboot-5.10.2/hdata/i2c.c.me skiboot-5.10.2/hdata/i2c.c ---- skiboot-5.10.2/hdata/i2c.c.me 2018-05-14 12:23:30.413536519 +0200 -+++ skiboot-5.10.2/hdata/i2c.c 2018-05-14 12:26:27.036752163 +0200 -@@ -181,7 +181,7 @@ static bool is_zeros(const void *p, size - struct host_i2c_hdr { - const struct HDIF_array_hdr hdr; - __be32 version; --} __packed; -+} __packed __align(0x4); - - int parse_i2c_devs(const struct HDIF_common_hdr *hdr, int idata_index, - struct dt_node *xscom) diff --git a/sources b/sources index 03ba192..1fcf960 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (skiboot-6.0.4.tar.gz) = 81c2ac1e5ec2a41cd975ffc859e892227f9a7e7ad66148971512142ceee58e72297c35b209acc181eae54dd7b8085f0b97cee8ec90ccc084462584b20db62fb9 +SHA512 (skiboot-6.1.tar.gz) = af98bb45572f53e9f625cec242f7fdac5d8f8a75bfd99cc8865e83bbd87540bec2ad1bd41a6dc62e0cf57c459ccd304632d0ed64af806f0266e0ef8e595c8cfc