diff --git a/Rocky8_Rpi4.ks b/Rocky8_Rpi4.ks index c6b7552..54e58ae 100644 --- a/Rocky8_Rpi4.ks +++ b/Rocky8_Rpi4.ks @@ -71,8 +71,10 @@ vim bash-completion nano + raspberrypi2-firmware raspberrypi2-kernel4 +aarch64-img-extra-config %end @@ -135,6 +137,8 @@ IMAGE NOTES / DIFFERENCES FROM STOCK ROCKY 8: If you want to automatically resize your / partition, just type the following (as root user): rootfs-expand +It should fill your main rootfs partition to the end of the disk. + EOF chown 1000 /home/rocky/README @@ -156,6 +160,10 @@ EOF chown 1000 /home/rocky/fix-wifi-rpi4.sh chmod 755 /home/rocky/fix-wifi-rpi4.sh + +# Link the rootfs-expand script: +ln -s /usr/bin/rootfs-expand /home/rocky/ + # Run this once to fix the wifi: sed -i 's/boardflags3=0x48200100/boardflags3=0x44200100/g' /lib/firmware/brcm/brcmfmac43455-sdio.raspberrypi,4-model-b.txt