Ah thatās good to know. But can there just a be hash and no date as well? For instance one ipk version is fdb2dee-1, another version is cdee4af640bdcf3299490ea16f256ad2ebaa06cc-1.
Hmm, I was getting these errors:
WARNING: opening from cache https://downloads.openwrt.org/snapshots/targets/ipq40xx/generic/packages/packages.adb: No such file or directory
WARNING: opening from cache https://downloads.openwrt.org/snapshots/packages/arm_cortex-a7_neon-vfpv4/base/packages.adb: No such file or directory
WARNING: opening from cache https://downloads.openwrt.org/snapshots/packages/arm_cortex-a7_neon-vfpv4/luci/packages.adb: No such file or directory
WARNING: opening from cache https://downloads.openwrt.org/snapshots/packages/arm_cortex-a7_neon-vfpv4/packages/packages.adb: No such file or directory
WARNING: opening from cache https://downloads.openwrt.org/snapshots/packages/arm_cortex-a7_neon-vfpv4/routing/packages.adb: No such file or directory
WARNING: opening from cache https://downloads.openwrt.org/snapshots/packages/arm_cortex-a7_neon-vfpv4/telephony/packages.adb: No such file or directory
WARNING: opening from cache https://downloads.openwrt.org/snapshots/packages/arm_cortex-a7_neon-vfpv4/video/packages.adb: No such file or directory
ERROR: unable to select packages:
base-files, (no such package):
required by: delos-base-files-1.0-r7[base-files,]
delos-device-name, (no such package):
required by: delos-base-files-1.0-r7[delos-device-name,]
libc, (no such package):
required by: delos-base-files-1.0-r7[libc,] delos-device-name-0.0_p20230906[libc,] devolo-shared-configlayer-2.34.1[libc,] dlan2-fw-flashless-2400-ac-001-r4[libc,]
dlan2-tools-0.0_p20230906[libc,] ghn-flashless-001-r4[libc,] ghn-host-0.0_p20230906[libc,] posix-timezone-db-2021a-r2[libc,]
libssp, (no such package):
required by: delos-base-files-1.0-r7[libssp,] devolo-shared-configlayer-2.34.1[libssp,] dlan2-fw-flashless-2400-ac-001-r4[libssp,]
dlan2-tools-0.0_p20230906[libssp,] ghn-flashless-001-r4[libssp,] ghn-host-0.0_p20230906[libssp,]
posix-timezone-db, (no such package):
required by: delos-base-files-1.0-r7[posix-timezone-db,]
uci, (no such package):
required by: delos-base-files-1.0-r7[uci,]
libpthread, (no such package):
required by: dlan2-tools-0.0_p20230906[libpthread,] ghn-host-0.0_p20230906[libpthread,]
ghn-flashless, (no such package):
required by: dlan2-fw-flashless-2400-ac-001-r4[ghn-flashless,]
dlan2-tools, (no such package):
required by: ghn-flashless-001-r4[dlan2-tools,]
ghn-host, (no such package):
required by: ghn-flashless-001-r4[ghn-host,]
libblobmsg-json, (no such package):
required by: ghn-host-0.0_p20230906[libblobmsg-json,]
libubox, (no such package):
required by: ghn-host-0.0_p20230906[libubox,]
libubus, (no such package):
required by: ghn-host-0.0_p20230906[libubus,]
libuci, (no such package):
required by: ghn-host-0.0_p20230906[libuci,]
It could also be my unclean environment though (I had used opkg before) or maybe some odd character sneaking in with the conversion?
To get around the library version in the filename, the script runs patchelf to patch all library references to point to the right library versions. (In the Devolo firmware the libraries have no versions in their filename.)
Unfortunately this only works for the ARM (next) version of the device. There is an older MIPS (v1) version and its firmware is based on uClibc while OpenWrt uses musl instead. To get those binaries to run the script also creates packages for all the uClibc library dependencies when targeting that deviceā¦
(Getting G.hn itself going needs more work though, probably a DSA portā¦)