1
0
mirror of https://passt.top/passt synced 2024-07-01 23:42:41 +00:00

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>
This commit is contained in:
David Gibson 2022-07-15 15:21:25 +10:00 committed by Stefano Brivio
parent 089707f520
commit e6e2e30c34

View File

@ -41,6 +41,7 @@ FIXUP="${FIXUP}"'
exit 0
EOF
chmod 755 /sbin/dhclient-script
ln -s /sbin /usr/sbin
:> /etc/fstab
sh +m
'