Springen naar inhoud


Foto

how to make IPK plugin package with OPKG-TOOLS ?


  • Please log in to reply
Er zijn 6 reacties in dit onderwerp

#1 s3n0

  • Senior Member
  • 640 berichten

+62
Good

Geplaatst op 23 mei 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
  • 1982 berichten

+247
Excellent

Geplaatst op 23 mei 2018 - 16:47

You can use https://forums.openp...d-generator-10/ also ;)

Open Vision sources: https://github.com/OpenVisionE2


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

  • Senior Member
  • 101 berichten

+19
Neutral

Geplaatst op 23 mei 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
  • 46951 berichten

+541
Excellent

Geplaatst op 8 juni 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 via SCR switches 2 x 2 x 6 user bands
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
  • 640 berichten

+62
Good

Geplaatst op 9 juni 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 deleted

  • Senior Member
  • 702 berichten

+48
Good

Geplaatst op 15 juni 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
  • 1218 berichten

+80
Good

Geplaatst op 15 juni 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




1 gebruiker(s) lezen dit onderwerp

0 leden, 1 bezoekers, 0 anonieme gebruikers