Set up development environment for Volumio images
Setting up a development environment for Volumio 2 images
We suggest to develop on a debian based environment
git squashfs-tools kpartx multistrap qemu-user-static samba debootstrap parted dosfstools qemu binfmt-support qemu-utils
Set up development folder
- clone the build repo on your local folder : git clone https://github.com/volumio/Build build
- if on Ubuntu, you may need to remove
$forceyesfrom line 989 of /usr/sbin/multistrap
- cd to /build and type
./build.sh -b <architecture> -d <device> -v <version>
where switches are :
<arch>Build a full system image with Multistrap. Options for the target architecture are arm or x86.
<dev>Create Image for Specific Devices. Supported device names: pi, odroidc1/2/xu4/x2, udoo, cuboxi, bbb, cubietruck, compulab, x86
<repo>Create docker layer. Give a Docker Repository name as the argument.
Example: Build a Raspberry PI image from scratch, version 2.0 :
./build.sh -b arm -d pi -v 2.0 -l reponame
You do not have to build the architecture and the image at the same time.
Example: Build the architecture for x86 first and the image version MyVersion in a second step:
./build.sh -b x86 ./build.sh -d x86 -v MyVersion