Open agherzan opened 6 years ago
From @jnv on September 4, 2016 20:24
As a workaround, you can resize the image using qemu-img
and Resin automatically resizes the partition, e.g.:
qemu-img resize -f raw resin-image-qemux86-64.img +4G
CC @lifeeth i think we should have this instruction in qemu machines. Cause my default docker disk is only 1G which might be insufficient for some apps.
Or... I would actually vote to start shipping qemu images with 4G of docker disk (most of the boards we have use that disk size). CC @petrosagg
From @petrosagg on September 5, 2016 12:10
SGTM
From @agherzan on August 17, 2016 8:45
Description
Push an a simple python application to the device
Steps to reproduce issue
git clone https://github.com/alexandrosm/hello-python cd hello-python git remote add resin YYY (copy the link from the application's dashboard) git push resin master
Expected result
In the device's logs you should see: "hello python!"
Actual result
Can't download application. In the logs:
and repeatedly try to download.
Started with the default command recommended from the dashboard:
qemu-system-i386 -drive file=resin.img,media=disk,cache=none,format=raw -net nic,model=virtio -net user -m 512 -machine type=pc,accel=kvm -smp 4 -cpu host
Other information
Reported by: Gergely Imreh
Test configuration: QEMU X86 32bit
Test case number: TC06
Test run: https://resinio.testlodge.com/projects/16238/runs/221686?tab=2&run_section_id=231829&executed_case_id=10347326#executed_case_10347326
Copied from original issue: resin-os/meta-resin#248