]> git.pld-linux.org Git - packages/systemd.git/commitdiff
- don't hardcode systemctl path in servce files
authorJan Rękorajski <baggins@pld-linux.org>
Thu, 21 Mar 2013 13:53:48 +0000 (14:53 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Thu, 21 Mar 2013 13:53:48 +0000 (14:53 +0100)
systemctl-path.patch [new file with mode: 0644]
systemd.spec

diff --git a/systemctl-path.patch b/systemctl-path.patch
new file mode 100644 (file)
index 0000000..9edacd9
--- /dev/null
@@ -0,0 +1,29 @@
+--- systemd-198/units/initrd-cleanup.service~  2013-03-07 13:07:09.946850823 +0100
++++ systemd-198/units/initrd-cleanup.service   2013-03-21 14:50:00.400052081 +0100
+@@ -15,4 +15,4 @@
+ [Service]
+ Type=oneshot
+-ExecStart=/usr/bin/systemctl --no-block isolate initrd-switch-root.target
++ExecStart=@SYSTEMCTL@ --no-block isolate initrd-switch-root.target
+--- systemd-198/units/initrd-parse-etc.service~        2013-03-07 13:07:09.946850823 +0100
++++ systemd-198/units/initrd-parse-etc.service 2013-03-21 14:50:59.820556209 +0100
+@@ -15,6 +15,6 @@
+ [Service]
+ Type=oneshot
+-ExecStartPre=/usr/bin/systemctl daemon-reload
+-ExecStart=/usr/bin/systemctl start local-fs.target
+-ExecStart=/usr/bin/systemctl --no-block start initrd-cleanup.service
++ExecStartPre=@SYSTEMCTL@ daemon-reload
++ExecStart=@SYSTEMCTL@ start local-fs.target
++ExecStart=@SYSTEMCTL@ --no-block start initrd-cleanup.service
+--- systemd-198/units/initrd-switch-root.service~      2013-03-05 00:43:05.950383752 +0100
++++ systemd-198/units/initrd-switch-root.service       2013-03-21 14:51:14.987351504 +0100
+@@ -15,5 +15,5 @@
+ [Service]
+ Type=oneshot
+ # we have to use "--force" here, otherwise systemd would umount /run
+-ExecStart=/usr/bin/systemctl --no-block --force switch-root /sysroot
++ExecStart=@SYSTEMCTL@ --no-block --force switch-root /sysroot
+ KillMode=none
index 5ab64f365ae32ac24c0dba7e974cc21f7e4adf0d..31017f0a41efecf227565fafce39a7e08236daa0 100644 (file)
@@ -15,7 +15,7 @@ Summary(pl.UTF-8):    systemd - zarządca systemu i usług dla Linuksa
 Name:          systemd
 # Verify ChangeLog and NEWS when updating (since there are incompatible/breaking changes very often)
 Version:       198
-Release:       3
+Release:       3.1
 Epoch:         1
 License:       GPL v2+ (udev), LGPL v2.1+ (the rest)
 Group:         Base
@@ -567,8 +567,13 @@ Wiązania do Systemd dla Pythona.
 %patch9 -p1
 %patch10 -p1
 %patch11 -p1
+%patch12 -p1
 cp -p %{SOURCE2} src/systemd_booted.c
 
+%{__mv} units/initrd-cleanup.service{,.in}
+%{__mv} units/initrd-parse-etc.service{,.in}
+%{__mv} units/initrd-switch-root.service{,.in}
+
 %build
 %{__gtkdocize}
 %{__libtoolize}
This page took 0.225976 seconds and 4 git commands to generate.