From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Gibson To: passt-dev@passt.top Subject: [PATCH 04/18] tests: Add some extra dhclient support directories to mbuto.img Date: Fri, 15 Jul 2022 15:21:27 +1000 Message-ID: <20220715052141.890703-5-david@gibson.dropbear.id.au> In-Reply-To: <20220715052141.890703-1-david@gibson.dropbear.id.au> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5293014661744864522==" --===============5293014661744864522== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit 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 -- 2.36.1 --===============5293014661744864522==--