From a0c32126a8eff2f58b4abc606dc28d50c26d27b3 Mon Sep 17 00:00:00 2001 From: illiliti Date: Sun, 15 Aug 2021 10:35:09 +0300 Subject: [PATCH] *: fix multilib --- test/bare.test | 2 ++ test/luks.test | 2 ++ test/lvm.test | 2 ++ test/zfs.test | 2 ++ tinyramfs | 2 ++ 5 files changed, 10 insertions(+) diff --git a/test/bare.test b/test/bare.test index 1ab6b72..038db4a 100755 --- a/test/bare.test +++ b/test/bare.test @@ -64,6 +64,8 @@ mount "${nbd}p1" "$root" dev sys tmp run proc \ root usr/lib usr/bin + ln -s lib usr/lib64 + ln -s usr/lib lib64 ln -s usr/lib lib ln -s usr/bin bin ln -s usr/bin sbin diff --git a/test/luks.test b/test/luks.test index b25dc80..a5dd2ba 100755 --- a/test/luks.test +++ b/test/luks.test @@ -73,6 +73,8 @@ mount "/dev/mapper/${name}" "$root" dev sys tmp run proc \ root usr/lib usr/bin + ln -s lib usr/lib64 + ln -s usr/lib lib64 ln -s usr/lib lib ln -s usr/bin bin ln -s usr/bin sbin diff --git a/test/lvm.test b/test/lvm.test index f5437d4..58aecd7 100755 --- a/test/lvm.test +++ b/test/lvm.test @@ -73,6 +73,8 @@ mount "/dev/mapper/${vg}-${lv}" "$root" dev sys tmp run proc \ root usr/lib usr/bin + ln -s lib usr/lib64 + ln -s usr/lib lib64 ln -s usr/lib lib ln -s usr/bin bin ln -s usr/bin sbin diff --git a/test/zfs.test b/test/zfs.test index 416d2bc..261e95b 100755 --- a/test/zfs.test +++ b/test/zfs.test @@ -80,6 +80,8 @@ mount -t zfs "${pool}/root" "$root" dev sys tmp run proc \ root usr/lib usr/bin + ln -s lib usr/lib64 + ln -s usr/lib lib64 ln -s usr/lib lib ln -s usr/bin bin ln -s usr/bin sbin diff --git a/tinyramfs b/tinyramfs index edc961f..f356320 100755 --- a/tinyramfs +++ b/tinyramfs @@ -38,6 +38,8 @@ init_base() dev sys tmp run var proc root \ usr/lib usr/bin mnt/root etc/tinyramfs + ln -s lib usr/lib64 + ln -s usr/lib lib64 ln -s usr/lib lib ln -s usr/bin bin ln -s usr/bin sbin