diff options
author | joon.c.baek <joon.c.baek@samsung.com> | 2018-06-28 19:14:55 +0900 |
---|---|---|
committer | joon.c.baek <joon.c.baek@samsung.com> | 2018-07-31 15:20:27 +0900 |
commit | 1b86c1485e26cfb941b5bf6c05455766701fd81a (patch) | |
tree | bc9645526a7256e51210be8b2a9912ba05ad6759 | |
parent | dcb77cbee8cc5eeabcc762eba74c7327db818dbc (diff) | |
download | ttrace-1b86c1485e26cfb941b5bf6c05455766701fd81a.tar.gz ttrace-1b86c1485e26cfb941b5bf6c05455766701fd81a.tar.bz2 ttrace-1b86c1485e26cfb941b5bf6c05455766701fd81a.zip |
Remove sys-kernel-debug-tracing.mount
Change-Id: I8f549274fcc65c8a4fb8c5f1c289874c281ed964
Signed-off-by: joon.c.baek <joon.c.baek@samsung.com>
-rw-r--r-- | packaging/sys-kernel-debug-tracing.mount | 18 | ||||
-rw-r--r-- | packaging/ttrace-marker.service | 2 | ||||
-rw-r--r-- | packaging/ttrace.spec | 5 |
3 files changed, 1 insertions, 24 deletions
diff --git a/packaging/sys-kernel-debug-tracing.mount b/packaging/sys-kernel-debug-tracing.mount deleted file mode 100644 index b4a8342..0000000 --- a/packaging/sys-kernel-debug-tracing.mount +++ /dev/null @@ -1,18 +0,0 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or -# (at your option) any later version. - -[Unit] -Description=Trace File System -DefaultDependencies=no -ConditionCapability=CAP_SYS_RAWIO -Before=sysinit.target - -[Mount] -What=tracefs -Where=/sys/kernel/debug/tracing -Type=tracefs - diff --git a/packaging/ttrace-marker.service b/packaging/ttrace-marker.service index 2578bd9..f000293 100644 --- a/packaging/ttrace-marker.service +++ b/packaging/ttrace-marker.service @@ -1,7 +1,7 @@ [Unit] Description=T-trace marker DefaultDependencies=no -After=tmp.mount sys-kernel-debug-tracing.mount +After=tmp.mount [Service] SmackProcessLabel=System diff --git a/packaging/ttrace.spec b/packaging/ttrace.spec index f922f60..7834636 100644 --- a/packaging/ttrace.spec +++ b/packaging/ttrace.spec @@ -6,7 +6,6 @@ Group: System/Libraries License: Apache-2.0 Source0: %{name}-%{version}.tar.gz SOURCE100: packaging/ttrace.conf -SOURCE101: packaging/sys-kernel-debug-tracing.mount SOURCE102: packaging/ttrace-marker.service SOURCE103: packaging/atrace-bootup.sh @@ -64,12 +63,10 @@ rm -rf %{buildroot} mkdir -p %{buildroot}%{_unitdir} mkdir -p %{buildroot}/usr/lib/tmpfiles.d install -m 0644 %{SOURCE100} %{buildroot}/usr/lib/tmpfiles.d/ttrace.conf -install -m 0644 %{SOURCE101} %{buildroot}%{_unitdir} install -m 0644 %{SOURCE102} %{buildroot}%{_unitdir} mkdir -p %{buildroot}%{_bindir} cp %{SOURCE103} %{buildroot}%{_bindir} %install_service sysinit.target.wants ttrace-marker.service -%install_service sysinit.target.wants sys-kernel-debug-tracing.mount %post -p /sbin/ldconfig @@ -80,11 +77,9 @@ cp %{SOURCE103} %{buildroot}%{_bindir} %defattr(-,root,root,-) %{_libdir}/libttrace.so.* %{_unitdir}/ttrace-marker.service -%{_unitdir}/sys-kernel-debug-tracing.mount %attr(755,root,users) %{_bindir}/atrace %attr(755,root,users) %{_bindir}/atrace-1.1 %{_unitdir}/sysinit.target.wants/ttrace-marker.service -%{_unitdir}/sysinit.target.wants/sys-kernel-debug-tracing.mount %attr(755,root,root) %{_bindir}/atrace-bootup.sh /usr/lib/tmpfiles.d/ttrace.conf %license LICENSE |