Skip to content

Commit a2539d3

Browse files
committed
fix(quickget): resize Batocera image for GPT expansion
1 parent c66827c commit a2539d3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

quickget

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3355,7 +3355,10 @@ function create_vm() {
33553355
if [[ ${ISO} = *".gz"* ]]; then
33563356
gzip -d "${VM_PATH}/${ISO}"
33573357
ISO="${ISO/.gz/}"
3358-
fi;;
3358+
fi
3359+
# Resize the raw image to provide space for Batocera's partition expansion
3360+
require_qemu_img
3361+
${QEMU_IMG} resize -f raw "${VM_PATH}/${ISO}" 128G;;
33593362
dragonflybsd)
33603363
# Could be other OS iso files compressed with bzip2 or gzip
33613364
# but for now we'll keep this to know cases

0 commit comments

Comments
 (0)