2016-07-22 22:13:11 +02:00
|
|
|
# type_transition must be private policy the domain_trans rules could stay
|
|
|
|
# public, but conceptually should go with this
|
2021-03-11 20:26:08 +01:00
|
|
|
# The postinstall program is run by update_engine_common and must be tagged
|
|
|
|
# with postinstall_exec in the new filesystem.
|
|
|
|
# TODO Have build system attempt to verify this
|
|
|
|
domain_auto_trans(update_engine_common, postinstall_exec, postinstall)
|
|
|
|
|
|
|
|
# Vendor directories can have the transition as well during OTA. This is caused
|
|
|
|
# by update_engine execing scripts in vendor to perform any update tasks needed
|
|
|
|
# there.
|
2016-07-22 22:13:11 +02:00
|
|
|
domain_auto_trans(update_engine_common, postinstall_file, postinstall)
|
2021-03-11 20:26:08 +01:00
|
|
|
|
|
|
|
allow update_engine_common labeledfs:filesystem { mount unmount relabelfrom };
|