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:40:47 +0100 |
commit | d9a0e081e6608533cdf26702c6220effe09f541c (patch) | |
tree | e24617150ea137fc8ca7a2ff4182806cf4a3244c /meta | |
parent | 5334a93d261598757ccce48a78b8ba2b7e5806f3 (diff) | |
download | poky-d9a0e081e6608533cdf26702c6220effe09f541c.tar.gz |
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.
(From OE-Core rev: 3f4f6726646e18ae21919e2f361b669332796aef)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-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 () { | |||
290 | fields.append(["Maintainer: %s\n", ['MAINTAINER']]) | 290 | fields.append(["Maintainer: %s\n", ['MAINTAINER']]) |
291 | fields.append(["Architecture: %s\n", ['DPKG_ARCH']]) | 291 | fields.append(["Architecture: %s\n", ['DPKG_ARCH']]) |
292 | fields.append(["OE: %s\n", ['PN']]) | 292 | fields.append(["OE: %s\n", ['PN']]) |
293 | fields.append(["PackageArch: %s\n", ['PACKAGE_ARCH']]) | ||
293 | fields.append(["Homepage: %s\n", ['HOMEPAGE']]) | 294 | fields.append(["Homepage: %s\n", ['HOMEPAGE']]) |
294 | 295 | ||
295 | # Package, Version, Maintainer, Description - mandatory | 296 | # Package, Version, Maintainer, Description - mandatory |