This uses debos to build (sdcard) images for devices
Supported devices:
- android9 generic
- f(x)tec pro1
To build images locally, run:
./debos-docker -m 5G (device).yaml
NOTE: this uses 5G of ram, you might be able to decreases this, but may run into space issues if you do.
You will need docker installed and working.
If this is not working...
-
enabled virtualization:
-
check if you have
kvm
device node:ls /dev/kvm
If not, enable virtualization in BIOS and check again.
-
add your user to kvm group:
usermod -a -G kvm <your-user-name>
Visit linux-kvm FAQ for more informations.
-
-
binfmt_misc
module loaded on the host machine:
modprobe binfmt_misc
docker pull jbbgameich/debos-docker
./run.sh DEBOS_PARAMETERS
Visit debos repo for tool usage
For easy access from any directory:
ln -s $(readlink -f run.sh) ~/bin/debos-docker
debos-docker DEBOS_PARAMETERS
git clone https://github.com/hybris-mobian/rootfs-builder-debos.git
cd rootfs-builder-debos
debos-docker -m 5G <device>.yaml
For raspberry pi this means
debos-docker -m 5G raspberrypi.yaml