From ab9ec222678cc7cec453a8f535a39a54202be788 Mon Sep 17 00:00:00 2001 From: Lucas Wei Date: Mon, 21 Mar 2022 15:38:17 +0800 Subject: [PATCH] Label vendor_kernel_boot with boot_block_device for OTA updating Label with boot_block_device to allow further operations on vendor_kernel_boot including OTA updating. This is required for update_engine to be able to write to vendor_kernel_boot on builds that are enforcing sepolicy. Bug: 214409109 Signed-off-by: Lucas Wei Change-Id: If239690ee168ecfd5c5b755451e389a4523c79b8 --- whitechapel_pro/file_contexts | 1 + 1 file changed, 1 insertion(+) diff --git a/whitechapel_pro/file_contexts b/whitechapel_pro/file_contexts index ae455880..efb7ce3b 100644 --- a/whitechapel_pro/file_contexts +++ b/whitechapel_pro/file_contexts @@ -184,6 +184,7 @@ /dev/block/platform/14700000\.ufs/by-name/vbmeta_system_[ab] u:object_r:custom_ab_block_device:s0 /dev/block/platform/14700000\.ufs/by-name/vbmeta_vendor_[ab] u:object_r:custom_ab_block_device:s0 /dev/block/platform/14700000\.ufs/by-name/vendor_boot_[ab] u:object_r:custom_ab_block_device:s0 +/dev/block/platform/14700000\.ufs/by-name/vendor_kernel_boot_[ab] u:object_r:custom_ab_block_device:s0 # Data /data/vendor/slog(/.*)? u:object_r:vendor_slog_file:s0