From: Luke Kenneth Casson Leighton Date: Sun, 17 Jul 2022 16:39:18 +0000 (+0100) Subject: qemu backports explicit install separate from other packages X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2a812324cb993e7356f12c790d1e5b31f4754663;p=dev-env-setup.git qemu backports explicit install separate from other packages --- diff --git a/install-hdl-apt-reqs b/install-hdl-apt-reqs index d563ad2..3e792b9 100755 --- a/install-hdl-apt-reqs +++ b/install-hdl-apt-reqs @@ -54,7 +54,6 @@ apt-get install -y autoconf \ texlive \ texlive-latex-extra \ inkscape \ - qemu-system-ppc/buster-backports \ tcl \ tcl-dev \ tcl-tclreadline \ @@ -62,6 +61,11 @@ apt-get install -y autoconf \ wget \ xdot + +# have to also upgrade sysvinit-core to stop it getting removed +apt-get -t buster-backports install qemu-system-ppc/buster-backports \ + sysvinit-core + # if doing this on ppc64le it may fail apt-get install -y gcc-8-powerpc64-linux-gnu apt-get install -y gcc-8-powerpc64le-linux-gnu diff --git a/mk-deb-chroot b/mk-deb-chroot index f1f94b2..d83f85c 100755 --- a/mk-deb-chroot +++ b/mk-deb-chroot @@ -115,10 +115,11 @@ deb http://deb.debian.org/debian buster-backports main EOF # oooo annoying, pin preferences for buster-backports +# make it low pririty for reproduceability cat << EOF > /opt/chroot/$chrootdir/etc/apt/preferences.d/99buster-backports Package: * Pin: release a=buster-backports -Pin-Priority: 900 +Pin-Priority: 300 Package: libcurl3-gnutls Pin: version 7.64*