diff --git a/config/cli/mantic b/config/cli/mantic new file mode 120000 index 000000000..2c1496890 --- /dev/null +++ b/config/cli/mantic @@ -0,0 +1 @@ +lunar \ No newline at end of file diff --git a/config/desktop/mantic b/config/desktop/mantic new file mode 120000 index 000000000..2c1496890 --- /dev/null +++ b/config/desktop/mantic @@ -0,0 +1 @@ +lunar \ No newline at end of file diff --git a/config/distributions/mantic/architectures b/config/distributions/mantic/architectures new file mode 100644 index 000000000..6103381d1 --- /dev/null +++ b/config/distributions/mantic/architectures @@ -0,0 +1 @@ +arm64,armhf,riscv64,amd64 diff --git a/config/distributions/mantic/name b/config/distributions/mantic/name new file mode 100644 index 000000000..9a71a79d7 --- /dev/null +++ b/config/distributions/mantic/name @@ -0,0 +1 @@ +Ubuntu Mantic 23.10 diff --git a/config/distributions/mantic/support b/config/distributions/mantic/support new file mode 100644 index 000000000..03cd47015 --- /dev/null +++ b/config/distributions/mantic/support @@ -0,0 +1 @@ +csc diff --git a/config/sources/families/bcm2711.conf b/config/sources/families/bcm2711.conf index 164c2b833..0d720b464 100644 --- a/config/sources/families/bcm2711.conf +++ b/config/sources/families/bcm2711.conf @@ -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 diff --git a/lib/functions/configuration/main-config.sh b/lib/functions/configuration/main-config.sh index 887f7d729..f66a5cae3 100644 --- a/lib/functions/configuration/main-config.sh +++ b/lib/functions/configuration/main-config.sh @@ -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" diff --git a/lib/functions/host/host-release.sh b/lib/functions/host/host-release.sh index c3cff1b82..1e8273c35 100644 --- a/lib/functions/host/host-release.sh +++ b/lib/functions/host/host-release.sh @@ -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" diff --git a/lib/functions/host/prepare-host.sh b/lib/functions/host/prepare-host.sh index b13159c87..f2add6ae5 100644 --- a/lib/functions/host/prepare-host.sh +++ b/lib/functions/host/prepare-host.sh @@ -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") diff --git a/lib/functions/rootfs/distro-specific.sh b/lib/functions/rootfs/distro-specific.sh index d22e59270..6d65aece3 100644 --- a/lib/functions/rootfs/distro-specific.sh +++ b/lib/functions/rootfs/distro-specific.sh @@ -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 # # : rootfs|image -# : bullseye|bookworm|sid|focal|jammy|kinetic|lunar +# : bullseye|bookworm|sid|focal|jammy|kinetic|lunar|mantic # : 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