From b57b8de3a06037331c55336d102c10b5eb7797f9 Mon Sep 17 00:00:00 2001 From: Johannes 'josch' Schauer Date: Wed, 5 Dec 2018 10:36:21 +0100 Subject: [PATCH] make_mirror.sh: add procps for /sbin/sysctl --- make_mirror.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/make_mirror.sh b/make_mirror.sh index f875fb4..0c71317 100755 --- a/make_mirror.sh +++ b/make_mirror.sh @@ -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"