+build_rootfs()
+{
+(
+ sudo rm -rf testing
+ sudo eatmydata debootstrap --arch=arm64 --include iwd,tcpdump,vim,tmux,vlan,ntpdate,bridge-utils,parted,curl,wget,grub-efi-arm64,mtr-tiny,dbus testing testing http://ftp.fau.de/debian
+
+ cd testing
+
+ sudo bash -c 'echo live > etc/hostname'
+
+ sudo bash -c 'echo > etc/motd'
+
+ sudo bash -c 'echo "deb http://deb.debian.org/debian testing main contrib non-free" > etc/apt/sources.list'
+ sudo bash -c 'echo "deb-src http://deb.debian.org/debian testing main contrib non-free" >> etc/apt/sources.list'
+
+ sudo bash -c 'chroot . apt update'
+ sudo bash -c 'chroot . apt install -y firmware-linux'
+
+ sudo -- perl -p -i -e 's/root:x:/root::/' etc/passwd
+
+ sudo -- ln -s lib/systemd/systemd init
+
+ sudo cp ../linux-image-5.16.0-asahi-next-20220118-gdcd14bb2ec40_5.16.0-asahi-next-20220118-gdcd14bb2ec40-1_arm64.deb .