- Install
binfmt-qemu-static
,qemu-user-static
anddocker
- Add yourself to
docker
group - Generate ssh key:
ssh-keygen -t rsa -N '' -f repo-key
, add repo-key.pub to your github account - Run
./fetch-resources
- Run
./build
- Partition sdcard and mount it to rootfs directory (for example
mkdir -p rootfs/boot && sudo mount /dev/sdb2 rootfs && sudo mount /dev/sdb1 rootfs/boot
) - Write image to sdcard:
sudo bsdtar -xpf img.tar.gz -C rootfs --exclude ".dockerenv"
- ???
- PROFIT
For some reason cppuni crashes when it is launched for first time