mirror of
https://salsa.debian.org/kernel-team/initramfs-tools.git
synced 2026-01-26 07:37:54 +00:00
test: create /lib64 to /usr/lib64 symlink as well
The `/lib64` to `/usr/lib64` symlink is needed for `/usr/lib64/ld-linux-x86-64.so.2`. Otherwise dash will not find the programs.
This commit is contained in:
parent
f9dbdc628f
commit
3c026972c8
4
debian/tests/test-common
vendored
4
debian/tests/test-common
vendored
@ -62,10 +62,10 @@ test -n "${ROOTDISK_LINUX_NAME}" || ROOTDISK_LINUX_NAME=vda
|
||||
# Create a root fs with a trivial userspace
|
||||
ROOTDIR="${BASEDIR}/rootdir"
|
||||
INIT_MESSAGE='root fs init system started successfully'
|
||||
for subdir in "" dev proc run sys usr usr/bin usr/lib usr/sbin; do
|
||||
for subdir in "" dev proc run sys usr usr/bin usr/lib usr/lib64 usr/sbin; do
|
||||
mkdir "${ROOTDIR}/${subdir}"
|
||||
done
|
||||
for subdir in bin lib sbin; do
|
||||
for subdir in bin lib lib64 sbin; do
|
||||
ln -s "usr/$subdir" "${ROOTDIR}/${subdir}"
|
||||
done
|
||||
cat >"${ROOTDIR}/sbin/init" <<EOF
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user