mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-30 14:16:40 +00:00
image: increase size from flash and storage partition on VM images
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
aa4e4fbe34
commit
63aa203447
@ -176,7 +176,7 @@ case "$2" in
|
|||||||
|
|
||||||
mkdir -p $TARGET_IMG
|
mkdir -p $TARGET_IMG
|
||||||
rm -rf $TARGET_IMG/OpenELEC-$TARGET_VERSION-qemu.flash
|
rm -rf $TARGET_IMG/OpenELEC-$TARGET_VERSION-qemu.flash
|
||||||
qemu-img create -f raw $TARGET_IMG/OpenELEC-$TARGET_VERSION-qemu.flash 128M
|
qemu-img create -f raw $TARGET_IMG/OpenELEC-$TARGET_VERSION-qemu.flash 192M
|
||||||
/sbin/mkfs.ext4 -L Boot -F $TARGET_IMG/OpenELEC-$TARGET_VERSION-qemu.flash
|
/sbin/mkfs.ext4 -L Boot -F $TARGET_IMG/OpenELEC-$TARGET_VERSION-qemu.flash
|
||||||
|
|
||||||
mkdir -p $ROOT/.tmp
|
mkdir -p $ROOT/.tmp
|
||||||
@ -185,7 +185,7 @@ case "$2" in
|
|||||||
sudo umount $ROOT/.tmp
|
sudo umount $ROOT/.tmp
|
||||||
|
|
||||||
rm -rf $TARGET_IMG/OpenELEC-$TARGET_VERSION-qemu.storage
|
rm -rf $TARGET_IMG/OpenELEC-$TARGET_VERSION-qemu.storage
|
||||||
qemu-img create -f raw $TARGET_IMG/OpenELEC-$TARGET_VERSION-qemu.storage 500M
|
qemu-img create -f raw $TARGET_IMG/OpenELEC-$TARGET_VERSION-qemu.storage 1024M
|
||||||
/sbin/mkfs.ext4 -L Storage -F $TARGET_IMG/OpenELEC-$TARGET_VERSION-qemu.storage
|
/sbin/mkfs.ext4 -L Storage -F $TARGET_IMG/OpenELEC-$TARGET_VERSION-qemu.storage
|
||||||
|
|
||||||
;;
|
;;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user