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.
This commit is contained in:
Alyssa Ross 2023-06-11 19:13:48 +00:00
parent 64bfa05b36
commit ee0c8cd15c
No known key found for this signature in database
GPG key ID: F9DBED4859B271C0

View file

@ -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