Plugin Tutorial IPKG-Tools

Ten Below

SuperTux
Staff member
Admin
Sep 9, 2014
7,898
7,767
628
@vuplusimages
vuplus-images.co.uk
IPKG-Tools


Here is a very handy tool for creating ipk files on an enigma2 based receiver, this version installs to /media/hdd/ with your workspace being /media/hdd/ipkg-tools/ i have included a sample folder so you can see the correct structure required & what you need in the required control file.


To build an ipk we use telnet commands, first move to the work directory.
Code:
cd /media/hdd/ipkg-tools/

Next build with ipkg-build FOLDER NAME

Look at the attached sample folder, with this sitting in your ipkg-tools directory the correct command would be.
Code:
ipkg-build enigma2-logo-vupluslogo

build.jpg

Ftp to /media/hdd/ipkg-tools/ to retrieve you newly built ipk file.

We can also unbuild(extract) ipk files with the ipkg-unbuild command

ipkg-unbuild FULL IPK FILENAME

As an example lets do the one we just built.
Code:
ipkg-unbuild enigma2-logo-vupluslogo_vuplusimages_all.ipk

unb.jpg

Again you will find the folder containing your unbuilt ipk in the /media/hdd/ipkg-tools/ directory.

Remember this
Chmod(set permissions)755 on all folders when building your ipk.
Set the control file within the CONTROL folder to 755.
Do not use uppercase or unusual letters/symbols as your ipk folders title or building will fail.
The package name listed in the control file must exactly match the name of the parent folder of your ipk file or building will fail.

Good luck any questions are welcome.
:beer10:
 

Attachments

Last edited:
Hi supertux
Thanks for this wonderful tut..I presume its a HDD installed in enigma2 box
I personally do not use HDD,but flash drive/usb stick
Can i still install and use the <<ipkg-tools-ipk>> plugin to work with flash drives??
Thanks:confused:
 
  • Like
Reactions: majz
Hi supertux
Thanks for this wonderful tut..I presume its a HDD installed in enigma2 box
I personally do not use HDD,but flash drive/usb stick
Can i still install and use the <<ipkg-tools-ipk>> plugin to work with flash drives??
Thanks:confused:
Yes mate you can mount your flash drive as /media/hdd/ or if you prefer it is simple enough for me to make another ipk for usb. The script uses the whatever installed to directory as root so its just a case of renaming the hdd directory to usb then rebuilding the ipk.
 
Most up-to-date version 1.4
 

Attachments