[PATCH v2] ufpd: import unetmsg.client conditionally
ck at dev.tdt.de
ck at dev.tdt.de
Thu Dec 11 23:35:32 PST 2025
Am 2025-12-04 12:46, schrieb John Crispin:
> what I meant is create a /usr/share/ucode/unetmsg/client.uc file that
> does
>
> export function publish() {};
> export function subscribe() {};
> ......
>
> and then add that to your 23.05 builds
>
> John
I added only stub versions and fragments by trial and error and got ufp
running.
Nonetheless, unetmsg is still in a crash loop because in openwrt-23.05
it wasn't possible
to run:
> function update_acl() {
> let data = ubus.call(libubus.SYSTEM_OBJECT_ACL, "query");
> core.acl_set(data.acl);
> }
This is because SYSTEM_OBJECT_ACL was not defined there.
In my opinion it is cleaner to only include unetmsg.client if it is
marked as dependency and therefore is on the device, because unetmsg
fails also with stub version of a few functions.
What do you think?
Christian
More information about the openwrt-devel
mailing list