mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-23 11:36:32 +01:00
fix(payload-import): keep manifest order and make pass1.sh build-helper compatible
This commit is contained in:
parent
53a7d33e2b
commit
2468793e87
1 changed files with 14 additions and 10 deletions
|
|
@ -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"
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue