mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
ubuntu: add mantic (23.10), symlinks to lunar
This commit is contained in:
1
config/cli/mantic
Symbolic link
1
config/cli/mantic
Symbolic link
@@ -0,0 +1 @@
|
||||
lunar
|
||||
1
config/desktop/mantic
Symbolic link
1
config/desktop/mantic
Symbolic link
@@ -0,0 +1 @@
|
||||
lunar
|
||||
1
config/distributions/mantic/architectures
Normal file
1
config/distributions/mantic/architectures
Normal file
@@ -0,0 +1 @@
|
||||
arm64,armhf,riscv64,amd64
|
||||
1
config/distributions/mantic/name
Normal file
1
config/distributions/mantic/name
Normal file
@@ -0,0 +1 @@
|
||||
Ubuntu Mantic 23.10
|
||||
1
config/distributions/mantic/support
Normal file
1
config/distributions/mantic/support
Normal file
@@ -0,0 +1 @@
|
||||
csc
|
||||
@@ -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
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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")
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user