From: Paul Hänsch Date: Thu, 7 Mar 2019 16:03:17 +0000 (+0100) Subject: allow apt-get upgrade to fail X-Git-Url: https://git.plutz.net/?a=commitdiff_plain;h=28a2eadda267e3d45823a6f730381b4434d0c063;p=rpi_small allow apt-get upgrade to fail --- diff --git a/Makefile b/Makefile index fe8971e..4b7f0bd 100644 --- a/Makefile +++ b/Makefile @@ -24,7 +24,7 @@ deb http://raspbian.raspberrypi.org/raspbian stretch main non-free firmware rpi deb http://archive.raspberrypi.org/debian stretch main endef -PACKAGES := apt bluez bluez-firmware bluez-tools btrfs-tools busybox-static bzip2 ca-certificates cron debian-archive-keyring deborphan firmware-brcm80211 firmware-linux-free firmware-misc-nonfree gzip htop ifupdown init iputils-ping irqbalance isc-dhcp-client less libraspberrypi-bin libraspberrypi0 make net-tools nmap ntpdate openssh-client openssh-server pi-bluetooth raspberrypi-bootloader raspberrypi-kernel rsync ssh sshfs sudo systemd traceroute unzip vim wget wireless-tools wpasupplicant xz-utils zip +PACKAGES := apt bluez bluez-firmware bluez-tools btrfs-tools busybox-static bzip2 ca-certificates cron debian-archive-keyring deborphan firmware-brcm80211 firmware-linux-free firmware-misc-nonfree gzip htop ifupdown init iputils-ping irqbalance isc-dhcp-client less libraspberrypi-bin libraspberrypi0 make net-tools nmap ntpdate openssh-client openssh-server pi-bluetooth psmisc raspberrypi-bootloader raspberrypi-kernel rsync ssh sshfs sudo systemd traceroute unzip vim wget wireless-tools wpasupplicant xz-utils zip # Do not change, only override in config.mk WIFI-SSID = @@ -67,7 +67,7 @@ raspi_root/: raspi_root norecommends apt_keys .FORCE chroot "$@" ln -sf /bin/true /usr/local/sbin/invoke-rc.d chroot "$@" apt-get --yes install ${PACKAGES} chroot "$@" apt-get --yes --auto-remove purge - chroot "$@" apt-get --yes --auto-remove upgrade + -chroot "$@" apt-get --yes --auto-remove upgrade chroot "$@" apt-get clean chroot "$@" rm /usr/local/sbin/invoke-rc.d touch "$@"