Update base-initfs and base recipes for hardware detection
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
@@ -102,13 +102,18 @@ RUSTFLAGS="$RUSTFLAGS -Ctarget-feature=+crt-static -Clink-arg=-nostartfiles -Cli
|
|||||||
--manifest-path "${COOKBOOK_SOURCE}/bootstrap/Cargo.toml" \
|
--manifest-path "${COOKBOOK_SOURCE}/bootstrap/Cargo.toml" \
|
||||||
--release \
|
--release \
|
||||||
--target-dir "${COOKBOOK_BUILD}"
|
--target-dir "${COOKBOOK_BUILD}"
|
||||||
"${GNU_TARGET}-ld" \
|
|
||||||
|
if [ -f "${COOKBOOK_BUILD}/${TARGET}/release/libbootstrap.a" ]; then
|
||||||
|
"${GNU_TARGET}-ld" \
|
||||||
-o "${COOKBOOK_BUILD}/bootstrap" \
|
-o "${COOKBOOK_BUILD}/bootstrap" \
|
||||||
-nostdlib \
|
-nostdlib \
|
||||||
--gc-sections \
|
--gc-sections \
|
||||||
-T "${COOKBOOK_SOURCE}/bootstrap/src/${ARCH}.ld" \
|
-T "${COOKBOOK_SOURCE}/bootstrap/src/${ARCH}.ld" \
|
||||||
-z max-page-size=4096 \
|
-z max-page-size=4096 \
|
||||||
"${COOKBOOK_BUILD}/${TARGET}/release/libbootstrap.a"
|
"${COOKBOOK_BUILD}/${TARGET}/release/libbootstrap.a"
|
||||||
|
else
|
||||||
|
cp -v "${COOKBOOK_BUILD}/${TARGET}/release/bootstrap" "${COOKBOOK_BUILD}/bootstrap"
|
||||||
|
fi
|
||||||
|
|
||||||
env -u CARGO -u RUSTFLAGS cargo run --manifest-path "${COOKBOOK_SOURCE}/initfs/tools/Cargo.toml" --bin redox-initfs-ar -- "${COOKBOOK_BUILD}/initfs" "${COOKBOOK_BUILD}/bootstrap" -o "${COOKBOOK_BUILD}/initfs.img"
|
env -u CARGO -u RUSTFLAGS cargo run --manifest-path "${COOKBOOK_SOURCE}/initfs/tools/Cargo.toml" --bin redox-initfs-ar -- "${COOKBOOK_BUILD}/initfs" "${COOKBOOK_BUILD}/bootstrap" -o "${COOKBOOK_BUILD}/initfs.img"
|
||||||
|
|
||||||
|
|||||||
@@ -38,6 +38,7 @@ BINS=(
|
|||||||
usbhidd
|
usbhidd
|
||||||
usbhubd
|
usbhubd
|
||||||
usbscsid
|
usbscsid
|
||||||
|
virtio-gpud
|
||||||
virtio-netd
|
virtio-netd
|
||||||
xhcid
|
xhcid
|
||||||
inputd
|
inputd
|
||||||
|
|||||||
Reference in New Issue
Block a user