rpi*: Increase boot partition size to 128MB

Re4son requested the boot partition size increase due to the 2711(rpi4) kernel
This commit is contained in:
Steev Klimaszewski
2019-07-01 11:22:12 -05:00
parent 6b343822dd
commit 8a4de95c2e
11 changed files with 22 additions and 22 deletions

View File

@@ -390,8 +390,8 @@ let RAW_SIZE=(${RAW_SIZE_MB}*1000*1000)/${BLOCK_SIZE}
echo "Creating image file ${imagename}.img"
dd if=/dev/zero of="${basedir}"/${imagename}.img bs=${BLOCK_SIZE} count=0 seek=${RAW_SIZE}
parted ${imagename}.img --script -- mklabel msdos
parted ${imagename}.img --script -- mkpart primary fat32 0 64
parted ${imagename}.img --script -- mkpart primary ext4 64 -1
parted ${imagename}.img --script -- mkpart primary fat32 0 128
parted ${imagename}.img --script -- mkpart primary ext4 128 -1
# Set the partition variables
loopdevice=`losetup -f --show "${basedir}"/${imagename}.img`