Install list-records with resolvconf package
PATCH 1/1 Install list-records with resolvconf package
The resolvconf script uses /lib/resolvconf/list-records, but the recipe does not install it. This causes an error when /etc/resolvconf/update.d runs.
--- .../resolvconf/resolvconf_1.75.bb | 6 ++++++ 1 file changed, 6 insertions(+)
meta/recipes-connectivity/resolvconf/resolvconf_1.75.bb +6 -0
@@ -40,8 +40,14 @@ do_install () { install -m 0755 bin/resolvconf ${D}${base_sbindir}/ install -m 0644 README ${D}${docdir}/${P}/ install -m 0644 man/resolvconf.8 ${D}${mandir}/man8/ + + # resolvconf requires /lib/resolvconf/list-records + install -d ${D}${base_libdir}/${BPN} + install -m 0755 ${S}/bin/list-records ${D}${base_libdir}/${BPN} } +FILES_${PN} += "/lib/resolvconf/" + pkg_postinst_${PN} () { if [ -z "$D" ]; then if command -v systemd-tmpfiles >/dev/null; then
Signature · 1 line
1.7.9.5
PATCH 1/1 Install list-records with resolvconf package
I had sent this to the wrong list.
---------- Forwarded message ----------
From: Jate Sujjavanich <[email protected]>
Date: Mon, Jun 23, 2014 at 10:16 AM
Subject: [PATCH] Install list-records with resolvconf package
To: [email protected], [email protected]
Cc: Jate Sujjavanich <[email protected]>
The resolvconf script uses /lib/resolvconf/list-records, but the recipe does not install it. This causes an error when /etc/resolvconf/update.d runs.
--- .../resolvconf/resolvconf_1.75.bb | 6 ++++++ 1 file changed, 6 insertions(+)
(quoted diff) +0 -0
b/meta/recipes-connectivity/resolvconf/resolvconf_1.75.bb index 7310c83..77eac7a 100644
meta/recipes-connectivity/resolvconf/resolvconf_1.75.bb +6 -0
@@ -40,8 +40,14 @@ do_install () { install -m 0755 bin/resolvconf ${D}${base_sbindir}/ install -m 0644 README ${D}${docdir}/${P}/ install -m 0644 man/resolvconf.8 ${D}${mandir}/man8/ + + # resolvconf requires /lib/resolvconf/list-records + install -d ${D}${base_libdir}/${BPN} + install -m 0755 ${S}/bin/list-records ${D}${base_libdir}/${BPN} } +FILES_${PN} += "/lib/resolvconf/" + pkg_postinst_${PN} () { if [ -z "$D" ]; then if command -v systemd-tmpfiles >/dev/null; then
--
1.7.9.5
I am following up on this patch.
Quoted 38 lines · Jate S
From: Jate Sujjavanich <[email protected]>
Date: Mon, Jun 23, 2014 at 10:16 AM
Subject: [PATCH] Install list-records with resolvconf package
To: [email protected], [email protected]
Cc: Jate Sujjavanich <[email protected]>The resolvconf script uses
/lib/resolvconf/list-records, but the recipe does not install it. This causes an error when/etc/resolvconf/update.druns.Signed-off-by Jate Sujjavanich <[email protected]>--- .../resolvconf/resolvconf_1.75.bb | 6 ++++++ 1 file changed, 6 insertions(+)meta/recipes-connectivity/resolvconf/resolvconf_1.75.bb +6
-1@@ -40,8 +40,14 @@ do_install () { install -m 0755 bin/resolvconf ${D}${base_sbindir}/ install -m 0644 README ${D}${docdir}/${P}/ install -m 0644 man/resolvconf.8 ${D}${mandir}/man8/ + + # resolvconf requires /lib/resolvconf/list-records + install -d ${D}${base_libdir}/${BPN} + install -m 0755 ${S}/bin/list-records ${D}${base_libdir}/${BPN} } +FILES_${PN} += "/lib/resolvconf/" + pkg_postinst_${PN} () { if [ -z "$D" ]; then if command -v systemd-tmpfiles >/dev/null; then --1.7.9.5