Jump to content


Photo

how to make IPK plugin package with OPKG-TOOLS ?


  • Please log in to reply
6 replies to this topic

#1 s3n0

  • Senior Member
  • 108 posts

+10
Neutral

Posted 23 May 2018 - 16:13

Hello,

I can not find instructions on how to create an IPK package with opkg-tools. Does anyone know about the opkg-tools? Or at least examples for using opkg-tools? I do not want to study the opkg-tools source code or Bash scripts for a whole day.

I can create IPK manually (pack all necessary files). However, the problem is that the preinst and postinst bash scripts are malfunctioning in control.tar(.gz). However, the header of my IPK does not resemble standard IPK header lines.

Standard IPK packages begin with this code (hex editor view):

!<arch>
debian-binary/  1488921818  0     0     100644  4         `
2.0
data.tar.gz/    1488921818  0     0     100644  25440     `
‹

Unfortunately, my IPK package starts as follows:

‹     í›S&Ěłć›Óć´m۶mŰÖŰv÷´msÚ¶m{ÚÖ´mľűť±±çbĎŐžŐ˙w

Bash script to make IPK plugin package (archive):

#!/bin/sh
cd /tmp/Test
tar zcpv -f enigma2-plugin-test-1.0.ipk control.tar.gz data.tar.gz debian-binary

Thanks.

 

 



Re: how to make IPK plugin package with OPKG-TOOLS ? #2 Persian Prince

  • Senior Member
  • 1,496 posts

+200
Excellent

Posted 23 May 2018 - 16:47

You can use https://forums.openp...d-generator-10/ also ;)
If you like my post click on green arrow :)

Re: how to make IPK plugin package with OPKG-TOOLS ? #3 LraiZer

  • Senior Member
  • 66 posts

+10
Neutral

Posted 23 May 2018 - 20:39

There are some .ipk unpack/repack bash scripts that add select options to the nautilus browser menu in Ubuntu in this thread here.



Re: how to make IPK plugin package with OPKG-TOOLS ? #4 Erik Slagter

  • PLi® Core member
  • 42,943 posts

+464
Excellent

Posted 8 June 2018 - 15:12

The normal way to generate an IPK file is to create an OE bitbake recipe and have it build by OE.


* Wavefrontier T90 with 28E/23E/19E/13E/9E/4.8E/0.8W/5W via SCR switches 2 x 2 x 6 user bands
* Ziggo digital cable TV (FTA)

I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.

Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.


Re: how to make IPK plugin package with OPKG-TOOLS ? #5 s3n0

  • Senior Member
  • 108 posts

+10
Neutral

Posted 9 June 2018 - 11:44

Thanks. Unfortunately bitbake recipes I do not know yet and I do not know how to create them.

:blink:



Re: how to make IPK plugin package with OPKG-TOOLS ? #6 ocram

  • Senior Member
  • 698 posts

+47
Good

Posted 15 June 2018 - 11:56

https://gitlab.com/p...s/ipkg-build.sh

 

https://gitlab.com/p...-picons.sh#L231



Re: how to make IPK plugin package with OPKG-TOOLS ? #7 mrvica

  • Senior Member
  • 559 posts

+28
Good

Posted 15 June 2018 - 12:28

you need ar, not the busybox one, you need the ar extra binary, aprox. 2.8 Mb, I don´t konow if some tar versions can do ar, I ´ve read something about it, anyway not that busybox one, @WanWizard said in another thread, there is no tar with ar compression yet, he could be right






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users