summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-attendedsysupgrade/root/usr/share/rpcd/acl.d
diff options
context:
space:
mode:
authorPaul Spooren <mail@aparcar.org>2022-03-21 11:44:11 +0000
committerPaul Spooren <mail@aparcar.org>2022-03-22 22:33:33 +0000
commit8936e3c386e77c2dc090dbbd5a87907196f9149b (patch)
tree4280dd73c3a3c76a11dbea7ae3c4778dbeddade0 /applications/luci-app-attendedsysupgrade/root/usr/share/rpcd/acl.d
parentfe9aa934bacb1128819d34feee41a1292c17e700 (diff)
luci-app-attendedsysupgrade: request filesystem
It is possible to request a specific filesystem so no other filesystems are used. This speeds up the build process and may prevent failures in edge cases. A recent edge case is installing more packages than ext4 can handle while squashfs works fine due to compression. Since `rootfs_type` is now always available via `procd`, remove the hack of reading `/proc/mounts`. Signed-off-by: Paul Spooren <mail@aparcar.org>
Diffstat (limited to 'applications/luci-app-attendedsysupgrade/root/usr/share/rpcd/acl.d')
-rw-r--r--applications/luci-app-attendedsysupgrade/root/usr/share/rpcd/acl.d/luci-app-attendedsysupgrade.json3
1 files changed, 1 insertions, 2 deletions
diff --git a/applications/luci-app-attendedsysupgrade/root/usr/share/rpcd/acl.d/luci-app-attendedsysupgrade.json b/applications/luci-app-attendedsysupgrade/root/usr/share/rpcd/acl.d/luci-app-attendedsysupgrade.json
index 378967da34..0faf96717e 100644
--- a/applications/luci-app-attendedsysupgrade/root/usr/share/rpcd/acl.d/luci-app-attendedsysupgrade.json
+++ b/applications/luci-app-attendedsysupgrade/root/usr/share/rpcd/acl.d/luci-app-attendedsysupgrade.json
@@ -16,8 +16,7 @@
]
},
"file": {
- "/sys/firmware/efi": [ "list" ],
- "/proc/mounts": [ "read" ]
+ "/sys/firmware/efi": [ "list" ]
},
"uci": [
"attendedsysupgrade"