Add new Ubuntu version 24.04 (Noble Numbat)

Change-Id: Ic30b08536608f9336e17854e29387dcba4177182
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
This commit is contained in:
Dongjin Kim
2024-03-13 22:07:26 +09:00
parent 45998fa676
commit d61a80b588
18 changed files with 101 additions and 2 deletions

View File

@@ -89,7 +89,7 @@ __EOF
osname() {
case $1 in
focal | jammy | mantic)
focal | jammy | mantic | noble)
echo "ubuntu"
;;
buster | bullseye | bookworm)
@@ -112,6 +112,9 @@ osversion () {
mantic)
echo "23.10"
;;
noble)
echo "24.04"
;;
buster)
echo "buster"
;;

View File

@@ -0,0 +1,4 @@
cloud-guest-utils
cloud-init
cloud-initramfs-copymods
cloud-initramfs-dyn-netconf

View File

@@ -0,0 +1,6 @@
network:
version: 2
renderer: networkd
ethernets:
eth0:
dhcp4: true

View File

@@ -0,0 +1 @@
linux-firmware

View File

@@ -0,0 +1,3 @@
get_default_apt_options() {
echo "-y"
}

View File

@@ -0,0 +1 @@
SESSION=ubuntu-wayland

View File

@@ -0,0 +1,5 @@
ubuntu-desktop^
openssh-server
neofetch
net-tools
netplan.io

View File

@@ -0,0 +1,3 @@
get_default_apt_options() {
echo "-y"
}

View File

@@ -0,0 +1,6 @@
kubuntu-desktop^
openssh-server
neofetch
net-tools
netplan.io
plasma-workspace-wayland

View File

@@ -0,0 +1,5 @@
lubuntu-desktop^
openssh-server
neofetch
net-tools
netplan.io

View File

@@ -0,0 +1,5 @@
ubuntu-mate-desktop^
openssh-server
neofetch
net-tools
netplan.io

View File

@@ -0,0 +1,7 @@
openssh-server
neofetch
fdisk
parted
vim
net-tools
netplan.io

View File

@@ -0,0 +1,7 @@
#!/bin/sh
sed -i "s/^User=.*/User=@@DEFAULT_USER@@/g" \
/etc/systemd/system/weston.service
chmod 644 /etc/systemd/system/weston.service
systemctl enable weston

View File

@@ -0,0 +1,35 @@
[Unit]
Description=Weston Wayland Compositor (on tty7)
RequiresMountsFor=/run
Conflicts=getty@tty7.service plymouth-quit.service
After=systemd-user-sessions.service getty@tty7.service plymouth-quit-wait.service
[Service]
User=root
PermissionsStartOnly=true
# Log us in via PAM so we get our XDG & co. environment and
# are treated as logged in so we can use the tty:
PAMName=login
# Grab tty7
UtmpIdentifier=tty7
TTYPath=/dev/tty7
TTYReset=yes
TTYVHangup=yes
TTYVTDisallocate=yes
# stderr to journal so our logging doesn't get thrown into /dev/null
StandardOutput=tty
StandardInput=tty
StandardError=journal
EnvironmentFile=-/etc/default/weston
# Weston does not successfully change VT, nor does systemd place us on
# the VT it just activated for us. Switch manually:
ExecStartPre=/bin/chvt 7
ExecStart=/usr/bin/weston-launch -- --log=/var/log/weston.log --xwayland $OPTARGS
IgnoreSIGPIPE=no
[Install]
WantedBy=multi-user.target

View File

@@ -0,0 +1,2 @@
weston
openssh-server

View File

@@ -0,0 +1,5 @@
xubuntu-desktop^
openssh-server
neofetch
net-tools
netplan.io

View File

@@ -519,7 +519,7 @@ do_url_of_cloudimage() {
;;
# Ubuntu Cloud Images
focal | jammy | mantic)
focal | jammy | mantic | noble)
file="https://cloud-images.ubuntu.com/${codename}/current/${codename}-server-cloudimg-${arch}.squashfs"
;;
esac

1
menu
View File

@@ -72,6 +72,7 @@ do_menu_distro() {
"focal" "Ubuntu Focal (20.04)" \
"jammy" "Ubuntu Jammy (22.04)" \
"mantic" "Ubuntu Mantic (23.10)" \
"noble" "Ubuntu Mantic (24.04)" \
"buster" "Debian Buster" \
"bullseye" "Debian Bullseye" \
"bookworm" "Debian Bookworm" \