Fix boot sequence errors, enable instant Chrony online sync, and add timezone UI

- Boot sequence cleanups:
  - Scope ModemManager's musl shared-plugin LD_PRELOAD to the child daemon via
    supervise_daemon_args="--env LD_PRELOAD=..." so OpenRC helpers and plugins
    start cleanly with zero "symbol not found" errors.
  - Link XLibre fbdev_drv.so against libfbdevhw.so and libshadow.so, pin
    libxfont2 in rootfs-packages.txt, populate /usr/share/fonts/*/fonts.dir,
    provide XKeysymDB entries, create ~/.cache before dmenu_run, disable TearFree
    for ShadowFB modesetting, and avoid D-Bus autolaunch collision with
    ModemManager.
  - Enable CONFIG_SYN_COOKIES=y and disable IPMI_HANDLER in
    geminux-mt6797x.config, add /etc/sysctl.d/00-alpine.conf, drop x86
    kernel.nmi_watchdog from 99-geminux-power.conf, and disable module
    load/unload in zram-init for built-in zram.
  - Add MT6797 ALSA UCM2 DL2/DL3/UL2/UL3/UL_MONO_1 backend DAI routes in
    HiFi.conf and apply 0006-mt6797-boot-cleanups.patch (stk3310 ID 0x11,
    mt6797-fm firmware search path, mt6797_mac_wq, and pre-auth TX abort).
- Chrony immediate online time sync:
  - Enable FAST_STARTUP, configure makestep 1.0 -1 with sourcedir
    /etc/chrony/sources.d, and trigger burst/waitsync/makestep/hwclock on
    NetworkManager interface up via 30-geminux-chrony.
- Date, Time & Timezone UI:
  - Add geminux-datetime libgemui X11 utility with zoneinfo browser, live
    search, region filters, and NTP sync trigger.
  - Add doas-authorized geminux-tzctl helper with zoneinfo validation and
    update geminux-statusd to reload /etc/timezone cleanly under musl.
This commit is contained in:
Luxferre committed 2026-11-22 23:34:44 +02:00
1 parent 6aea73cbeb
commit 8843558f3b
65 files changed
+1060 -37

No files matched your search

@@ -0,0 +1,17 @@
# Geminux override of /usr/lib/sysctl.d/00-alpine.conf
# (net.ipv4.tcp_syncookies defaults to 1 via CONFIG_SYN_COOKIES=y)
net.ipv4.conf.default.rp_filter = 1
net.ipv4.conf.all.rp_filter = 1
net.ipv4.ping_group_range = 999 59999
net.ipv4.conf.all.accept_redirects = 0
net.ipv4.conf.all.secure_redirects = 1
net.ipv6.conf.all.accept_redirects = 0
net.ipv4.conf.all.accept_source_route = 0
net.ipv6.conf.all.accept_source_route = 0
net.ipv4.tcp_rfc1337 = 1
net.ipv6.conf.default.use_tempaddr = 2
net.ipv6.conf.all.use_tempaddr = 2
kernel.panic = 120
fs.protected_hardlinks = 1
fs.protected_symlinks = 1
kernel.unprivileged_bpf_disabled = 1
@@ -4,4 +4,3 @@ vm.page-cluster = 0
vm.dirty_writeback_centisecs = 1500
vm.dirty_expire_centisecs = 3000
vm.vfs_cache_pressure = 50
kernel.nmi_watchdog = 0