Build your own OpenPLi 5 (master-next) Image

Here is a little guide for those that are interested in building their own images, this builds the latest OpenPli (master-next) using my own fork to which i altered only to add essential items allowing you to use your image immediately after flashing. No feeds are built but it is easily possible to add these later if desired, this greatly reduces the time taken to build the image which is approx 4800 tasks compared to 11000+ for an OE Alliance based build.

VU+Uno4K & Ultimo4K are not supported atm but all other machines have been tested & builds completed without errors. I used a clean install Ubuntu 14.04 server edition for these tests so suggest you use the same.

Additional items added to the build are as follows.
DirtyDonki Full Motor Settings 05/01/2017
EPG Importer
Mount Manager
AutoBouqetsMaker
Oscam

Lets Begin
Open Terminal
1. First install all packages required for the build enviroment.

Quote:
sudo apt-get install -y autoconf automake bison bzip2 chrpath coreutils cvs default-jre default-jre-headless diffstat flex g++ gawk gcc gettext git-core gzip help2man htop info java-common libc6-dev libglib2.0-dev libperl4-corelibs-perl libproc-processtable-perl libtool libxml2-utils make ncdu ncurses-bin ncurses-dev patch perl pkg-config po4a python-setuptools quilt sgmltools-lite sshpass subversion swig tar texi2html texinfo wget xsltproc zip zlib1g-dev


2. Reconfigure dash

Quote:
sudo dpkg-reconfigure dash


Choose NO at the prompt.

3. Running bitbake as root user is not permitted to prevent damage to your system so create a username of your choice.

Quote:
sudo adduser openpli5user


add password then confirm it is correct, other details can be skipped.

4. Switch to your new user

Quote:
su openpli5user


5. Switch to the home directory of your new user.

Quote:
cd ~


6. Download the build environment.

Quote:


or OpenPLi 6.0 RC



7. Enter then set it up.

Quote:
cd openpli-oe-core;make


8. Enter the build directory.

Quote:
cd build


9. Preperation.

Quote:
source env.source


10. Finally build your image changing MACHINE=vusolo2 to the one which you want to build for. (enter box name in lower case)

Quote:
MACHINE=vusolo2 bitbake openpli-enigma2-image


How long building takes depends on your pc, a dual core machine will handle 2 tasks at once, a quad 4 and so on.
When all tasks complete you can retrieve your newly compiled image from the following directory.

Quote:
/home/username/openpli-oe-core/build/tmp/deploy/images/vu****




Get Error log : journalctl -fu enigma2

On 22.04 :
Code:
sudo apt-get install -y autoconf automake bison bzip2 chrpath coreutils cvs default-jre default-jre-headless diffstat flex g++ gawk gcc gettext git-core gzip help2man htop info java-common libc6-dev libglib2.0-dev libperl4-corelibs-perl libproc-processtable-perl libtool libxml2-utils make ncdu ncurses-bin ncurses-dev patch perl pkg-config po4a python-setuptools quilt sshpass subversion swig tar texi2html texinfo wget xsltproc zip zlib1g-dev --fix-missing

sudo apt update
sudo apt --fix-broken install

sudo apt install default-jre
sudo apt install openjdk-11-jre-headless
sudo apt install openjdk-17-jre-headless
sudo apt install openjdk-18-jre-headless
sudo apt install openjdk-8-jre-headless

sudo locale-gen en_US.UTF-8


Attachments
shot1.jpg (690 downloads)

_________________________
Get your Japhar Sim from http://www.japhar.com/japhar/