TEST-08: don't force ext4 for /

Forcing a specific fs for the image is usually a bad idea because the initrd
(borrowed from the host) is likely to include only support for the filesystem
used by the host's rootfs.

Since the point of this test is to check aliases on mount units, there's no
specific need for ext4, hence drop any parts that request or rely on ext4.
This commit is contained in:
Franck Bui 2021-11-16 09:28:41 +01:00 committed by Zbigniew Jędrzejewski-Szmek
parent 054ed43075
commit 0c98f381e7
2 changed files with 1 additions and 3 deletions

View file

@ -10,7 +10,6 @@ TEST_NO_NSPAWN=1
. "${TEST_BASE_DIR:?}/test-functions"
QEMU_TIMEOUT=300
FSTYPE=ext4
TEST_FORCE_NEWIMAGE=1
do_test "$@"

View file

@ -5,8 +5,7 @@ Before=local-fs.target
[Mount]
What=/dev/sda1
Where=/
Type=ext4
Options=errors=remount-ro,noatime
Options=noatime
[Install]
WantedBy=local-fs.target