Disable smack.mount and smack.service
authorPatrick McCarty <patrick.mccarty@linux.intel.com>
Thu, 21 Mar 2013 18:02:59 +0000 (11:02 -0700)
committerJarkko Sakkinen <jsakkine@jsakkine-mobl1>
Tue, 10 Dec 2013 12:00:31 +0000 (14:00 +0200)
These systemd units are not needed for systemd >= 198, which mounts the
smackfs at /sys/fs/smackfs.

Change-Id: If628bee129707b5ed953265d23db4d185e6c8fa2

packaging/smack.changes
packaging/smack.spec

index 72e2f7a..31d3d70 100644 (file)
@@ -1,3 +1,6 @@
+* Thu Mar 21 2013 Patrick McCarty <patrick.mccarty@linux.intel.com> ddddc70
+- Disable smack.mount and smack.service
+
 * Mon Mar 18 2013 Anas Nashif <anas.nashif@intel.com> accepted/trunk/20130108.195935@d5c7f4d
 - Fixed package group and split library
 
index aed8da5..bf5aaa1 100644 (file)
@@ -44,11 +44,6 @@ install -d %{buildroot}/etc/smack/accesses.d
 install -d %{buildroot}/etc/smack/cipso.d
 install -d %{buildroot}/smack
 
-install -d %{buildroot}%{_prefix}/lib/systemd/system/basic.target.wants
-install -d %{buildroot}%{_prefix}/lib/systemd/system/local-fs.target.wants
-ln -s ../smack.service %{buildroot}%{_prefix}/lib/systemd/system/basic.target.wants/smack.service
-ln -s ../smack.mount %{buildroot}%{_prefix}/lib/systemd/system/local-fs.target.wants/smack.mount
-
 
 %post -p /sbin/ldconfig -n libsmack
 
@@ -76,6 +71,4 @@ ln -s ../smack.mount %{buildroot}%{_prefix}/lib/systemd/system/local-fs.target.w
 /smack
 %attr(755,root,root) %{_bindir}/*
 %{_prefix}/lib/systemd/system/smack.mount
-%{_prefix}/lib/systemd/system/local-fs.target.wants/smack.mount
 %{_prefix}/lib/systemd/system/smack.service
-%{_prefix}/lib/systemd/system/basic.target.wants/smack.service