From 66ec4416084b189aba8cf44f2f087573d9676a4e Mon Sep 17 00:00:00 2001 From: David Gibson Date: Fri, 15 Jul 2022 15:21:27 +1000 Subject: [PATCH] tests: Add some extra dhclient support directories to mbuto.img Although it can operate without them, dhclient can issue errors if it doesn't have /var/run to write a pid file and /var/lib to write a leases file. Create those in mbuto.img to stop it complaining. Signed-off-by: David Gibson --- test/passt.mbuto | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/passt.mbuto b/test/passt.mbuto index fb59cec..b33c0a8 100755 --- a/test/passt.mbuto +++ b/test/passt.mbuto @@ -21,7 +21,7 @@ LINKS="${LINKS:- ash,dash,bash /init ash,dash,bash /bin/sh}" -DIRS="${DIRS} /tmp /sbin /var/log" +DIRS="${DIRS} /tmp /sbin /var/log /var/run /var/lib" FIXUP="${FIXUP}"' cat > /sbin/dhclient-script << EOF