Compare commits
14 Commits
1d3202a70f
...
b1a982c6f0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b1a982c6f0 | ||
|
|
e844d3edab | ||
|
|
fd4b3e7a52 | ||
|
|
bea8fe9134 | ||
|
|
d21c4cd8af | ||
|
|
28299d61fe | ||
|
|
5f6e301efb | ||
|
|
f1b6e4afbf | ||
|
|
e779848fdd | ||
|
|
ca0792a390 | ||
|
|
afed6a7190 | ||
|
|
edcadf4079 | ||
|
|
17516fc24a | ||
|
|
42c5462f30 |
@ -1 +1 @@
|
||||
Subproject commit e02f110fc9f03f79a1db62faf9baef9e9b7a1e05
|
||||
Subproject commit 3ae8f93f8dea1ee84b9bb583d1795edd0bd44eec
|
||||
@ -1 +1 @@
|
||||
Subproject commit 84856f459dccbc86a6490904e571389de72bf4c4
|
||||
Subproject commit b35e1321538dbefa3985ff23cc8dcbb818a5e1b1
|
||||
2
kernel
2
kernel
@ -1 +1 @@
|
||||
Subproject commit 81e700708d901d6552c2cef242df505d93efbf4f
|
||||
Subproject commit 80376a95dc784966260992910d7e789390f58b65
|
||||
@ -9,6 +9,8 @@ INSTALLER_FLAGS?=--cookbook=cookbook
|
||||
PREFIX_BINARY?=1
|
||||
## Filesystem size in MB (256 is the default)
|
||||
FILESYSTEM_SIZE?=256
|
||||
## Flags to pass to redoxfs-mkfs. Add --encrypt to set up disk encryption
|
||||
REDOXFS_MKFS_FLAGS?=
|
||||
|
||||
# Per host variables
|
||||
UNAME := $(shell uname)
|
||||
|
||||
@ -5,7 +5,10 @@ build/filesystem.bin: filesystem.toml build/kernel prefix
|
||||
-$(FUMOUNT) build/filesystem/ || true
|
||||
rm -rf $@ $@.partial build/filesystem/
|
||||
dd if=/dev/zero of=$@.partial bs=1048576 count="$(FILESYSTEM_SIZE)"
|
||||
cargo run --manifest-path redoxfs/Cargo.toml --release --bin redoxfs-mkfs $@.partial
|
||||
cargo run --release \
|
||||
--manifest-path redoxfs/Cargo.toml \
|
||||
--bin redoxfs-mkfs \
|
||||
-- $(REDOXFS_MKFS_FLAGS) $@.partial
|
||||
mkdir -p build/filesystem/
|
||||
redoxfs/target/release/redoxfs $@.partial build/filesystem/
|
||||
sleep 2
|
||||
|
||||
16
mk/initfs.mk
16
mk/initfs.mk
@ -1,4 +1,18 @@
|
||||
INITFS_RM_BINS=alxd e1000d ihdad ixgbed pcspkrd redoxfs-ar redoxfs-mkfs rtl8168d usbctl
|
||||
INITFS_RM_BINS=\
|
||||
alxd \
|
||||
bgad \
|
||||
e1000d \
|
||||
ihdad \
|
||||
ixgbed \
|
||||
pcspkrd \
|
||||
redoxfs-ar \
|
||||
redoxfs-mkfs \
|
||||
rtl8168d \
|
||||
usbctl \
|
||||
usbhidd \
|
||||
usbscsid \
|
||||
vboxd \
|
||||
xhcid
|
||||
|
||||
build/initfs.tag: initfs.toml prefix
|
||||
cargo build --manifest-path cookbook/Cargo.toml --release
|
||||
|
||||
2
redoxfs
2
redoxfs
@ -1 +1 @@
|
||||
Subproject commit cfe5841646df0044e9e689a43b97c9aff3a65444
|
||||
Subproject commit f9f4f7c5f01f61c02b95c0cb9f00b3ce9271aaed
|
||||
Reference in New Issue
Block a user