| Summary: | Resolvconf missing normalize-resolvconf file since it is moved to a separate file since version 1.90 | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Qorin <qorin.qorinna> | ||||
| Component: | connectivity | Assignee: | Qorin <qorin.qorinna> | ||||
| Status: | RESOLVED NOTABUG | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | Medium+ | CC: | meta.mr.watcher, meta.watcher, pokylinux, randy.macleod, ross.burton | ||||
| Version: | 4.0 | ||||||
| Target Milestone: | 4.2 M1 | ||||||
| Hardware: | All | ||||||
| OS: | Multiple | ||||||
| Whiteboard: | |||||||
| OS type for building Yocto: | --- | Type of Regression: | --- | ||||
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |||||
| Attachments: |
|
||||||
|
Description
Qorin
2022-06-10 17:48:19 UTC
Hi Qorin, Can you send that patch to the mailing list for review? bugzilla is just for bugs, not patches. The long version of the documentation is at https://www.openembedded.org/wiki/How_to_submit_a_patch_to_OpenEmbedded, but the short version is just `git send-email --to openembedded-core@lists.openembedded.org -1 HEAD`. (In reply to comment #1) > Hi Qorin, > > Can you send that patch to the mailing list for review? bugzilla is just > for bugs, not patches. > > The long version of the documentation is at > https://www.openembedded.org/wiki/How_to_submit_a_patch_to_OpenEmbedded, but > the short version is just `git send-email --to > openembedded-core@lists.openembedded.org -1 HEAD`. done! (In reply to comment #1) > Hi Qorin, > > Can you send that patch to the mailing list for review? bugzilla is just > for bugs, not patches. > > The long version of the documentation is at > https://www.openembedded.org/wiki/How_to_submit_a_patch_to_OpenEmbedded, but > the short version is just `git send-email --to > openembedded-core@lists.openembedded.org -1 HEAD`. done! Thanks! This is still not upstream and resolvconf does not seem to work without it.
The patch I am currently using on langdale/master is:
diff --git a/meta/recipes-connectivity/resolvconf/resolvconf_1.91.bb b/meta/recipes-connectivity/resolvconf/resolvconf_1.91.bb
index 94fd2c1a70..dba58ad2d6 100644
--- a/meta/recipes-connectivity/resolvconf/resolvconf_1.91.bb
+++ b/meta/recipes-connectivity/resolvconf/resolvconf_1.91.bb
@@ -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
Not sure how that got missed. I've pulled it into a staging branch and we'll test it. |