From: "Stefan Eichenberger" <Stefan.Eichenberger@netmodule.com>
To: <poky@yoctoproject.org>
Subject: [PATCH] Write DPKG_ARCH to /etc/apt/apt.conf
Date: Fri, 8 Feb 2013 15:30:13 +0100 [thread overview]
Message-ID: <1U3oyM-0002sc-H7@wolf.netmodule.com> (raw)
Apt does not recognize the architecture if a different one is set with
DPKG_ARCH (e.g. armel). This patch writes the correct architecture to
/etc/apt/apt.conf.
Signed-off-by: Stefan Eichenberger <stefan.eichenberger@netmodule.com>
---
meta/recipes-devtools/apt/apt_0.7.14.bb | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/meta/recipes-devtools/apt/apt_0.7.14.bb
b/meta/recipes-devtools/apt/apt_0.7.14.bb
index 667b700..7f1572b 100644
--- a/meta/recipes-devtools/apt/apt_0.7.14.bb
+++ b/meta/recipes-devtools/apt/apt_0.7.14.bb
@@ -16,3 +16,8 @@ require apt-package.inc
FILES_${PN} += "${bindir}/apt-key"
apt-manpages += "doc/apt-key.8"
+do_install_append() {
+ #Write the correct apt-architecture to apt.conf
+ APT_CONF=${D}/etc/apt/apt.conf
+ echo 'APT::Architecture "${DPKG_ARCH}";' > ${APT_CONF}
+}
--
1.7.4.1
reply other threads:[~2013-02-08 14:30 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=1U3oyM-0002sc-H7@wolf.netmodule.com \
--to=stefan.eichenberger@netmodule.com \
--cc=poky@yoctoproject.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.