update README for reflecting latest image
This commit is contained in:
parent
a06707dac7
commit
93cf05eb8c
1 changed files with 6 additions and 33 deletions
31
README.rst
31
README.rst
|
@ -166,21 +166,15 @@ Buildozer Virtual Machine
|
|||
-------------------------
|
||||
|
||||
The current virtual machine (available via https://kivy.org/downloads/) allow
|
||||
you to have a ready to use vm for building android application. But
|
||||
the current one have many flaw.
|
||||
We're in the process to deliver a new VM that fixes most of them.
|
||||
you to have a ready to use vm for building android application.
|
||||
|
||||
Using shared folders
|
||||
++++++++++++++++++++
|
||||
|
||||
The Virtualbox Guest tools are outdated, install the latest one:
|
||||
If the Virtualbox Guest tools are outdated, install the latest one:
|
||||
|
||||
- in the Virtualbox: `Devices` -> `Install Guest Additions CD images`
|
||||
- in the guest/linux: Go to the cdrom and run the installer
|
||||
|
||||
The `kivy` user is not in the `vboxsf` groups, so in a terminal:
|
||||
|
||||
- `sudo adduser kivy vboxsf`
|
||||
- reboot the vm
|
||||
|
||||
VirtualBox filesystem doesn't support symlink anymore (don't
|
||||
|
@ -191,27 +185,6 @@ do the build outside the shared folder. One solution:
|
|||
- `sudo chown kivy /build`
|
||||
- In your buildozer.spec, section `[buildozer]`, set `build_dir = /build/buildozer-myapp`
|
||||
|
||||
No space left
|
||||
+++++++++++++
|
||||
|
||||
If you build on the current VM, you'll hit the no space left on device:
|
||||
|
||||
- Stop your VM
|
||||
- Adjust the disk size to 20GB: `VBoxManage modifyhd ~/Downloads/Buildozer/Buildozer.vdi --resize 20000`
|
||||
- Download the http://www.slitaz.org/en/get/#stable
|
||||
- In the virtualbox, `Devices` -> `Optical Drive` -> Select the slitaz iso
|
||||
- Reboot the VM
|
||||
- In slitaz, open a terminal, and unmount the swap: `swapoff -a`
|
||||
- Open gparted
|
||||
- delete sda2
|
||||
- extend sda1 to 18000
|
||||
- add a primary partition, set the format to linux-swap
|
||||
- you should have a sda2 partition
|
||||
- save
|
||||
- Unmount the slitaz iso `Devices` -> `Optical Drive` -> `Eject`
|
||||
- Reset/Restart the VM
|
||||
- Check your disk is 20GB: `df -h`
|
||||
|
||||
Using your devices via the VM
|
||||
+++++++++++++++++++++++++++++
|
||||
|
||||
|
|
Loading…
Reference in a new issue