Skip to content
Snippets Groups Projects
Commit 109ad72b authored by bjorn3's avatar bjorn3
Browse files

Pass bootstrap code to redox-initfs-ar for inclusion in the initfs

parent 6dcea4b1
No related branches found
No related tags found
No related merge requests found
...@@ -4,6 +4,7 @@ git = "https://gitlab.redox-os.org/redox-os/redox-initfs.git" ...@@ -4,6 +4,7 @@ git = "https://gitlab.redox-os.org/redox-os/redox-initfs.git"
[build] [build]
template = "custom" template = "custom"
dependencies = [ dependencies = [
"bootstrap",
"drivers-initfs", "drivers-initfs",
"init", "init",
"logd", "logd",
...@@ -39,7 +40,7 @@ for bin in ${INITFS_RM_BINS}; do ...@@ -39,7 +40,7 @@ for bin in ${INITFS_RM_BINS}; do
rm -f "${COOKBOOK_BUILD}/initfs/bin/$bin" rm -f "${COOKBOOK_BUILD}/initfs/bin/$bin"
done done
env -u CARGO cargo run --manifest-path "${COOKBOOK_SOURCE}/tools/Cargo.toml" --bin redox-initfs-ar -- "${COOKBOOK_BUILD}/initfs" -o "${COOKBOOK_BUILD}/initfs.img" env -u CARGO cargo run --manifest-path "${COOKBOOK_SOURCE}/tools/Cargo.toml" --bin redox-initfs-ar -- "${COOKBOOK_BUILD}/initfs" "${COOKBOOK_SYSROOT}/boot/bootstrap" -o "${COOKBOOK_BUILD}/initfs.img"
mkdir -v "${COOKBOOK_STAGE}/boot" mkdir -v "${COOKBOOK_STAGE}/boot"
cp "${COOKBOOK_BUILD}/initfs.img" "${COOKBOOK_STAGE}/boot/initfs" cp "${COOKBOOK_BUILD}/initfs.img" "${COOKBOOK_STAGE}/boot/initfs"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment