Skip to contentSkip to conversation

resolvconf: Install missing normalize-resolvconf file

PATCH New Qorin 1 participant 1 message Jun 21, 2022

lore
Share & tools
lore

Qorin

author
#0 lore raw

PATCH v2 1/1 resolvconf: Install missing normalize-resolvconf file

It was moved to a separate file in version 1.90.

---
 meta/recipes-connectivity/resolvconf/resolvconf_1.91.bb | 5 +++++
 1 file changed, 5 insertions(+)
meta/recipes-connectivity/resolvconf/resolvconf_1.91.bb +5 -0
index 94fd2c1a70..dba58ad2d6 100644
@@ -25,6 +25,10 @@ UPSTREAM_CHECK_URI = "${DEBIAN_MIRROR}/main/r/resolvconf/"
 
 inherit allarch
 
+# The normalize-resolvconf sed script uses /bin/sed on the shebang line.
+# Ignore the file-rdeps test to avoid having to add a runtime dependency on sed.
+INSANE_SKIP:${PN} += "file-rdeps"
+
 do_compile () {
 	:
 }
@@ -46,6 +50,7 @@ do_install () {
 	chown -R root:root ${D}${sysconfdir}/
 	install -m 0755 bin/resolvconf ${D}${base_sbindir}/
 	install -m 0755 bin/list-records ${D}${base_libdir}/${BPN}
+	install -m 0755 bin/normalize-resolvconf ${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
 	install -d ${D}/${sysconfdir}/network/if-down.d
Signature · 1 line
2.30.2