1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

thoughts going forward

This commit is contained in:
Jerry Vonau 2023-04-12 01:08:39 -05:00
parent 3e10fa7bf9
commit df3590fb47
2 changed files with 22 additions and 3 deletions

View file

@ -45,10 +45,19 @@ case $ARCH in
# trusted is used for Debian and RasPiOS as the keys would be missing for Ubuntu
"arm64"|"amd64")
apt -y install ubuntu-keyring
#apt -y install ubuntu-keyring
cat << EOF >> /etc/apt/sources.list.d/python2.list
deb [trusted=yes] http://ports.ubuntu.com/ jammy main universe
deb [trusted=yes] http://ports.ubuntu.com/ jammy-updates main universe
# gave 404 errors on U23.04 x86_64 VM
#deb [trusted=yes] http://ports.ubuntu.com/ jammy main universe
#deb [trusted=yes] http://ports.ubuntu.com/ jammy-updates main universe
# works on U23.04 x86_64 VM need to circle back to U23.04 arm64 and confirm
deb [trusted=yes] http://archive.ubuntu.com/ubuntu jammy main universe
deb [trusted=yes] http://archive.ubuntu.com/ubuntu jammy-updates main universe
# keys for Debian future work maybe
#deb [signed-by=/usr/share/keyrings/ubuntu-keyring-2018-archive.gpg] http://ports.ubuntu.com/ jammy main universe
#deb [signed-by=/usr/share/keyrings/ubuntu-keyring-2018-archive.gpg] http://ports.ubuntu.com/ jammy-updates main universe
EOF
;;
@ -72,6 +81,7 @@ EOF
# armhf compile flags differ between RasPiOS and Ubuntu
if ! [ -f /etc/rpi-issue ]; then
cat << EOF >> /etc/apt/sources.list.d/python2.list
# these might change
deb http://ports.ubuntu.com/ jammy main universe
deb http://ports.ubuntu.com/ jammy-updates main universe
EOF