3 then echo "Please run as root"
6 # for qemu 5.2 use debian/buster backports
7 cat << EOF > /etc/apt/sources.list.d/buster_backports.list
8 deb http://deb.debian.org/debian buster-backports main
11 # oooo annoying, pin preferences for buster-backports
12 cat << EOF > /etc/apt/preferences.d/99buster-backports
14 Pin: release a=buster-backports
20 apt-get
install -y autoconf \
34 libboost-program-options-dev \
62 python3-sphinx-rtd-theme \
63 python3-recommonmark \
64 qemu-system-ppc
/buster-backports \
72 # if doing this on ppc64le it may fail
73 apt-get
install -y gcc-8-powerpc64-linux-gnu
74 apt-get
install -y gcc-8-powerpc64le-linux-gnu