Compare commits
4 Commits
596c3c8aab
...
cc7f50e139
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cc7f50e139 | ||
|
|
7ac5196528 | ||
|
|
1f6e1c9676 | ||
|
|
5ac424f5cb |
@ -1 +1 @@
|
|||||||
Subproject commit 9ea9a6ecac7f20bde8ff4dfa100d046e42bce49b
|
Subproject commit f8ec4d28bc9e3a9aa6321058cede9bb97856305a
|
||||||
@ -1,10 +1,10 @@
|
|||||||
build/filesystem.bin: filesystem.toml build/kernel prefix
|
build/filesystem.bin: filesystem.toml build/bootloader.bin build/kernel prefix
|
||||||
cargo build --manifest-path cookbook/Cargo.toml --release
|
cargo build --manifest-path cookbook/Cargo.toml --release
|
||||||
cargo build --manifest-path installer/Cargo.toml --release
|
cargo build --manifest-path installer/Cargo.toml --release
|
||||||
cargo build --manifest-path redoxfs/Cargo.toml --release
|
cargo build --manifest-path redoxfs/Cargo.toml --release
|
||||||
-$(FUMOUNT) build/filesystem/ || true
|
-$(FUMOUNT) build/filesystem/ || true
|
||||||
rm -rf $@ $@.partial build/filesystem/
|
rm -rf $@ $@.partial build/filesystem/
|
||||||
dd if=/dev/zero of=$@.partial bs=1048576 count="$(FILESYSTEM_SIZE)"
|
fallocate --posix --length "$(FILESYSTEM_SIZE)MiB" $@.partial
|
||||||
cargo run --release \
|
cargo run --release \
|
||||||
--manifest-path redoxfs/Cargo.toml \
|
--manifest-path redoxfs/Cargo.toml \
|
||||||
--bin redoxfs-mkfs \
|
--bin redoxfs-mkfs \
|
||||||
@ -13,10 +13,13 @@ build/filesystem.bin: filesystem.toml build/kernel prefix
|
|||||||
redoxfs/target/release/redoxfs $@.partial build/filesystem/
|
redoxfs/target/release/redoxfs $@.partial build/filesystem/
|
||||||
sleep 2
|
sleep 2
|
||||||
pgrep redoxfs
|
pgrep redoxfs
|
||||||
cp $< build/filesystem/filesystem.toml
|
cp -v $< build/filesystem/filesystem.toml
|
||||||
cp build/kernel build/filesystem/kernel
|
cp -v build/bootloader.bin build/filesystem/bootloader
|
||||||
cp -r $(ROOT)/$(PREFIX_INSTALL)/$(TARGET)/include build/filesystem/include
|
cp -v build/kernel build/filesystem/kernel
|
||||||
cp -r $(ROOT)/$(PREFIX_INSTALL)/$(TARGET)/lib build/filesystem/lib
|
mkdir -v build/filesystem/pkg
|
||||||
|
cp -v cookbook/build/id_ed25519.pub.toml build/filesystem/pkg/id_ed25519.pub.toml
|
||||||
|
#TODO cp -r $(ROOT)/$(PREFIX_INSTALL)/$(TARGET)/include build/filesystem/include
|
||||||
|
#TODO cp -r $(ROOT)/$(PREFIX_INSTALL)/$(TARGET)/lib build/filesystem/lib
|
||||||
$(INSTALLER) -c $< build/filesystem/
|
$(INSTALLER) -c $< build/filesystem/
|
||||||
sync
|
sync
|
||||||
-$(FUMOUNT) build/filesystem/ || true
|
-$(FUMOUNT) build/filesystem/ || true
|
||||||
|
|||||||
@ -22,6 +22,7 @@ build/initfs.tag: initfs.toml prefix
|
|||||||
mkdir -p build/initfs
|
mkdir -p build/initfs
|
||||||
$(INSTALLER) -c $< build/initfs/
|
$(INSTALLER) -c $< build/initfs/
|
||||||
#TODO: HACK FOR SMALLER INITFS, FIX IN PACKAGING
|
#TODO: HACK FOR SMALLER INITFS, FIX IN PACKAGING
|
||||||
|
rm -rf build/initfs/pkg
|
||||||
for bin in $(INITFS_RM_BINS); do \
|
for bin in $(INITFS_RM_BINS); do \
|
||||||
rm -f build/initfs/bin/$$bin; \
|
rm -f build/initfs/bin/$$bin; \
|
||||||
done
|
done
|
||||||
|
|||||||
2
relibc
2
relibc
@ -1 +1 @@
|
|||||||
Subproject commit f63d9cefadd6d53488f457f9e40de8872ddb7734
|
Subproject commit ec0047c864bfff5affc92650349d6125312280f4
|
||||||
Reference in New Issue
Block a user