summaryrefslogtreecommitdiff
path: root/init.hardware.rc
diff options
context:
space:
mode:
authorChengYou Ho <chengyouho@google.com>2018-06-05 20:02:27 +0800
committerAdam Shih <adamshih@google.com>2018-06-07 17:58:04 +0800
commita0d9997fe68d686bb933f93e47eb0630495680f3 (patch)
tree7e0f7b695e5127a85be79696dbd51accdf92baab /init.hardware.rc
parentd3d04e8293c029ee2b780ffda7fe17051889faa1 (diff)
Create data file directory for Neural Network HAL on startup
Bug: 109547412 Change-Id: I5d67ea460ccff588753a5702039d63efdecce258
Diffstat (limited to 'init.hardware.rc')
-rw-r--r--init.hardware.rc2
1 files changed, 2 insertions, 0 deletions
diff --git a/init.hardware.rc b/init.hardware.rc
index 1f42b24..6f21f13 100644
--- a/init.hardware.rc
+++ b/init.hardware.rc
@@ -313,6 +313,8 @@ on post-fs-data
# This must be started when vendor.sys.listeners.registered is true
start ipastart_sh
+ mkdir /data/vendor/nnhal 0700 system system
+
# zygote need to be started after otapreopt which will be done on post-fs-data
on zygote-start
# zygote is started in common init.rc