diff options
author | Matt Madison <matt@madison.systems> | 2016-01-06 04:21:35 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-01-11 23:23:17 +0000 |
commit | 7158c79a70e3d820c9701dacfa7206d13f95845a (patch) | |
tree | e47a6b66da30d802f04ff61a9f294fa5c38573cd /meta/classes | |
parent | c3ee9b12ae704eadf02ff288d8035b5885d6218e (diff) | |
download | openembedded-core-7158c79a70e3d820c9701dacfa7206d13f95845a.tar.gz openembedded-core-7158c79a70e3d820c9701dacfa7206d13f95845a.tar.bz2 openembedded-core-7158c79a70e3d820c9701dacfa7206d13f95845a.zip |
package_deb.bbclass: add 'Multi-Arch: foreign' tag to allarch packages
This tells APT that it can use such packages to resolve dependencies
from packages of any architecture in a multilib build.
Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/package_deb.bbclass | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/package_deb.bbclass b/meta/classes/package_deb.bbclass index 8d27adf292..25218d0865 100644 --- a/meta/classes/package_deb.bbclass +++ b/meta/classes/package_deb.bbclass @@ -161,6 +161,8 @@ python do_package_deb () { return l2 ctrlfile.write("Package: %s\n" % pkgname) + if d.getVar('PACKAGE_ARCH', True) == "all": + ctrlfile.write("Multi-Arch: foreign\n") # check for required fields try: for (c, fs) in fields: |