feat: implement native Alpine Linux system overlay, Windows-like OOBE Setup Wizard, and automated rootfs deployment scripts

Cette révision appartient à :
theog a révisé 2026-09-10 22:41:00 +02:00
1 Parent 220105fe67
révision 8a19009c4e
14 fichiers modifiés
+1248 -91

Aucun fichier ne correspond à votre recherche

+2
Voir le fichier
@@ -0,0 +1,2 @@
https://dl-cdn.alpinelinux.org/alpine/v3.21/main
https://dl-cdn.alpinelinux.org/alpine/v3.21/community
+2
Voir le fichier
@@ -0,0 +1,2 @@
# Options for seatd OpenRC service
SEATD_OPTS="-g seat"
+5
Voir le fichier
@@ -0,0 +1,5 @@
# doas configuration for Gastinel Alpine (ultra-lightweight sudo replacement)
# Members of the wheel group can run commands as root, password cached
permit persist :wheel
permit nopass :wheel cmd reboot
permit nopass :wheel cmd poweroff
+21
Voir le fichier
@@ -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
}
+31
Voir le fichier
@@ -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
}
+16
Voir le fichier
@@ -0,0 +1,16 @@
# /etc/inittab for Gastinel Alpine Linux
# Direct graphical launch without tty text login prompt
::sysinit:/sbin/openrc sysinit
::wait:/sbin/openrc boot
::wait:/sbin/openrc default
# tty1 launches Gastinel GUI directly
tty1::respawn:/usr/bin/gastinel-session
# Fallback debug ttys on Alt+F2 / Alt+F3
tty2::respawn:/sbin/getty 38400 tty2
tty3::respawn:/sbin/getty 38400 tty3
::ctrlaltdel:/sbin/reboot
::shutdown:/sbin/openrc shutdown
+12
Voir le fichier
@@ -0,0 +1,12 @@
# Gastinel Memory & Performance tuning for 8GB RAM Alpine Linux
# Preserves RAM for user applications, prevents aggressive swap stalls
# Reduce swappiness (default 60 is too aggressive on laptops)
vm.swappiness = 10
# Keep filesystem metadata caches in memory for instant responsiveness
vm.vfs_cache_pressure = 50
# Smooth out background writebacks to SSD/NVMe
vm.dirty_background_ratio = 5
vm.dirty_ratio = 15