summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/libnss-mdns
Commit message (Collapse)AuthorAgeFilesLines
* libnss-mdns:fix support prerm at image creation timeHongxu Jia2013-01-181-2/+2
| | | | | | | | | | | | The pkg_prerm_${PN} failed at image creation time because $D is not assigned as the prefix of "/etc/nsswitch.conf" [YOCTO #3633] (From OE-Core rev: c09767086307d552a18f11250ae42ec34be220fb) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libnss-mdns: fix mDNS resolving speedConstantin Musca2012-10-181-7/+7
| | | | | | | | | | | | | | | We need to fix the "hosts: files dns mdns4" nsswitch.conf line because for a .local lookup it does a DNS lookup first which will fail. The recommended solution is: hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4 [YOCTO #2502] (From OE-Core rev: dbb350b90417962f2da4c1064ab0174badeb0f26) Signed-off-by: Constantin Musca <constantinx.musca@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libnss-mdns: fix postinst scriptsAndreas Oberritter2012-05-241-8/+7
| | | | | | | | | | | * On upgrade, postinst ocassionally returned 1, so use a conditional instead of &&. * Use sed patterns in order to make it work more generally. (From OE-Core rev: c678d4c42ed0075572c5fad17ca33773ad3f6447) Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libnss-mdns: avoid race condition in postinstPhil Blundell2011-11-161-5/+3
| | | | | | | | | | | | | Writing to "/tmp/nsswitch.conf" leads to a race condition if two copies of the postinst are running simultaneously. Fix this by modifying /etc/nsswitch.conf in place using sed -i. Also make the same change to the prerm for consistency although the race will not occur here in practice. (From OE-Core rev: 689884653938b98899fb3ba791221fdbe2f40e7f) Signed-off-by: Phil Blundell <philb@gnu.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libnss-mdns: dont use hard coded /lib pathKumar Gala2011-08-031-2/+2
| | | | | | | | | | As libdir might not be /lib (could be /lib64) use ${base_libdir} instead of hard coded "/lib" in configure options set in EXTRA_OECONF. (From OE-Core rev: 130d16d18e8bf7cfe87a1fa128f182f7fe728708) Signed-off-by: Kumar Gala <galak@kernel.crashing.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Drop PRIORITY variableRichard Purdie2011-07-011-1/+0
| | | | | | | | | | | | | | | | As discussed on the mailing list, this variable isn't useful and if wanted would be better implemented by distros using pn-X overrides. This patch executes: find . -regex ".*\.\(bb\|inc\)$" | xargs sed -i '/^PRIORITY = ".*"$/d' against the tree removing the referenced. Thanks to Phil Blundell for the command. (From OE-Core rev: d122343362669c683acc4af295971a62cbc823fc) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* update patch upstream statusQing He2011-05-131-0/+2
| | | | | | | | | | | | | | | | | This patch includes the update of patch upstream status of the following recipes (50 in all): grub pciutils setserial dhcp iproute2 libnss-mdns nfs-utils openssl portmap busybox coreutils dbus dropbear ncurses readline sysfsutils sysvinit tinylogin udev update-rc.d util-linux elfutils file pkgconfig syslinux ubootchart yaffs2 findutils gamin hdparm libaio libzypp parted procps sat-solver screen sed sysklogd tcp-wrapper time zypper attr boost createrepo gnutls hal js libgcrypt libnl libusb-compat (From OE-Core rev: 1e6f767663b7d5fb6277fd2b214f4a50e24d4ffd) Signed-off-by: Qing He <qing.he@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libnss-mdns: add $D to postinst pathsIlya Yanok2011-05-041-3/+3
| | | | | | | | | | | Post installation script can be called during image creation so paths should relative to $D. (From OE-Core rev: 472c04ed1a8715243de0c5430883bc23d60aca19) Signed-off-by: Ilya Yanok <yanok@emcraft.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes: pre/post actionsMark Hatle2011-02-121-2/+2
| | | | | | | | A number of the recipes did not properly label their pre and post actions, causing the actions to occur in all split packages. This was corrected by defaulting to _${PN} in most cases. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* RDEPENDS, RRECOMMENDS -> RDPEPENDS_${PN}, RRECOMMENDS_${PN}Koen Kooi2010-12-301-2/+2
| | | | | | | For these recipes the dependencies listed in RDEPENDS and RRECOMMENDS only apply to ${PN} Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* SRC_URI Checksums AdditionalsSaul Wold2010-12-091-0/+3
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* libnss-mdns: fix package removalQing He2010-11-141-2/+3
| | | | | | Fixes [BUGID #510] Signed-off-by: Qing He <qing.he@intel.com>
* packages: Separate out most of the remaining packages into recipesRichard Purdie2010-09-012-0/+47
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>