X-Git-Url: http://git.plutz.net/?p=blast;a=blobdiff_plain;f=Makefile;h=03fd52b38bfc8c23846ed89a43f94464b3c92667;hp=78b065af0e7d47ed322839070bcde042a99158e1;hb=4a83f36e36d09bfca93a9f3b2cb55e08d5d13169;hpb=03eac1ec61deb1546f93cfd8ba48635f83a61a94 diff --git a/Makefile b/Makefile index 78b065a..03fd52b 100644 --- a/Makefile +++ b/Makefile @@ -21,7 +21,7 @@ define SOURCES = 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" "$@" @@ -97,6 +97,7 @@ define SOURCES = 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 @@ -213,6 +214,7 @@ ${VOLUME}: .FORCE ! 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