summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Zeuthen <zeuthen@google.com>2015-10-08 12:33:22 -0400
committerDavid Zeuthen <zeuthen@google.com>2015-10-08 12:33:22 -0400
commit4d5feceb299d141f8224be064d2d5801aa1639ed (patch)
tree17c9916f4fdf1b5e2120384fbdf2c666c97981d8
parentfda9bd348ae1e98547d891c92ed72549c7739de4 (diff)
downloaddragonboard-4d5feceb299d141f8224be064d2d5801aa1639ed.tar.gz
dragonboard: Also label boot partition with boot_block_device.
As we're still using boot_control_copy, update_engine needs to be able to write to the 'boot' partition when copying from either 'boot_a' or 'boot_b'. This didn't work because we had only labeled 'boot_a' and 'boot_b', not 'boot. This CL fixed that. Bug: 23186405 Change-Id: I0216562fa891e28168b08f2d4839d35bad107d19 Test: Manually tested.
-rw-r--r--sepolicy/file_contexts1
1 files changed, 1 insertions, 0 deletions
diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts
index 20b4675..e72bd56 100644
--- a/sepolicy/file_contexts
+++ b/sepolicy/file_contexts
@@ -1,3 +1,4 @@
+/dev/block/platform/soc\.0/7824900\.sdhci/by-name/boot u:object_r:boot_block_device:s0
/dev/block/platform/soc\.0/7824900\.sdhci/by-name/misc u:object_r:misc_block_device:s0
/dev/block/platform/soc\.0/7824900\.sdhci/by-name/boot_a u:object_r:boot_block_device:s0
/dev/block/platform/soc\.0/7824900\.sdhci/by-name/system_a u:object_r:system_block_device:s0