]> git.ipfire.org Git - thirdparty/pdns.git/blob - build-scripts/gh-actions-setup-inv
0cd64feb5b7f4b1557f9795c3f682c981151e5ec
[thirdparty/pdns.git] / build-scripts / gh-actions-setup-inv
1 #!/bin/bash -x
2 sudo sh -c "cat > /usr/sbin/policy-rc.d << EOF
3 #!/bin/sh
4 exit 101
5 EOF
6 "
7 sudo chmod 755 /usr/sbin/policy-rc.d
8 sudo apt-get update
9 # FIXME: Avoid GRUB related errors due to runner image configuration by removing it.
10 sudo dpkg --purge --force-all grub-efi-amd64-signed && sudo dpkg --purge --force-all shim-signed
11 sudo apt-get autoremove
12 sudo apt-get -qq -y --allow-downgrades dist-upgrade
13 sudo apt-get -qq -y --no-install-recommends install python3-pip
14 sudo pip3 install git+https://github.com/pyinvoke/invoke@faa5728a6f76199a3da1750ed952e7efee17c1da
15 sudo pip3 install gitpython
16 sudo pip3 install unidiff