diff options
author | David Zeuthen <zeuthen@google.com> | 2015-11-10 18:14:55 -0500 |
---|---|---|
committer | David Zeuthen <zeuthen@google.com> | 2015-11-11 11:07:20 -0500 |
commit | e4d4703c444085be68d17a5f6317beaca36eb7b5 (patch) | |
tree | 71c415379bdfbad2902f0ffbb215c679b57dc06c | |
parent | 61902b7ad005b5801827468322ae06bd0270bd46 (diff) | |
download | marvell-e4d4703c444085be68d17a5f6317beaca36eb7b5.tar.gz |
iap140: Add /dev/block/by-name symlink and selinux policy.
Among other things, this is needed for the brillo_BootLoader autotest.
BUG=25486837
TEST=Manually tested.
Change-Id: I69b86dd9d9432a0615fcc1ab1769fad9d10cae2f
-rw-r--r-- | soc/iap140/init.iap140.rc | 1 | ||||
-rw-r--r-- | soc/iap140/sepolicy/file_contexts | 7 |
2 files changed, 8 insertions, 0 deletions
diff --git a/soc/iap140/init.iap140.rc b/soc/iap140/init.iap140.rc index 8a8fd69..80b9b4c 100644 --- a/soc/iap140/init.iap140.rc +++ b/soc/iap140/init.iap140.rc @@ -15,6 +15,7 @@ # on init + symlink /dev/block/platform/soc.2/d4200000.axi/d4281000.sdh/by-name /dev/block/by-name setprop ro.board.platform mrvl on fs diff --git a/soc/iap140/sepolicy/file_contexts b/soc/iap140/sepolicy/file_contexts index 8d1822d..76b81e3 100644 --- a/soc/iap140/sepolicy/file_contexts +++ b/soc/iap140/sepolicy/file_contexts @@ -1,2 +1,9 @@ # Serial console /dev/ttyS1 u:object_r:console_device:s0 + +# Block devices +/dev/block/platform/soc\.2/d4200000\.axi/d4281000\.sdh/by-name/misc u:object_r:misc_block_device:s0 +/dev/block/platform/soc\.2/d4200000\.axi/d4281000\.sdh/by-name/boot_a u:object_r:boot_block_device:s0 +/dev/block/platform/soc\.2/d4200000\.axi/d4281000\.sdh/by-name/system_a u:object_r:system_block_device:s0 +/dev/block/platform/soc\.2/d4200000\.axi/d4281000\.sdh/by-name/boot_b u:object_r:boot_block_device:s0 +/dev/block/platform/soc\.2/d4200000\.axi/d4281000\.sdh/by-name/system_b u:object_r:system_block_device:s0 |