mirror of https://github.com/CIRCL/Circlean
add some code to fixup the size of the image, and make the img file usable directly
parent
8c157441c5
commit
284d3cede9
|
@ -15,6 +15,10 @@ tar -cvpzf backup.tar.gz -C fs/ .
|
|||
tar -xzf backup.tar.gz -C ${CHROOT_PATH}/
|
||||
cp deb/led ${CHROOT_PATH}/usr/sbin/led
|
||||
|
||||
losetup -o $((122880 * 512)) /dev/loop0 NEW_FINAL_2013-02-09-wheezy-raspbian.img
|
||||
resize2fs /dev/loop0
|
||||
losetup -d /dev/loop0
|
||||
|
||||
#sudo dd bs=4M if=NEW_FINAL_2013-02-09-wheezy-raspbian.img of=/dev/sdd
|
||||
|
||||
# /!\ always try to mount the root partition on the SD, it is usually broken.
|
||||
|
|
Loading…
Reference in New Issue