bind: disable nslookup man page
The nslookup is not shipped for now, we should disable its man page if the binary tool is not installed. [YOCTO#3754] (From OE-Core rev: 1a31918733a7f8479220c01fc99dd9099fdcaf9b) Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
685cde5065
commit
ad1af9dc8b
|
@ -6,7 +6,7 @@ LICENSE = "ISC & BSD"
|
|||
LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=0fbe2a3ab3c68ac3fea3cad13093877c"
|
||||
|
||||
DEPENDS = "openssl libcap"
|
||||
PR = "r4"
|
||||
PR = "r5"
|
||||
|
||||
SRC_URI = "ftp://ftp.isc.org/isc/bind9/${PV}/${BPN}-${PV}.tar.gz \
|
||||
file://conf.patch \
|
||||
|
@ -38,6 +38,7 @@ FILES_${PN}-dev += "${bindir}/isc-config.h"
|
|||
|
||||
do_install_append() {
|
||||
rm "${D}${bindir}/nslookup"
|
||||
rm "${D}${mandir}/man1/nslookup.1"
|
||||
install -d "${D}${sysconfdir}/bind"
|
||||
install -d "${D}${sysconfdir}/init.d"
|
||||
install -m 644 ${S}/conf/* "${D}${sysconfdir}/bind/"
|
||||
|
|
Loading…
Reference in New Issue