diff options
Diffstat (limited to 'meta/recipes-support/nss-myhostname/nss-myhostname_0.3.bb')
-rw-r--r-- | meta/recipes-support/nss-myhostname/nss-myhostname_0.3.bb | 5 |
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 | |||
11 | SRC_URI[md5sum] = "d4ab9ac36c053ab8fb836db1cbd4a48f" | 11 | SRC_URI[md5sum] = "d4ab9ac36c053ab8fb836db1cbd4a48f" |
12 | SRC_URI[sha256sum] = "2ba744ea8d578d1c57c85884e94a3042ee17843a5294434d3a7f6c4d67e7caf2" | 12 | SRC_URI[sha256sum] = "2ba744ea8d578d1c57c85884e94a3042ee17843a5294434d3a7f6c4d67e7caf2" |
13 | 13 | ||
14 | inherit autotools | 14 | inherit autotools distro_features_check |
15 | |||
16 | # The systemd has its own copy of nss-myhostname | ||
17 | CONFLICT_DISTRO_FEATURES = "systemd" | ||
15 | 18 | ||
16 | pkg_postinst_${PN} () { | 19 | pkg_postinst_${PN} () { |
17 | sed -e '/^hosts:/s/\s*\<myhostname\>//' \ | 20 | sed -e '/^hosts:/s/\s*\<myhostname\>//' \ |