From 6584112d593ed9fe0bcb2680d82a8849e708dccc Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 26 Jun 2024 18:03:02 +0200 Subject: Merging upstream version 1.5.2. Signed-off-by: Daniel Baumann --- tests/missing-dev-sys-proc-inside-the-chroot | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/missing-dev-sys-proc-inside-the-chroot') diff --git a/tests/missing-dev-sys-proc-inside-the-chroot b/tests/missing-dev-sys-proc-inside-the-chroot index 9c9b1c0..935ff31 100644 --- a/tests/missing-dev-sys-proc-inside-the-chroot +++ b/tests/missing-dev-sys-proc-inside-the-chroot @@ -17,8 +17,8 @@ if [ "$(id -u)" -eq 0 ] && [ "{{ MODE }}" != "root" ] && [ "{{ MODE }}" != "auto prefix="runuser -u ${SUDO_USER:-user} --" fi -# creating /sbin manually because of #1071078 +# do not install base-files, so that /proc, /sys and /dev are missing $prefix {{ CMD }} --mode={{ MODE }} --variant={{ VARIANT }} \ - --setup-hook='mkdir "$1/sbin"' \ + --setup-hook='for dir in bin lib lib32 lib64 libo32 libx32 sbin; do ln -s "usr/$dir" "$1/$dir"; done' \ --include=dpkg,dash,diffutils,coreutils,libc-bin,sed \ {{ DIST }} /dev/null {{ MIRROR }} -- cgit v1.2.3