[yocto] poky/meta/recipes-connectivity/bind

Khem Raj raj.khem at gmail.com
Thu Feb 14 16:13:51 PST 2019


On Thu, Feb 14, 2019 at 3:47 PM Dinh Nguyen (dinhn) <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/20190214/edb2fd46/attachment.html>


More information about the yocto mailing list