summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/systemd/systemd/0011-nss-mymachines-Build-conditionally-when-HAVE_MYHOSTN.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/systemd/systemd/0011-nss-mymachines-Build-conditionally-when-HAVE_MYHOSTN.patch')
-rw-r--r--meta/recipes-core/systemd/systemd/0011-nss-mymachines-Build-conditionally-when-HAVE_MYHOSTN.patch38
1 files changed, 0 insertions, 38 deletions
diff --git a/meta/recipes-core/systemd/systemd/0011-nss-mymachines-Build-conditionally-when-HAVE_MYHOSTN.patch b/meta/recipes-core/systemd/systemd/0011-nss-mymachines-Build-conditionally-when-HAVE_MYHOSTN.patch
deleted file mode 100644
index b01ae97150..0000000000
--- a/meta/recipes-core/systemd/systemd/0011-nss-mymachines-Build-conditionally-when-HAVE_MYHOSTN.patch
+++ /dev/null
@@ -1,38 +0,0 @@
1From 3f6f45578b828e414f50c6822375073e7174236a Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 14 Dec 2015 00:50:01 +0000
4Subject: [PATCH 11/19] nss-mymachines: Build conditionally when
5 HAVE_MYHOSTNAME is set
6
7Fixes build failures when building with --disable-myhostname
8
9Upstream-Status: Pending
10
11Signed-off-by: Khem Raj <raj.khem@gmail.com>
12---
13 Makefile.am | 2 ++
14 1 file changed, 2 insertions(+)
15
16diff --git a/Makefile.am b/Makefile.am
17index 02f4017..420e0e0 100644
18--- a/Makefile.am
19+++ b/Makefile.am
20@@ -5146,6 +5146,7 @@ SYSTEM_UNIT_ALIASES += \
21 BUSNAMES_TARGET_WANTS += \
22 org.freedesktop.machine1.busname
23
24+if HAVE_MYHOSTNAME
25 libnss_mymachines_la_SOURCES = \
26 src/nss-mymachines/nss-mymachines.sym \
27 src/nss-mymachines/nss-mymachines.c
28@@ -5167,6 +5168,7 @@ rootlib_LTLIBRARIES += \
29 libnss_mymachines.la
30
31 endif
32+endif
33
34 polkitpolicy_in_files += \
35 src/machine/org.freedesktop.machine1.policy.in
36--
372.10.2
38