feat: implement native Alpine Linux system overlay, Windows-like OOBE Setup Wizard, and automated rootfs deployment scripts
Cette révision appartient à :
1 Parent
220105fe67
révision
8a19009c4e
14 fichiers modifiés
+1248
-91
Aucun fichier ne correspond à votre recherche
@@ -0,0 +1,21 @@
|
||||
#!/sbin/openrc-run
|
||||
# OpenRC service script for Gastinel Desktop
|
||||
|
||||
description="Gastinel Wayland Desktop Environment"
|
||||
supervisor="supervise-daemon"
|
||||
command="/usr/bin/gastinel-desktop"
|
||||
command_user="theog:seat"
|
||||
|
||||
depend() {
|
||||
need udev seatd localmount
|
||||
after networking
|
||||
provide display-manager
|
||||
}
|
||||
|
||||
start_pre() {
|
||||
# Ensure seatd socket is accessible
|
||||
if [ ! -S /run/seatd.sock ]; then
|
||||
eerror "seatd is not running! Starting seatd..."
|
||||
rc-service seatd start
|
||||
fi
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
#!/sbin/openrc-run
|
||||
# OpenRC first-boot Setup Wizard (OOBE) for Gastinel Alpine
|
||||
|
||||
description="Gastinel First-Boot Setup Wizard"
|
||||
command="/usr/bin/gastinel-desktop"
|
||||
command_args="--setup-wizard"
|
||||
|
||||
depend() {
|
||||
need udev seatd localmount
|
||||
after networking
|
||||
}
|
||||
|
||||
start() {
|
||||
ebegin "Starting Gastinel Graphical Setup Wizard"
|
||||
|
||||
# Launch setup wizard directly on frame buffer / DRM
|
||||
/usr/bin/gastinel-desktop --setup-wizard
|
||||
|
||||
local status=$?
|
||||
if [ $status -eq 0 ]; then
|
||||
# Setup completed successfully: switch to regular desktop
|
||||
rc-update del gastinel-oobe default
|
||||
rc-update add gastinel default
|
||||
einfo "Gastinel Setup finished! Launching desktop session..."
|
||||
rc-service gastinel start
|
||||
else
|
||||
eerror "Setup wizard exited with code $status"
|
||||
fi
|
||||
|
||||
eend $status
|
||||
}
|
||||
Référencer dans un nouveau ticket
Bloquer un utilisateur