Finalize verified 2720 Flip release source and untrack image outputs

This commit is contained in:
Luxferre committed 2026-11-09 23:04:13 +02:00
1 parent 2a3078e42c
commit 1c011b360a
121 files changed
+8467 -686

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
#!/bin/sh
# Make sure the out-of-tree camera driver, the cover-panel spidev driver and
# the spi-mux modules are loaded even when the boot-runlevel "modules" service
# could not process /etc/modules (it needs /bin/sed, which was missing on some
# rootfs builds).
for mod in msm8905-cam spidev mux-core mux-gpio spi-mux; do
i=0
while [ "$i" -lt 5 ]; do
/sbin/modprobe -q "$mod" && break
i=$((i + 1))
sleep 1
done
done
+19
View File
@@ -0,0 +1,19 @@
#!/bin/sh
# Keep a USB-only diagnostic login available even when the main sshd's PAM
# stack is misconfigured. It is bound to 172.16.42.1 so it is never exposed
# over Wi-Fi or the modem; create /etc/bananarchy-no-debug-sshd to disable.
[ -f /etc/bananarchy-no-debug-sshd ] && exit 0
if rc-service bananarchy-sshd-debug status >/dev/null 2>&1; then
exit 0
fi
[ -x /usr/sbin/sshd ] || exit 0
[ -f /etc/ssh/ssh_host_ed25519_key ] || /usr/sbin/ssh-keygen -A >/dev/null 2>&1
# The USB gadget address may appear after this service starts, so retry.
(
i=0
while [ "$i" -lt 30 ]; do
/usr/sbin/sshd -f /etc/ssh/sshd_config_debug >/dev/null 2>&1 && break
i=$((i + 1))
sleep 2
done
) &