|
@@ -9,10 +9,11 @@ LICENSE = "GPL-2.0-or-later"
|
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=c93c0550bd3173f4504b2cbd8991e50b"
|
|
|
AUTHOR = "Thomas Hood"
|
|
|
HOMEPAGE = "http://packages.debian.org/resolvconf"
|
|
|
-RDEPENDS:${PN} = "bash"
|
|
|
+RDEPENDS:${PN} = "bash sed util-linux-flock"
|
|
|
|
|
|
SRC_URI = "git://salsa.debian.org/debian/resolvconf.git;protocol=https;branch=unstable \
|
|
|
file://99_resolvconf \
|
|
|
+ file://0001-avoid-using-m-option-for-readlink.patch \
|
|
|
"
|
|
|
|
|
|
SRCREV = "859209d573e7aec0e95d812c6b52444591a628d1"
|
|
@@ -23,8 +24,6 @@ S = "${WORKDIR}/git"
|
|
|
# so we check the latest upstream from a directory that does get updated
|
|
|
UPSTREAM_CHECK_URI = "${DEBIAN_MIRROR}/main/r/resolvconf/"
|
|
|
|
|
|
-inherit allarch
|
|
|
-
|
|
|
do_compile () {
|
|
|
:
|
|
|
}
|
|
@@ -39,12 +38,14 @@ do_install () {
|
|
|
fi
|
|
|
install -d ${D}${base_libdir}/${BPN}
|
|
|
install -d ${D}${sysconfdir}/${BPN}
|
|
|
+ install -d ${D}${nonarch_base_libdir}/${BPN}
|
|
|
ln -snf ${localstatedir}/run/${BPN} ${D}${sysconfdir}/${BPN}/run
|
|
|
install -d ${D}${sysconfdir} ${D}${base_sbindir}
|
|
|
install -d ${D}${mandir}/man8 ${D}${docdir}/${P}
|
|
|
cp -pPR etc/resolvconf ${D}${sysconfdir}/
|
|
|
chown -R root:root ${D}${sysconfdir}/
|
|
|
install -m 0755 bin/resolvconf ${D}${base_sbindir}/
|
|
|
+ install -m 0755 bin/normalize-resolvconf ${D}${nonarch_base_libdir}/${BPN}
|
|
|
install -m 0755 bin/list-records ${D}${base_libdir}/${BPN}
|
|
|
install -d ${D}/${sysconfdir}/network/if-up.d
|
|
|
install -m 0755 debian/resolvconf.000resolvconf.if-up ${D}/${sysconfdir}/network/if-up.d/000resolvconf
|
|
@@ -64,4 +65,4 @@ pkg_postinst:${PN} () {
|
|
|
fi
|
|
|
}
|
|
|
|
|
|
-FILES:${PN} += "${base_libdir}/${BPN}"
|
|
|
+FILES:${PN} += "${base_libdir}/${BPN} ${nonarch_base_libdir}/${BPN}"
|