mirror of
https://github.com/kairos-io/osbuilder.git
synced 2025-07-20 10:09:39 +00:00
Drop uneeded sfdisk call
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
This commit is contained in:
parent
52d4f1d60b
commit
e5f563c4db
@ -363,10 +363,6 @@ sgdisk -n 4:0:+64M -c 4:persistent -t 4:8300 ${output_image}
|
|||||||
# Make the disk GPT
|
# Make the disk GPT
|
||||||
sgdisk -g ${output_image}
|
sgdisk -g ${output_image}
|
||||||
|
|
||||||
if [ "$model" == "rpi64" ]; then
|
|
||||||
sfdisk --part-type ${output_image} 1 c
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Prepare the image and copy over the files
|
# Prepare the image and copy over the files
|
||||||
|
|
||||||
export DRIVE=$(losetup -f "${output_image}" --show)
|
export DRIVE=$(losetup -f "${output_image}" --show)
|
||||||
|
Loading…
Reference in New Issue
Block a user