Merge "Set right attributes on tracing folder" am: 5d8bf9e6e2 am: f014e41731

am: 36eeceec84

Change-Id: Idd6917f0af39e7b4cb20857cf11c9d2795a47d6e
This commit is contained in:
Paul Lawrence 2017-01-12 01:44:14 +00:00 committed by android-build-merger
commit 87b62dc44c
1 changed files with 1 additions and 0 deletions

View File

@ -312,6 +312,7 @@ on post-fs
# Make sure /sys/kernel/debug (if present) is labeled properly
# Note that tracefs may be mounted under debug, so we need to cross filesystems
restorecon --recursive --cross-filesystems /sys/kernel/debug
chmod 0755 /sys/kernel/debug/tracing
# We chown/chmod /cache again so because mount is run as root + defaults
chown system cache /cache