Active Build Status - shows which box is currently being built
Ubuntu 24.04 LTS (GNU/Linux 6.8.0-31-generic x86_64)
RAM: 16GB
SWAP: 8GB
CPU: Multi core\thread Model
HDD: for Single Build 250GB Free, for Multibuild 500GB or more
Install required packages
sudo apt-get install -y autoconf automake bison bzip2 chrpath coreutils cpio curl cvs debianutils default-jre default-jre-headless diffstat flex g++ gawk gcc gcc-12 gcc-multilib g++-multilib gettext git gzip help2man info iputils-ping java-common libc6-dev libglib2.0-dev libncurses-dev libperl4-corelibs-perl libproc-processtable-perl libsdl1.2-dev libserf-dev libtool libxml2-utils make ncurses-bin patch perl pkg-config psmisc python3 python3-git python3-jinja2 python3-pexpect python3-pip python3-setuptools quilt socat sshpass subversion tar texi2html texinfo unzip wget xsltproc xterm xz-utils zip zlib1g-dev zstd fakeroot lz4 git-lfs
Set python3
as preferred provider for python
sudo update-alternatives --install /usr/bin/python python /usr/bin/python2 1
sudo update-alternatives --install /usr/bin/python python /usr/bin/python3 2
sudo update-alternatives --config python
↳ Select python3
Set your shell to /bin/bash
sudo ln -sf /bin/bash /bin/sh
Modify max_user_watches
echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf
sudo sysctl -n -w fs.inotify.max_user_watches=524288
Remove AppArmor to accelerate the build process.
sudo apparmor_status
sudo systemctl stop apparmor
sudo systemctl disable apparmor
sudo apt purge apparmor
Add new user openatvbuilder
sudo adduser openatvbuilder
Switch to new user openatvbuilder
su - openatvbuilder
Add your git user and email
git config --global user.email "you@example.com"
git config --global user.name "Your Name"
Create folder openatv7.4
mkdir -p openatv7.4
Switch to folder openatv7.4
cd openatv7.4
Clone oe-alliance repository
git clone https://github.com/oe-alliance/build-enviroment.git -b 5.4
Switch to folder build-enviroment
cd build-enviroment
Update build-enviroment
make update
Finally, you can either:
Build an image with feed (build time 5-12h)
MACHINE=zgemmah9combo DISTRO=openatv DISTRO_TYPE=release make image
Build an image without feed (build time 1-2h)
MACHINE=zgemmah9combo DISTRO=openatv DISTRO_TYPE=release make enigma2-image
Build the feeds
MACHINE=zgemmah9combo DISTRO=openatv DISTRO_TYPE=release make feeds
Build specific packages
MACHINE=zgemmah9combo DISTRO=openatv DISTRO_TYPE=release make init
cd builds/openatv/release/zgemmah9combo/
source env.source
bitbake nfs-utils rpcbind ...