luci-app-opkg: rework backend operations
authorJo-Philipp Wich <jo@mein.io>
Tue, 3 Mar 2020 14:19:21 +0000 (15:19 +0100)
committerJo-Philipp Wich <jo@mein.io>
Tue, 3 Mar 2020 14:21:48 +0000 (15:21 +0100)
commit9b25031cb29bd59561e550daccb69935834d7d63
tree28f349f51016e2b95caa64221c8927e4bb034e14
parent95804e5eaf917b2026f50ec262c3bae711a6b317
luci-app-opkg: rework backend operations

Introduce a new /usr/libexec/opkg-call helper and invoke it via cgi-io
instead of ubus. This is required to be able to reload rpcd without
timing out currently running opkg ubus calls.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
applications/luci-app-opkg/htdocs/luci-static/resources/view/opkg.js
applications/luci-app-opkg/root/usr/libexec/opkg-call [new file with mode: 0755]
applications/luci-app-opkg/root/usr/libexec/opkg-list [deleted file]
applications/luci-app-opkg/root/usr/share/rpcd/acl.d/luci-app-opkg.json