mirror of
https://git.yoctoproject.org/poky
synced 2026-05-09 17:39:31 +00:00
bind: clean host path in isc-config.sh
* /usr/bin/isc-config.sh * /usr/bin/bind9-config - hardlink to isc-config.sh (From OE-Core rev: c2332d304a2c872e97653c980b090efa2181123b) Signed-off-by: Shiqun Lin <Shiqun.Lin@windriver.com> Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
fc5ad52ca7
commit
fa234ef4e0
@@ -51,6 +51,13 @@ FILES_${PN}-utils = "${bindir}/host ${bindir}/dig"
|
||||
FILES_${PN}-dev += "${bindir}/isc-config.h"
|
||||
FILES_${PN} += "${sbindir}/generate-rndc-key.sh"
|
||||
|
||||
do_install_prepend() {
|
||||
# clean host path in isc-config.sh before the hardlink created
|
||||
# by "make install":
|
||||
# bind9-config -> isc-config.sh
|
||||
sed -i -e "s,${STAGING_LIBDIR},${libdir}," ${S}/isc-config.sh
|
||||
}
|
||||
|
||||
do_install_append() {
|
||||
rm "${D}${bindir}/nslookup"
|
||||
rm "${D}${mandir}/man1/nslookup.1"
|
||||
|
||||
Reference in New Issue
Block a user