purge bmx6; adapt ubus-lime-metrics and utils to apk#1245
purge bmx6; adapt ubus-lime-metrics and utils to apk#1245ilario merged 4 commits intolibremesh:masterfrom
Conversation
Do not rely on opkg control files which could be removed by CONFIG_CLEAN_IPKG Also do not rely on opkg itself since the package manager in openwrt-25.12 is apk.
Do not rely on opkg control files which could be removed by CONFIG_CLEAN_IPKG Also do not rely on opkg itself since the package manager in openwrt-25.12 is apk. With this and the previous commit the cli command last_internet and the lime-app tab 'Metrics' are fixed for devices compiled with CONFIG_CLEAN_IPKG or running openwrt-25.12 or SNAPSHOT.
The package is i.e. pulled in by owut. Let's include it by default, to allow users to compile without opkg or without apk
4eceeda to
d3b9d62
Compare
|
splitted a line too long in lime utils https://github.com/libremesh/lime-packages/compare/4eceeda5ceb8565fce46a761ce99f779e506ad85..d3b9d62006b3ba99097e68af624add00cbb0a7ed |
|
Tested the new I just don't understand this:
Is this expected to now work on OpenWrt 23.05? The package |
Sorry edited the description I was thinking it was by default included in 24.10 and not in 23.05, but it is not a default package neither in 24.10.. Confirm this: "added also rpcd-mod-rpcsys to lime-system dependency to allow users to compile without opkg and with CONFIG_CLEAN_IPKG and to avoid implementing the previous check for apk which has a different db for packages info" |
|
Excellent work! Thanks! |
utils: better check if pkg is installed
ubus-lime-metrics: better check if babeld is installed
bmx6: purge package
NOTE: this drop support for openwrt-23.05 since the packagerpcd-mod-rpcsyswas not installed by defaultI was thinking it was by default included in 24.10 and not in 23.05, but it is not a default package.. it was installed on my device because i'm using owut which pulls it in.
Edit: added also rpcd-mod-rpcsys to lime-system dependency to allow users to compile without opkg and with CONFIG_CLEAN_IPKG and to avoid implementing the previous check for apk which has a different db for packages info