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:
@@ -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`
|
||||
|
||||
Reference in New Issue
Block a user