dcashman | cc39f63 | 2016-07-22 13:13:11 -0700 | [diff] [blame] | 1 | # type_transition must be private policy the domain_trans rules could stay |
| 2 | # public, but conceptually should go with this |
Alex Light | 16dfb43 | 2021-03-11 11:26:08 -0800 | [diff] [blame] | 3 | # The postinstall program is run by update_engine_common and must be tagged |
| 4 | # with postinstall_exec in the new filesystem. |
| 5 | # TODO Have build system attempt to verify this |
| 6 | domain_auto_trans(update_engine_common, postinstall_exec, postinstall) |
| 7 | |
| 8 | # Vendor directories can have the transition as well during OTA. This is caused |
| 9 | # by update_engine execing scripts in vendor to perform any update tasks needed |
| 10 | # there. |
dcashman | cc39f63 | 2016-07-22 13:13:11 -0700 | [diff] [blame] | 11 | domain_auto_trans(update_engine_common, postinstall_file, postinstall) |
Alex Light | 16dfb43 | 2021-03-11 11:26:08 -0800 | [diff] [blame] | 12 | |
| 13 | allow update_engine_common labeledfs:filesystem { mount unmount relabelfrom }; |