[pkgmgr] Parse rpk's "model_description.json" to fill app_info and register
authorYongjoo Ahn <yongjoo1.ahn@samsung.com>
Mon, 17 Apr 2023 06:39:28 +0000 (15:39 +0900)
committerSangjung Woo <again4you@gmail.com>
Thu, 20 Apr 2023 03:12:13 +0000 (12:12 +0900)
commit21a6ca8176839db3efdb733bf535a85b87cf6ecc
tree75ce13c470d59b6d8fc873d3e56b35f6c644a6ea
parent751109aa9e2e92b497535698a014bbe2e1a07db7
[pkgmgr] Parse rpk's "model_description.json" to fill app_info and register

- When rpk is installed, parse the provided model_description.json file
  and register models described in the json.

TODO: Handle when the rpk package is removed or updated.

Signed-off-by: Yongjoo Ahn <yongjoo1.ahn@samsung.com>
daemon/includes/pkg-mgr.h
daemon/meson.build
daemon/pkg-mgr.c [deleted file]
daemon/pkg-mgr.cc [new file with mode: 0644]