From e9ae77355eedc212a784f47c5f57889759f0dc02 Mon Sep 17 00:00:00 2001
From: Bowgo Tsai <bowgotsai@google.com>
Date: Tue, 5 Dec 2017 12:23:26 +0800
Subject: [PATCH] Switch file context of odm(/.*) to vendor_file

/odm partition is the extension of /vendor partition, so we should not
use system_file for it. Currently there is no ABI between vendor and
odm. We can use 'odm_file' when needed in the future.

Bug: 64240127
Test: boot a device
Change-Id: I4e8300d597aeeba60a255c8d114a54b24bc39470
---
 private/file_contexts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/private/file_contexts b/private/file_contexts
index 8ea37960e..ec7d246fd 100644
--- a/private/file_contexts
+++ b/private/file_contexts
@@ -314,7 +314,7 @@
 #############################
 # OEM and ODM files
 #
-/odm(/.*)?              u:object_r:system_file:s0
+/odm(/.*)?              u:object_r:vendor_file:s0
 /oem(/.*)?              u:object_r:oemfs:s0
 
 
-- 
GitLab