From 61efb0dab850a2ac76216e28cc05392a1398276d Mon Sep 17 00:00:00 2001 From: Jeff Vander Stoep Date: Thu, 23 Mar 2017 09:23:50 -0700 Subject: [PATCH] Create dir in /data for vendor customization Vendor owns /data/vendor. HAL data must go in /data/vendor/hardware/. Bug: 34980020 Test: build and boot AOSP Marlin. Observe /data/vendor and /data/vendor/hardware exist and are empty. Change-Id: I6fe96e3c76a10a5eb480ba10e10d4d006de56c12 --- rootdir/init.rc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rootdir/init.rc b/rootdir/init.rc index dcb3b2560..0045fd609 100644 --- a/rootdir/init.rc +++ b/rootdir/init.rc @@ -408,6 +408,9 @@ on post-fs-data mkdir /data/misc/profman 0770 system shell mkdir /data/misc/gcov 0770 root root + mkdir /data/vendor 0771 root root + mkdir /data/vendor/hardware 0771 root root + # For security reasons, /data/local/tmp should always be empty. # Do not place files or directories in /data/local/tmp mkdir /data/local/tmp 0771 shell shell