technic / enigma2-atv

openatv-gui

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

openATV 7.0 (still in development!)

Build status

Build status enigma2 build

Translation status

Translation status

Build server specs

Current OS

Ubuntu 20.04.3 LTS (Kernel 5.4.0) 64-bit

Hardware requirements

RAM: 16GB

SWAP: 8GB

CPU: Multi core\thread Model

HDD: for Single Build 250GB Free, for Multibuild 500GB or more

Git repositories involved

Build instructions

  1. 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-8 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
  2. 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
  3. Set your shell to /bin/bash

    sudo dpkg-reconfigure dash
    ↳ Select "NO" when asked "Install dash as /bin/sh?"
  4. 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
  5. Add new user openatvbuilder

    sudo adduser openatvbuilder
  6. Switch to new user openatvbuilder

    su - openatvbuilder
  7. Create folder openatv7.0

    mkdir -p openatv7.0
  8. Switch to folder openatv7.0

    cd openatv7.0
  9. Clone oe-alliance repository

    git clone git://github.com/oe-alliance/build-enviroment.git -b 5.0
  10. Switch to folder build-enviroment

    cd build-enviroment
  11. Update build-enviroment

    make update
  12. 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 rcpbind ...

About

openatv-gui

License:GNU General Public License v2.0


Languages

Language:Python 57.8%Language:C++ 31.5%Language:C 8.4%Language:M4 1.1%Language:SWIG 0.5%Language:Makefile 0.4%Language:Shell 0.1%Language:BitBake 0.0%