test: Fix passt.mbuto for cases where /usr/sbin doesn't exist
f0ccca74
("test: make passt.mbuto script more robust") is supposed to make mbuto more robust by standardizing on always putting things in /usr/sbin with /sbin a symlink to it. This matters because different distros have different conventions about how the two are used. However, the logic there requires that /usr/sbin at least exists to start with. This isn't always the case with Fedora derived mbuto images. Ironically the DIRS variable ensures that /sbin exists, although we then remove it, but doesn't require /usr/sbin to exist. Fix that up so that the new logic will work with Fedora. Fixes:f0ccca741f
("test: make passt.mbuto script more robust") Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
This commit is contained in:
parent
f091893c1f
commit
f60c85194b
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 /usr/share /var/log /var/lib /etc/ssh /run/sshd /root/.ssh"
|
DIRS="${DIRS} /tmp /usr/sbin /usr/share /var/log /var/lib /etc/ssh /run/sshd /root/.ssh"
|
||||||
|
|
||||||
COPIES="${COPIES} small.bin,/root/small.bin medium.bin,/root/medium.bin big.bin,/root/big.bin"
|
COPIES="${COPIES} small.bin,/root/small.bin medium.bin,/root/medium.bin big.bin,/root/big.bin"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue