From b44eedad97b5c4559a56c18299c74a99838320ca Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Tue, 14 May 2024 21:04:13 +0200 Subject: Merging upstream version 1.5.0. Signed-off-by: Daniel Baumann --- tests/missing-dev-sys-proc-inside-the-chroot | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (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 d127911..9c9b1c0 100644 --- a/tests/missing-dev-sys-proc-inside-the-chroot +++ b/tests/missing-dev-sys-proc-inside-the-chroot @@ -17,4 +17,8 @@ if [ "$(id -u)" -eq 0 ] && [ "{{ MODE }}" != "root" ] && [ "{{ MODE }}" != "auto prefix="runuser -u ${SUDO_USER:-user} --" fi -$prefix {{ CMD }} --mode={{ MODE }} --variant={{ VARIANT }} --include=dpkg,dash,diffutils,coreutils,libc-bin,sed {{ DIST }} /dev/null {{ MIRROR }} +# creating /sbin manually because of #1071078 +$prefix {{ CMD }} --mode={{ MODE }} --variant={{ VARIANT }} \ + --setup-hook='mkdir "$1/sbin"' \ + --include=dpkg,dash,diffutils,coreutils,libc-bin,sed \ + {{ DIST }} /dev/null {{ MIRROR }} -- cgit v1.2.3