mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
bookworm armhf
This commit is contained in:
parent
32d40f038d
commit
5253c31d93
1 changed files with 2 additions and 8 deletions
|
@ -74,13 +74,7 @@ EOF
|
||||||
#rm *.deb
|
#rm *.deb
|
||||||
|
|
||||||
# armhf compile flags differ between RasPiOS and Ubuntu
|
# armhf compile flags differ between RasPiOS and Ubuntu
|
||||||
# libssl1.1 would be available via bullseye if/when needed
|
if ! [ -f /etc/rpi-issue ]; then
|
||||||
if [ -f /etc/rpi-issue ]; then
|
|
||||||
cat << EOF >> /etc/apt/sources.list.d/python2.list
|
|
||||||
deb http://raspbian.raspberrypi.org/raspbian/ bullseye main
|
|
||||||
deb http://archive.raspberrypi.org/debian/ bullseye main
|
|
||||||
EOF
|
|
||||||
else
|
|
||||||
apt -y install libffi8 libssl3
|
apt -y install libffi8 libssl3
|
||||||
cat << EOF >> /etc/apt/sources.list.d/python2.list
|
cat << EOF >> /etc/apt/sources.list.d/python2.list
|
||||||
deb http://ports.ubuntu.com/ jammy main universe
|
deb http://ports.ubuntu.com/ jammy main universe
|
||||||
|
@ -92,5 +86,5 @@ esac
|
||||||
|
|
||||||
apt update
|
apt update
|
||||||
apt -y install python2
|
apt -y install python2
|
||||||
rm /etc/apt/sources.list.d/python2.list
|
rm /etc/apt/sources.list.d/python2.list || true
|
||||||
apt update
|
apt update
|
||||||
|
|
Loading…
Add table
Reference in a new issue