summaryrefslogtreecommitdiffstats
path: root/tests/missing-dev-sys-proc-inside-the-chroot
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-14 19:04:13 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-14 19:04:13 +0000
commitb44eedad97b5c4559a56c18299c74a99838320ca (patch)
treec0475e623f269ecd61317cc69572e4835e1889dc /tests/missing-dev-sys-proc-inside-the-chroot
parentReleasing progress-linux version 1.4.3-6~progress7.99u1. (diff)
downloadmmdebstrap-b44eedad97b5c4559a56c18299c74a99838320ca.tar.xz
mmdebstrap-b44eedad97b5c4559a56c18299c74a99838320ca.zip
Merging upstream version 1.5.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/missing-dev-sys-proc-inside-the-chroot')
-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 }}