after migration to new svn server

master
Marc Wäckerlin 9 years ago
parent a9575e85cc
commit 8e1c3f5192
  1. 8
      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 <<EOF
Package: $f
Pin-Priority: -100
EOF
done
echo " ---- upgrade ${tmpdir}/${distro}-${arch}" 1>&2
sudo chroot "${tmpdir}/${distro}-${arch}" apt-get update
sudo chroot "${tmpdir}/${distro}-${arch}" apt-get -y upgrade

Loading…
Cancel
Save