Skip to content

Hains/openpli-dm920-python3

Repository files navigation

Build environment for dreambox 920 with Python 3.

-Submodules bitbake, openembedded-core and meta-openembedded from master branch,
 with git snapshot of November 5, 2024.
-GCC 14.2.0
-Glibc 2.40
-GStreamer 1.24.6
-Python 3.13.0
-OpenSSL 3.3.1
-Busybox 1.37.0
and more.

Tested with Ubuntu 24.10.

Dependencies:

sudo apt install -y autoconf automake bison bzip2 cvs default-jre diffstat flex g++ gawk gcc gettext git git-lfs gzip help2man make ncurses-bin lib32ncurses-dev libc6-dev libtool lz4 texinfo patch perl pkg-config subversion tar texi2html zlib1g-dev chrpath libxml2-utils xsltproc libglib2.0-dev python3-setuptools libc6-i386 genromfs guile-2.2-libs quilt zstd

Note Ubuntu 24.04 LTS and 24.10!

Due to new security features, add new /etc/sysctl.d/60-apparmor-namespace.conf file with the following contents:

kernel.apparmor_restrict_unprivileged_userns=0

See: https://discourse.ubuntu.com/t/ubuntu-24-04-lts-noble-numbat-release-notes/39890



To build image:

git clone https://github.com/Hains/openpli-dm920-python3.git

cd openpli-dm920-python3

make image


When the build is finished, the openpli-enigma2-14.2-dm920.tar.bz2 image file is located in the:

build/tmp/deploy/images/dm920/

directory.


To build feed:

make feed


To update your box, install Apache2:

sudo apt install apache2

Create symlinks to your build-environment:

cd /var/www/html

sudo mkdir feeds;cd feeds;sudo mkdir openpli-python3;cd openpli-python3;

sudo ln -s /home/<your username>/openpli-dm920-python3/build/tmp/deploy/ipk/dm920 dm920 

sudo ln -s /home/<your username>/openpli-dm920-python3/build/tmp/deploy/ipk/all all

sudo ln -s /home/<your username>/openpli-dm920-python3/build/tmp/deploy/ipk/cortexa15hf-neon-vfpv4 cortexa15hf-neon-vfpv4

With recent Apache2, fix file permission problem with symlinks:

sudo chown -Rf <username> openpli-dm920-python3/build/tmp/deploy/ipk


Add hostname or ip address to the site.conf file (file exist after make command), e.g. at the end of the file.

DISTRO_HOST = " <your ip address or hostname> "


To update the image, run:

make image                         // update image only.

or

make feed                          // update image and feed.


To update build-environment including all submodules, run:

make update

==========================================================