From: Paul Eggleton <paul.eggleton@linux.intel.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH 3/6] classes/package_deb: add PackageArch field
Date: Mon, 23 Jul 2012 22:42:26 +0100 [thread overview]
Message-ID: <77d67ea54683657b5ec5bc770c4acdec582af44c.1343079550.git.paul.eggleton@linux.intel.com> (raw)
In-Reply-To: <cover.1343079550.git.paul.eggleton@linux.intel.com>
In-Reply-To: <cover.1343079550.git.paul.eggleton@linux.intel.com>
If we want to query the PACKAGE_ARCH from the installed package (as we
do in order to be able to do a pkgdata lookup for example) then we need
to have this stored in its own field as this is not always the same as
the Architecture field for deb packages.
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
---
meta/classes/package_deb.bbclass | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta/classes/package_deb.bbclass b/meta/classes/package_deb.bbclass
index d09baea..48511df 100644
--- a/meta/classes/package_deb.bbclass
+++ b/meta/classes/package_deb.bbclass
@@ -290,6 +290,7 @@ python do_package_deb () {
fields.append(["Maintainer: %s\n", ['MAINTAINER']])
fields.append(["Architecture: %s\n", ['DPKG_ARCH']])
fields.append(["OE: %s\n", ['PN']])
+ fields.append(["PackageArch: %s\n", ['PACKAGE_ARCH']])
fields.append(["Homepage: %s\n", ['HOMEPAGE']])
# Package, Version, Maintainer, Description - mandatory
--
1.7.9.5
next prev parent reply other threads:[~2012-07-23 21:54 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-23 21:42 [PATCH 0/6] rootfs generation improvements v2 Paul Eggleton
2012-07-23 21:42 ` [PATCH 1/6] package.bbclass: Create symlinks for packages with different packaged name Paul Eggleton
2012-07-23 21:42 ` [PATCH 2/6] classes/rootfs_rpm: improve speed of RPM rootfs construction Paul Eggleton
2012-07-23 21:42 ` Paul Eggleton [this message]
2012-07-23 21:42 ` [PATCH 4/6] Rework installation of dev, dbg, doc, and locale packages Paul Eggleton
2012-07-23 21:42 ` [PATCH 5/6] classes/image: add staticdev-pkgs IMAGE_FEATURES feature Paul Eggleton
2012-07-23 21:42 ` [PATCH 6/6] buildhistory: improve performance of image info collection Paul Eggleton
2012-07-25 8:44 ` [PATCH 0/6] rootfs generation improvements v2 Paul Eggleton
-- strict thread matches above, loose matches on Subject: below --
2012-07-25 23:03 [PATCH 0/6] rootfs generation improvements v4 Paul Eggleton
2012-07-25 23:03 ` [PATCH 3/6] classes/package_deb: add PackageArch field Paul Eggleton
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=77d67ea54683657b5ec5bc770c4acdec582af44c.1343079550.git.paul.eggleton@linux.intel.com \
--to=paul.eggleton@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