mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-24 03:56:32 +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
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