diff --git a/raspberrypi/recipes/pi3-pi4.sh b/raspberrypi/recipes/pi3-pi4.sh index 815e8a6..2baf63a 100644 --- a/raspberrypi/recipes/pi3-pi4.sh +++ b/raspberrypi/recipes/pi3-pi4.sh @@ -1,5 +1,9 @@ # This recipe is sourced by the toaster, don't try to run it! +resize_me() { + echo "2000" +} + # shellcheck disable=SC2086 toast_me() { echo "nameserver 1.1.1.1" > $MNT/etc/resolv.conf @@ -37,4 +41,8 @@ toast_me() { # Make initial installation easier on users: install -m 755 -o root -g root files/avoid-debconf-prompts $MNT/root/avoid-debconf-prompts chroot $MNT /root/avoid-debconf-prompts && rm -f $MNT/root/avoid-debconf-prompts + + # Update and provision cache + chroot $MNT apt-get update + chroot $MNT apt-get install -y pirogue-base --download-only } diff --git a/raspberrypi/recipes/pi5.sh b/raspberrypi/recipes/pi5.sh index 4a2b3d4..661c060 100644 --- a/raspberrypi/recipes/pi5.sh +++ b/raspberrypi/recipes/pi5.sh @@ -1,5 +1,9 @@ # This recipe is sourced by the toaster, don't try to run it! +resize_me() { + echo "2000" +} + # shellcheck disable=SC2086 toast_me() { echo "nameserver 1.1.1.1" > $MNT/etc/resolv.conf @@ -70,4 +74,8 @@ toast_me() { rm -f $MNT/etc/initramfs-tools/scripts/local-bottom/rpi-resizerootfs ### END: Pi 5 section + + # Update and provision cache + chroot $MNT apt-get update + chroot $MNT apt-get install -y pirogue-base --download-only }