mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
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:
parent
64bfa05b36
commit
ee0c8cd15c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user