base+base-initfs: integrate CachyOS analysis improvements

Updates the local/sources/base submodule pointer to pick up the
PIIX4 IDE BAR quirk + vgaarb logging + archiso loop_mnt, and
updates the base-initfs recipe to cross-compile loop_mnt before
the redox-initfs-ar archive step.

See local/sources/base commit 2055dcd for the individual
changes.
This commit is contained in:
2026-06-29 07:43:41 +03:00
parent 85a6a7d892
commit db2d68d888
2 changed files with 12 additions and 1 deletions
Submodule local/sources/base updated: 30d6014165...2055dcdd44
+11
View File
@@ -124,6 +124,17 @@ else
cp -v "${COOKBOOK_BUILD}/${TARGET}/release/bootstrap" "${COOKBOOK_BUILD}/bootstrap"
fi
# Build the loop_mnt discovery helper as a separate target so the
# initfs can fall back to scanning for the live medium at runtime
# (analogous to CachyOS's archiso_loop_mnt hook). Cross-compile
# directly so we don't need a runtime libstd.
CARGO_PROFILE_RELEASE_OPT_LEVEL=s CARGO_PROFILE_RELEASE_PANIC=abort \
"${COOKBOOK_CARGO}" build ${build_flags} \
--manifest-path "${COOKBOOK_SOURCE}/initfs/tools/Cargo.toml" \
--target "${TARGET}" \
--bin loop_mnt
cp -v "target/${TARGET}/${build_type}/loop_mnt" "${COOKBOOK_BUILD}/initfs/bin/loop_mnt"
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"
mkdir -pv "${COOKBOOK_STAGE}/usr/lib/boot"