tests: Add some extra dhclient support directories to mbuto.img
Although it can operate without them, dhclient can issue errors if it doesn't have /var/run to write a pid file and /var/lib to write a leases file. Create those in mbuto.img to stop it complaining. Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
parent
1fb2bd6754
commit
66ec441608
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ LINKS="${LINKS:-
|
||||||
ash,dash,bash /init
|
ash,dash,bash /init
|
||||||
ash,dash,bash /bin/sh}"
|
ash,dash,bash /bin/sh}"
|
||||||
|
|
||||||
DIRS="${DIRS} /tmp /sbin /var/log"
|
DIRS="${DIRS} /tmp /sbin /var/log /var/run /var/lib"
|
||||||
|
|
||||||
FIXUP="${FIXUP}"'
|
FIXUP="${FIXUP}"'
|
||||||
cat > /sbin/dhclient-script << EOF
|
cat > /sbin/dhclient-script << EOF
|
||||||
|
|
Loading…
Reference in a new issue