From c319310f9b63065ec3e1b5f54fb89ddfdc975971 Mon Sep 17 00:00:00 2001 From: Tom Cherry Date: Tue, 21 Nov 2017 10:40:25 -0800 Subject: [PATCH] Move mkdir /data/nfc/... to rootdir init.rc These are directories used by the system so they should be created by the system. Test: treehugger Change-Id: I2a721ef7871c8842fa912497f5ec6988fcec9e58 --- rootdir/init.rc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rootdir/init.rc b/rootdir/init.rc index ca7b99113..82538883b 100644 --- a/rootdir/init.rc +++ b/rootdir/init.rc @@ -481,6 +481,10 @@ on post-fs-data mkdir /data/anr 0775 system system + # NFC: create data/nfc for nv storage + mkdir /data/nfc 0770 nfc nfc + mkdir /data/nfc/param 0770 nfc nfc + # Create all remaining /data root dirs so that they are made through init # and get proper encryption policy installed mkdir /data/backup 0700 system system