aboutgitcodebugslistschat
path: root/test/passt.mbuto
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2022-07-15 15:21:25 +1000
committerStefano Brivio <sbrivio@redhat.com>2022-07-22 19:41:42 +0200
commite6e2e30c343ccad60b873b20d2342fd823648baf (patch)
treee9fb2b6520e7c07f3f5a7c0fd8d7166297fcc906 /test/passt.mbuto
parent089707f520e373f7a0d967e7bf947e62d78df9ac (diff)
downloadpasst-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-xtest/passt.mbuto1
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
'