Add Ubuntu 22.10 Kinetic (#4326)

* Add Ubuntu Kinetic
* Remove missing package
* Keep only working desktops in kinetic
* Optimisation
* Cleanup
This commit is contained in:
Igor Pečovnik
2022-10-24 09:07:51 +02:00
committed by GitHub
parent 21b8626e4c
commit 5d7744c880
48 changed files with 406 additions and 13 deletions

View File

@@ -1,2 +1 @@
deb [signed-by=/usr/share/keyrings/zfs.gpg] https://ppa.launchpadcontent.net/jonathonf/zfs/ubuntu/ jammy main deb [signed-by=/usr/share/keyrings/zfs.gpg] https://ppa.launchpadcontent.net/jonathonf/zfs/ubuntu/ jammy main
# deb-src https://ppa.launchpadcontent.net/jonathonf/zfs/ubuntu/ jammy main

View File

@@ -0,0 +1 @@
../jammy/debootstrap

View File

@@ -0,0 +1 @@
../../jammy/main/config_cli_standard

View File

@@ -0,0 +1 @@
../../jammy/main/config_desktop

View File

@@ -0,0 +1 @@
../../jammy/main/packages

View File

@@ -0,0 +1 @@
../../jammy/main/packages.additional

View File

@@ -0,0 +1 @@
../../jammy/main/packages.uninstall

View File

@@ -0,0 +1 @@
../../../../jammy/main/sources/apt/chromium-browser.gpg

View File

@@ -0,0 +1 @@
../../../../jammy/main/sources/apt/chromium-browser.source

View File

@@ -0,0 +1 @@
../../../../jammy/main/sources/apt/mozilla-team.gpg

View File

@@ -0,0 +1 @@
deb [signed-by=/usr/share/keyrings/mozilla-team.gpg] http://ppa.launchpadcontent.net/mozillateam/ppa/ubuntu/ kinetic main

View File

@@ -0,0 +1 @@
../../../../jammy/main/sources/apt/nala.gpg

View File

@@ -0,0 +1 @@
../../../../jammy/main/sources/apt/nala.source

View File

@@ -0,0 +1 @@
../../../../jammy/main/sources/apt/zfs.gpg

View File

@@ -0,0 +1 @@
deb [signed-by=/usr/share/keyrings/zfs.gpg] https://ppa.launchpadcontent.net/jonathonf/zfs/ubuntu/ jammy main

View File

@@ -66,7 +66,6 @@ libidn12
libijs-0.35 libijs-0.35
libimobiledevice6 libimobiledevice6
libjbig2dec0 libjbig2dec0
libnautilus-extension1a
libnotify-bin libnotify-bin
libpaper1 libpaper1
libphonenumber8 libphonenumber8

View File

@@ -0,0 +1 @@
../../jammy/appgroups/3dsupport

View File

@@ -0,0 +1 @@
../../jammy/appgroups/browsers

View File

@@ -0,0 +1,8 @@
hexchat
pidgin
purple-discord
purple-lurch
purple-mm-sms
purple-rocketchat
telegram-purple
telegram-desktop

View File

@@ -0,0 +1 @@
../../jammy/appgroups/desktop_tools

View File

@@ -0,0 +1 @@
../../focal/appgroups/editors

View File

@@ -0,0 +1 @@
../../focal/appgroups/email

View File

@@ -0,0 +1 @@
../../focal/appgroups/internet

View File

@@ -0,0 +1 @@
../../focal/appgroups/multimedia

View File

@@ -0,0 +1 @@
../../focal/appgroups/office

View File

@@ -0,0 +1 @@
../../focal/appgroups/programming

View File

@@ -0,0 +1 @@
../../focal/appgroups/remote_desktop

View File

@@ -0,0 +1 @@
../../../focal/environments/cinnamon/armbian

View File

@@ -0,0 +1,183 @@
anacron
apport-gtk
blueman
bluez
bluez-cups
bluez-tools
brltty
brltty-x11
cifs-utils
cinnamon
cinnamon-common
cinnamon-control-center
cinnamon-control-center-data
cinnamon-core
cinnamon-desktop-data
cinnamon-screensaver
cinnamon-session
cinnamon-session-common
cinnamon-settings-daemon
colord
cups
cups-bsd
cups-client
cups-filters
dbus-x11
dictionaries-common
doc-base
evince
evince-common
fontconfig
fontconfig-config
fonts-arphic-ukai
fonts-arphic-uming
fonts-dejavu-core
fonts-freefont-ttf
fonts-guru
fonts-guru-extra
fonts-kacst
fonts-kacst-one
fonts-khmeros-core
fonts-liberation
fonts-nanum
fonts-opensymbol
fonts-stix
fonts-symbola
fonts-ubuntu-console
foomatic-db-compressed-ppds
gdebi
ghostscript-x
gir1.2-cinnamondesktop-3.0
gir1.2-cmenu-3.0
gir1.2-cvc-1.0
gist
gnome-screenshot
gnome-user-docs-de
gnome-user-docs-es
gnome-user-docs-it
gnome-user-docs-pt
gnome-user-docs-ru
gnome-user-docs-sl
gnome-system-monitor
gnome-terminal
gstreamer1.0-packagekit
gstreamer1.0-plugins-base-apps
gstreamer1.0-pulseaudio
gtk2-engines
gtk2-engines-murrine
gtk2-engines-pixbuf
gvfs-backends
hplip
indicator-printers
inxi
inputattach
kerneloops
keyutils
language-pack-gnome-de
language-pack-gnome-en
language-pack-gnome-es
language-pack-gnome-fr
language-pack-gnome-it
language-pack-gnome-pt
language-pack-gnome-ru
language-pack-gnome-sl
laptop-detect
libatk-adaptor
libcinnamon-desktop4
libcinnamon-menu-3-0
libcscreensaver0
libcvc0
libfont-afm-perl
libfontconfig1
libfontembed1
libfontenc1
libgail-common
libgl1-mesa-dri
libgsettings-qt1
libgtk2.0-bin
libnotify-bin
libproxy1-plugin-gsettings
libproxy1-plugin-networkmanager
libu2f-udev
libwmf0.2-7-gtk
libxapp1
libxcursor1
lightdm
lightdm-settings
lm-sensors
lxtask
mesa-utils
mousepad
mousetweaks
nemo
nemo-data
nemo-fileroller
nemo-font-manager
nemo-gtkhash
network-manager-config-connectivity-ubuntu
network-manager-openvpn
network-manager-ssh
network-manager-vpnc
numix-gtk-theme
numix-icon-theme
numix-icon-theme-circle
openprinting-ppds
p7zip-full
pamix
pasystray
pavucontrol
pavucontrol-qt
pavumeter
pinta
policykit-1
policykit-desktop-privileges
printer-driver-all
profile-sync-daemon
pulseaudio-module-bluetooth
redshift
samba
slick-greeter
smbclient
software-properties-gtk
spice-vdagent
system-config-printer
system-config-printer-common
terminator
tree
ubuntu-drivers-common
update-inetd
update-manager
update-manager-core
update-notifier
update-notifier-common
viewnior
wamerican
wbrazilian
wbritish
wfrench
witalian
wportuguese
wspanish
wswiss
x11-apps
x11-utils
x11-xserver-utils
xapp
xapps-common
xarchiver
xbacklight
xcursor-themes
xdg-user-dirs
xdg-user-dirs-gtk
xfonts-100dpi
xfonts-75dpi
xfonts-base
xfonts-encodings
xfonts-scalable
xfonts-utils
xorg-docs-core
xscreensaver
xsensors
xserver-xorg
xserver-xorg-video-fbdev
xwallpaper

View File

@@ -0,0 +1 @@
../../../../focal/environments/cinnamon/config_base/packages.uninstall

View File

@@ -0,0 +1 @@
../../../focal/environments/cinnamon/debian

View File

@@ -0,0 +1 @@
../../../focal/environments/cinnamon/only_for

View File

@@ -0,0 +1 @@
../../../focal/environments/cinnamon/support

View File

@@ -0,0 +1 @@
../../../focal/environments/gnome/armbian

View File

@@ -0,0 +1,166 @@
alsa-base
anacron
at-spi2-core
bubblewrap
colord
cups
dbus-x11
dictionaries-common
dmz-cursor-theme
eject
evolution-data-server
evolution-data-server-common
fonts-freefont-ttf
fonts-noto-cjk
fonts-noto-cjk-extra
fonts-ubuntu
fonts-ubuntu-console
fonts-urw-base35
foomatic-db-compressed-ppds
gconf2
gcr
gdebi
genisoimage
ghostscript
ghostscript-x
gist
gjs
gnome-control-center
gnome-desktop3-data
gnome-keyring
gnome-menus
gnome-session
gnome-session-bin
gnome-session-common
gnome-settings-daemon
gnome-settings-daemon-common
gnome-shell
gnome-shell-common
gnome-shell-extension-appindicator
gnome-system-monitor
gnome-terminal
gvfs-backends
inputattach
inxi
libasound2-plugins
libaspell15
libatk-adaptor
libcairo-gobject-perl
libcairo-perl
libcue2
libexempi8
libextutils-depends-perl
libextutils-pkgconfig-perl
libfontenc1
libgdata22
libgdata-common
libgjs0g
libglib-object-introspection-perl
libglib-perl
libglu1-mesa
libgs9
libgs9-common
libgxps2
libical3
libidn12
libijs-0.35
libimobiledevice6
libjbig2dec0
libnotify-bin
libpaper1
libphonenumber8
libplist3
libpoppler-glib8
libprotobuf23
libpulsedsp
libsasl2-modules
libspeexdsp1
libtext-iconv-perl
libtotem-plparser18
libtotem-plparser-common
libu2f-udev
libunity9
libunity-protocol-private0
libunity-scopes-json-def-desktop
libunwind8
libusbmuxd6
libxapp1
libxaw7
libxfont2
libxkbfile1
libxmu6
libxmuu1
libxtst6
libxxf86dga1
libyelp0
lightdm
lightdm-settings
linux-sound-base
mutter
mutter-common
nautilus
nautilus-data
network-manager-openvpn-gnome
openprinting-ppds
p11-kit
p11-kit-modules
pavucontrol
pinentry-gnome3
poppler-data
printer-driver-pnm2ppa
pulseaudio
pulseaudio-module-bluetooth
pulseaudio-utils
python3-click
python3-colorama
python3-dateutil
python3-debconf
python3-debian
python3-distupgrade
python3-update-manager
python3-xkit
python3-yaml
qalculate-gtk
slick-greeter
software-properties-gtk
spice-vdagent
system-config-printer
terminator
tracker
tracker-extract
tracker-miner-fs
tree
ubuntu-business-defaults
ubuntu-desktop-minimal
ubuntu-session
ubuntu-settings
update-manager
update-manager-core
update-notifier
update-notifier-common
upower
x11-apps
x11-session-utils
x11-utils
x11-xkb-utils
x11-xserver-utils
xapp
xapps-common
xarchiver
xdg-dbus-proxy
xdg-desktop-portal
xdg-user-dirs
xdg-user-dirs-gtk
xfonts-base
xinput
xorg
xorg-docs-core
xserver-common
xserver-xorg
xserver-xorg-video-fbdev
xwayland
yaru-theme-gnome-shell
yelp
yelp-xsl
zenity
zenity-common

View File

@@ -0,0 +1 @@
../../../focal/environments/gnome/debian

View File

@@ -0,0 +1 @@
../../../focal/environments/gnome/only_for

View File

@@ -0,0 +1 @@
../../../focal/environments/gnome/support

View File

@@ -0,0 +1 @@
../../focal/environments/xfce

View File

@@ -0,0 +1 @@
Ubuntu kinetic 22.10

View File

@@ -0,0 +1 @@
csc

View File

@@ -98,7 +98,7 @@ function handle_docker() {
codename=$(cat /etc/os-release | grep VERSION_CODENAME | cut -d"=" -f2) codename=$(cat /etc/os-release | grep VERSION_CODENAME | cut -d"=" -f2)
codeid=$(cat /etc/os-release | grep ^NAME | cut -d"=" -f2 | awk '{print tolower($0)}' | tr -d '"' | awk '{print $1}') codeid=$(cat /etc/os-release | grep ^NAME | cut -d"=" -f2 | awk '{print tolower($0)}' | tr -d '"' | awk '{print $1}')
[[ "${codename}" == "debbie" ]] && codename="buster" && codeid="debian" [[ "${codename}" == "debbie" ]] && codename="buster" && codeid="debian"
[[ "${codename}" == "ulyana" || "${codename}" == "jammy" ]] && codename="focal" && codeid="ubuntu" [[ "${codename}" == "ulyana" || "${codename}" == "jammy" || "${codename}" == "kinetic" ]] && codename="focal" && codeid="ubuntu"
# different binaries for some. TBD. Need to check for all others # different binaries for some. TBD. Need to check for all others
[[ "${codename}" =~ focal|hirsute ]] && DOCKER_BINARY="docker containerd docker.io" [[ "${codename}" =~ focal|hirsute ]] && DOCKER_BINARY="docker containerd docker.io"

View File

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

View File

@@ -11,17 +11,19 @@ create_chroot() {
apt_mirror['bullseye']="$DEBIAN_MIRROR" apt_mirror['bullseye']="$DEBIAN_MIRROR"
apt_mirror['focal']="$UBUNTU_MIRROR" apt_mirror['focal']="$UBUNTU_MIRROR"
apt_mirror['jammy']="$UBUNTU_MIRROR" apt_mirror['jammy']="$UBUNTU_MIRROR"
apt_mirror['kinetic']="$UBUNTU_MIRROR"
components['buster']='main,contrib' components['buster']='main,contrib'
components['bullseye']='main,contrib' components['bullseye']='main,contrib'
components['sid']='main,contrib' components['sid']='main,contrib'
components['focal']='main,universe,multiverse' components['focal']='main,universe,multiverse'
components['jammy']='main,universe,multiverse' components['jammy']='main,universe,multiverse'
components['kinetic']='main,universe,multiverse'
display_alert "Creating build chroot" "$release/$arch" "info" display_alert "Creating build chroot" "$release/$arch" "info"
local includes="ccache,locales,git,ca-certificates,libfile-fcntllock-perl,rsync,python3,distcc,apt-utils" local includes="ccache,locales,git,ca-certificates,libfile-fcntllock-perl,rsync,python3,distcc,apt-utils"
# perhaps a temporally workaround # perhaps a temporally workaround
case $release in case $release in
bullseye | focal | jammy | sid) bullseye | focal | jammy | sid | kinetic)
includes=${includes}",perl-openssl-defaults,libnet-ssleay-perl" includes=${includes}",perl-openssl-defaults,libnet-ssleay-perl"
;; ;;
esac esac
@@ -34,7 +36,6 @@ create_chroot() {
mkdir -p "${target_dir}" mkdir -p "${target_dir}"
cd "${target_dir}" cd "${target_dir}"
debootstrap --variant=buildd \ debootstrap --variant=buildd \
--components="${components[${release}]}" \ --components="${components[${release}]}" \
--arch="${arch}" $DEBOOTSTRAP_OPTION \ --arch="${arch}" $DEBOOTSTRAP_OPTION \
@@ -117,6 +118,7 @@ chroot_prepare_distccd() {
gcc_version['hirsute']='10.2' gcc_version['hirsute']='10.2'
gcc_version['sid']='10.2' gcc_version['sid']='10.2'
gcc_version['jammy']='12' gcc_version['jammy']='12'
gcc_version['kinetic']='12'
gcc_type['armhf']='arm-linux-gnueabihf-' gcc_type['armhf']='arm-linux-gnueabihf-'
gcc_type['arm64']='aarch64-linux-gnu-' gcc_type['arm64']='aarch64-linux-gnu-'
rm -f "${dest}"/cmdlist rm -f "${dest}"/cmdlist

View File

@@ -23,7 +23,7 @@ addtorepo() {
# parameter "delete" remove incoming directory if publishing is succesful # parameter "delete" remove incoming directory if publishing is succesful
# function: cycle trough distributions # function: cycle trough distributions
local distributions=("stretch" "bionic" "buster" "bullseye" "focal" "hirsute" "impish" "jammy" "sid") local distributions=("stretch" "bionic" "buster" "bullseye" "focal" "hirsute" "impish" "jammy" "kinetic" "sid")
#local distributions=($(grep -rw config/distributions/*/ -e 'supported' | cut -d"/" -f3)) #local distributions=($(grep -rw config/distributions/*/ -e 'supported' | cut -d"/" -f3))
local errors=0 local errors=0

View File

@@ -60,7 +60,7 @@ prepare_host() {
fi fi
# Add support for Ubuntu 20.04, 21.04 and Mint 20.x # Add support for Ubuntu 20.04, 21.04 and Mint 20.x
if [[ $HOSTRELEASE =~ ^(focal|impish|hirsute|jammy|ulyana|ulyssa|bullseye|uma|una)$ ]]; then if [[ $HOSTRELEASE =~ ^(focal|impish|hirsute|jammy|kinetic|ulyana|ulyssa|vanessa|bullseye|uma|una)$ ]]; then
hostdeps+=" python2 python3" hostdeps+=" python2 python3"
ln -fs /usr/bin/python2.7 /usr/bin/python2 ln -fs /usr/bin/python2.7 /usr/bin/python2
ln -fs /usr/bin/python2.7 /usr/bin/python ln -fs /usr/bin/python2.7 /usr/bin/python
@@ -75,7 +75,7 @@ prepare_host() {
# #
# NO_HOST_RELEASE_CHECK overrides the check for a supported host system # 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 # Disable host OS check at your own risk. Any issues reported with unsupported releases will be closed without discussion
if [[ -z $HOSTRELEASE || "buster bullseye focal impish hirsute jammy debbie tricia ulyana ulyssa uma una" != *"$HOSTRELEASE"* ]]; then if [[ -z $HOSTRELEASE || "buster bullseye focal impish hirsute jammy kinetic debbie tricia ulyana ulyssa vanessa uma una" != *"$HOSTRELEASE"* ]]; then
if [[ $NO_HOST_RELEASE_CHECK == yes ]]; then if [[ $NO_HOST_RELEASE_CHECK == yes ]]; then
display_alert "You are running on an unsupported system" "${HOSTRELEASE:-(unknown)}" "wrn" 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" display_alert "Do not report any errors, warnings or other issues encountered beyond this point" "" "wrn"

View File

@@ -27,7 +27,7 @@ prepare_partitions() {
# parttype[nfs] is empty # parttype[nfs] is empty
# metadata_csum and 64bit may need to be disabled explicitly when migrating to newer supported host OS releases # metadata_csum and 64bit may need to be disabled explicitly when migrating to newer supported host OS releases
if [[ $HOSTRELEASE =~ buster|bullseye|focal|jammy|sid ]]; then if [[ $HOSTRELEASE =~ buster|bullseye|focal|jammy|kinetic|sid ]]; then
mkopts[ext4]="-q -m 2 -O ^64bit,^metadata_csum" mkopts[ext4]="-q -m 2 -O ^64bit,^metadata_csum"
fi fi
# mkopts[fat] is empty # mkopts[fat] is empty

View File

@@ -12,7 +12,7 @@ install_distribution_specific() {
case $RELEASE in case $RELEASE in
focal | jammy) focal | jammy | kinetic )
# by using default lz4 initrd compression leads to corruption, go back to proven method # by using default lz4 initrd compression leads to corruption, go back to proven method
sed -i "s/^COMPRESS=.*/COMPRESS=gzip/" "${SDCARD}"/etc/initramfs-tools/initramfs.conf sed -i "s/^COMPRESS=.*/COMPRESS=gzip/" "${SDCARD}"/etc/initramfs-tools/initramfs.conf
@@ -87,7 +87,7 @@ install_distribution_specific() {
# create_sources_list <release> <basedir> # create_sources_list <release> <basedir>
# #
# <release>: bullseye|focal|jammy|sid # <release>: bullseye|focal|jammy|kinetic|sid
# <basedir>: path to root directory # <basedir>: path to root directory
# #
create_sources_list() { create_sources_list() {
@@ -135,7 +135,7 @@ create_sources_list() {
EOF EOF
;; ;;
focal | jammy) focal | jammy | kinetic)
cat <<- EOF > "${basedir}"/etc/apt/sources.list cat <<- EOF > "${basedir}"/etc/apt/sources.list
deb http://${UBUNTU_MIRROR} $release main restricted universe multiverse deb http://${UBUNTU_MIRROR} $release main restricted universe multiverse
#deb-src http://${UBUNTU_MIRROR} $release main restricted universe multiverse #deb-src http://${UBUNTU_MIRROR} $release main restricted universe multiverse