https://www.linuxsat-support.com/thread/4957-how-to-create-ipk-file-on-enigma2-based-receivers/?postID=519252#post519252 wrote:Unfortunately, in most Enigma firmware, the "ar" tool is included in Busybox only as a very simple tool (with missing features). For example, in OpenPLi-7, Busybox is currently in v1.24.1. The lightweight version of "ar" in this Busybox does not support the file combining argument (ar -r as for example) .
Newer Busybox v1.29.2, which is already in OpenATV 6.3 firmware, already supports this argument (ar -r). However, it is still a lightweight "ar" version.
For this purpose it is possible to copy the alternative binary "ar" or the alternative complete newer Busybox (also as a binary, for a specific chipset). The busybox is located in the "/bin" directory and the "ar" tool is located in the "/usr/bin" directory. In both cases, as usually the sym-link link is used in most Enigma (the "ar" tool is called from Busybox and not directly as a binary file). I don't recommend overwriting "/bin/busybox*" files due to possible compatibility issues in some firmwares. Conversely, you can override the "/usr/bin/ar" tool (if you have the right binary file for your chipset!)
Also found out the hard way that control files need to have a linefeed at the end of each line, not carriage return + line feed (as all Windows text editors use). Otherwise the control file won't work and you'll get an error message "Error: Package name contains illegal characters".