mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-21 21:09:00 +02:00
Merge pull request #146142 from Artturin/usrneededfor
nixos/lib: add /usr to pathsNeededForBoot
This commit is contained in:
commit
4890bee027
|
@ -10,7 +10,7 @@ rec {
|
||||||
# Check whenever fileSystem is needed for boot. NOTE: Make sure
|
# Check whenever fileSystem is needed for boot. NOTE: Make sure
|
||||||
# pathsNeededForBoot is closed under the parent relationship, i.e. if /a/b/c
|
# pathsNeededForBoot is closed under the parent relationship, i.e. if /a/b/c
|
||||||
# is in the list, put /a and /a/b in as well.
|
# is in the list, put /a and /a/b in as well.
|
||||||
pathsNeededForBoot = [ "/" "/nix" "/nix/store" "/var" "/var/log" "/var/lib" "/var/lib/nixos" "/etc" ];
|
pathsNeededForBoot = [ "/" "/nix" "/nix/store" "/var" "/var/log" "/var/lib" "/var/lib/nixos" "/etc" "/usr" ];
|
||||||
fsNeededForBoot = fs: fs.neededForBoot || elem fs.mountPoint pathsNeededForBoot;
|
fsNeededForBoot = fs: fs.neededForBoot || elem fs.mountPoint pathsNeededForBoot;
|
||||||
|
|
||||||
# Check whenever `b` depends on `a` as a fileSystem
|
# Check whenever `b` depends on `a` as a fileSystem
|
||||||
|
|
Loading…
Reference in a new issue