Fix camera, AW9120 back LED strip, full-height dmenu, and preinstall Bantam & gitconfig

- Camera (geminux-camera):
  - Auto-configure Media Controller subdevs (hi556 + 1a040000.seninf at 1296x972
    SRGGB10_1X10 -> /dev/video0 MBRA), unpack 10-bit packed MTISP Bayer frames,
    and run pedestal subtraction, bilinear demosaic, Gray-World AWB, gamma 2.2
    LUT, and closed-loop V4L2 AE/AGC with 90-degree rotation and --oneshot JPEG
    capture.
- AW9120 cover LED daemon (geminux-leds):
  - Drive the back cover multicolor RGB strip (rgb:indicator-1..5, plus
    rgb:indicator-6 via led/off) using sysfs multi_intensity + brightness
    instead of matching monochrome red/blue names on the inside keyboard
    indicator-7 Caps Lock LEDs, and filter netlink uevents to
    SUBSYSTEM=power_supply.
- Launcher & dmenu:
  - Make dmenu span the full screen height in vertical mode and auto-fill
    available item rows in geminux-launcher.
- Preinstalled packages & skel config:
  - Package and preinstall Bantam (geminux-bantam @geminux APK) with readline.
  - Preinstall sanitized default .gitconfig in /etc/skel (and /root) without
    user identity fields.
This commit is contained in:
Luxferre committed 2026-11-23 06:38:06 +02:00
1 parent 8843558f3b
commit 2706b9a901
36 files changed
+6621 -153

No files matched your search

+5 -4
View File
@@ -58,12 +58,12 @@ if command -v apk >/dev/null 2>&1 && \
# Clear any older @geminux world pins and installed hashes so rebuilt local
# packages with unchanged -r0 version strings always extract updated payloads.
if [ -f "$TARGET_ROOTFS/etc/apk/world" ]; then
grep -v -E '^geminux-(kernel-modules|xlibre|suckless|dunst|ui|config)(@|=|$)' \
grep -v -E '^geminux-(kernel-modules|xlibre|suckless|dunst|ui|bantam|config)(@|=|$)' \
"$TARGET_ROOTFS/etc/apk/world" > "$TARGET_ROOTFS/etc/apk/world.tmp" || true
mv "$TARGET_ROOTFS/etc/apk/world.tmp" "$TARGET_ROOTFS/etc/apk/world"
fi
apk --root "$TARGET_ROOTFS" --arch aarch64 del --no-scripts --purge=yes \
geminux-config geminux-ui geminux-dunst geminux-suckless \
geminux-config geminux-bantam geminux-ui geminux-dunst geminux-suckless \
geminux-xlibre geminux-kernel-modules 2>/dev/null || true
apk --root "$TARGET_ROOTFS" --arch aarch64 add --no-scripts --clean-protected=no \
@@ -72,13 +72,14 @@ if command -v apk >/dev/null 2>&1 && \
"geminux-suckless@geminux=${VER}-r0" \
"geminux-dunst@geminux=1.12.2-r0" \
"geminux-ui@geminux=${VER}-r0" \
"geminux-bantam@geminux=${VER}-r0" \
"geminux-config@geminux=${VER}-r0"
else
# Fallback direct copy when running on host without apk-tools
if [ -d "$BASE_DIR/overlay/rootfs" ]; then
cp -af "$BASE_DIR/overlay/rootfs/." "$TARGET_ROOTFS/"
fi
for subdir in xlibre suckless dunst geminux; do
for subdir in xlibre suckless dunst geminux bantam; do
if [ -d "$BASE_DIR/prebuilt/$subdir" ]; then
cp -af "$BASE_DIR/prebuilt/$subdir/." "$TARGET_ROOTFS/"
fi
@@ -195,7 +196,7 @@ if [ -f "$TARGET_ROOTFS/etc/passwd" ]; then
fi
mkdir -p "$TARGET_ROOTFS/root"
for f in .bashrc .profile .bash_profile; do
for f in .bashrc .profile .bash_profile .gitconfig; do
if [ -f "$TARGET_ROOTFS/etc/skel/$f" ]; then
cp -f "$TARGET_ROOTFS/etc/skel/$f" "$TARGET_ROOTFS/root/$f"
fi