diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2012-07-23 22:42:26 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-07-26 14:39:49 +0100 |
commit | 3f4f6726646e18ae21919e2f361b669332796aef (patch) | |
tree | 317eab560856535d03ba55673213ec09d8306cc3 /meta/classes/package_deb.bbclass | |
parent | 76ef414b8a017557cf5f3ad7b3ca8a324f7aad29 (diff) | |
download | openembedded-core-3f4f6726646e18ae21919e2f361b669332796aef.tar.gz openembedded-core-3f4f6726646e18ae21919e2f361b669332796aef.tar.bz2 openembedded-core-3f4f6726646e18ae21919e2f361b669332796aef.zip |
classes/package_deb: add PackageArch field
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>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/classes/package_deb.bbclass')
-rw-r--r-- | meta/classes/package_deb.bbclass | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/package_deb.bbclass b/meta/classes/package_deb.bbclass index d09baeaa28..48511dfe90 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 |