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:
parent
089707f520
commit
e6e2e30c34
1 changed files with 1 additions and 0 deletions
|
@ -41,6 +41,7 @@ FIXUP="${FIXUP}"'
|
||||||
exit 0
|
exit 0
|
||||||
EOF
|
EOF
|
||||||
chmod 755 /sbin/dhclient-script
|
chmod 755 /sbin/dhclient-script
|
||||||
|
ln -s /sbin /usr/sbin
|
||||||
:> /etc/fstab
|
:> /etc/fstab
|
||||||
sh +m
|
sh +m
|
||||||
'
|
'
|
||||||
|
|
Loading…
Reference in a new issue