mirror of
https://github.com/kairos-io/osbuilder.git
synced 2025-08-23 01:55:46 +00:00
parent
a2b1ee4536
commit
eb6171b08c
@ -358,8 +358,7 @@ sgdisk -n 3:0:+$(( ${recovery_size} + ${oem_size} ))M -c 3:lvm -t 3:8e00 ${outpu
|
|||||||
fi
|
fi
|
||||||
sgdisk -n 4:0:+64M -c 4:persistent -t 4:8300 ${output_image}
|
sgdisk -n 4:0:+64M -c 4:persistent -t 4:8300 ${output_image}
|
||||||
|
|
||||||
# Make the disk GPT
|
sgdisk -m 1:2:3:4 ${output_image}
|
||||||
sgdisk -g ${output_image}
|
|
||||||
|
|
||||||
# Prepare the image and copy over the files
|
# Prepare the image and copy over the files
|
||||||
|
|
||||||
@ -468,7 +467,7 @@ sync
|
|||||||
sleep 5
|
sleep 5
|
||||||
sync
|
sync
|
||||||
|
|
||||||
kpartx -dvg $DRIVE || true
|
kpartx -dv $DRIVE || true
|
||||||
|
|
||||||
umount $DRIVE || true
|
umount $DRIVE || true
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user