make_mirror.sh: add procps for /sbin/sysctl

This commit is contained in:
Johannes 'josch' Schauer 2018-12-05 10:36:21 +01:00
parent 2618a587a0
commit b57b8de3a0
Signed by untrusted user: josch
GPG key ID: F2CBA5C78FBD83E1

View file

@ -163,12 +163,10 @@ if [ "$HAVE_QEMU" = "yes" ]; then
# We do not use our own package cache here because
# - it doesn't (and shouldn't) contain the extra packages
# - it doesn't matter if the base system is from a different mirror timestamp
# Write tarfile via redirection because in the Debian package autopkgtest
# ./mmdebstrap is a suid binary and we do not want the tarfile being owned
# by root.
# procps is needed for /sbin/sysctl
tmpdir="$(mktemp -d)"
./mmdebstrap --variant=apt --architectures=amd64,armhf --mode=unshare \
--include=linux-image-amd64,systemd-sysv,perl,arch-test,fakechroot,fakeroot,mount,uidmap,proot,qemu-user-static,binfmt-support,qemu-user,dpkg-dev,mini-httpd,libdevel-cover-perl,debootstrap,libfakechroot:armhf,libfakeroot:armhf \
--include=linux-image-amd64,systemd-sysv,perl,arch-test,fakechroot,fakeroot,mount,uidmap,proot,qemu-user-static,binfmt-support,qemu-user,dpkg-dev,mini-httpd,libdevel-cover-perl,debootstrap,libfakechroot:armhf,libfakeroot:armhf,procps \
unstable > "$tmpdir/debian-unstable.tar"
cat << END > "$tmpdir/extlinux.conf"