config: add recovery to fstab
* Also correctly label boot/recovery partitions
* Fixes updating recovery
Change-Id: I214a87678e8b1e13ff7fc98c051ec20a12940436
diff --git a/config/init/fstab.exynos9611 b/config/init/fstab.exynos9611
index acefc01..b9a374e 100644
--- a/config/init/fstab.exynos9611
+++ b/config/init/fstab.exynos9611
@@ -8,6 +8,7 @@
/dev/block/platform/13520000.ufs/by-name/metadata /metadata ext4 noatime,nosuid,nodev,noauto_da_alloc,discard,journal_checksum,data=ordered,errors=panic wait,first_stage_mount,formattable,check
/dev/block/platform/13520000.ufs/by-name/boot /boot emmc defaults recoveryonly
+/dev/block/platform/13520000.ufs/by-name/recovery /recovery emmc defaults recoveryonly
/dev/block/platform/13520000.ufs/by-name/cache /cache ext4 noatime,nosuid,nodev,noauto_da_alloc,discard,journal_checksum,data=ordered,errors=panic wait,check
/dev/block/platform/13520000.ufs/by-name/userdata /data ext4 noatime,nosuid,nodev,noauto_da_alloc,discard,journal_checksum,data=ordered,errors=panic latemount,wait,check,fileencryption=aes-256-xts,reservedsize=128M,quota
/dev/block/platform/13520000.ufs/by-name/efs /mnt/vendor/efs ext4 noatime,nosuid,nodev,noauto_da_alloc,discard,journal_checksum,data=ordered,errors=panic wait,check
diff --git a/sepolicy/vendor/file_contexts b/sepolicy/vendor/file_contexts
index 77525e6..0d1d42f 100644
--- a/sepolicy/vendor/file_contexts
+++ b/sepolicy/vendor/file_contexts
@@ -6,6 +6,8 @@
/data/camera(/.*)? u:object_r:camera_data_file:s0
### DEV
+/dev/block/platform/.+/by-name/boot u:object_r:boot_block_device:s0
+/dev/block/platform/.+/by-name/recovery u:object_r:recovery_block_device:s0
/dev/block/platform/.+/by-name/cpefs u:object_r:cpefs_block_device:s0
# Bluetooth