fix(quickget): resize Batocera image for GPT expansion
This commit is contained in:
parent
c66827ccb1
commit
a2539d3c56
5
quickget
5
quickget
|
|
@ -3355,7 +3355,10 @@ function create_vm() {
|
||||||
if [[ ${ISO} = *".gz"* ]]; then
|
if [[ ${ISO} = *".gz"* ]]; then
|
||||||
gzip -d "${VM_PATH}/${ISO}"
|
gzip -d "${VM_PATH}/${ISO}"
|
||||||
ISO="${ISO/.gz/}"
|
ISO="${ISO/.gz/}"
|
||||||
fi;;
|
fi
|
||||||
|
# Resize the raw image to provide space for Batocera's partition expansion
|
||||||
|
require_qemu_img
|
||||||
|
${QEMU_IMG} resize -f raw "${VM_PATH}/${ISO}" 128G;;
|
||||||
dragonflybsd)
|
dragonflybsd)
|
||||||
# Could be other OS iso files compressed with bzip2 or gzip
|
# Could be other OS iso files compressed with bzip2 or gzip
|
||||||
# but for now we'll keep this to know cases
|
# but for now we'll keep this to know cases
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue