diff options
author | Alyssa Ross <hi@alyssa.is> | 2023-06-11 19:13:48 +0000 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2023-06-11 19:13:48 +0000 |
commit | ee0c8cd15cd4ef5c3cf2292dc7c760de5e709eac (patch) | |
tree | 858a222ee64a1949726e4d741f754007325d5ac9 /nixos/tests/os-prober.nix | |
parent | 64bfa05b36ae13bb94327bb9154afdf4d7bfbdf7 (diff) |
nixosTests.os-prober: fix filesystem for Debian
Debian's e2fsprogs does not understand the metadata_csum_seed ext4 feature, which our e2fsprogs enables by default, so we have to disable it.
Diffstat (limited to 'nixos/tests/os-prober.nix')
-rw-r--r-- | nixos/tests/os-prober.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/os-prober.nix b/nixos/tests/os-prober.nix index 8f3e2494047c3..0f7b723d5b3b7 100644 --- a/nixos/tests/os-prober.nix +++ b/nixos/tests/os-prober.nix @@ -8,7 +8,7 @@ let ${parted}/bin/parted --script /dev/vda mklabel msdos ${parted}/sbin/parted --script /dev/vda -- mkpart primary ext2 1M -1s mkdir /mnt - ${e2fsprogs}/bin/mkfs.ext4 /dev/vda1 + ${e2fsprogs}/bin/mkfs.ext4 -O '^metadata_csum_seed' /dev/vda1 ${util-linux}/bin/mount -t ext4 /dev/vda1 /mnt if test -e /mnt/.debug; then |