mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-11-18 18:07:45 +01:00
ci: amd64 image update to Debian 13.1.0 (#5087)
* ci: amd64 image update to Debian 13.0.0 * build: remove policykit-1 package not in trixie packages * use python 3.13 * amd64 image update to Debian 13.1.0
This commit is contained in:
@@ -407,7 +407,7 @@ echo -e "\n*** SOFTWARE UPDATE ***"
|
|||||||
# sqlite3 -> database
|
# sqlite3 -> database
|
||||||
# fdisk -> create partitions
|
# fdisk -> create partitions
|
||||||
# lsb-release -> needed to know which distro version we're running to add APT sources
|
# lsb-release -> needed to know which distro version we're running to add APT sources
|
||||||
general_utils="sudo policykit-1 htop git curl bash-completion vim jq dphys-swapfile bsdmainutils autossh telnet vnstat parted dosfstools fbi sysbench build-essential dialog bc python3-dialog unzip whois fdisk lsb-release smartmontools rsyslog qrencode dnsutils"
|
general_utils="sudo htop git curl bash-completion vim jq dphys-swapfile bsdmainutils autossh telnet vnstat parted dosfstools fbi sysbench build-essential dialog bc python3-dialog unzip whois fdisk lsb-release smartmontools rsyslog qrencode dnsutils"
|
||||||
# add btrfs-progs if not bookworm on aarch64
|
# add btrfs-progs if not bookworm on aarch64
|
||||||
[ "${architecture}" = "aarch64" ] && ! grep "12 (bookworm)" < /etc/os-release && general_utils="${general_utils} btrfs-progs"
|
[ "${architecture}" = "aarch64" ] && ! grep "12 (bookworm)" < /etc/os-release && general_utils="${general_utils} btrfs-progs"
|
||||||
# python3-mako --> https://github.com/rootzoll/raspiblitz/issues/3441
|
# python3-mako --> https://github.com/rootzoll/raspiblitz/issues/3441
|
||||||
@@ -423,8 +423,25 @@ apt-get autoremove -y
|
|||||||
|
|
||||||
echo -e "\n*** Python DEFAULT libs & dependencies ***"
|
echo -e "\n*** Python DEFAULT libs & dependencies ***"
|
||||||
|
|
||||||
if [ -f "/usr/bin/python3.11" ]; then
|
if [ -f "/usr/bin/python3.13" ]; then
|
||||||
# use python 3.11 if available
|
# use python 3.13 if available (Debian 13 Trixie)
|
||||||
|
update-alternatives --install /usr/bin/python python /usr/bin/python3.13 1
|
||||||
|
# keep python backwards compatible
|
||||||
|
ln -s /usr/bin/python3.13 /usr/bin/python3.9
|
||||||
|
ln -s /usr/bin/python3.13 /usr/bin/python3.10
|
||||||
|
ln -s /usr/bin/python3.13 /usr/bin/python3.11
|
||||||
|
ln -s /usr/bin/python3.13 /usr/bin/python3.12
|
||||||
|
echo "python calls python3.13"
|
||||||
|
elif [ -f "/usr/bin/python3.12" ]; then
|
||||||
|
# use python 3.12 if available
|
||||||
|
update-alternatives --install /usr/bin/python python /usr/bin/python3.12 1
|
||||||
|
# keep python backwards compatible
|
||||||
|
ln -s /usr/bin/python3.12 /usr/bin/python3.9
|
||||||
|
ln -s /usr/bin/python3.12 /usr/bin/python3.10
|
||||||
|
ln -s /usr/bin/python3.12 /usr/bin/python3.11
|
||||||
|
echo "python calls python3.12"
|
||||||
|
elif [ -f "/usr/bin/python3.11" ]; then
|
||||||
|
# use python 3.11 if available (Debian 12 Bookworm)
|
||||||
update-alternatives --install /usr/bin/python python /usr/bin/python3.11 1
|
update-alternatives --install /usr/bin/python python /usr/bin/python3.11 1
|
||||||
# keep python backwards compatible
|
# keep python backwards compatible
|
||||||
ln -s /usr/bin/python3.11 /usr/bin/python3.9
|
ln -s /usr/bin/python3.11 /usr/bin/python3.9
|
||||||
|
|||||||
@@ -1,5 +1,7 @@
|
|||||||
variable "iso_name" { default = "debian-12.11.0-amd64-netinst.iso" }
|
# images, checksums and signatures are at:
|
||||||
variable "iso_checksum" { default = "30ca12a15cae6a1033e03ad59eb7f66a6d5a258dcf27acd115c2bd42d22640e8" }
|
# https://cdimage.debian.org/debian-cd/current/amd64/iso-cd/
|
||||||
|
variable "iso_name" { default = "debian-13.1.0-amd64-netinst.iso" }
|
||||||
|
variable "iso_checksum" { default = "658b28e209b578fe788ec5867deebae57b6aac5fce3692bbb116bab9c65568b3" }
|
||||||
|
|
||||||
variable "pack" { default = "lean" }
|
variable "pack" { default = "lean" }
|
||||||
variable "github_user" { default = "raspiblitz" }
|
variable "github_user" { default = "raspiblitz" }
|
||||||
|
|||||||
Reference in New Issue
Block a user