|
Zbigniew Jędrzejewski-Szmek |
ef7b48 |
From 412dc90d0b48e3253786309eb563a8c1e79db22a Mon Sep 17 00:00:00 2001
|
|
Zbigniew Jędrzejewski-Szmek |
ef7b48 |
From: Dimitri John Ledkov <dimitri.j.ledkov@intel.com>
|
|
Zbigniew Jędrzejewski-Szmek |
ef7b48 |
Date: Tue, 17 Mar 2015 16:37:07 +0100
|
|
Zbigniew Jędrzejewski-Szmek |
ef7b48 |
Subject: [PATCH] resolved: Do not add .busname dependencies, when compiling
|
|
Zbigniew Jędrzejewski-Szmek |
ef7b48 |
without kdbus.
|
|
Zbigniew Jędrzejewski-Szmek |
ef7b48 |
|
|
Zbigniew Jędrzejewski-Szmek |
ef7b48 |
(cherry picked from commit defa8e675b2903ad53e093bb2847c7256f0779a5)
|
|
Zbigniew Jędrzejewski-Szmek |
ef7b48 |
---
|
|
Zbigniew Jędrzejewski-Szmek |
ef7b48 |
Makefile.am | 2 +-
|
|
Zbigniew Jędrzejewski-Szmek |
ef7b48 |
units/.gitignore | 1 +
|
|
Zbigniew Jędrzejewski-Szmek |
ef7b48 |
units/{systemd-resolved.service.in => systemd-resolved.service.m4.in} | 2 ++
|
|
Zbigniew Jędrzejewski-Szmek |
ef7b48 |
3 files changed, 4 insertions(+), 1 deletion(-)
|
|
Zbigniew Jędrzejewski-Szmek |
ef7b48 |
rename units/{systemd-resolved.service.in => systemd-resolved.service.m4.in} (96%)
|
|
Zbigniew Jędrzejewski-Szmek |
ef7b48 |
|
|
Zbigniew Jędrzejewski-Szmek |
ef7b48 |
diff --git a/Makefile.am b/Makefile.am
|
|
Zbigniew Jędrzejewski-Szmek |
ef7b48 |
index aadaad2b8d..78f77d7090 100644
|
|
Zbigniew Jędrzejewski-Szmek |
ef7b48 |
--- a/Makefile.am
|
|
Zbigniew Jędrzejewski-Szmek |
ef7b48 |
+++ b/Makefile.am
|
|
Zbigniew Jędrzejewski-Szmek |
ef7b48 |
@@ -5459,7 +5459,7 @@ dist_dbussystemservice_DATA += \
|
|
Zbigniew Jędrzejewski-Szmek |
ef7b48 |
src/resolve/org.freedesktop.resolve1.service
|
|
Zbigniew Jędrzejewski-Szmek |
ef7b48 |
|
|
Zbigniew Jędrzejewski-Szmek |
ef7b48 |
EXTRA_DIST += \
|
|
Zbigniew Jędrzejewski-Szmek |
ef7b48 |
- units/systemd-resolved.service.in
|
|
Zbigniew Jędrzejewski-Szmek |
ef7b48 |
+ units/systemd-resolved.service.m4.in
|
|
Zbigniew Jędrzejewski-Szmek |
ef7b48 |
|
|
Zbigniew Jędrzejewski-Szmek |
ef7b48 |
SYSTEM_UNIT_ALIASES += \
|
|
Zbigniew Jędrzejewski-Szmek |
ef7b48 |
systemd-resolved.service dbus-org.freedesktop.resolve1.service
|
|
Zbigniew Jędrzejewski-Szmek |
ef7b48 |
diff --git a/units/.gitignore b/units/.gitignore
|
|
Zbigniew Jędrzejewski-Szmek |
ef7b48 |
index 6fdb629c3d..c59676c95b 100644
|
|
Zbigniew Jędrzejewski-Szmek |
ef7b48 |
--- a/units/.gitignore
|
|
Zbigniew Jędrzejewski-Szmek |
ef7b48 |
+++ b/units/.gitignore
|
|
Zbigniew Jędrzejewski-Szmek |
ef7b48 |
@@ -55,6 +55,7 @@
|
|
Zbigniew Jędrzejewski-Szmek |
ef7b48 |
/systemd-reboot.service
|
|
Zbigniew Jędrzejewski-Szmek |
ef7b48 |
/systemd-remount-fs.service
|
|
Zbigniew Jędrzejewski-Szmek |
ef7b48 |
/systemd-resolved.service
|
|
Zbigniew Jędrzejewski-Szmek |
ef7b48 |
+/systemd-resolved.service.m4
|
|
Zbigniew Jędrzejewski-Szmek |
ef7b48 |
/systemd-hibernate-resume@.service
|
|
Zbigniew Jędrzejewski-Szmek |
ef7b48 |
/systemd-rfkill@.service
|
|
Zbigniew Jędrzejewski-Szmek |
ef7b48 |
/systemd-shutdownd.service
|
|
Zbigniew Jędrzejewski-Szmek |
ef7b48 |
diff --git a/units/systemd-resolved.service.in b/units/systemd-resolved.service.m4.in
|
|
Zbigniew Jędrzejewski-Szmek |
ef7b48 |
similarity index 96%
|
|
Zbigniew Jędrzejewski-Szmek |
ef7b48 |
rename from units/systemd-resolved.service.in
|
|
Zbigniew Jędrzejewski-Szmek |
ef7b48 |
rename to units/systemd-resolved.service.m4.in
|
|
Zbigniew Jędrzejewski-Szmek |
ef7b48 |
index b643da9a73..d133847d5e 100644
|
|
Zbigniew Jędrzejewski-Szmek |
ef7b48 |
--- a/units/systemd-resolved.service.in
|
|
Zbigniew Jędrzejewski-Szmek |
ef7b48 |
+++ b/units/systemd-resolved.service.m4.in
|
|
Zbigniew Jędrzejewski-Szmek |
ef7b48 |
@@ -10,11 +10,13 @@ Description=Network Name Resolution
|
|
Zbigniew Jędrzejewski-Szmek |
ef7b48 |
Documentation=man:systemd-resolved.service(8)
|
|
Zbigniew Jędrzejewski-Szmek |
ef7b48 |
After=systemd-networkd.service network.service
|
|
Zbigniew Jędrzejewski-Szmek |
ef7b48 |
|
|
Zbigniew Jędrzejewski-Szmek |
ef7b48 |
+m4_ifdef(`ENABLE_KDBUS',
|
|
Zbigniew Jędrzejewski-Szmek |
ef7b48 |
# On kdbus systems we pull in the busname explicitly, because it
|
|
Zbigniew Jędrzejewski-Szmek |
ef7b48 |
# carries policy that allows the daemon to acquire its name.
|
|
Zbigniew Jędrzejewski-Szmek |
ef7b48 |
Wants=org.freedesktop.resolve1.busname
|
|
Zbigniew Jędrzejewski-Szmek |
ef7b48 |
After=org.freedesktop.resolve1.busname
|
|
Zbigniew Jędrzejewski-Szmek |
ef7b48 |
|
|
Zbigniew Jędrzejewski-Szmek |
ef7b48 |
+)m4_dnl
|
|
Zbigniew Jędrzejewski-Szmek |
ef7b48 |
[Service]
|
|
Zbigniew Jędrzejewski-Szmek |
ef7b48 |
Type=notify
|
|
Zbigniew Jędrzejewski-Szmek |
ef7b48 |
Restart=always
|