mirror of
https://github.com/openwrt/luci.git
synced 2025-01-31 08:21:48 +00:00
8936e3c386
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>
40 lines
538 B
JSON
40 lines
538 B
JSON
{
|
|
"luci-app-attendedsysupgrade": {
|
|
"description": "Grant UCI access to LuCI app attendedsysupgrade",
|
|
"read": {
|
|
"ubus": {
|
|
"rpc-sys": [
|
|
"upgrade_start",
|
|
"packagelist"
|
|
],
|
|
"system": [
|
|
"board",
|
|
"info"
|
|
],
|
|
"uci": [
|
|
"get"
|
|
]
|
|
},
|
|
"file": {
|
|
"/sys/firmware/efi": [ "list" ]
|
|
},
|
|
"uci": [
|
|
"attendedsysupgrade"
|
|
]
|
|
},
|
|
"write": {
|
|
"cgi-io": [
|
|
"upload"
|
|
],
|
|
"ubus": {
|
|
"uci": [
|
|
"set", "commit"
|
|
]
|
|
},
|
|
"uci": [
|
|
"attendedsysupgrade"
|
|
]
|
|
}
|
|
}
|
|
}
|