forked from M-Labs/nix-servo
Compare commits
3 Commits
c2cc5c0d6a
...
8af7bdc386
Author | SHA1 | Date | |
---|---|---|---|
8af7bdc386 | |||
be6f2b36fd | |||
336fb07c44 |
@ -442,7 +442,7 @@
|
||||
(pkgs.python3.withPackages(ps: with ps; [ pyfastservo linien-server]))
|
||||
fs-mode
|
||||
];
|
||||
boot.postBootCommands = lib.mkAfter ''
|
||||
not-os.preMount = lib.mkAfter ''
|
||||
|
||||
# Program the FPGA
|
||||
set +x
|
||||
|
@ -59,7 +59,7 @@ index d7b0bf3..70353a1 100644
|
||||
'';
|
||||
}
|
||||
diff --git a/stage-1.nix b/stage-1.nix
|
||||
index 331fecd..67203ff 100644
|
||||
index 331fecd..4ef51fb 100644
|
||||
--- a/stage-1.nix
|
||||
+++ b/stage-1.nix
|
||||
@@ -117,11 +117,6 @@ let
|
||||
@ -103,7 +103,7 @@ index 331fecd..67203ff 100644
|
||||
+ if [ "$USE_READONLY" = "1" ]; then
|
||||
+ mkdir -p /mnt.ro /mnt.overlay
|
||||
+ mount -o ro $root /mnt.ro
|
||||
+ mount -t tmpfs -o size=1G tmpfs /mnt.overlay
|
||||
+ mount -t tmpfs -o size=256M tmpfs /mnt.overlay
|
||||
+ mkdir -p /mnt.overlay/upper /mnt.overlay/work
|
||||
+ mount -t overlay overlay -o lowerdir=/mnt.ro,upperdir=/mnt.overlay/upper,workdir=/mnt.overlay/work /mnt
|
||||
+ mkdir -p /mnt/boot
|
||||
|
Loading…
x
Reference in New Issue
Block a user