Skip to contentSkip to conversation

resolvconf: Install missing normalize-resolvconf file

PATCH Superseded Qorin 2 participants 3 messages Jun 20, 2022 – Jun 21, 2022

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Qorin

author
#0 lore raw

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

From: Qorin <[email protected]>

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
#1 lore raw

Hi Qorin,

Quoted 3 lines · On Mon, 20 Jun 2022 15:13:38 +0200 "Qorin Wu" <[email protected]> wrote:

From: Qorin <[email protected]>

It was moved to a separate file in version 1.90

When sending a new version of a patch, please mark it as "v2", "v3" etc. This is very easy to do with 'git format-patch' and 'git send-email' by adding the '-v<NUMBER>' option.

Another thing you are required to do is to sign off your patches. Git makes also this simple to do by adding '-s' to 'git commit'.

Thank you!

Signature · 3 lines
Luca Ceresoli, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
author
#2 lore raw

Hi Luca,

done!

Quoted 22 lines · Luca Ceresoli

Hi Qorin,

Quoted 3 lines · On Mon, 20 Jun 2022 15:13:38 +0200 "Qorin Wu" <[email protected]> wrote:

From: Qorin <[email protected]>

It was moved to a separate file in version 1.90

When sending a new version of a patch, please mark it as "v2", "v3" etc. This is very easy to do with 'git format-patch' and 'git send-email' by adding the '-v<NUMBER>' option.

Another thing you are required to do is to sign off your patches. Git makes also this simple to do by adding '-s' to 'git commit'.

Thank you!
--
Luca Ceresoli, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com