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.