Resize root partition on first boot and include wget #19
Loading…
Reference in New Issue
No description provided.
Delete Branch "fsagbuya/nix-servo:postboot"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
nixos/rpi
example.wget
packagePatch is based from:
https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/installer/sd-card/sd-image.nix#L258-L282
which uses the flag
-f /nix-path-registration
to do some nix maintenance task and ensures everything is done only in initial boot by removingnix-path-registration
at the end.The
nix-path-registration
is being generated when creating an ext4 root file systemhttps://github.com/NixOS/nixpkgs/blob/master/nixos/lib/make-ext4-fs.nix#L56
This allows to import Nix DB in first boot so that nix commands work and know what's installed.
Closes #16
Test Log:
Why do we need strace?
@ -60,0 +74,4 @@
+ example = "rm -f /var/log/messages";
+ type = types.lines;
+ description = lib.mdDoc ''
+ Shell commands to be executed just before runnit is started.
runit
This is something not-os provided by default. Will remove strace.
d4055b3c18
to8f664049d6