]> git.ipfire.org Git - thirdparty/dracut-ng.git/commitdiff
test(NFS): drop including missing overlay in server initrd
authorBenjamin Drung <benjamin.drung@canonical.com>
Tue, 30 Sep 2025 12:40:19 +0000 (14:40 +0200)
committerLaszlo <laszlo.gombos@gmail.com>
Tue, 30 Sep 2025 13:51:39 +0000 (09:51 -0400)
The NFS test shows following warning when generating `initramfs.server`:

```
dracut[E]: /var/tmp/dracut-test.26n7FD/overlay doesn't exist
```

There is no overlay directory for the server initrd.

test/TEST-60-NFS/test.sh

index 7d76006927d8b50f6292d50ffba8f92ec262d887..ed052d36cc7d520205954c43440bafd7b5d9a03f 100755 (executable)
@@ -289,7 +289,7 @@ test_setup() {
         -a "watchdog dmsquash-live qemu-net ${USE_NETWORK}"
 
     # Make server's dracut image
-    "$DRACUT" -i "$TESTDIR"/overlay / \
+    "$DRACUT" \
         -a "bash qemu-net $USE_NETWORK ${SERVER_DEBUG:+debug}" \
         --include ./server.link /etc/systemd/network/01-server.link \
         --include ./wait-if-server.sh /lib/dracut/hooks/pre-mount/99-wait-if-server.sh \