mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-17 14:19:58 +03:00
c351a84eec
Let's test / on ZFS and /boot on ZFS in separate tests since the GRUB integration for ZFS seems to be not very well maintained. If the test breaks in the future it's easier to figure out that ZFS on /boot is at fault and either fix the issue or disable the test. The new test creates a ZFS pool where all features not compatible with GRUB2 are disabled. The dataset is then mounted on /boot and we check that the installer correctly generates a bootable configuration. Try to use as many ZFS features as possible to verify that GRUB can handle them.
43 lines
846 B
Nix
43 lines
846 B
Nix
{ system ? builtins.currentSystem
|
|
, config ? {}
|
|
, pkgs ? import ../.. { inherit system config; }
|
|
}:
|
|
|
|
{
|
|
# Some of these tests don't work with systemd stage 1 yet. Uncomment
|
|
# them when fixed.
|
|
inherit (import ./installer.nix { inherit system config pkgs; systemdStage1 = true; })
|
|
# bcache
|
|
bcachefsSimple
|
|
bcachefsEncrypted
|
|
btrfsSimple
|
|
btrfsSubvolDefault
|
|
btrfsSubvolEscape
|
|
btrfsSubvols
|
|
encryptedFSWithKeyfile
|
|
# grub1
|
|
luksroot
|
|
luksroot-format1
|
|
luksroot-format2
|
|
# lvm
|
|
separateBoot
|
|
separateBootFat
|
|
separateBootZfs
|
|
simple
|
|
simpleLabels
|
|
simpleProvided
|
|
simpleSpecialised
|
|
simpleUefiGrub
|
|
simpleUefiGrubSpecialisation
|
|
simpleUefiSystemdBoot
|
|
stratisRoot
|
|
swraid
|
|
zfsroot
|
|
clevisLuks
|
|
clevisLuksFallback
|
|
clevisZfs
|
|
clevisZfsFallback
|
|
;
|
|
|
|
}
|