forked from josch/mmdebstrap
tests/missing-dev-sys-proc-inside-the-chroot: work around for bug #1071078
This commit is contained in:
parent
409686048b
commit
4ad8245a14
1 changed files with 5 additions and 1 deletions
|
@ -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 }}
|
||||
|
|
Loading…
Reference in a new issue