projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f5a314
)
build-sys: remove commented-out m4 from user@.service
author
Mantas Mikulėnas
<grawity@gmail.com>
Sun, 14 Dec 2014 17:12:34 +0000
(19:12 +0200)
committer
Zbigniew Jędrzejewski-Szmek
<zbyszek@in.waw.pl>
Sun, 14 Dec 2014 17:54:16 +0000
(12:54 -0500)
Otherwise this actually remains in the generated unit in /usr/lib.
If you want to keep it commented out, a m4-compatible way would be:
m4_ifdef(`HAVE_SMACK',
dnl Capabilities=cap_mac_admin=i
dnl SecureBits=keep-caps
)
units/user@.service.m4.in
patch
|
blob
|
history
diff --git
a/units/user@.service.m4.in
b/units/user@.service.m4.in
index
0daa43a
..
1e21d51
100644
(file)
--- a/
units/user@.service.m4.in
+++ b/
units/user@.service.m4.in
@@
-17,7
+17,3
@@
ExecStart=-@rootlibexecdir@/systemd --user
Slice=user-%i.slice
KillMode=mixed
Delegate=yes
-#m4_ifdef(`HAVE_SMACK',
-#Capabilities=cap_mac_admin=i
-#SecureBits=keep-caps
-#)