Merge "Move chmod of /sys/kernel/debug/tracing to fix tracing."
am: 13c3a582de
Change-Id: I63ca85ffce7aead567c34069135fb066c5a026de
This commit is contained in:
commit
c4f2163954
1 changed files with 4 additions and 1 deletions
|
|
@ -317,7 +317,6 @@ on post-fs
|
||||||
# Make sure /sys/kernel/debug (if present) is labeled properly
|
# Make sure /sys/kernel/debug (if present) is labeled properly
|
||||||
# Note that tracefs may be mounted under debug, so we need to cross filesystems
|
# Note that tracefs may be mounted under debug, so we need to cross filesystems
|
||||||
restorecon --recursive --cross-filesystems /sys/kernel/debug
|
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
|
# We chown/chmod /cache again so because mount is run as root + defaults
|
||||||
chown system cache /cache
|
chown system cache /cache
|
||||||
|
|
@ -355,6 +354,10 @@ on post-fs
|
||||||
mkdir /cache/lost+found 0770 root root
|
mkdir /cache/lost+found 0770 root root
|
||||||
|
|
||||||
on late-fs
|
on late-fs
|
||||||
|
# Ensure that tracefs has the correct permissions.
|
||||||
|
# This does not work correctly if it is called in post-fs.
|
||||||
|
chmod 0755 /sys/kernel/debug/tracing
|
||||||
|
|
||||||
# HALs required before storage encryption can get unlocked (FBE/FDE)
|
# HALs required before storage encryption can get unlocked (FBE/FDE)
|
||||||
class_start early_hal
|
class_start early_hal
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue