diff options
author | joon.c.baek <joon.c.baek@samsung.com> | 2018-07-10 15:52:57 +0900 |
---|---|---|
committer | joon.c.baek <joon.c.baek@samsung.com> | 2018-07-10 15:52:57 +0900 |
commit | 501608db647086054cad32113fa1907ae9d8de28 (patch) | |
tree | d5cae4627284ddaf24621c77d704790383d79874 | |
parent | 113d7551d2594e776eff710486cf16f317018605 (diff) | |
download | ttrace-tizen_4.0.tar.gz ttrace-tizen_4.0.tar.bz2 ttrace-tizen_4.0.zip |
Add condition and change options for tracefssubmit/tizen_4.0/20180710.073826accepted/tizen/4.0/unified/20180711.132700tizen_4.0accepted/tizen_4.0_unified
To mount tracefs needs to check existed path,
And add mount options in details.
Change-Id: I9393c5629b8bf423d48ecec51fd4d99418d421cc
Signed-off-by: joon.c.baek <joon.c.baek@samsung.com>
-rw-r--r-- | packaging/sys-kernel-debug-tracing.mount | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packaging/sys-kernel-debug-tracing.mount b/packaging/sys-kernel-debug-tracing.mount index 498745a..66f5c4f 100644 --- a/packaging/sys-kernel-debug-tracing.mount +++ b/packaging/sys-kernel-debug-tracing.mount @@ -8,6 +8,7 @@ [Unit] Description=Trace File System DefaultDependencies=no +ConditionPathExists=!/sys/kernel/debug/tracing/trace ConditionCapability=CAP_SYS_RAWIO Before=sysinit.target @@ -15,4 +16,4 @@ Before=sysinit.target What=tracefs Where=/sys/kernel/debug/tracing Type=tracefs -Options=remount,rw +Options=remount,nosuid,nodev,noatime |