Update and provision cache.
Also resize the image (and root filesystem) to ensure enough space is available.
This commit is contained in:
parent
a731b51324
commit
c748d2d399
@ -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
|
||||
}
|
||||
|
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user