How to build OEA 4.4 Images
Posted: Mon Nov 16, 2020 10:18 am
These instructions are good for all OE-Alliance 4.4 images, Droid 7.0, ATV 6.4 ect.
Building Instructions
1 - Install packages on your buildserver
2 - Set your shell to /bin/bash.
When asked: Install dash as /bin/sh?
select "NO"
3 - Use update-alternatives for having gcc redirected automatically to gcc-8
4 - Repair g++ after gcc8 installation
5 - modify max_user_watches
6 - Add user openatvbuilder (Or name of your choice)
7 - Switch to user openatvbuilder
8 - Switch to home of openatvbuilder
9 - Create folder openatv
10 - Switch to folder openatv
11 - Clone oe-alliance git
12 - Switch to folder build-enviroment
13 - Update build-enviroment
14 - Finally you can start building a image
Have fun
Building Instructions
1 - Install packages on your buildserver
Code: Select all
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 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
Code: Select all
sudo dpkg-reconfigure dash
select "NO"
3 - Use update-alternatives for having gcc redirected automatically to gcc-8
Code: Select all
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-7 700 --slave /usr/bin/g++ g++ /usr/bin/g++-7
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-8 800 --slave /usr/bin/g++ g++ /usr/bin/g++-8
Code: Select all
sudo apt-get remove -y g++
sudo apt-get install -y g++
Code: Select all
echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf
sudo sysctl -n -w fs.inotify.max_user_watches=524288
Code: Select all
sudo adduser openatvbuilder
Code: Select all
su openatvbuilder
Code: Select all
cd ~
Code: Select all
mkdir -p ~/openatv
Code: Select all
cd openatv
Code: Select all
git clone git://github.com/oe-alliance/build-enviroment.git -b 4.4
Code: Select all
cd build-enviroment
Code: Select all
make update
Code: Select all
MACHINE=vusolo2 DISTRO=openatv make image