Build your own OpenATV 7.2

Install Ubuntu 22.04
Code:
https://releases.ubuntu.com/22.04.2/ubuntu-22.04.2-live-server-amd64.iso
or
MEGA : https://mega.nz/file/e2AlxLCS#kMakIO3ww3W-2_mh2gy1_QgZvhoAwB0xzAD5a3sHviw


Code:
https://github.com/openatv/enigma2


- Build instructions
Install required packages

Code:
sudo apt-get update
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 git-core gzip help2man info iputils-ping java-common libc6-dev libegl1-mesa libglib2.0-dev libncurses5-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 python-setuptools qemu quilt socat sshpass subversion tar texi2html texinfo unzip wget xsltproc xterm xz-utils zip zlib1g-dev zstd fakeroot lz4


Set python3 as preferred provider for python
Code:
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

Code:
sudo dpkg-reconfigure dash


↳ Select "NO" when asked "Install dash as /bin/sh?"

Modify max_user_watches

Code:
echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf

sudo sysctl -n -w fs.inotify.max_user_watches=524288


Add new user openatvbuilder

Code:
sudo adduser openatvbuilder


Switch to new user openatvbuilder

Code:
su - openatvbuilder


Create folder openatv7.2

Code:
mkdir -p openatv7.2


Switch to folder openatv7.2

Code:
cd openatv7.2


Clone oe-alliance repository

Code:
git clone https://github.com/oe-alliance/build-enviroment.git -b 5.2


Switch to folder build-enviroment

Code:
cd build-enviroment


Update build-enviroment

Code:
make update


Finally, you can either:

Build an image with feed (build time 5-12h)

Code:
MACHINE=dm8000 DISTRO=openatv DISTRO_TYPE=release make image


Build an image without feed (build time 1-2h)

Code:
MACHINE=dm8000 DISTRO=openatv DISTRO_TYPE=release make enigma2-image


Build the feeds

Code:
MACHINE=dm8000 DISTRO=openatv DISTRO_TYPE=release make feeds


Build specific packages

Code:
MACHINE=dm8000 DISTRO=openatv DISTRO_TYPE=release make init

cd builds/openatv/release/zgemmah9combo/

source env.source

bitbake nfs-utils rcpbind ...


More (SSH retro compatible):
Code:
In : /etc/ssh/sshd_config

PubkeyAuthentication yes
PubkeyAcceptedKeyTypes=+ssh-rsa

Ciphers 3des-cbc,aes128-cbc,aes192-cbc,aes256-cbc,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com,chacha20-poly1305@openssh.com
MACs hmac-sha1,hmac-sha1-96,hmac-sha2-256,hmac-sha2-512,hmac-md5,hmac-md5-96,umac-64@openssh.com,umac-128@openssh.com,hmac-sha1-etm@openssh.com,hmac-sha1-96-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-md5-etm@openssh.com,hmac-md5-96-etm@openssh.com,umac-64-etm@openssh.com,umac-128-etm@openssh.com
HostKeyAlgorithms ssh-ed25519,ssh-ed25519-cert-v01@openssh.com,sk-ssh-ed25519@openssh.com,sk-ssh-ed25519-cert-v01@openssh.com,ssh-rsa,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ecdsa-sha2-nistp256@openssh.com,ssh-rsa-cert-v01@openssh.com,ssh-dss-cert-v01@openssh.com,ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,sk-ecdsa-sha2-nistp256-cert-v01@openssh.com
KexAlgorithms diffie-hellman-group1-sha1,diffie-hellman-group14-sha1,diffie-hellman-group14-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group-exchange-sha1,diffie-hellman-group-exchange-sha256,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,curve25519-sha256,curve25519-sha256@libssh.org,sntrup761x25519-sha512@openssh.com


relaunch ssh
sudo systemctl start ssh

Then send commands :
ssh-keygen -o -a 100 -t ed25519 -f ~/.ssh/id_ed25519 -C "comment"
ssh-keygen -t rsa-sha2-256 -b 4096 -f ~/.ssh/id_rsa2_256 -C "comment"
ssh-keygen -t rsa-sha2-512 -b 4096 -f ~/.ssh/id_rsa2_512 -C "comment"


Code:
Extra help :
sudo visudo 
then add : openatvbuilder ALL=(ALL) NOPASSWD:ALL
sudo passwd -d openatvbuilder
sudo locale-gen en_US.UTF-8
sudo update-locale LANG=en_US.UTF-8
_________________________