public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
From: Dan McGregor <danismostlikely@gmail.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH 2/2] opkg-utils: store alternatives in nonarch_libdir
Date: Thu, 14 Jan 2016 14:47:04 -0600	[thread overview]
Message-ID: <1452804424-17632-3-git-send-email-danismostlikely@gmail.com> (raw)
In-Reply-To: <1452804424-17632-1-git-send-email-danismostlikely@gmail.com>

From: Daniel McGregor <daniel.mcgregor@vecima.com>

opkg-utils-native stores alternative info in /usr/lib, so do the
same on the target.

Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com>
---
 meta/recipes-devtools/opkg-utils/opkg-utils_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/opkg-utils/opkg-utils_git.bb b/meta/recipes-devtools/opkg-utils/opkg-utils_git.bb
index b242d1f..1bc561c 100644
--- a/meta/recipes-devtools/opkg-utils/opkg-utils_git.bb
+++ b/meta/recipes-devtools/opkg-utils/opkg-utils_git.bb
@@ -34,7 +34,7 @@ do_install() {
 
 do_install_append_class-target() {
 	if [ -e "${D}${bindir}/update-alternatives" ]; then
-		sed -i ${D}${bindir}/update-alternatives -e 's,/usr/bin,${bindir},g; s,/usr/lib,${libdir},g'
+		sed -i ${D}${bindir}/update-alternatives -e 's,/usr/bin,${bindir},g; s,/usr/lib,${nonarch_libdir},g'
 	fi
 }
 
-- 
2.7.0



      parent reply	other threads:[~2016-01-14 20:47 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-14 20:47 [PATCH 0/2] BASELIB != lib fixes Dan McGregor
2016-01-14 20:47 ` [PATCH 1/2] bitbake.conf: make localedir nonarch Dan McGregor
2016-01-18 12:18   ` Burton, Ross
2016-01-18 18:26     ` Christopher Larson
2016-01-14 20:47 ` Dan McGregor [this message]

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=1452804424-17632-3-git-send-email-danismostlikely@gmail.com \
    --to=danismostlikely@gmail.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