add buster backports to hdl apt dependencies
[dev-env-setup.git] / install-hdl-apt-reqs
index 249cb69a057a8ecf2c33e65d7d4f2ffbdfcce783..c125fc8791afd6a38c61f14d7b33934df57fd236 100755 (executable)
@@ -3,6 +3,11 @@ if [ "$EUID" -ne 0 ]
   then echo "Please run as root"
   exit
 fi
+# for qemu 5.2 use debian/buster backports
+cat << EOF > /etc/apt/sources.list.d/buster_backports
+deb http://deb.debian.org/debian buster-backports main
+EOF
+
 apt-get update -y
 apt-get upgrade -y
 apt-get install -y autoconf \
@@ -46,7 +51,7 @@ apt-get install -y autoconf \
     python3-sphinx \
     python3-sphinx-rtd-theme \
     python3-recommonmark \
-    qemu-system-ppc \
+    qemu-system-ppc/buster-backports \
     tcl \
     tcl-dev \
     tcl-tclreadline \