Skip to content

Building XBian IMAGES

Matus Kral edited this page Jul 2, 2014 · 18 revisions

this workflows and tools delivered by XBian are still under testing/development. structures, commands, requirement may change anytime without prior notice. if inconsistence is found or bug within scripts it has to be reported as for any other XBian component at git's issue tracker. at this very moment not all XBian repositories have been converted to the new structure. as the toolchain matures, we are adding more repositories

To create XBian Images you don't need to compile anything as they are all already precompiled by us and distributed via public APT repository.

Tool we provide for Images creation will (as part of it's process) download what's needed automatically. Although no other knowledge/skills are needed for this particular process, please take the time and read also Building XBian packages. Scripts here provided are not platform dependent, nor is there any dependency between platform you will run image creation on and actual target platform of created img file (for example that means, that you can install/run this on x86_64/i386 and still prepare Image file with XBian running on Cubox-i).

Process was tested on Debian/Wheezy and commands/pkgnames are related to it, but you can use Ubuntu or any other Linux distribution until it can provide commands/tools contained in packages listed below.

Only one repository is needed for that task. And that is https://github.com/xbianonpi/xbian. So clone it first:

git clone https://github.com/xbianonpi/xbian

If we have not yet initialised local config, go into the cloned xbian repository and run:

cd xbian; ./run.me prepare

this step is no more needed if case we did it before (as part of Building XBian packages HOWTI this command needs to be run with root privileges

then just proceed to the folder where your cloned xbianonpi/xbian is located, descent into it and start the process

cd xbian-build-img; $xbiangit --arch PLATFORM-TO-BUILD-FOR

where PLATFORM-TO-BUILD-FOR is at the time of this writing one of rpi and imx6. this command needs to be run with root privileges

as for standard packages, always actual available list of target configurations is provided by

cd xbian-build-img; $xbiangit -l

mk & anaconda 2014