Commit edf3ac05 authored by Jeremy Soller's avatar Jeremy Soller
Browse files

Update installer

parent 5624ea89
......@@ -25,16 +25,18 @@ pull:
make update
update:
cd cookbook; \
./update.sh "$$(cargo run --manifest-path ../installer/Cargo.toml -- --list-packages ../initfs.toml ../filesystem.toml)"
cd cookbook && ./update.sh \
"$$(cargo run --manifest-path ../installer/Cargo.toml -- --list-packages -c ../initfs.toml)" \
"$$(cargo run --manifest-path ../installer/Cargo.toml -- --list-packages -c ../filesystem.toml)"
cargo update --manifest-path cookbook/pkgutils/Cargo.toml
cargo update --manifest-path installer/Cargo.toml
cargo update --manifest-path kernel/Cargo.toml
cargo update --manifest-path redoxfs/Cargo.toml
fetch:
cd cookbook; \
./fetch.sh "$$(cargo run --manifest-path ../installer/Cargo.toml -- --list-packages ../initfs.toml ../filesystem.toml)"
cd cookbook && ./fetch.sh \
"$$(cargo run --manifest-path ../installer/Cargo.toml -- --list-packages -c ../initfs.toml)" \
"$$(cargo run --manifest-path ../installer/Cargo.toml -- --list-packages -c ../filesystem.toml)"
# Emulation recipes
include mk/qemu.mk
......@@ -53,7 +55,7 @@ include mk/disk.mk
# Travis target
travis: FORCE
INSTALLER_FLAGS= make build/harddrive.bin.gz build/livedisk.iso
make INSTALLER_FLAGS= build/harddrive.bin.gz build/livedisk.iso
rm -rf build/travis
mkdir build/travis
mv build/harddrive.bin.gz build/travis/redox_$(TRAVIS_TAG).bin.gz
......
......@@ -4,7 +4,6 @@
[general]
# Do not prompt if settings are not defined
prompt = false
sysroot = "build/filesystem"
# Package settings
[packages]
......
......@@ -4,7 +4,6 @@
[general]
# Do not prompt if settings are not defined
prompt = false
sysroot = "build/initfs"
# Package settings
[packages]
......
Subproject commit a7b16dcb9712aa39de91ae05ffa005e439a91ed1
Subproject commit a82a5771803fa14666343568e415999dd51887c7
......@@ -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
......
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 $@
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment