mirror of
https://github.com/xcat2/xcat-dep.git
synced 2026-12-03 15:47:02 +00:00
91ce842dc32980c2d938797f2f1be9bd15b7e866
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>
Description
No description provided
Languages
Perl
79.3%
JavaScript
6.3%
C
3.9%
Shell
3.1%
SQLPL
2%
Other
5.2%