bind: switch Python dependency to Python 3.x
(From OE-Core rev: a10fd8722fb7c5f2c5a206203d0c7f4237a86466) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
c71f5ab374
commit
a17e1599a3
|
@ -56,7 +56,7 @@ SYSTEMD_SERVICE_${PN} = "named.service"
|
|||
|
||||
PARALLEL_MAKE = ""
|
||||
|
||||
RDEPENDS_${PN} = "python-core"
|
||||
RDEPENDS_${PN} = "python3-core"
|
||||
RDEPENDS_${PN}-dev = ""
|
||||
|
||||
PACKAGE_BEFORE_PN += "${PN}-utils"
|
||||
|
@ -81,7 +81,7 @@ do_install_append() {
|
|||
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"
|
||||
sed -i -e '1s,#!.*python,#! /usr/bin/env python,' ${D}${sbindir}/dnssec-coverage ${D}${sbindir}/dnssec-checkds
|
||||
sed -i -e '1s,#!.*python,#! /usr/bin/python3,' ${D}${sbindir}/dnssec-coverage ${D}${sbindir}/dnssec-checkds
|
||||
|
||||
# Install systemd related files
|
||||
install -d ${D}${sbindir}
|
||||
|
|
Loading…
Reference in New Issue