Hello.
I also use my own bash script to create .ipk / .deb packages. If anyone is interested, you can find the script on my github here:
https://github.com/s3n0/e2scri…by_s3n0_for_ProjectXYZ.sh
The problem is mainly the functionality of the "ar" tool used for final combining files into .ipk / .deb package.
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!). Remember to set the attributes after copying ... for example:
chmod 755 /bin/busybox_ or for example chmod 755 /usr/lib/libbfd-2.25-system.so /usr/bin/ar_.
Calling busybox commands is very easy, for example:
busybox ar --help
busybox ls -l /tmp
Or if you add another alternative busybox for your chipset, for example as the file "/bin/busybox_":
busybox_ ls /etc
/bin/busybox_ ls -al /etc
Busybox download for all architectures (open the "defconfig-multiarch-musl" directory):
https://busybox.net/downloads/binaries/
Busybox 1.31.0:
https://busybox.net/downloads/…defconfig-multiarch-musl/
"ar" for mipsel (standalone version):
"ar" for arm (not standalone version - attached a library file for the "/usr/lib" directory!):
