| fix(bsp): do not block basic.target while resizing the rootfs armbian-resize-filesystem runs with DefaultDependencies=no and Before=basic.target, so the entire boot waits for it. The script calls partprobe, which waits for the udev queue to drain. A udev worker that never finishes its event stalls that queue for the full 180s worker timeout, and basic.target - together with dbus.service - is delayed by the same amount. That delay breaks DNS on the first boot. systemd-resolved is ordered before sysinit.target, so it starts while dbus is still not up and never acquires org.freedesktop.resolve1. NetworkManager hands DNS servers to resolved over D-Bus only, so the DHCP-provided servers never reach it and name resolution stays dead for the whole session, which is exactly when armbian-firstrun and apt need it. Resizing need not run that early: resize2fs operates online on the mounted rootfs, and the only unit ordered against it is lowmem-mkswap. Move both units to multi-user.target so a stalled udev queue can no longer hold up the boot. armbian-firstlogin already waits for queued jobs through systemctl is-system-running --wait, and the script disables itself with systemctl disable, which follows the new [Install] section on its own. Claude-Session: https://claude.ai/code/session_01SWvjHEYMimjZVj1qy3aR2k | 3 天前 |