Skip navigation

Beginning from STB software version 0.2.18, all customizations of the Embedded portal must be made using source codes of the portal. After all customizations complete, it should be done compiling and minimization of the source code of the portal. After compiling and minimization, all files of the portal could be placed in a home directory for further image-making. Source code of the Embedded portal, portal-dev-*.tgz is in a directory with current release at soft.infomir.com.

  • Download full packages of portal's source codes (portal-dev-*.tgz is in the directory with current release http://soft.infomir.com);
  • Complete necessary customizations of the portal;
  • Make portal compiling
  • Place compiled portal version to rootfs directory.

Necessary packages

  • python-software-properties
  • node.js
  • git
  • npm

Installation

Example for Ubuntu Server 12.04:

apt-get install -y python-software-properties && add-apt-repository -y ppa:chris-lea/node.js
apt-get update && apt-get install -y nodejs git npm

Example for Ubuntu Server 14.04:

apt-get update && apt-get install -y python-software-properties nodejs git npm

Compiling

  • Open tools directory (tools directory is in the directory with portal source code);
  • Set all dependencies with running the command
npm install
  • Run compiling script
./build.release.sh
  • After compiling, a compiled portal version will be put into mini directory.

Further STB image making

In order to further STB image making, place a compiled portal version (files from mini directory) into the folowing directories:

  • For MAG250/254/275 - <rootfs>/home/web/
  • For MAG256, 322 and all subsequent models - <rootfs>/usr/local/share/app/web/


Need Help

Dave is an expert on the MAG STB and the author of this article.

Was this article helpful?

Yes No

Sorry to hear that.
How can we improve this article?

We use cookies in order to optimise our website, provide you with the best possible user experience and help us promote our products. Please read our Cookie Policy to find out how we use cookies and how you can control cookies.
By using this website or closing this message, you acknowledge our Privacy Policy and agree to our use of cookies as described in our Cookie Policy.