fix: dropbear/network boot ordering — dropbear starts without network

- dropbear: custom init removes 'need net', only needs localmount + bee-sshsetup
- bee-network: removed 'before dropbear' dependency
- bee-network.sh: removed set -e so single iface failure does not abort script
This commit is contained in:
2026-03-05 14:59:23 +03:00
parent ab22e3ad74
commit 8502100074
4 changed files with 40 additions and 3 deletions

View File

@@ -82,8 +82,11 @@ if [ -d "$OVERLAY/root" ]; then
fi
mkdir -p "$tmp/etc/dropbear" "$tmp/etc/conf.d"
# -R: auto-generate host keys if missing
# no dependency on networking service — bee-network handles DHCP independently
makefile root:root 0644 "$tmp/etc/conf.d/dropbear" <<EOF
DROPBEAR_OPTS="-R"
EOF
tar -c -C "$tmp" etc usr root 2>/dev/null | gzip -9n > "$HOSTNAME.apkovl.tar.gz"