RUTX OS Package format `ipk_file`

Hi,

I’d like to build a custom tar.gz package bundle wrapping my own ipk such that users can install it via the RUTX web UI.

I know I can upload a custom .ipk file and install via opkg via the command line, but for convenience I’d like to be able to do so via the webui. I know the resulting package won’t be signed by teltonika - that’s fine for my use case.

I’ve had a look at the official packages, e.g. https://opkg.teltonika-networks.com/0d1f6f83d1cc69cd2d67d9fabc4687633fb963cac1e6bec01ef02dbb77ee7e05/wiki/socat.tar.gz and can see that it’s just a tar.gz of the ipk (+ any dependencies, plus a main and main.sig file - but I’m stuck trying to work out the format of the main file, specifically ipk_file lines.

E.g. for the above package:

Package: socat
Version: 1.7.3.4-2
Router: RUTX
Firmware: RUTX_R_00.07.14
tlt_name: socat
ipk_file: socat_1.7.3.4-2_arm_cortex-a7_neon-vfpv4.ipk:749b1c90cf3fe6f9833edb93216dac0dec1ebb794763fec89e0351abb1c1fc1d
ipk_deps:

clearly the text after the ipk filename is some sort of hash - but I can’t find a hash function that gets that string when run on socat_1.7.3.4-2_arm_cortex-a7_neon-vfpv4.ipk!

Download SDK and read the file in vuci-examples folder called README.

Hello @wlcx,

Apologies for the delayed response.

Could you please confirm whether your issue has been resolved or if you still require any assistance?

Best regards,