With mbuto, binaries typically end up in /bin not /usr/bin. In some cases
/usr/bin might not even exist. So we should put the passt binary in /bin
as well to avoid errors if /usr/bin doesn't exist.
While we're there symlink /bin to /usr/bin so that anything which refers to
/usr/bin explicitly will also work.
Signed-off-by: David Gibson
---
test/passt.mem.mbuto | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/test/passt.mem.mbuto b/test/passt.mem.mbuto
index 1550c15..537ff80 100755
--- a/test/passt.mem.mbuto
+++ b/test/passt.mem.mbuto
@@ -24,9 +24,10 @@ LINKS="${LINKS:-
DIRS="${DIRS} /tmp /sbin"
-COPIES="${COPIES} ../passt.avx2,/usr/bin/passt.avx2"
+COPIES="${COPIES} ../passt.avx2,/bin/passt.avx2"
FIXUP="${FIXUP}"'
+ln -s /bin /usr/bin
chmod 777 /tmp
ip link set eth0 up
ip address add 192.0.2.2/24 dev eth0
--
2.38.1