diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2022-07-15 15:21:25 +1000 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2022-07-22 19:41:42 +0200 |
commit | e6e2e30c343ccad60b873b20d2342fd823648baf (patch) | |
tree | e9fb2b6520e7c07f3f5a7c0fd8d7166297fcc906 /test/passt.mbuto | |
parent | 089707f520e373f7a0d967e7bf947e62d78df9ac (diff) | |
download | passt-e6e2e30c343ccad60b873b20d2342fd823648baf.tar passt-e6e2e30c343ccad60b873b20d2342fd823648baf.tar.gz passt-e6e2e30c343ccad60b873b20d2342fd823648baf.tar.bz2 passt-e6e2e30c343ccad60b873b20d2342fd823648baf.tar.lz passt-e6e2e30c343ccad60b873b20d2342fd823648baf.tar.xz passt-e6e2e30c343ccad60b873b20d2342fd823648baf.tar.zst passt-e6e2e30c343ccad60b873b20d2342fd823648baf.zip |
tests: Let Fedora find dhclient-script in /usr/sbin
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 <david@gibson.dropbear.id.au>
Diffstat (limited to 'test/passt.mbuto')
-rwxr-xr-x | test/passt.mbuto | 1 |
1 files changed, 1 insertions, 0 deletions
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 ' |