summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/nss-myhostname
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2014-10-09 02:39:09 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-10-10 16:44:33 +0100
commit08a86f89fbb770acf8c0340ce11199caf52d8eb6 (patch)
tree0c13262a5303b49a55272660dacba5f960925639 /meta/recipes-support/nss-myhostname
parent90f370940b933a3eb8516ba8a11cb7011e60a68f (diff)
downloadpoky-08a86f89fbb770acf8c0340ce11199caf52d8eb6.tar.gz
nss-myhostname: skip it when systemd
Fixed error when systemd is in DISTRO_FEATURES: ERROR: The recipe systemd is trying to install files into a sharedarea when those files already exist. Those files and their manifestlocation are: /path/to/sysroots/qemux86/usr/lib/libnss_myhostname.so.2 Matched in manifest-qemux86-nss-myhostname.populate_sysroot Please verify which recipe should provide theabove files. (From OE-Core rev: da70a62d456f7efac379381c2c431cc4ded877e9) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/nss-myhostname')
-rw-r--r--meta/recipes-support/nss-myhostname/nss-myhostname_0.3.bb5
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/recipes-support/nss-myhostname/nss-myhostname_0.3.bb b/meta/recipes-support/nss-myhostname/nss-myhostname_0.3.bb
index 1237602553..bbce9e9af0 100644
--- a/meta/recipes-support/nss-myhostname/nss-myhostname_0.3.bb
+++ b/meta/recipes-support/nss-myhostname/nss-myhostname_0.3.bb
@@ -11,7 +11,10 @@ SRC_URI = "http://0pointer.de/lennart/projects/nss-myhostname/nss-myhostname-${P
11SRC_URI[md5sum] = "d4ab9ac36c053ab8fb836db1cbd4a48f" 11SRC_URI[md5sum] = "d4ab9ac36c053ab8fb836db1cbd4a48f"
12SRC_URI[sha256sum] = "2ba744ea8d578d1c57c85884e94a3042ee17843a5294434d3a7f6c4d67e7caf2" 12SRC_URI[sha256sum] = "2ba744ea8d578d1c57c85884e94a3042ee17843a5294434d3a7f6c4d67e7caf2"
13 13
14inherit autotools 14inherit autotools distro_features_check
15
16# The systemd has its own copy of nss-myhostname
17CONFLICT_DISTRO_FEATURES = "systemd"
15 18
16pkg_postinst_${PN} () { 19pkg_postinst_${PN} () {
17 sed -e '/^hosts:/s/\s*\<myhostname\>//' \ 20 sed -e '/^hosts:/s/\s*\<myhostname\>//' \