deb http://archive.raspberrypi.org/debian stretch main\n
endef
-PACKAGES := apt apt-transport-https bluez bluez-firmware btrfs-tools busybox-static bzip2 ca-certificates cron deborphan firmware-atheros firmware-brcm80211 firmware-libertas firmware-linux-free firmware-misc-nonfree firmware-realtek gzip htop ifupdown init iptables iputils-ping irqbalance isc-dhcp-client less libraspberrypi-bin libraspberrypi0 make net-tools nmap ntpdate openssh-client openssh-server p7zip-full raspberrypi-bootloader raspberrypi-kernel rsync ssh sshfs sudo systemd traceroute unace unrar-free unzip vim wget wireless-tools wpasupplicant xz-utils zip
+PACKAGES := apt apt-transport-https bluez bluez-firmware btrfs-tools busybox-static bzip2 ca-certificates cron deborphan firmware-atheros firmware-brcm80211 firmware-libertas firmware-linux-free firmware-misc-nonfree firmware-realtek gzip htop ifupdown init iptables iputils-ping irqbalance isc-dhcp-client less libraspberrypi-bin libraspberrypi0 make net-tools nmap ntpdate openssh-client openssh-server p7zip-full rpi-update rsync ssh sshfs sudo systemd traceroute unace unrar-free unzip vim wget wireless-tools wpasupplicant xz-utils zip
# Do not change, only override in config.mk
WIFI-SSID =
chroot "$@" apt-get --yes install ${PACKAGES}
chroot "$@" apt-get --yes --auto-remove purge
chroot "$@" apt-get --yes --auto-remove upgrade
+ chroot "$@" rpi-update
chroot "$@" rm /usr/local/sbin/invoke-rc.d
chroot "$@" apt-get clean
touch "$@"
--- /dev/null
+/dev/mmcblk0p2 / ext4 auto,nofail,rw 0 0
+/dev/mmcblk0p1 / vfat auto,nofail,rw 0 0