Development


How to build OpenPLi 2.1


This short guide describes how to build an OpenPLi 2.1 image on Debian Squeeze.

Install required software


To install the software packages needed run the build environment, run the following command:
aptitude install g++ gcc make distutils subversion cvs git python2.6 python diffstat texi2html makeinfo bzip2 gawk chrpath texinfo zip

If you are using the dash shell instead of the bash, run dpkg-reconfigure dash and choose bash as the default shell.

Install the build environment


Create the directory openpli and enter it
mkdir openpli; cd openpli

Fetch the latest makefile
wget "http://openpli.svn.sourceforge.net/viewvc/openpli/trunk/pli-oe/Makefile-2.1" -O Makefile-2.1

Create the build environment for the machine you want to target.
MACHINE=et9x00 make -f Makefile-2.1
Supported values for MACHINE are:
- DMM : dm8000, dm7020hd, dm800se, dm500hd, dm800, dm7025
- Clarktech/Xtrend : et9x00, et6x00, et5x00
- VU : vuultimo, vuduo, vusolo, vuuno

Build the image


Enter the build directory and init some environment variables
cd build-et9x00 ; source env.source

And finally start the build
bitbake openpli-enigma2-image
This will take some time. Depending on your hardware, it will take 2 to 24 hours.

The final image will be available in the ~/openpli/build-et9x00/tmp/deploy/images/et9x00 directory.

To build optional packages
bitbake -k openpli-enigma2-feed
The -k option makes sure the build continues even when a package fails to build.

Troubleshooting

task Fetch failed: Unable to fetch URL

If this is your first build, this error will occur a few times. I will try and provide an archive with all the sources that are not found at their specified location.

More resources

- Our development forum
- An excellent guide with lots of extra information for building OpenPLi 2.0 on Ubuntu. It is trivially easy to adjust it to build OpenPLi 2.1.
There are no comments on this page.
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki