deb http://cdn.debian.net/debian stretch main
endef
-PACKAGES := ${PACKAGES} apt btrfs-tools busybox-static bzip2 ca-certificates cron debian-archive-keyring deborphan firmware-linux-free gzip htop ifupdown init iputils-ping irqbalance isc-dhcp-client less make net-tools nmap ntpdate openssh-client psmisc rsync sshfs sudo systemd traceroute unzip vim wget wireless-tools wpasupplicant xz-utils zip
+PACKAGES := ${PACKAGES} apt busybox-static debian-archive-keyring init systemd
config.mk:
cp "config.example" "$@"
deb http://raspbian.raspberrypi.org/raspbian stretch main non-free firmware rpi
deb http://archive.raspberrypi.org/debian stretch main
endef
+
PACKAGES := ${PACKAGES} firmware-brcm80211 libraspberrypi-bin libraspberrypi0 pi-bluetooth raspberrypi-bootloader raspberrypi-kernel
_target: _umount _partcopy _config _install
! printf '%s\n' "$${VOLUME}" |grep -q '^/dev/' # abort if volume should be real device
dd count=0 of="$${VOLUME}" # truncate
dd bs=1M count=0 seek=$$((3 + ${BOOT_MB} + ${ROOT_MB})) of="$${VOLUME}"
+ chmod g+w "$${VOLUME}"
${PBOOT}: .FORCE
! printf '%s\n' "$${PBOOT}" |grep -q '^/dev/' # abort if volume should be real device