Remove sys-kernel-debug-tracing.mount 92/185492/1
authorjoon.c.baek <joon.c.baek@samsung.com>
Thu, 28 Jun 2018 10:14:55 +0000 (19:14 +0900)
committerjoon.c.baek <joon.c.baek@samsung.com>
Tue, 31 Jul 2018 06:20:27 +0000 (15:20 +0900)
Change-Id: I8f549274fcc65c8a4fb8c5f1c289874c281ed964
Signed-off-by: joon.c.baek <joon.c.baek@samsung.com>
packaging/sys-kernel-debug-tracing.mount [deleted file]
packaging/ttrace-marker.service
packaging/ttrace.spec

diff --git a/packaging/sys-kernel-debug-tracing.mount b/packaging/sys-kernel-debug-tracing.mount
deleted file mode 100644 (file)
index b4a8342..0000000
+++ /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
-
index 2578bd9e5f22f3883f98837fff438a6942e60bea..f000293da60a9ab00c88da9fae658e439919bd36 100644 (file)
@@ -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
index f922f600746d57d08c7a1540f36eab0b9ae8a209..7834636d9398dd45ac3beabdbece2e8b99c4cd2c 100644 (file)
@@ -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