Add lunar RPi build
This commit is contained in:
parent
92ebddd02f
commit
e50a183e72
3 changed files with 35 additions and 3 deletions
|
@ -17,10 +17,10 @@ basedir=$(pwd)/artifacts/ubuntusway-rpi
|
||||||
|
|
||||||
export packages="ubuntusway-minimal ubuntusway-desktop ubuntusway-standard"
|
export packages="ubuntusway-minimal ubuntusway-desktop ubuntusway-standard"
|
||||||
export architecture="arm64"
|
export architecture="arm64"
|
||||||
export codename="jammy"
|
export codename="lunar"
|
||||||
export channel="dev"
|
export channel="dev"
|
||||||
|
|
||||||
version=22.04
|
version=23.04
|
||||||
YYYYMMDD="$(date +%Y%m%d)"
|
YYYYMMDD="$(date +%Y%m%d)"
|
||||||
imagename=ubuntusway-$version-$channel-rpi-$YYYYMMDD
|
imagename=ubuntusway-$version-$channel-rpi-$YYYYMMDD
|
||||||
|
|
||||||
|
@ -273,4 +273,4 @@ xz -T0 -z "${basedir}/${imagename}.img"
|
||||||
cd "${basedir}"
|
cd "${basedir}"
|
||||||
|
|
||||||
md5sum "${imagename}.img.xz" | tee "${imagename}.md5.txt"
|
md5sum "${imagename}.img.xz" | tee "${imagename}.md5.txt"
|
||||||
sha256sum "${imagename}.img.xz" | tee "${imagename}.sha256.txt"
|
sha256sum "${imagename}.img.xz" | tee "${imagename}.sha256.txt"
|
||||||
|
|
10
rpi/greetd/config.toml
Normal file
10
rpi/greetd/config.toml
Normal 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
22
rpi/greetd/oem-setup
Normal 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
|
Loading…
Add table
Reference in a new issue