diff options
author | Christian Marangi <ansuelsmth@gmail.com> | 2024-11-16 18:16:20 +0100 |
---|---|---|
committer | Christian Marangi <ansuelsmth@gmail.com> | 2024-11-17 14:50:11 +0100 |
commit | ea8b7aa5ee2e9c07ea85918a3a35e37d4b170cd7 (patch) | |
tree | 46505b38b9d0ac4f3d463fd439989d93774a205a /applications/luci-app-package-manager/root/usr/share | |
parent | cfa774ee72d12e1326933efd6eb8abc1ef61c9d5 (diff) |
luci-app-package-manager: support new APK repositories.d configs
Support new APK repositories.d configs following OPKG was to better
split distfeeds and customfeeds.
Support for ""legacy"" repositories is kept to support migration period
and to support custom scenario where user use this file instead.
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Diffstat (limited to 'applications/luci-app-package-manager/root/usr/share')
-rw-r--r-- | applications/luci-app-package-manager/root/usr/share/rpcd/acl.d/luci-app-package-manager.json | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/applications/luci-app-package-manager/root/usr/share/rpcd/acl.d/luci-app-package-manager.json b/applications/luci-app-package-manager/root/usr/share/rpcd/acl.d/luci-app-package-manager.json index e421238959..8d551860e8 100644 --- a/applications/luci-app-package-manager/root/usr/share/rpcd/acl.d/luci-app-package-manager.json +++ b/applications/luci-app-package-manager/root/usr/share/rpcd/acl.d/luci-app-package-manager.json @@ -8,7 +8,9 @@ "/usr/libexec/package-manager-call list-available": [ "exec" ], "/etc/opkg.conf": [ "read" ], "/etc/opkg/*.conf": [ "read" ], - "/etc/apk/repositories": [ "read" ] + "/etc/apk/repositories": [ "read" ], + "/etc/apk/repositories.d/distfeeds.list": [ "read" ], + "/etc/apk/repositories.d/customfeeds.list": [ "read" ] }, "ubus": { "luci": [ "getMountPoints" ] @@ -25,6 +27,8 @@ "/etc/opkg.conf": [ "write" ], "/etc/opkg/*.conf": [ "write" ], "/etc/apk/repositories": [ "write" ], + "/etc/apk/repositories.d/distfeeds.list": [ "write" ], + "/etc/apk/repositories.d/customfeeds.list": [ "write" ], "/tmp/upload.ipk": [ "write" ], "/tmp/upload.apk": [ "write" ] } |