ubuntu: add mantic (23.10), symlinks to lunar

This commit is contained in:
Ricardo Pardini
2023-10-11 15:23:19 +02:00
parent a7efc37d70
commit f3c3fe8e82
10 changed files with 12 additions and 7 deletions

1
config/cli/mantic Symbolic link
View File

@@ -0,0 +1 @@
lunar

1
config/desktop/mantic Symbolic link
View File

@@ -0,0 +1 @@
lunar

View File

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

View File

@@ -0,0 +1 @@
Ubuntu Mantic 23.10

View File

@@ -0,0 +1 @@
csc

View File

@@ -79,7 +79,7 @@ extension_prepare_config__prepare_rpi_flash_kernel() {
declare -g RASPI_DISTRO_KERNEL="${RASPI_DISTRO_KERNEL:-no}" # Include a distro-built kernel?
declare -g SERIALCON="${RASPI_SERIALCON:-tty1}" # HDMI etc, not serial. most people don't have UART on rpi
local usable_releases="jammy|kinetic|lunar"
local usable_releases="jammy|kinetic|lunar|mantic"
# if RELEASE is set, make sure it is one of the ones we support.
if [[ -n "${RELEASE}" ]]; then

View File

@@ -296,7 +296,7 @@ function do_extra_configuration() {
[[ -z $ATFPATCHDIR ]] && ATFPATCHDIR="atf-$LINUXFAMILY"
[[ -z $KERNELPATCHDIR ]] && KERNELPATCHDIR="$LINUXFAMILY-$BRANCH"
if [[ "$RELEASE" =~ ^(focal|jammy|kinetic|lunar)$ ]]; then
if [[ "$RELEASE" =~ ^(focal|jammy|kinetic|lunar|mantic)$ ]]; then
DISTRIBUTION="Ubuntu"
else
DISTRIBUTION="Debian"

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 || "bookworm trixie sid jammy kinetic lunar vanessa vera victoria" != *"$HOSTRELEASE"* ]]; then
if [[ -z $HOSTRELEASE || "bookworm trixie sid jammy kinetic lunar vanessa vera victoria mantic" != *"$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 trixie lunar" == *"${host_release}"* ]]; then
if [[ "sid bookworm trixie lunar mantic" == *"${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

@@ -16,7 +16,7 @@ function install_distribution_specific() {
case "${RELEASE}" in
focal | jammy | kinetic | lunar)
focal | jammy | kinetic | lunar | mantic)
# by using default lz4 initrd compression leads to corruption, go back to proven method
# @TODO: rpardini: this should be a config option (which is always set to zstd ;-D )
@@ -92,7 +92,7 @@ function install_distribution_specific() {
# create_sources_list_and_deploy_repo_key <when> <release> <basedir>
#
# <when>: rootfs|image
# <release>: bullseye|bookworm|sid|focal|jammy|kinetic|lunar
# <release>: bullseye|bookworm|sid|focal|jammy|kinetic|lunar|mantic
# <basedir>: path to root directory
#
function create_sources_list_and_deploy_repo_key() {
@@ -167,7 +167,7 @@ function create_sources_list_and_deploy_repo_key() {
fi
;;
focal | jammy | kinetic | lunar)
focal | jammy | kinetic | lunar | mantic)
cat <<- EOF > "${basedir}"/etc/apt/sources.list
deb http://${UBUNTU_MIRROR} $release main restricted universe multiverse
#deb-src http://${UBUNTU_MIRROR} $release main restricted universe multiverse