Update installer

This commit is contained in:
Jeremy Soller 2017-09-26 20:53:08 -06:00
parent 5624ea8918
commit edf3ac0582
6 changed files with 11 additions and 10 deletions

View file

@ -9,7 +9,7 @@ build/filesystem.bin: filesystem.toml build/kernel
sleep 2
pgrep redoxfs
cp build/kernel build/filesystem/kernel
cargo run --manifest-path installer/Cargo.toml -- $(INSTALLER_FLAGS) $<
cargo run --manifest-path installer/Cargo.toml -- $(INSTALLER_FLAGS) -c $< build/filesystem/
chown -R 0:0 build/filesystem
chown -R 1000:1000 build/filesystem/home/user
chmod -R uog+rX build/filesystem

View file

@ -1,5 +1,6 @@
build/initfs.tag: initfs.toml
cd kernel && xargo clean
rm -rf build/initfs
cargo run --manifest-path installer/Cargo.toml -- $(INSTALLER_FLAGS) $<
mkdir -p build/initfs
cargo run --manifest-path installer/Cargo.toml -- $(INSTALLER_FLAGS) -c $< build/initfs/
touch $@