Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Saul Wold <sgw@linux.intel.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH 3/5] dpkg: Fix usage of create_wrapper
Date: Mon, 10 Jun 2013 14:45:13 -0700	[thread overview]
Message-ID: <1370900715-29294-4-git-send-email-sgw@linux.intel.com> (raw)
In-Reply-To: <1370900715-29294-1-git-send-email-sgw@linux.intel.com>

create_wrapper changed recently and behaves differently now. It does
not directly exec the , but exports them, so the first parameter
needs to be an environemnt variable like a PATH, not a executable.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 meta/recipes-devtools/dpkg/dpkg.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/dpkg/dpkg.inc b/meta/recipes-devtools/dpkg/dpkg.inc
index 28c4f89..02383ed 100644
--- a/meta/recipes-devtools/dpkg/dpkg.inc
+++ b/meta/recipes-devtools/dpkg/dpkg.inc
@@ -56,7 +56,7 @@ do_install_append () {
 do_install_append_class-native () {
 	tmp=`find ${D}${bindir} -type f -exec grep -m 1 -l '#!/.*/perl-native/perl' {} \;`
 	for i in $tmp; do
-		create_wrapper $i ${STAGING_BINDIR_NATIVE}/perl-native/perl
+		create_wrapper $i PATH=${STAGING_BINDIR_NATIVE}/perl-native:\$PATH
 	done
 }
 
-- 
1.8.1.4



  parent reply	other threads:[~2013-06-10 21:45 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-10 21:45 [PATCH 0/5] Fixup usage of create_wrapper Saul Wold
2013-06-10 21:45 ` [PATCH 1/5] sanity: remove warn debug message Saul Wold
2013-06-10 21:45 ` [PATCH 2/5] createrepo: Fix usage of create_wrapper Saul Wold
2013-06-10 21:45 ` Saul Wold [this message]
2013-06-11 13:57   ` [PATCH 3/5] dpkg: " Burton, Ross
2013-06-10 21:45 ` [PATCH 4/5] gnome-doc-utils: " Saul Wold
2013-06-10 21:45 ` [PATCH 5/5] librsvg: configure needs a native gdk-pixbuf binary Saul Wold

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=1370900715-29294-4-git-send-email-sgw@linux.intel.com \
    --to=sgw@linux.intel.com \
    --cc=openembedded-core@lists.openembedded.org \
    /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