From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Gibson To: passt-dev@passt.top Subject: [PATCH 02/18] tests: Let Fedora find dhclient-script in /usr/sbin Date: Fri, 15 Jul 2022 15:21:25 +1000 Message-ID: <20220715052141.890703-3-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="===============7040788687034188107==" --===============7040788687034188107== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Modern Fedora (and RHEL) systems have /sbin as a symlink to /usr/sbin (along with a number of similar links). Along with that it expects to find dhclient-script in /usr/sbin/dhclient-script rather than /sbin/dhclient-script. Link them together in our mbuto image so that the Fedora build of dhclient can find it. Signed-off-by: David Gibson --- test/passt.mbuto | 1 + 1 file changed, 1 insertion(+) diff --git a/test/passt.mbuto b/test/passt.mbuto index 2990020..500c34f 100755 --- a/test/passt.mbuto +++ b/test/passt.mbuto @@ -41,6 +41,7 @@ FIXUP="${FIXUP}"' exit 0 EOF chmod 755 /sbin/dhclient-script + ln -s /sbin /usr/sbin :> /etc/fstab sh +m ' -- 2.36.1 --===============7040788687034188107==--