Plugin Tutorial IPKG-Tools

Ten Below

SuperTux
Staff member
Admin
Moderator
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:
Please, Log in or Register to view codes content!
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:
Please, Log in or Register to view codes content!
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:
Please, Log in or Register to view codes content!
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:
E

esuo2

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:
 

Ten Below

SuperTux
Staff member
Admin
Moderator
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.
 
E

esuo2

Please could u be kind to build for usb flash drives....
thanks
 

majz

Vuplus-Images Elite
Significant Contributor
IPKG-Tools


Not really plugin development but this seems the most appropriate section ,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:
Please, Log in or Register to view codes content!
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:
Please, Log in or Register to view codes content!
View attachment 486

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:
Please, Log in or Register to view codes content!
View attachment 487

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.
:beer:
Thanks Ten Below
A great post just tried it and it works great first time
 
Top Bottom