summaryrefslogtreecommitdiffstats
path: root/tests/missing-dev-sys-proc-inside-the-chroot
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/missing-dev-sys-proc-inside-the-chroot6
1 files changed, 5 insertions, 1 deletions
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 }}