packages/image/install: change qemu image files (size, format, label)

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2010-10-31 07:08:53 +01:00
parent f689707eb1
commit 7c2e6aecc6

View File

@ -177,16 +177,16 @@ case "$2" in
mkdir -p $TARGET_IMG
rm -rf $TARGET_IMG/OpenELEC-$TARGET_VERSION-qemu.flash
qemu-img create -f raw $TARGET_IMG/OpenELEC-$TARGET_VERSION-qemu.flash 128M
/sbin/mkfs.ext3 -L OpenELEC -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
sudo mount -o loop $TARGET_IMG/OpenELEC-$TARGET_VERSION-qemu.flash $ROOT/.tmp
cp -R $TARGET_IMG/OpenELEC-$TARGET_VERSION.system $ROOT/.tmp/openelec.system
sudo umount $ROOT/.tmp
rm -rf $TARGET_IMG/OpenELEC-$TARGET_VERSION-qemu.store
qemu-img create -f raw $TARGET_IMG/OpenELEC-$TARGET_VERSION-qemu.store 40M
/sbin/mkfs.ext3 -L OpenELEC -F $TARGET_IMG/OpenELEC-$TARGET_VERSION-qemu.store
rm -rf $TARGET_IMG/OpenELEC-$TARGET_VERSION-qemu.storage
qemu-img create -f raw $TARGET_IMG/OpenELEC-$TARGET_VERSION-qemu.storage 500M
/sbin/mkfs.ext4 -L Storage -F $TARGET_IMG/OpenELEC-$TARGET_VERSION-qemu.storage
;;