]> git.ipfire.org Git - thirdparty/dracut-ng.git/commitdiff
test(NBD): fix how rootfs is built
authorJo Zzsi <jozzsicsataban@gmail.com>
Fri, 30 Aug 2024 20:03:46 +0000 (16:03 -0400)
committerNeal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
Mon, 2 Sep 2024 18:51:22 +0000 (14:51 -0400)
Change in systemd dracut module exposed that thest NBD had a dependency
on a particular dracut module rule that is not needed in production.

Change the test and align it with other tests.

test/TEST-40-NBD/test.sh

index 7d27383a207cd4def6c99957b106a64489456ea4..9e5d3d210586178562d43071f02632758c42ef88 100755 (executable)
@@ -278,7 +278,7 @@ bs = 4096
 EOF
 
     "$DRACUT" -l --keep --tmpdir "$TESTDIR" \
-        -a "test-root ${USE_NETWORK}" \
+        -m "test-root" -a "${USE_NETWORK}" \
         -I "ip grep sleep nbd-server chmod modprobe vi pidof" \
         -i "${basedir}/modules.d/99base/dracut-lib.sh" "/lib/dracut-lib.sh" \
         -i "${basedir}/modules.d/99base/dracut-dev-lib.sh" "/lib/dracut-dev-lib.sh" \