Move live disk support from kernel to bootloader
This commit is contained in:
parent
061cee89e1
commit
ed5d2783a2
1 changed files with 34 additions and 157 deletions
26
mk/initfs.mk
26
mk/initfs.mk
|
|
@ -12,29 +12,3 @@ build/initfs.tag: initfs.toml prefix
|
|||
rm -f build/initfs/bin/$$bin; \
|
||||
done
|
||||
touch $@
|
||||
|
||||
build/initfs_coreboot.tag: initfs_coreboot.toml prefix
|
||||
cargo build --manifest-path cookbook/Cargo.toml --release
|
||||
cargo build --manifest-path installer/Cargo.toml --release
|
||||
rm -f build/libkernel_coreboot.a
|
||||
rm -rf build/initfs_coreboot
|
||||
mkdir -p build/initfs_coreboot
|
||||
$(INSTALLER) -c $< build/initfs_coreboot/
|
||||
#TODO: HACK FOR SMALLER INITFS, FIX IN PACKAGING
|
||||
for bin in $(INITFS_RM_BINS); do \
|
||||
rm -f build/initfs_coreboot/bin/$$bin; \
|
||||
done
|
||||
touch $@
|
||||
|
||||
build/initfs_live.tag: initfs_live.toml prefix
|
||||
cargo build --manifest-path cookbook/Cargo.toml --release
|
||||
cargo build --manifest-path installer/Cargo.toml --release
|
||||
rm -f build/libkernel_live.a
|
||||
rm -rf build/initfs_live
|
||||
mkdir -p build/initfs_live
|
||||
$(INSTALLER) -c $< build/initfs_live/
|
||||
#TODO: HACK FOR SMALLER INITFS, FIX IN PACKAGING
|
||||
for bin in $(INITFS_RM_BINS); do \
|
||||
rm -f build/initfs_live/bin/$$bin; \
|
||||
done
|
||||
touch $@
|
||||
|
|
|
|||
Loading…
Reference in a new issue