mirror of
git://soft.sys114.com/odroid-stamper
synced 2025-12-19 00:18:42 +09:00
Add new Ubuntu version 24.04 (Noble Numbat)
Change-Id: Ic30b08536608f9336e17854e29387dcba4177182 Signed-off-by: Dongjin Kim <tobetter@gmail.com>
This commit is contained in:
5
default
5
default
@@ -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"
|
||||
;;
|
||||
|
||||
4
distro/noble/common/blacklist
Normal file
4
distro/noble/common/blacklist
Normal file
@@ -0,0 +1,4 @@
|
||||
cloud-guest-utils
|
||||
cloud-init
|
||||
cloud-initramfs-copymods
|
||||
cloud-initramfs-dyn-netconf
|
||||
6
distro/noble/common/overlay/etc/netplan/01-netcfg.yaml
Normal file
6
distro/noble/common/overlay/etc/netplan/01-netcfg.yaml
Normal file
@@ -0,0 +1,6 @@
|
||||
network:
|
||||
version: 2
|
||||
renderer: networkd
|
||||
ethernets:
|
||||
eth0:
|
||||
dhcp4: true
|
||||
1
distro/noble/common/packages
Normal file
1
distro/noble/common/packages
Normal file
@@ -0,0 +1 @@
|
||||
linux-firmware
|
||||
3
distro/noble/gnome-desktop/functions
Normal file
3
distro/noble/gnome-desktop/functions
Normal file
@@ -0,0 +1,3 @@
|
||||
get_default_apt_options() {
|
||||
echo "-y"
|
||||
}
|
||||
1
distro/noble/gnome-desktop/overlay/etc/default/desktop
Normal file
1
distro/noble/gnome-desktop/overlay/etc/default/desktop
Normal file
@@ -0,0 +1 @@
|
||||
SESSION=ubuntu-wayland
|
||||
5
distro/noble/gnome-desktop/packages
Normal file
5
distro/noble/gnome-desktop/packages
Normal file
@@ -0,0 +1,5 @@
|
||||
ubuntu-desktop^
|
||||
openssh-server
|
||||
neofetch
|
||||
net-tools
|
||||
netplan.io
|
||||
3
distro/noble/kde-desktop/functions
Normal file
3
distro/noble/kde-desktop/functions
Normal file
@@ -0,0 +1,3 @@
|
||||
get_default_apt_options() {
|
||||
echo "-y"
|
||||
}
|
||||
6
distro/noble/kde-desktop/packages
Normal file
6
distro/noble/kde-desktop/packages
Normal file
@@ -0,0 +1,6 @@
|
||||
kubuntu-desktop^
|
||||
openssh-server
|
||||
neofetch
|
||||
net-tools
|
||||
netplan.io
|
||||
plasma-workspace-wayland
|
||||
5
distro/noble/lxde-desktop/packages
Normal file
5
distro/noble/lxde-desktop/packages
Normal file
@@ -0,0 +1,5 @@
|
||||
lubuntu-desktop^
|
||||
openssh-server
|
||||
neofetch
|
||||
net-tools
|
||||
netplan.io
|
||||
5
distro/noble/mate-desktop/packages
Normal file
5
distro/noble/mate-desktop/packages
Normal file
@@ -0,0 +1,5 @@
|
||||
ubuntu-mate-desktop^
|
||||
openssh-server
|
||||
neofetch
|
||||
net-tools
|
||||
netplan.io
|
||||
7
distro/noble/server/packages
Normal file
7
distro/noble/server/packages
Normal file
@@ -0,0 +1,7 @@
|
||||
openssh-server
|
||||
neofetch
|
||||
fdisk
|
||||
parted
|
||||
vim
|
||||
net-tools
|
||||
netplan.io
|
||||
7
distro/noble/weston/fixups/S70-weston
Executable file
7
distro/noble/weston/fixups/S70-weston
Executable 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
|
||||
@@ -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
|
||||
2
distro/noble/weston/packages
Normal file
2
distro/noble/weston/packages
Normal file
@@ -0,0 +1,2 @@
|
||||
weston
|
||||
openssh-server
|
||||
5
distro/noble/xfce-desktop/packages
Normal file
5
distro/noble/xfce-desktop/packages
Normal file
@@ -0,0 +1,5 @@
|
||||
xubuntu-desktop^
|
||||
openssh-server
|
||||
neofetch
|
||||
net-tools
|
||||
netplan.io
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user