[yocto] poky/meta/recipes-connectivity/bind
Dinh Nguyen (dinhn)
dinhn at cisco.com
Thu Feb 14 16:33:02 PST 2019
Many thanks for your prompt response as always Khem.
I was trying to build the bind recipe, but seeing the nslookup has been removed. I left my yocto project quite long time ago so I am kind of out of date ;-))
Best & thanks again.
--Dinh
From: Khem Raj <raj.khem at gmail.com>
Date: Thursday, February 14, 2019 at 4:14 PM
To: "Dinh Nguyen (dinhn)" <dinhn at cisco.com>
Cc: "Burton, Ross" <ross.burton at intel.com>, "yocto at yoctoproject.org" <yocto at yoctoproject.org>
Subject: Re: poky/meta/recipes-connectivity/bind
On Thu, Feb 14, 2019 at 3:47 PM Dinh Nguyen (dinhn) <dinhn at cisco.com<mailto:dinhn at cisco.com>> wrote:
Gurus,
What was the main reason why nslookup has been removed from Poky/meta/recipes-connectivity/bind/<xxx>>.bb?
nsloopup is supposed to go away as the upstream maintainers of this has stopped maintaining it. using dig or host
utility is suggested.
do_install_append() {
rm "${D}${bindir}/nslookup"
rm "${D}${mandir}/man1/nslookup.1"
rmdir "${D}${localstatedir}/run"
rmdir --ignore-fail-on-non-empty "${D}${localstatedir}"
install -d -o bind "${D}${localstatedir}/cache/bind"
install -d "${D}${sysconfdir}/bind"
install -d "${D}${sysconfdir}/init.d"
install -m 644 ${S}/conf/* "${D}${sysconfdir}/bind/"
install -m 755 "${S}/init.d" "${D}${sysconfdir}/init.d/bind"
if ${@bb.utils.contains('PACKAGECONFIG', 'python3', 'true', 'false', d)}; then
sed -i -e '1s,#!.*python3,#! /usr/bin/python3,' \
${D}${sbindir}/dnssec-coverage \
${D}${sbindir}/dnssec-checkds \
${D}${sbindir}/dnssec-keymgr
fi
Which yocto now has dig or host for DNS lookup?
you can install bind-utils in image which should
give you dig and host
Thanks,
--Dinh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20190215/8f44c246/attachment-0001.html>
More information about the yocto
mailing list