diff options
author | Koen Kooi <koen@dominion.thruhere.net> | 2014-07-08 16:35:27 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-07-10 17:38:34 +0100 |
commit | 68df093c55fd0ef1fddbff99442dd9b35f598dfc (patch) | |
tree | bde86be810d357c56e539c9b7be4d2d244c4c70c /meta/recipes-connectivity/libnss-mdns/libnss-mdns_0.10.bb | |
parent | aa460d8cc16b7e328b0226f783c30ab7e59173df (diff) | |
download | poky-68df093c55fd0ef1fddbff99442dd9b35f598dfc.tar.gz |
libnss-mdns: replace hardcoded /etc with ${sysconfdir}
(From OE-Core rev: fd408c49fffbc63dc79954420a5cfa46809bd5ca)
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/libnss-mdns/libnss-mdns_0.10.bb')
-rw-r--r-- | meta/recipes-connectivity/libnss-mdns/libnss-mdns_0.10.bb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-connectivity/libnss-mdns/libnss-mdns_0.10.bb b/meta/recipes-connectivity/libnss-mdns/libnss-mdns_0.10.bb index df7d196e31..0b936ef092 100644 --- a/meta/recipes-connectivity/libnss-mdns/libnss-mdns_0.10.bb +++ b/meta/recipes-connectivity/libnss-mdns/libnss-mdns_0.10.bb | |||
@@ -28,11 +28,11 @@ RDEPENDS_${PN} = "avahi-daemon" | |||
28 | pkg_postinst_${PN} () { | 28 | pkg_postinst_${PN} () { |
29 | sed -e '/^hosts:/s/\s*\<mdns\>//' \ | 29 | sed -e '/^hosts:/s/\s*\<mdns\>//' \ |
30 | -e 's/\(^hosts:.*\)\(\<files\>\)\(.*\)\(\<dns\>\)\(.*\)/\1\2 mdns4_minimal [NOTFOUND=return]\3\4 mdns\5/' \ | 30 | -e 's/\(^hosts:.*\)\(\<files\>\)\(.*\)\(\<dns\>\)\(.*\)/\1\2 mdns4_minimal [NOTFOUND=return]\3\4 mdns\5/' \ |
31 | -i $D/etc/nsswitch.conf | 31 | -i $D${sysconfdir}/nsswitch.conf |
32 | } | 32 | } |
33 | 33 | ||
34 | pkg_prerm_${PN} () { | 34 | pkg_prerm_${PN} () { |
35 | sed -e '/^hosts:/s/\s*\<mdns\>//' \ | 35 | sed -e '/^hosts:/s/\s*\<mdns\>//' \ |
36 | -e '/^hosts:/s/\s*mdns4_minimal\s\+\[NOTFOUND=return\]//' \ | 36 | -e '/^hosts:/s/\s*mdns4_minimal\s\+\[NOTFOUND=return\]//' \ |
37 | -i $D/etc/nsswitch.conf | 37 | -i $D${sysconfdir}/nsswitch.conf |
38 | } | 38 | } |