Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Jate Sujjavanich <jatedev@gmail.com>
To: openembedded-devel@lists.openembedded.org, sgw@linux.intel.com
Subject: [PATCH] Install list-records with resolvconf package
Date: Mon, 23 Jun 2014 10:16:42 -0400	[thread overview]
Message-ID: <1403533002-1118-1-git-send-email-jatedev@gmail.com> (raw)

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.

Signed-off-by: Jate Sujjavanich <jatedev@gmail.com>
---
 .../resolvconf/resolvconf_1.75.bb                  |    6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/meta/recipes-connectivity/resolvconf/resolvconf_1.75.bb b/meta/recipes-connectivity/resolvconf/resolvconf_1.75.bb
index 7310c83..77eac7a 100644
--- a/meta/recipes-connectivity/resolvconf/resolvconf_1.75.bb
+++ b/meta/recipes-connectivity/resolvconf/resolvconf_1.75.bb
@@ -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



                 reply	other threads:[~2014-06-23 14:17 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1403533002-1118-1-git-send-email-jatedev@gmail.com \
    --to=jatedev@gmail.com \
    --cc=openembedded-devel@lists.openembedded.org \
    --cc=sgw@linux.intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox