Fix correct commit hash for release 0.7.0 of openXC7
[dev-env-setup.git] / install-hdl-apt-reqs
index f150e50cdfa15e2bbb3be31dd46dcddc58dda305..6ade3986d671f5187b41a3fdfbbac98f0e2e169c 100755 (executable)
@@ -3,20 +3,7 @@ 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.list
-deb http://deb.debian.org/debian buster-backports main
-EOF
-
-# oooo annoying, pin preferences for buster-backports
-cat << EOF > /etc/apt/preferences.d/99buster-backports
-Package: *
-Pin: release a=buster-backports
-Pin-Priority: 900
-EOF
-
 apt-get update -y
-apt-get upgrade -y
 apt-get install -y autoconf \
     bison \
     build-essential \
@@ -34,11 +21,13 @@ apt-get install -y autoconf \
     libboost-program-options-dev \
     libevent-dev \
     libffi-dev \
+    libgtest-dev \
     libjson-c-dev \
     libftdi-dev \
     libgmp-dev \
     libmpfr-dev \
     libpng++-dev \
+    libpython3.7-dev \
     libreadline-dev \
     libreadline7 \
     minicom \
@@ -61,7 +50,16 @@ apt-get install -y autoconf \
     python3-sphinx \
     python3-sphinx-rtd-theme \
     python3-recommonmark \
-    qemu-system-ppc/buster-backports \
+    python3-pandocfilters \
+    python3-toml \
+    pandoc \
+    rsync \
+    ssh \
+    texstudio \
+    texlive \
+    texlive-latex-extra \
+    texlive-xetex \
+    inkscape \
     tcl \
     tcl-dev \
     tcl-tclreadline \
@@ -69,6 +67,12 @@ apt-get install -y autoconf \
     wget \
     xdot
 
+# have to also upgrade sysvinit-core to stop it getting removed
+apt-get -t buster-backports install -y qemu-system-ppc/buster-backports
+
 # 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
+# install the gcc binaries above, but without the trailing "8"
+apt-get install -y gcc-powerpc64-linux-gnu
+apt-get install -y gcc-powerpc64le-linux-gnu