625c4a9543
Bug: 311377497 Change-Id: I46653dcbbe1d1b87b3d370bee80aae2d60998fbe Test: manual - Install an OTA package and see the hook called.
8 lines
311 B
Text
8 lines
311 B
Text
typeattribute postinstall coredomain;
|
|
type postinstall_exec, system_file_type, exec_type, file_type;
|
|
domain_auto_trans(postinstall, otapreopt_chroot_exec, otapreopt_chroot)
|
|
|
|
allow postinstall rootfs:dir r_dir_perms;
|
|
|
|
# Allow invoking `pm` shell commands.
|
|
allow postinstall package_service:service_manager find;
|