An ubus RPC daemon for Liminix
Find a file
Justin Klaassen 8ef4c2587a sys: use "Auto-Installed" field for packagelist
A change to the build scripts (openwrt/openwrt#14428) removed the "user" flag
from all installed packages in the rootfs. This caused problems for tools
like "auc" which rely on the rpcd packagelist command to determine which
packages to request when building a new image.

This change modifies the packagelist implementation to use the "Auto-Installed"
field rather than the "user" flag in order to filter dependencies from the
returned list of packages. The resulting package list is identical without
relying on the semantics of the "user" flag which is typically used to
indicate which packages have been interactively installed by the user.

Signed-off-by: Justin Klaassen <justin@tidylabs.app>
[use 'bool' instead of 'int' type for booleans]
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2024-02-22 19:07:37 +00:00
examples/ucode ucode: parse ucode plugin scripts in raw mode, init search path 2022-08-12 21:14:27 +02:00
include/rpcd build: honour CMake install prefix in hardcoded paths 2021-12-08 20:09:24 +01:00
CMakeLists.txt ucode: add ucode interpreter plugin 2021-12-08 20:09:24 +01:00
exec.c exec: always call finish_cb to allow plugin to free up memory 2019-10-29 09:24:46 +01:00
file.c file: strengthen exec access control 2023-06-25 18:46:59 +02:00
iwinfo.c iwinfo: update byte counter to 64bit 2023-06-25 22:03:39 +02:00
main.c rc: new ubus object for handling /etc/init.d/ scripts 2020-09-10 13:18:09 +02:00
plugin.c ucode: add ucode interpreter plugin 2021-12-08 20:09:24 +01:00
rc.c rc: add option to get info for a single script in list method 2023-01-31 16:11:24 +01:00
session.c treewide: adjust ubus object type names 2021-12-08 20:09:24 +01:00
sys.c sys: use "Auto-Installed" field for packagelist 2024-02-22 19:07:37 +00:00
uci.c treewide: adjust ubus object type names 2021-12-08 20:09:24 +01:00
ucode.c ucode: write ucode runtime exceptions to stderr 2022-09-21 23:25:00 +02:00
unauthenticated.json session: setup a persistent NULL section and implement login procedure 2013-09-10 19:56:36 +02:00