fix(payload-import): keep manifest order and make pass1.sh build-helper compatible

This commit is contained in:
vxtls 2026-03-20 12:42:25 -04:00
parent 53a7d33e2b
commit 2468793e87

View file

@ -1,17 +1,21 @@
#!/bin/sh #!/bin/bash
# #
# SPDX-FileCopyrightText: 2026 live-bootstrap contributors # SPDX-FileCopyrightText: 2026 live-bootstrap contributors
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
set -ex src_get() {
:
}
cd src src_unpack() {
gcc -m32 -march=i386 -std=c89 -static -o ${BINDIR}/payload-import payload-import.c dirname=.
cd .. cp -r ../src .
}
if match x${UPDATE_CHECKSUMS} xTrue; then src_compile() {
sha256sum -o ${pkg}.checksums \ gcc -m32 -march=i386 -std=c89 -static -o payload-import src/payload-import.c
/usr/bin/payload-import }
cp ${pkg}.checksums ${SRCDIR} src_install() {
fi install -D payload-import "${DESTDIR}${BINDIR}/payload-import"
}