Disable a few packages in default build, use partial filesystem to avoid incomplete build
This commit is contained in:
parent
01d728cbe0
commit
aaa96bf329
1 changed files with 44 additions and 26 deletions
|
|
@ -1,11 +1,11 @@
|
|||
build/filesystem.bin: filesystem.toml
|
||||
-$(FUMOUNT) build/filesystem/ || true
|
||||
rm -rf $@ build/filesystem/
|
||||
dd if=/dev/zero of=$@ bs=1048576 count=128
|
||||
cargo run --manifest-path installer/redoxfs/Cargo.toml --quiet --release --bin redoxfs-mkfs $@
|
||||
rm -rf $@ $@.partial build/filesystem/
|
||||
dd if=/dev/zero of=$@.partial bs=1048576 count=128
|
||||
cargo run --manifest-path installer/redoxfs/Cargo.toml --quiet --release --bin redoxfs-mkfs $@.partial
|
||||
mkdir -p build/filesystem/
|
||||
cargo build --manifest-path installer/redoxfs/Cargo.toml --quiet --release --bin redoxfs
|
||||
cargo run --manifest-path installer/redoxfs/Cargo.toml --quiet --release --bin redoxfs -- $@ build/filesystem/
|
||||
cargo run --manifest-path installer/redoxfs/Cargo.toml --quiet --release --bin redoxfs -- $@.partial build/filesystem/
|
||||
sleep 2
|
||||
pgrep redoxfs
|
||||
cargo run --manifest-path installer/Cargo.toml -- --cookbook=cookbook $<
|
||||
|
|
@ -27,6 +27,7 @@ build/filesystem.bin: filesystem.toml
|
|||
sync
|
||||
-$(FUMOUNT) build/filesystem/ || true
|
||||
rm -rf build/filesystem/
|
||||
mv $@.partial $@
|
||||
|
||||
mount: FORCE
|
||||
mkdir -p build/filesystem/
|
||||
|
|
|
|||
Loading…
Reference in a new issue