Shorten Power menu bootloader label to fit screen

Change Reboot to bootloader to Reboot to loader in dmenu.so, appmenu and context menu. Rebuild the ARM dmenu plugin, sync prebuilt/overlay artifacts, strengthen check-rebuild guards, and synchronize docs. Deployed to the live phone and restarted the resident dmenu plugin.
This commit is contained in:
Luxferre committed 2026-11-10 18:01:01 +02:00
1 parent 2f92e826d1
commit 2198ba16b3
12 files changed
+32 -15

No files matched your search

+15 -2
View File
@@ -750,8 +750,21 @@ fi
for f in src/sxmo-dmenu/dmenu.c \
overlay/rootfs/usr/bin/sxmo_appmenu.sh \
overlay/rootfs/usr/share/sxmo/default_hooks/sxmo_hook_contextmenu.sh; do
if ! grep -qF 'Reboot to bootloader' "$BASE_DIR/$f"; then
fail "$f lost the Reboot to bootloader menu item"
if ! grep -qF 'Reboot to loader' "$BASE_DIR/$f"; then
fail "$f lost the Reboot to loader menu item"
fi
if grep -qF 'Reboot to bootloader' "$BASE_DIR/$f"; then
fail "$f still uses the long Reboot to bootloader label"
fi
done
POWER_DMENU_SO="$BASE_DIR/prebuilt/sxmo-x11/usr/lib/dwm/plugins/dmenu.so"
POWER_DMENU_OVERLAY_SO="$BASE_DIR/overlay/rootfs/usr/lib/dwm/plugins/dmenu.so"
for so in "$POWER_DMENU_SO" "$POWER_DMENU_OVERLAY_SO"; do
if ! strings "$so" 2>/dev/null | grep -qF '%s Reboot to loader'; then
fail "$(basename "$so") lacks the compact Reboot to loader label"
fi
if strings "$so" 2>/dev/null | grep -qF '%s Reboot to bootloader'; then
fail "$(basename "$so") still contains the long bootloader label"
fi
done
if ! grep -qF 'set_kernel_reboot_mode "bootloader"' \