Add lunar RPi build

This commit is contained in:
Aleksey Samoilov 2023-02-08 18:13:07 +04:00
parent 92ebddd02f
commit e50a183e72
3 changed files with 35 additions and 3 deletions

View file

@ -17,10 +17,10 @@ basedir=$(pwd)/artifacts/ubuntusway-rpi
export packages="ubuntusway-minimal ubuntusway-desktop ubuntusway-standard"
export architecture="arm64"
export codename="jammy"
export codename="lunar"
export channel="dev"
version=22.04
version=23.04
YYYYMMDD="$(date +%Y%m%d)"
imagename=ubuntusway-$version-$channel-rpi-$YYYYMMDD

10
rpi/greetd/config.toml Normal file
View file

@ -0,0 +1,10 @@
[terminal]
vt = "next"
[default_session]
command = "tuigreet --remember --time --issue --asterisks --cmd sway"
user = "greeter"
[initial_session]
command = "sway --config /etc/greetd/oem-setup"
user = "oem"

22
rpi/greetd/oem-setup Normal file
View file

@ -0,0 +1,22 @@
# global variables
include /etc/sway/variables
# include theme specific definitions
include /usr/share/themes/yaru-sway/variables
# enable default input/output devices
include /etc/sway/inputs/*.conf
include /etc/sway/outputs/*.conf
# start calamares if available, otherwise start the greeter
for_window [app_id="io.calamares.calamares"] floating enable
exec {
'[ -x "$(command -v calamares)" ] && sudo -E calamares -d -style Fusion || swaymsg exit'
}
# offer shutdown options
bindsym $mod+Shift+e exec nwg-bar -x
# capture PowerOff key
bindsym XF86PowerOff exec systemctl shutdown