about summary refs log tree commit diff
path: root/nixos/release-combined.nix
diff options
context:
space:
mode:
authorLuflosi <luflosi@luflosi.de>2023-03-24 19:16:24 +0100
committerLuflosi <luflosi@luflosi.de>2023-12-07 13:17:49 +0100
commitc351a84eec83a57643e490c34cb8cb61e1341f53 (patch)
tree5f8d14d454723bef65660e389eccbfe1ef20e505 /nixos/release-combined.nix
parent4a609ec5d195ed770a1b30fa49ba19a0947cd819 (diff)
nixos/tests/installer: test /boot on ZFS
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.
Diffstat (limited to 'nixos/release-combined.nix')
-rw-r--r--nixos/release-combined.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/release-combined.nix b/nixos/release-combined.nix
index 9b4b92be6f3ac..47506b964af49 100644
--- a/nixos/release-combined.nix
+++ b/nixos/release-combined.nix
@@ -90,6 +90,7 @@ in rec {
         (onSystems ["x86_64-linux"] "nixos.tests.installer.btrfsSubvols")
         (onSystems ["x86_64-linux"] "nixos.tests.installer.luksroot")
         (onSystems ["x86_64-linux"] "nixos.tests.installer.lvm")
+        (onSystems ["x86_64-linux"] "nixos.tests.installer.separateBootZfs")
         (onSystems ["x86_64-linux"] "nixos.tests.installer.separateBootFat")
         (onSystems ["x86_64-linux"] "nixos.tests.installer.separateBoot")
         (onSystems ["x86_64-linux"] "nixos.tests.installer.simpleLabels")