qemu backports explicit install separate from other packages
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 17 Jul 2022 16:39:18 +0000 (17:39 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 17 Jul 2022 16:39:18 +0000 (17:39 +0100)
install-hdl-apt-reqs
mk-deb-chroot

index d563ad2c04c7d585016ca8502e969276890888c2..3e792b930490fe9e1007dc5a124d3a82f3f01ef6 100755 (executable)
@@ -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
index f1f94b253c1a3458a4622104105061e5ab483ad4..d83f85c0003cc5b7253bac93746f4b60254c6584 100755 (executable)
@@ -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*