2017-03-23 22:27:32 +01:00
|
|
|
typeattribute update_verifier coredomain;
|
|
|
|
|
2016-07-22 22:13:11 +02:00
|
|
|
init_daemon_domain(update_verifier)
|
2020-03-04 09:20:35 +01:00
|
|
|
|
|
|
|
# Allow update_verifier to reboot the device.
|
|
|
|
set_prop(update_verifier, powerctl_prop)
|
|
|
|
|
|
|
|
# Allow to set the OTA related properties e.g. ota.warm_reset.
|
|
|
|
set_prop(update_verifier, ota_prop)
|
2022-03-23 19:50:23 +01:00
|
|
|
|
|
|
|
# allow update_verifier to connect to snapuserd daemon
|
|
|
|
allow update_verifier snapuserd_socket:sock_file write;
|
|
|
|
allow update_verifier snapuserd:unix_stream_socket connectto;
|
|
|
|
|
|
|
|
# virtual a/b properties
|
|
|
|
get_prop(update_verifier, virtual_ab_prop)
|