2
0
mirror of https://github.com/xcat2/xcat-dep.git synced 2026-12-03 15:47:02 +00:00
Daniel Hilst 91ce842dc3 fix(genesis-openembedded): ppc64 Genesis packaging fails in rpm's strip pass
xcat-genesis-oe-build-ubuntu-amd64 #78 finished the eight-architecture
OpenEmbedded build, packaged x86 and x86_64, then stopped on ppc64 with
"strip: Unable to recognise the format of the input file .../ppc64/kernel"
and "Bad exit status from /var/tmp/rpm-tmp.a79IE5 (%install)".

xCAT-genesis-openembedded.spec is noarch with AutoReqProv off, but it leaves
__os_install_post at rpm's default, so rpm runs brp-strip over the payload it
is about to package. The ppc64 and ppc64le kernels are ELF vmlinux images and
the riscv64 firmware is an ELF, and the build host's strip reads only x86_64.
Where strip does succeed it changes bytes that the shipped SHA256SUMS no
longer describes.

Set __os_install_post and debug_package to nil, so rpm packages the payload
unchanged. t/genesis_oe_payload_verbatim.t passes with this change and fails
without it. The x86_64 package is unaffected: built from the same export
before and after, it carries the same paths and the same file digests.

Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com>
2026-10-24 04:49:07 -03:00
2013-05-29 14:58:44 +00:00
2008-10-13 15:50:23 +00:00
2011-11-08 18:33:23 +00:00
2009-07-08 18:55:52 +00:00
2020-01-06 16:34:55 -05:00
2018-11-29 05:44:55 -05:00
2018-11-29 05:44:55 -05:00
2008-04-10 19:42:20 +00:00
2011-09-21 19:13:13 +00:00
2018-11-29 05:44:55 -05:00
2018-11-29 05:44:55 -05:00
2018-11-29 05:44:55 -05:00
2022-09-26 16:20:45 +02:00
2018-11-29 05:44:55 -05:00
2018-11-29 05:44:55 -05:00
2009-04-24 20:17:23 +00:00
2016-12-12 13:44:39 -05:00
S
Description
No description provided
245 MiB
Languages
Perl 79.3%
JavaScript 6.3%
C 3.9%
Shell 3.1%
SQLPL 2%
Other 5.2%