mirror of
https://github.com/armbian/build.git
synced 2026-11-26 23:29:56 +00:00
Mark jammy end-of-life and remove its code
The CI does not build jammy images any more. Mark jammy as eos, so the build framework rejects it and external stops jammy builds. Keep config/distributions/jammy. The repository keeps the jammy suite for existing devices. Host release checks for jammy stay. Signed-off-by: Igor Pecovnik <igor@armbian.com>
This commit is contained in:
parent
641d84abfd
commit
3dde74384a
37 changed files with 35 additions and 109 deletions
|
|
@ -21,7 +21,7 @@ ATF_PLAT="k3"
|
|||
ATF_BOARD="generic"
|
||||
OPTEE_ARGS=""
|
||||
OPTEE_PLATFORM="k3-j721e"
|
||||
TI_DEBPKGS_FALLBACK_SUITES=("noble" "jammy")
|
||||
TI_DEBPKGS_FALLBACK_SUITES=("noble")
|
||||
TI_PACKAGES+=(
|
||||
"ti-img-rogue-driver-j721e-dkms"
|
||||
"ti-img-rogue-umlibs-j721e"
|
||||
|
|
@ -32,6 +32,6 @@ TI_PACKAGES+=(
|
|||
"gstreamer1.0-plugins-bad"
|
||||
"gstreamer1.0-plugins-base"
|
||||
)
|
||||
if [[ "${RELEASE}" == "bookworm" || "${RELEASE}" == "jammy" ]]; then
|
||||
if [[ "${RELEASE}" == "bookworm" ]]; then
|
||||
TI_PACKAGES+=("mesa-vulkan-drivers" "libgl1-mesa-dri")
|
||||
fi
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ ATF_PLAT="k3"
|
|||
ATF_BOARD="lite"
|
||||
OPTEE_ARGS="CFG_TEE_CORE_LOG_LEVEL=1"
|
||||
OPTEE_PLATFORM="k3-am62x"
|
||||
TI_DEBPKGS_FALLBACK_SUITES=("noble" "jammy")
|
||||
TI_DEBPKGS_FALLBACK_SUITES=("noble")
|
||||
TI_PACKAGES+=(
|
||||
"ti-img-rogue-driver-am62-dkms"
|
||||
"ti-img-rogue-umlibs-am62"
|
||||
|
|
@ -31,6 +31,6 @@ TI_PACKAGES+=(
|
|||
"gstreamer1.0-plugins-bad"
|
||||
"gstreamer1.0-plugins-base"
|
||||
)
|
||||
if [[ "${RELEASE}" == "bookworm" || "${RELEASE}" == "jammy" ]]; then
|
||||
if [[ "${RELEASE}" == "bookworm" ]]; then
|
||||
TI_PACKAGES+=("mesa-vulkan-drivers" "libgl1-mesa-dri")
|
||||
fi
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ OPTEE_ARGS=""
|
|||
OPTEE_PLATFORM="k3-am62x"
|
||||
CC33XX_SUPPORT="yes"
|
||||
# TI Rogue driver builds J722S with the AM62P GPU system.
|
||||
TI_DEBPKGS_FALLBACK_SUITES=("noble" "jammy")
|
||||
TI_DEBPKGS_FALLBACK_SUITES=("noble")
|
||||
TI_PACKAGES+=(
|
||||
"ti-img-rogue-driver-am62p-dkms"
|
||||
"ti-img-rogue-umlibs-am62p"
|
||||
|
|
@ -32,6 +32,6 @@ TI_PACKAGES+=(
|
|||
"gstreamer1.0-plugins-bad"
|
||||
"gstreamer1.0-plugins-base"
|
||||
)
|
||||
if [[ "${RELEASE}" == "bookworm" || "${RELEASE}" == "jammy" ]]; then
|
||||
if [[ "${RELEASE}" == "bookworm" ]]; then
|
||||
TI_PACKAGES+=("mesa-vulkan-drivers" "libgl1-mesa-dri")
|
||||
fi
|
||||
|
|
|
|||
|
|
@ -24,7 +24,6 @@ declare -g SERIALCON="${SERIALCON:-tty1}"
|
|||
|
||||
function qcom-dg-svr-865-tiny_is_userspace_supported() {
|
||||
[[ "${RELEASE}" == "bookworm" ]] && return 0
|
||||
[[ "${RELEASE}" == "jammy" ]] && return 0
|
||||
[[ "${RELEASE}" == "noble" ]] && return 0
|
||||
[[ "${RELEASE}" == "trixie" ]] && return 0
|
||||
return 1
|
||||
|
|
@ -64,7 +63,7 @@ function post_family_tweaks__qcom-dg-svr-865-tiny_enable_services() {
|
|||
function post_family_tweaks__qcom-dg-svr-865-tiny_extra_packages() {
|
||||
qcom-dg-svr-865-tiny_is_userspace_supported_alert || return 0
|
||||
|
||||
if [[ "${RELEASE}" == "jammy" ]] || [[ "${RELEASE}" == "noble" ]]; then
|
||||
if [[ "${RELEASE}" == "noble" ]]; then
|
||||
display_alert "Adding qcom-mainline PPA" "${BOARD}" "info"
|
||||
do_with_retries 3 chroot_sdcard add-apt-repository ppa:liujianfeng1994/qcom-mainline --yes --no-update
|
||||
fi
|
||||
|
|
|
|||
|
|
@ -189,7 +189,7 @@ function post_family_tweaks_bsp__easepi_a2_install_eth_files() {
|
|||
|
||||
# ==================== Jellyfin FFMPEG Module ====================
|
||||
function custom_apt_repo__add_jellyfin-ffmpeg-repo() {
|
||||
[[ "${CUSTOM_REPO_WHEN}" = "image-early" && "${BRANCH}" == vendor* && "${RELEASE}" =~ ^(bookworm|trixie|jammy|noble|resolute)$ ]] || return 0
|
||||
[[ "${CUSTOM_REPO_WHEN}" = "image-early" && "${BRANCH}" == vendor* && "${RELEASE}" =~ ^(bookworm|trixie|noble|resolute)$ ]] || return 0
|
||||
display_alert "Preparing jellyfin ffmpeg repository..." "EasePi-A2" "info"
|
||||
|
||||
local keyring_url repo_url
|
||||
|
|
@ -207,7 +207,7 @@ function custom_apt_repo__add_jellyfin-ffmpeg-repo() {
|
|||
}
|
||||
|
||||
function extension_prepare_config__prepare_jellyfin-ffmpeg_config() {
|
||||
[[ "${BRANCH}" == vendor* && "${RELEASE}" =~ ^(bookworm|trixie|jammy|noble|resolute)$ ]] || return 0
|
||||
[[ "${BRANCH}" == vendor* && "${RELEASE}" =~ ^(bookworm|trixie|noble|resolute)$ ]] || return 0
|
||||
display_alert "Preparing jellyfin ffmpeg packages..." "EasePi-A2" "info"
|
||||
|
||||
local FFMPEG_PACKAGE=jellyfin-ffmpeg7
|
||||
|
|
@ -216,7 +216,7 @@ function extension_prepare_config__prepare_jellyfin-ffmpeg_config() {
|
|||
}
|
||||
|
||||
function pre_customize_image__jellyfin_ffmpeg_link() {
|
||||
[[ "${BRANCH}" == vendor* && "${RELEASE}" =~ ^(bookworm|trixie|jammy|noble|resolute)$ ]] || return 0
|
||||
[[ "${BRANCH}" == vendor* && "${RELEASE}" =~ ^(bookworm|trixie|noble|resolute)$ ]] || return 0
|
||||
display_alert "Create link to jellyfin-ffmpeg binaries..." "EasePi-A2" "info"
|
||||
|
||||
local p
|
||||
|
|
|
|||
|
|
@ -146,7 +146,7 @@ function post_customize_image__enable_easepi_r2_eth_service() {
|
|||
|
||||
# ==================== Jellyfin-FFmpeg Module ====================
|
||||
function custom_apt_repo__add_jellyfin-ffmpeg-repo() {
|
||||
[[ "${CUSTOM_REPO_WHEN}" = "image-early" && "${BRANCH}" == vendor* && "${RELEASE}" =~ ^(bookworm|trixie|jammy|noble|resolute)$ ]] || return 0
|
||||
[[ "${CUSTOM_REPO_WHEN}" = "image-early" && "${BRANCH}" == vendor* && "${RELEASE}" =~ ^(bookworm|trixie|noble|resolute)$ ]] || return 0
|
||||
display_alert "Preparing jellyfin ffmpeg repository..." "EasePi-R2" "info"
|
||||
|
||||
local keyring_url repo_url
|
||||
|
|
@ -164,7 +164,7 @@ function custom_apt_repo__add_jellyfin-ffmpeg-repo() {
|
|||
}
|
||||
|
||||
function extension_prepare_config__prepare_jellyfin-ffmpeg_config() {
|
||||
[[ "${BRANCH}" == vendor* && "${RELEASE}" =~ ^(bookworm|trixie|jammy|noble|resolute)$ ]] || return 0
|
||||
[[ "${BRANCH}" == vendor* && "${RELEASE}" =~ ^(bookworm|trixie|noble|resolute)$ ]] || return 0
|
||||
display_alert "Preparing jellyfin ffmpeg packages..." "EasePi-R2" "info"
|
||||
|
||||
local FFMPEG_PACKAGE=jellyfin-ffmpeg7
|
||||
|
|
@ -173,7 +173,7 @@ function extension_prepare_config__prepare_jellyfin-ffmpeg_config() {
|
|||
}
|
||||
|
||||
function pre_customize_image__jellyfin_ffmpeg_link() {
|
||||
[[ "${BRANCH}" == vendor* && "${RELEASE}" =~ ^(bookworm|trixie|jammy|noble|resolute)$ ]] || return 0
|
||||
[[ "${BRANCH}" == vendor* && "${RELEASE}" =~ ^(bookworm|trixie|noble|resolute)$ ]] || return 0
|
||||
display_alert "Create link to jellyfin-ffmpeg binaries..." "EasePi-R2" "info"
|
||||
|
||||
local p
|
||||
|
|
|
|||
|
|
@ -7,8 +7,7 @@ INTRODUCED="2021"
|
|||
BOOTCONFIG="jethub_j100_defconfig"
|
||||
KERNEL_TARGET="current,edge"
|
||||
KERNEL_TEST_TARGET="current"
|
||||
PACKAGE_LIST_BOARD="libubootenv-tool apparmor rfkill bluetooth bluez bluez-tools python3-pip watchdog python3-serial python3-intelhex python3-intelhex"
|
||||
[[ "${RELEASE}" == "jammy" ]] || PACKAGE_LIST_BOARD="${PACKAGE_LIST_BOARD} util-linux-extra"
|
||||
PACKAGE_LIST_BOARD="libubootenv-tool apparmor rfkill bluetooth bluez bluez-tools python3-pip watchdog python3-serial python3-intelhex python3-intelhex util-linux-extra"
|
||||
DEFAULT_CONSOLE="serial"
|
||||
HAS_VIDEO_OUTPUT="no"
|
||||
MODULES_BLACKLIST="rtw88_8822cs"
|
||||
|
|
|
|||
|
|
@ -7,8 +7,7 @@ INTRODUCED="2023"
|
|||
BOOTCONFIG="jethub_j200_defconfig"
|
||||
KERNEL_TARGET="current,edge"
|
||||
KERNEL_TEST_TARGET="current"
|
||||
PACKAGE_LIST_BOARD="libubootenv-tool apparmor rfkill bluetooth bluez bluez-tools python3-pip watchdog"
|
||||
[[ "${RELEASE}" == "jammy" ]] || PACKAGE_LIST_BOARD="${PACKAGE_LIST_BOARD} util-linux-extra"
|
||||
PACKAGE_LIST_BOARD="libubootenv-tool apparmor rfkill bluetooth bluez bluez-tools python3-pip watchdog util-linux-extra"
|
||||
MODULES_BLACKLIST="simpledrm" # SimpleDRM conflicts with Panfrost
|
||||
FULL_DESKTOP="yes"
|
||||
SERIALCON="ttyAML0"
|
||||
|
|
|
|||
|
|
@ -7,8 +7,7 @@ INTRODUCED="2021"
|
|||
BOOTCONFIG="jethub_j80_defconfig"
|
||||
KERNEL_TARGET="current,edge"
|
||||
KERNEL_TEST_TARGET="current"
|
||||
PACKAGE_LIST_BOARD="libubootenv-tool apparmor rfkill bluetooth bluez bluez-tools python3-pip watchdog python3-serial python3-intelhex python3-intelhex"
|
||||
[[ "${RELEASE}" == "jammy" ]] || PACKAGE_LIST_BOARD="${PACKAGE_LIST_BOARD} util-linux-extra"
|
||||
PACKAGE_LIST_BOARD="libubootenv-tool apparmor rfkill bluetooth bluez bluez-tools python3-pip watchdog python3-serial python3-intelhex python3-intelhex util-linux-extra"
|
||||
DEFAULT_CONSOLE="serial"
|
||||
HAS_VIDEO_OUTPUT="no"
|
||||
MODULES_BLACKLIST="rtw88_8822cs"
|
||||
|
|
|
|||
|
|
@ -29,14 +29,14 @@ OVERLAY_PREFIX="k3-am62-tqma62xx-mba62xx"
|
|||
DEFAULT_OVERLAYS="lvds-tm070jdhg30"
|
||||
|
||||
# Use out-of-tree DKMS Rogue driver, not the kernel's newer in-tree "powervr" driver
|
||||
TI_DEBPKGS_FALLBACK_SUITES=("noble" "jammy")
|
||||
TI_DEBPKGS_FALLBACK_SUITES=("noble")
|
||||
TI_PACKAGES+=(
|
||||
"ti-img-rogue-driver-am62-dkms"
|
||||
"ti-img-rogue-umlibs-am62"
|
||||
"ti-img-rogue-tools-am62"
|
||||
"ti-img-rogue-firmware-am62"
|
||||
)
|
||||
if [[ "${RELEASE}" == "bookworm" || "${RELEASE}" == "jammy" ]]; then
|
||||
if [[ "${RELEASE}" == "bookworm" ]]; then
|
||||
TI_PACKAGES+=("mesa-vulkan-drivers" "libgl1-mesa-dri")
|
||||
fi
|
||||
|
||||
|
|
|
|||
|
|
@ -28,14 +28,14 @@ BOOT_FDT_FILE="ti/k3-am67a-tqma67xx-mba67xx.dtb"
|
|||
CC33XX_SUPPORT="yes"
|
||||
|
||||
# Use out-of-tree DKMS Rogue driver, not the kernel's newer in-tree "powervr" driver.
|
||||
TI_DEBPKGS_FALLBACK_SUITES=("noble" "jammy")
|
||||
TI_DEBPKGS_FALLBACK_SUITES=("noble")
|
||||
TI_PACKAGES+=(
|
||||
"ti-img-rogue-driver-am62p-dkms"
|
||||
"ti-img-rogue-umlibs-am62p"
|
||||
"ti-img-rogue-tools-am62p"
|
||||
"ti-img-rogue-firmware-am62p"
|
||||
)
|
||||
if [[ "${RELEASE}" == "bookworm" || "${RELEASE}" == "jammy" ]]; then
|
||||
if [[ "${RELEASE}" == "bookworm" ]]; then
|
||||
TI_PACKAGES+=("mesa-vulkan-drivers" "libgl1-mesa-dri")
|
||||
fi
|
||||
|
||||
|
|
|
|||
|
|
@ -16,7 +16,6 @@ declare -g -a ABL_DTB_LIST=("sm8250-oneplus-kebab")
|
|||
declare -g BOARD_FIRMWARE_INSTALL="-full"
|
||||
|
||||
function oneplus-kebab_is_userspace_supported() {
|
||||
[[ "${RELEASE}" == "jammy" ]] && return 0
|
||||
[[ "${RELEASE}" == "trixie" ]] && return 0
|
||||
[[ "${RELEASE}" == "noble" ]] && return 0
|
||||
return 1
|
||||
|
|
@ -62,7 +61,7 @@ function post_family_tweaks__oneplus-kebab_enable_services() {
|
|||
return 0
|
||||
fi
|
||||
|
||||
if [[ "${RELEASE}" == "jammy" ]] || [[ "${RELEASE}" == "noble" ]]; then
|
||||
if [[ "${RELEASE}" == "noble" ]]; then
|
||||
display_alert "Adding qcom-mainline PPA" "${BOARD}" "info"
|
||||
do_with_retries 3 chroot_sdcard add-apt-repository ppa:liujianfeng1994/qcom-mainline --yes --no-update
|
||||
fi
|
||||
|
|
|
|||
|
|
@ -25,7 +25,6 @@ declare -g BOARD_FIRMWARE_INSTALL="-full"
|
|||
|
||||
function retroidpocket-rp5_is_userspace_supported() {
|
||||
[[ "${RELEASE}" == "bookworm" ]] && return 0
|
||||
[[ "${RELEASE}" == "jammy" ]] && return 0
|
||||
[[ "${RELEASE}" == "noble" ]] && return 0
|
||||
[[ "${RELEASE}" == "trixie" ]] && return 0
|
||||
return 1
|
||||
|
|
|
|||
|
|
@ -25,7 +25,6 @@ declare -g BOARD_FIRMWARE_INSTALL="-full"
|
|||
|
||||
function retroidpocket-rpmini_is_userspace_supported() {
|
||||
[[ "${RELEASE}" == "bookworm" ]] && return 0
|
||||
[[ "${RELEASE}" == "jammy" ]] && return 0
|
||||
[[ "${RELEASE}" == "noble" ]] && return 0
|
||||
[[ "${RELEASE}" == "trixie" ]] && return 0
|
||||
return 1
|
||||
|
|
|
|||
|
|
@ -17,7 +17,6 @@ declare -g -a ABL_DTB_LIST=("sm8250-xiaomi-elish-boe" "sm8250-xiaomi-elish-csot"
|
|||
declare -g BOARD_FIRMWARE_INSTALL="-full"
|
||||
|
||||
function xiaomi-elish_is_userspace_supported() {
|
||||
[[ "${RELEASE}" == "jammy" ]] && return 0
|
||||
[[ "${RELEASE}" == "trixie" ]] && return 0
|
||||
[[ "${RELEASE}" == "noble" ]] && return 0
|
||||
return 1
|
||||
|
|
@ -65,7 +64,7 @@ function post_family_tweaks__xiaomi-elish_enable_services() {
|
|||
return 0
|
||||
fi
|
||||
|
||||
if [[ "${RELEASE}" == "jammy" ]] || [[ "${RELEASE}" == "noble" ]]; then
|
||||
if [[ "${RELEASE}" == "noble" ]]; then
|
||||
display_alert "Adding qcom-mainline PPA" "${BOARD}" "info"
|
||||
do_with_retries 3 chroot_sdcard add-apt-repository ppa:liujianfeng1994/qcom-mainline --yes --no-update
|
||||
fi
|
||||
|
|
|
|||
|
|
@ -16,7 +16,6 @@ declare -g BOOTIMG_CMDLINE_EXTRA="udmabuf.size_limit_mb=256 quiet"
|
|||
declare -g BOARD_FIRMWARE_INSTALL="-full"
|
||||
|
||||
function xiaomi-sheng_is_userspace_supported() {
|
||||
[[ "${RELEASE}" == "jammy" ]] && return 0
|
||||
[[ "${RELEASE}" == "trixie" ]] && return 0
|
||||
[[ "${RELEASE}" == "noble" ]] && return 0
|
||||
[[ "${RELEASE}" == "resolute" ]] && return 0
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ BOOT_SCENARIO="spl-blobs"
|
|||
function post_family_tweaks__youyeetoo_r1_naming_audios() {
|
||||
display_alert "$BOARD" "Renaming Youyeetoo R1 audios" "info"
|
||||
|
||||
# PulseAudio releases (bookworm, jammy, noble): udev SOUND_DESCRIPTION maps to PA_PROP_DEVICE_DESCRIPTION.
|
||||
# PulseAudio releases (bookworm, noble): udev SOUND_DESCRIPTION maps to PA_PROP_DEVICE_DESCRIPTION.
|
||||
mkdir -p $SDCARD/etc/udev/rules.d/
|
||||
echo 'SUBSYSTEM=="sound", ENV{ID_PATH}=="platform-hdmi0-sound", ENV{SOUND_DESCRIPTION}="HDMI0 Audio"' > $SDCARD/etc/udev/rules.d/90-naming-audios.rules
|
||||
echo 'SUBSYSTEM=="sound", ENV{ID_PATH}=="platform-es8323-sound", ENV{SOUND_DESCRIPTION}="ES8323 Audio"' >> $SDCARD/etc/udev/rules.d/90-naming-audios.rules
|
||||
|
|
|
|||
|
|
@ -47,7 +47,7 @@ function pre_config_uboot_target__youyeetoo_yy3588_patch_rockchip_common_boot_or
|
|||
function post_family_tweaks__youyeetoo_yy3588_naming_audios() {
|
||||
display_alert "$BOARD" "Renaming Youyeetoo YY3588 audios" "info"
|
||||
|
||||
# PulseAudio releases (bookworm, jammy, noble): udev SOUND_DESCRIPTION maps to PA_PROP_DEVICE_DESCRIPTION.
|
||||
# PulseAudio releases (bookworm, noble): udev SOUND_DESCRIPTION maps to PA_PROP_DEVICE_DESCRIPTION.
|
||||
mkdir -p $SDCARD/etc/udev/rules.d/
|
||||
echo 'SUBSYSTEM=="sound", ENV{ID_PATH}=="platform-hdmi0-sound", ENV{SOUND_DESCRIPTION}="HDMI0 Audio"' > $SDCARD/etc/udev/rules.d/90-naming-audios.rules
|
||||
echo 'SUBSYSTEM=="sound", ENV{ID_PATH}=="platform-hdmiin-sound", ENV{SOUND_DESCRIPTION}="HDMI-In Audio"' >> $SDCARD/etc/udev/rules.d/90-naming-audios.rules
|
||||
|
|
|
|||
|
|
@ -1 +0,0 @@
|
|||
../../common/debootstrap/components.ubuntu
|
||||
|
|
@ -1 +0,0 @@
|
|||
../../common/debootstrap/packages
|
||||
|
|
@ -1,45 +0,0 @@
|
|||
alsa-utils
|
||||
bc
|
||||
bridge-utils
|
||||
console-setup
|
||||
cron
|
||||
curl
|
||||
dbus-user-session
|
||||
dialog
|
||||
debconf-utils
|
||||
debsums
|
||||
device-tree-compiler
|
||||
dosfstools
|
||||
ethtool
|
||||
fake-hwclock
|
||||
fdisk
|
||||
figlet
|
||||
htop
|
||||
iputils-ping
|
||||
init
|
||||
initramfs-tools
|
||||
iw
|
||||
jq
|
||||
logrotate
|
||||
less
|
||||
linux-base
|
||||
lsof
|
||||
man-db
|
||||
mmc-utils
|
||||
mtd-utils
|
||||
ncurses-term
|
||||
nano
|
||||
openssh-server
|
||||
parted
|
||||
psmisc
|
||||
rsync
|
||||
rsyslog
|
||||
sudo
|
||||
sysfsutils
|
||||
toilet
|
||||
tzdata
|
||||
u-boot-tools
|
||||
usbutils
|
||||
vlan
|
||||
wget
|
||||
wpasupplicant
|
||||
|
|
@ -1 +0,0 @@
|
|||
../../common/main/packages.additional
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
debsums
|
||||
cracklib-runtime
|
||||
ubuntu-pro-client
|
||||
ubuntu-wallpapers
|
||||
ubuntu-wallpapers-noble
|
||||
|
|
@ -1 +1 @@
|
|||
csc
|
||||
eos
|
||||
|
|
|
|||
|
|
@ -1 +0,0 @@
|
|||
sid
|
||||
|
|
@ -1 +0,0 @@
|
|||
common
|
||||
|
|
@ -1 +0,0 @@
|
|||
sid
|
||||
|
|
@ -1 +0,0 @@
|
|||
common
|
||||
|
|
@ -1 +0,0 @@
|
|||
sid
|
||||
|
|
@ -52,8 +52,6 @@ function ffmpeg_v4l2_request_is_complete() {
|
|||
# libc/libm/libz/libudev come from the minimal baseline (libc6, zlib1g, systemd);
|
||||
# the entries below are the ones a minimal image does not get for free.
|
||||
# Package names verified against packages.ubuntu.com / packages.debian.org:
|
||||
# - Ubuntu jammy ships libx264-163 only (no -164): a -164 request would fail the
|
||||
# build at package-install time, which runs before any guard in the install hook
|
||||
# - Ubuntu resolute renamed the ABI to libx264-165 (no -164); the install hook
|
||||
# skips that release entirely (the prebuilt links libx264.so.164)
|
||||
# Debian bookworm/trixie and Ubuntu noble all provide libx264-164 and keep it.
|
||||
|
|
@ -78,7 +76,7 @@ function extension_prepare_config__ffmpeg_v4l2_request() {
|
|||
display_alert "${EXTENSION}" "SKIP_FFMPEG_V4L2=yes — not adding ffmpeg runtime packages" "info"
|
||||
return 0
|
||||
fi
|
||||
if [[ "${RELEASE}" != "resolute" && "${RELEASE}" != "jammy" ]]; then
|
||||
if [[ "${RELEASE}" != "resolute" ]]; then
|
||||
# PACKAGE_LIST_BOARD is published read-only by config_source_board_file()
|
||||
# before extension_prepare_config() runs, so appending to it aborts the
|
||||
# build during configuration. add_packages_to_image() is the supported
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ function extension_prepare_config__prepare_cryptroot() {
|
|||
|
||||
# Unlocks other /etc/crypttab entries at boot. Older releases have it in systemd.
|
||||
case "${RELEASE}" in
|
||||
buster | bullseye | bookworm | focal | jammy | noble) ;;
|
||||
bookworm | noble) ;;
|
||||
*) add_packages_to_image systemd-cryptsetup ;;
|
||||
esac
|
||||
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ function common_config_for_automated_patching() {
|
|||
declare -g GIT_ARCHEOLOGY=yes # do archeology
|
||||
declare -g FAST_ARCHEOLOGY=yes # do archeology, but only for the exact path we need.
|
||||
declare -g KERNEL_CONFIGURE=no # no menuconfig
|
||||
declare -g RELEASE="${RELEASE:-"jammy"}" # or whatever, not relevant, just fool the configuration
|
||||
declare -g RELEASE="${RELEASE:-"noble"}" # or whatever, not relevant, just fool the configuration
|
||||
declare -g BUILD_DESKTOP="no" # config would ask for this otherwise, just fool the configuration
|
||||
|
||||
# initialize the config # @TODO: rpardini: switch this to prep_conf_main_minimal_ni()
|
||||
|
|
|
|||
|
|
@ -436,7 +436,7 @@ function do_extra_configuration() {
|
|||
[[ -z $BOOTPATCHDIR ]] && BOOTPATCHDIR="u-boot-$LINUXFAMILY" # @TODO move to hook
|
||||
[[ -z $ATFPATCHDIR ]] && ATFPATCHDIR="atf-$LINUXFAMILY"
|
||||
|
||||
if [[ "$RELEASE" =~ ^(jammy|noble|resolute)$ ]]; then
|
||||
if [[ "$RELEASE" =~ ^(noble|resolute)$ ]]; then
|
||||
DISTRIBUTION="Ubuntu"
|
||||
else
|
||||
DISTRIBUTION="Debian"
|
||||
|
|
|
|||
|
|
@ -14,12 +14,7 @@ function apt_find_upstream_package_version_and_download_url() {
|
|||
|
||||
case "${DISTRIBUTION}" in
|
||||
Ubuntu)
|
||||
# Only LTS releases have an "-updates" repo that is worth looking into
|
||||
if [[ "${RELEASE}" == "jammy" ]]; then # @TODO: release info information, is_ubuntu_release_lts() or similar
|
||||
package_download_release=${RELEASE}-updates
|
||||
else
|
||||
package_download_release=${RELEASE}
|
||||
fi
|
||||
package_download_release=${RELEASE}
|
||||
mirror_with_slash="${UBUNTU_MIRROR}"
|
||||
;;
|
||||
|
||||
|
|
|
|||
|
|
@ -124,7 +124,7 @@ function fetch_distro_keyring() {
|
|||
bookworm | trixie | forky | sid)
|
||||
distro="debian"
|
||||
;;
|
||||
jammy | noble | resolute)
|
||||
noble | resolute)
|
||||
distro="ubuntu"
|
||||
;;
|
||||
*)
|
||||
|
|
@ -194,7 +194,7 @@ function fetch_distro_keyring() {
|
|||
# create_sources_list_and_deploy_repo_key <when> <release> <basedir>
|
||||
#
|
||||
# <when>: rootfs|image
|
||||
# <release>: bookworm|trixie|forky|sid|jammy|noble|resolute
|
||||
# <release>: bookworm|trixie|forky|sid|noble|resolute
|
||||
# <basedir>: path to root directory
|
||||
#
|
||||
function create_sources_list_and_deploy_repo_key() {
|
||||
|
|
@ -265,7 +265,7 @@ function create_sources_list_and_deploy_repo_key() {
|
|||
fi
|
||||
;;
|
||||
|
||||
jammy | noble | resolute)
|
||||
noble | resolute)
|
||||
distro="ubuntu"
|
||||
|
||||
cat <<- EOF > "${basedir}/etc/apt/sources.list.d/${distro}.sources"
|
||||
|
|
|
|||
|
|
@ -315,7 +315,7 @@ Usage: $0 [ -short | --long ]
|
|||
-i --input [input folder]
|
||||
-o --output [output folder]
|
||||
-p --password [GPG password]
|
||||
-r --repository [jammy,sid,trixie,...]
|
||||
-r --repository [noble,sid,trixie,...]
|
||||
-l --list [\"Name (% linux*)|armbian-config\"]
|
||||
-c --command
|
||||
|
||||
|
|
|
|||
|
|
@ -866,7 +866,7 @@ Usage: $0 [ -short | --long ]
|
|||
-i --input [input folder] input folder with packages
|
||||
-o --output [output folder] output folder for repository
|
||||
-p --password [GPG password] GPG password for signing
|
||||
-r --repository [jammy,sid,trixie,...] comma-separated list of releases
|
||||
-r --repository [noble,sid,trixie,...] comma-separated list of releases
|
||||
-l --list [\"Name (% linux*)|armbian-config\"] list of packages
|
||||
-c --command command to execute
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue