diff options
Diffstat (limited to 'meta/recipes-connectivity/resolvconf/resolvconf_1.91.bb')
-rw-r--r-- | meta/recipes-connectivity/resolvconf/resolvconf_1.91.bb | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/meta/recipes-connectivity/resolvconf/resolvconf_1.91.bb b/meta/recipes-connectivity/resolvconf/resolvconf_1.91.bb index 94fd2c1a70..3f1b75d07d 100644 --- a/meta/recipes-connectivity/resolvconf/resolvconf_1.91.bb +++ b/meta/recipes-connectivity/resolvconf/resolvconf_1.91.bb | |||
@@ -9,10 +9,11 @@ LICENSE = "GPL-2.0-or-later" | |||
9 | LIC_FILES_CHKSUM = "file://COPYING;md5=c93c0550bd3173f4504b2cbd8991e50b" | 9 | LIC_FILES_CHKSUM = "file://COPYING;md5=c93c0550bd3173f4504b2cbd8991e50b" |
10 | AUTHOR = "Thomas Hood" | 10 | AUTHOR = "Thomas Hood" |
11 | HOMEPAGE = "http://packages.debian.org/resolvconf" | 11 | HOMEPAGE = "http://packages.debian.org/resolvconf" |
12 | RDEPENDS:${PN} = "bash" | 12 | RDEPENDS:${PN} = "bash sed util-linux-flock" |
13 | 13 | ||
14 | SRC_URI = "git://salsa.debian.org/debian/resolvconf.git;protocol=https;branch=unstable \ | 14 | SRC_URI = "git://salsa.debian.org/debian/resolvconf.git;protocol=https;branch=unstable \ |
15 | file://99_resolvconf \ | 15 | file://99_resolvconf \ |
16 | file://0001-avoid-using-m-option-for-readlink.patch \ | ||
16 | " | 17 | " |
17 | 18 | ||
18 | SRCREV = "859209d573e7aec0e95d812c6b52444591a628d1" | 19 | SRCREV = "859209d573e7aec0e95d812c6b52444591a628d1" |
@@ -23,8 +24,6 @@ S = "${WORKDIR}/git" | |||
23 | # so we check the latest upstream from a directory that does get updated | 24 | # so we check the latest upstream from a directory that does get updated |
24 | UPSTREAM_CHECK_URI = "${DEBIAN_MIRROR}/main/r/resolvconf/" | 25 | UPSTREAM_CHECK_URI = "${DEBIAN_MIRROR}/main/r/resolvconf/" |
25 | 26 | ||
26 | inherit allarch | ||
27 | |||
28 | do_compile () { | 27 | do_compile () { |
29 | : | 28 | : |
30 | } | 29 | } |
@@ -39,12 +38,14 @@ do_install () { | |||
39 | fi | 38 | fi |
40 | install -d ${D}${base_libdir}/${BPN} | 39 | install -d ${D}${base_libdir}/${BPN} |
41 | install -d ${D}${sysconfdir}/${BPN} | 40 | install -d ${D}${sysconfdir}/${BPN} |
41 | install -d ${D}${nonarch_base_libdir}/${BPN} | ||
42 | ln -snf ${localstatedir}/run/${BPN} ${D}${sysconfdir}/${BPN}/run | 42 | ln -snf ${localstatedir}/run/${BPN} ${D}${sysconfdir}/${BPN}/run |
43 | install -d ${D}${sysconfdir} ${D}${base_sbindir} | 43 | install -d ${D}${sysconfdir} ${D}${base_sbindir} |
44 | install -d ${D}${mandir}/man8 ${D}${docdir}/${P} | 44 | install -d ${D}${mandir}/man8 ${D}${docdir}/${P} |
45 | cp -pPR etc/resolvconf ${D}${sysconfdir}/ | 45 | cp -pPR etc/resolvconf ${D}${sysconfdir}/ |
46 | chown -R root:root ${D}${sysconfdir}/ | 46 | chown -R root:root ${D}${sysconfdir}/ |
47 | install -m 0755 bin/resolvconf ${D}${base_sbindir}/ | 47 | install -m 0755 bin/resolvconf ${D}${base_sbindir}/ |
48 | install -m 0755 bin/normalize-resolvconf ${D}${nonarch_base_libdir}/${BPN} | ||
48 | install -m 0755 bin/list-records ${D}${base_libdir}/${BPN} | 49 | install -m 0755 bin/list-records ${D}${base_libdir}/${BPN} |
49 | install -d ${D}/${sysconfdir}/network/if-up.d | 50 | install -d ${D}/${sysconfdir}/network/if-up.d |
50 | install -m 0755 debian/resolvconf.000resolvconf.if-up ${D}/${sysconfdir}/network/if-up.d/000resolvconf | 51 | install -m 0755 debian/resolvconf.000resolvconf.if-up ${D}/${sysconfdir}/network/if-up.d/000resolvconf |
@@ -64,4 +65,4 @@ pkg_postinst:${PN} () { | |||
64 | fi | 65 | fi |
65 | } | 66 | } |
66 | 67 | ||
67 | FILES:${PN} += "${base_libdir}/${BPN}" | 68 | FILES:${PN} += "${base_libdir}/${BPN} ${nonarch_base_libdir}/${BPN}" |