|
|
@ -34,6 +34,14 @@ for arch in ${archs}; do |
|
|
|
echo " ---- install ${tmpdir}/${distro}-${arch}" 1>&2 |
|
|
|
echo " ---- install ${tmpdir}/${distro}-${arch}" 1>&2 |
|
|
|
sudo debootstrap --arch="$arch" "$distro" "${tmpdir}/${distro}-${arch}" |
|
|
|
sudo debootstrap --arch="$arch" "$distro" "${tmpdir}/${distro}-${arch}" |
|
|
|
fi |
|
|
|
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 |
|
|
|
echo " ---- upgrade ${tmpdir}/${distro}-${arch}" 1>&2 |
|
|
|
sudo chroot "${tmpdir}/${distro}-${arch}" apt-get update |
|
|
|
sudo chroot "${tmpdir}/${distro}-${arch}" apt-get update |
|
|
|
sudo chroot "${tmpdir}/${distro}-${arch}" apt-get -y upgrade |
|
|
|
sudo chroot "${tmpdir}/${distro}-${arch}" apt-get -y upgrade |
|
|
|