Using Armbian Bookworm Armbian_23.11.1_Bananapi_bookworm_current_6.1.63 for banana Pi m1.
How to replicate:
Install Armbian, install the Wireguard package with apt:
sudo apt install openresolv wireguard
Next restart won't boot.
Tried several times, same result.
Wireguard itself works fine, until I reboot, of course.