<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On 22 August 2016 at 10:52, Wang Xin <span dir="ltr"><<a href="mailto:wangxin2015.fnst@cn.fujitsu.com" target="_blank">wangxin2015.fnst@cn.fujitsu.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id=":2js" class="a3s aXjCH m156b1abd22fd9413">+EXTRA_OECONF = " ${ENABLE_IPV6} --with-python=python --with-randomdev=/dev/random --disable-threads \<br>
@@ -81,7 +76,7 @@ do_install_append() {<br>
<span class=""> install -d "${D}${sysconfdir}/init.d"<br>
install -m 644 ${S}/conf/* "${D}${sysconfdir}/bind/"<br>
install -m 755 "${S}/init.d" "${D}${sysconfdir}/init.d/<wbr>bind"<br>
- sed -i -e '1s,#!.*python,#! /usr/bin/python3,' ${D}${sbindir}/dnssec-coverage ${D}${sbindir}/dnssec-checkds<br>
</span>+ sed -i -e '1s,#!.*python,#! /usr/bin/python3,' ${D}${sbindir}/dnssec-coverage ${D}${sbindir}/dnssec-checkds ${D}${sbindir}/dnssec-keymgr</div></blockquote></div><br></div><div class="gmail_extra">Would passing --with-python=python3 mean you can remove the sed entirely?</div><div class="gmail_extra"><br></div><div class="gmail_extra">Ross</div></div>