about summary refs log tree commit diff
path: root/nixos/tests/installer-systemd-stage-1.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/tests/installer-systemd-stage-1.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/tests/installer-systemd-stage-1.nix')
-rw-r--r--nixos/tests/installer-systemd-stage-1.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/tests/installer-systemd-stage-1.nix b/nixos/tests/installer-systemd-stage-1.nix
index d0c01a779ef18..662017935412c 100644
--- a/nixos/tests/installer-systemd-stage-1.nix
+++ b/nixos/tests/installer-systemd-stage-1.nix
@@ -22,6 +22,7 @@
     # lvm
     separateBoot
     separateBootFat
+    separateBootZfs
     simple
     simpleLabels
     simpleProvided