mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-27 22:19:34 +00:00
nixosTests.initrd-luks-empty-passphrase: mount the host nix store
This is necessary because this test relies on switching the root fs to an empty one which does not have a Nix store available in stage 1, therefore, we have to make this test host-store only. A better fix in the long term is to evaluate whether this is worth to enable a proper Nix store image for it with EROFS?
This commit is contained in:
parent
e6e049b7a2
commit
caf6f41e2e
@ -18,6 +18,11 @@ in {
|
|||||||
emptyDiskImages = [ 512 ];
|
emptyDiskImages = [ 512 ];
|
||||||
useBootLoader = true;
|
useBootLoader = true;
|
||||||
useEFIBoot = true;
|
useEFIBoot = true;
|
||||||
|
# This requires to have access
|
||||||
|
# to a host Nix store as
|
||||||
|
# the new root device is /dev/vdb
|
||||||
|
# an empty 512MiB drive, containing no Nix store.
|
||||||
|
mountHostNixStore = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
boot.loader.systemd-boot.enable = true;
|
boot.loader.systemd-boot.enable = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user