From 8e1c3f5192d88a67e4f80b842012b3592d49b01a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20W=C3=A4ckerlin?= Date: Mon, 4 Apr 2016 14:56:17 +0000 Subject: [PATCH] after migration to new svn server --- scripts/bootstrap-to-docker.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/scripts/bootstrap-to-docker.sh b/scripts/bootstrap-to-docker.sh index 0a28ca1..42fef90 100755 --- a/scripts/bootstrap-to-docker.sh +++ b/scripts/bootstrap-to-docker.sh @@ -34,6 +34,14 @@ for arch in ${archs}; do echo " ---- install ${tmpdir}/${distro}-${arch}" 1>&2 sudo debootstrap --arch="$arch" "$distro" "${tmpdir}/${distro}-${arch}" fi + echo " ---- prevent packages in ${tmpdir}/${distro}-${arch}" 1>&2 + for f in "libpam-systemd:amd64" "policykit*" "colord"; do + sudo chroot "${tmpdir}/${distro}-${arch}" cat >> /etc/apt/preferences <&2 sudo chroot "${tmpdir}/${distro}-${arch}" apt-get update sudo chroot "${tmpdir}/${distro}-${arch}" apt-get -y upgrade