Drop uneeded sfdisk call

Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
This commit is contained in:
Itxaka 2023-07-13 14:38:50 +02:00
parent 52d4f1d60b
commit e5f563c4db

View File

@ -363,10 +363,6 @@ sgdisk -n 4:0:+64M -c 4:persistent -t 4:8300 ${output_image}
# Make the disk GPT
sgdisk -g ${output_image}
if [ "$model" == "rpi64" ]; then
sfdisk --part-type ${output_image} 1 c
fi
# Prepare the image and copy over the files
export DRIVE=$(losetup -f "${output_image}" --show)