Jump to content


Create your own repo feed for your own builds

  • Please log in to reply
2 replies to this topic

#1 serdeliuk

  • Senior Member
  • 312 posts


Posted 7 May 2020 - 06:54

I will not cover here how to create your own build environment for OpenPli as there exists a lot of info on that matter.
So, if you already have a working environment you can follow those steps to create your own repo to install and test your packages on your own machine with opkg install command directly from your build environment.
You will need to install apache on your Ubuntu which is done with following command
sudo apt install apache2
The you will need to start the service with
sudo systemctl start apache2
If you want to have apache started at boot time you will need to run
sudo systemctl enable apache2
Then you will need to find where on your build environment are packages generated, in my case for Vu+ Solo4K are in .....build/tmp/deploy/ipk
Here are 3 folders
You will need to create symlinks (shortcuts) for each folder in /var/www/html , so, go to your ipk folder then create symlinks for each folder as following example
First, find the power directory (actual full path)
The pwd command will display entire path, in my case is 
Use the full path (your own) for all folders to be added to apache webroot creating symlinks as following
ln -s /home/marc/Documents/VUPLUS/openpli-oe-core-7.2/build/tmp/deploy/ipk/all/ /var/www/html/
ln -s /home/marc/Documents/VUPLUS/openpli-oe-core-7.2/build/tmp/deploy/ipk/armv7ahf-neon/ /var/www/html/
ln -s /home/marc/Documents/VUPLUS/openpli-oe-core-7.2/build/tmp/deploy/ipk/vusolo4k/ /var/www/html/
You should be able to access the new repo over the web at http://localhost/all for example
Because the URL does not contain any index files will throw a 404 error, but is fine as long as do not throw other errors, most common could be related to followsymilnk apache configuration which can be by default disabled, then you need to enable that in apache conf and restart apache
Now all is set, you will need to use opkg-utils to create repos for this clone the tools on your machine
git clone git://git.yoctoproject.org/opkg-utils
sudo make install
Then you will need to create packages lists for each folder with ipk files as following
cd /home/marc/Documents/VUPLUS/openpli-oe-core-7.2/build/tmp/deploy/ipk/all/
opkg-make-index . > Packages
gzip -f Packages
Do above 3 steps for each folder which contains ipk files.
Then you need to add on your machine/stb your new repos to /etc/opkg config folder to allow opkg to install from your own repo
First of all backup the original /etc/opkg in a separate folder then create a new one with all config files, one per above folders
touch ms-all-feed.conf
which contain the URL based on your computer's ip address as the following line
src/gz openpli-all
And a feed file for armv7ahf-neon as ms-armv7ahf-neon.conf
src/gz openpli-all
and the last one ms-vusolo4k.conf
src/gz openpli-all
After that, you have your feed configurations ready to be used update the opkg database with following command on your machine
opkg update
Then you can start install packages from your own repo
You can swap between your repo and original image's repo by swap the /etc/opkg folder and issuing an opkg update command, for example if your newly created ipk needs to test auto install dependencies at some point to see what packages can be installed from original feed and which ones should be provided because does not exists there.
Do not forget
- rebuild packages each time you add a new ipk or rebuild a package
- do an opkg update after each package update/rebuild in the feed
- you can swap your opkg folder with the original folder provided by the image, if you forgot to do a backup download your image again and extract the folder from the image

init 2 && init 3

Re: Create your own repo feed for your own builds #2 WanWizard

  • PLi® Core member
  • 63,038 posts


Posted 7 May 2020 - 11:10

I will not cover here how to create your own build environment for OpenPli as there exists a lot of info on that matter.


For those who need is, there is a small howto: https://wiki.openpli..._for_Developers

Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), SAB AlphaTriple HD (S2+T2), (Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will have periods of inactivity, during which I won't respond to posts or PM.

Many answers to your question can be found in our new and improved wiki.

Re: Create your own repo feed for your own builds #3 jpuigs

  • Senior Member
  • 1,123 posts


Posted 7 May 2020 - 12:39

Thanks. Interesting...

Enigma is getting old....



0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users