mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-23 19:46:31 +01:00
fix(manifest): move payload-import after gcc and convert to pass1.sh
This commit is contained in:
parent
be3900142b
commit
2f7951a352
3 changed files with 22 additions and 18 deletions
|
|
@ -40,7 +40,6 @@ define: BUILD_FIWIX = ( KERNEL_BOOTSTRAP == True || BUILD_KERNELS == True )
|
|||
build: fiwix-1.5.0-lb1 ( BUILD_FIWIX == True )
|
||||
build: lwext4-1.0.0-lb1 ( BUILD_FIWIX == True )
|
||||
build: kexec-fiwix-1.0 ( BUILD_FIWIX == True )
|
||||
build: payload-import-1.0 ( KERNEL_BOOTSTRAP == True )
|
||||
jump: fiwix ( KERNEL_BOOTSTRAP == True )
|
||||
improve: reconfigure ( CONFIGURATOR != True )
|
||||
define: JOBS = 1 ( KERNEL_BOOTSTRAP == True )
|
||||
|
|
@ -116,6 +115,7 @@ build: findutils-4.2.33
|
|||
build: musl-1.2.5
|
||||
build: linux-headers-4.14.341-openela
|
||||
build: gcc-4.0.4
|
||||
build: payload-import-1.0 ( KERNEL_BOOTSTRAP == True )
|
||||
build: util-linux-2.19.1
|
||||
build: e2fsprogs-1.45.7
|
||||
build: dhcpcd-10.0.1
|
||||
|
|
|
|||
|
|
@ -1,17 +0,0 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
# SPDX-FileCopyrightText: 2026 live-bootstrap contributors
|
||||
# SPDX-License-Identifier: MIT
|
||||
|
||||
set -ex
|
||||
|
||||
cd src
|
||||
tcc -m32 -march=i386 -std=c89 -static -I../../tcc/tcc-0.9.27/include -o ${BINDIR}/payload-import payload-import.c
|
||||
cd ..
|
||||
|
||||
if match x${UPDATE_CHECKSUMS} xTrue; then
|
||||
sha256sum -o ${pkg}.checksums \
|
||||
/usr/bin/payload-import
|
||||
|
||||
cp ${pkg}.checksums ${SRCDIR}
|
||||
fi
|
||||
21
steps/payload-import-1.0/pass1.sh
Executable file
21
steps/payload-import-1.0/pass1.sh
Executable file
|
|
@ -0,0 +1,21 @@
|
|||
#!/bin/bash
|
||||
#
|
||||
# SPDX-FileCopyrightText: 2026 live-bootstrap contributors
|
||||
# SPDX-License-Identifier: MIT
|
||||
|
||||
src_get() {
|
||||
:
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
dirname=.
|
||||
cp -r ../src .
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
gcc -m32 -march=i386 -std=c89 -static -o payload-import src/payload-import.c
|
||||
}
|
||||
|
||||
src_install() {
|
||||
install -D payload-import "${DESTDIR}${BINDIR}/payload-import"
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue