debian: add Trixie (Debian 13, testing) csc target & build host (#5621)

- Trixie, like Bookworm and Sid, does not have python2 anymore
This commit is contained in:
Ricardo Pardini
2023-08-22 08:14:55 +02:00
committed by GitHub
parent 78507bd48c
commit 64b5220853
9 changed files with 10 additions and 4 deletions

1
config/cli/trixie Symbolic link
View File

@@ -0,0 +1 @@
bookworm

1
config/desktop/trixie Symbolic link
View File

@@ -0,0 +1 @@
bookworm

View File

@@ -0,0 +1 @@
arm64,armhf,amd64

View File

@@ -0,0 +1 @@
Debian 13 Trixie

View File

@@ -0,0 +1 @@
csc

View File

@@ -118,6 +118,7 @@ function docker_cli_prepare() {
# @TODO: Make sure we can access docker, on Linux; gotta be part of 'docker' group: grep -q "$(whoami)" <(getent group docker)
declare -g DOCKER_ARMBIAN_INITIAL_IMAGE_TAG="armbian.local.only/armbian-build:initial"
# declare -g DOCKER_ARMBIAN_BASE_IMAGE="${DOCKER_ARMBIAN_BASE_IMAGE:-"debian:trixie"}"
# declare -g DOCKER_ARMBIAN_BASE_IMAGE="${DOCKER_ARMBIAN_BASE_IMAGE:-"debian:bookworm"}"
# declare -g DOCKER_ARMBIAN_BASE_IMAGE="${DOCKER_ARMBIAN_BASE_IMAGE:-"debian:sid"}"
# declare -g DOCKER_ARMBIAN_BASE_IMAGE="${DOCKER_ARMBIAN_BASE_IMAGE:-"debian:bullseye"}"

View File

@@ -33,7 +33,7 @@ function obtain_and_check_host_release_and_arch() {
#
# NO_HOST_RELEASE_CHECK overrides the check for a supported host system
# Disable host OS check at your own risk. Any issues reported with unsupported releases will be closed without discussion
if [[ -z $HOSTRELEASE || "bullseye bookworm sid focal impish hirsute jammy kinetic lunar ulyana ulyssa uma una vanessa vera victoria" != *"$HOSTRELEASE"* ]]; then
if [[ -z $HOSTRELEASE || "bullseye bookworm trixie sid focal impish hirsute jammy kinetic lunar ulyana ulyssa uma una vanessa vera victoria" != *"$HOSTRELEASE"* ]]; then
if [[ $NO_HOST_RELEASE_CHECK == yes ]]; then
display_alert "You are running on an unsupported system" "${HOSTRELEASE:-(unknown)}" "wrn"
display_alert "Do not report any errors, warnings or other issues encountered beyond this point" "" "wrn"

View File

@@ -294,7 +294,7 @@ function adaptative_prepare_host_dependencies() {
# Python2 -- required for some older u-boot builds
# Debian 'sid'/'bookworm' and Ubuntu 'lunar' does not carry python2 anymore; in this case some u-boot's might fail to build.
if [[ "sid bookworm lunar" == *"${host_release}"* ]]; then
if [[ "sid bookworm trixie lunar" == *"${host_release}"* ]]; then
display_alert "Python2 not available on host release '${host_release}'" "old(er) u-boot builds might/will fail" "wrn"
else
host_dependencies+=("python2" "python2-dev")

View File

@@ -118,7 +118,7 @@ function create_sources_list_and_deploy_repo_key() {
EOF
;;
bullseye | trixie)
bullseye)
cat <<- EOF > "${basedir}"/etc/apt/sources.list
deb http://${DEBIAN_MIRROR} $release main contrib non-free
#deb-src http://${DEBIAN_MIRROR} $release main contrib non-free
@@ -134,7 +134,7 @@ function create_sources_list_and_deploy_repo_key() {
EOF
;;
bookworm)
bookworm | trixie)
# non-free firmware in bookworm and later has moved from the non-free archive component to a new non-free-firmware component (alongside main/contrib/non-free). This was implemented on 2023-01-27, see also https://lists.debian.org/debian-boot/2023/01/msg00235.html
cat <<- EOF > "${basedir}"/etc/apt/sources.list
deb http://${DEBIAN_MIRROR} $release main contrib non-free non-free-firmware