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.k...@gmail.com>
Date: Thursday, February 14, 2019 at 4:14 PM
To: "Dinh Nguyen (dinhn)" <di...@cisco.com>
Cc: "Burton, Ross" <ross.bur...@intel.com>, "yocto@yoctoproject.org" 
<yocto@yoctoproject.org>
Subject: Re: poky/meta/recipes-connectivity/bind



On Thu, Feb 14, 2019 at 3:47 PM Dinh Nguyen (dinhn) 
<di...@cisco.com<mailto:di...@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
-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to