summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/package_deb.bbclass2
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 () {
161 return l2 161 return l2
162 162
163 ctrlfile.write("Package: %s\n" % pkgname) 163 ctrlfile.write("Package: %s\n" % pkgname)
164 if d.getVar('PACKAGE_ARCH', True) == "all":
165 ctrlfile.write("Multi-Arch: foreign\n")
164 # check for required fields 166 # check for required fields
165 try: 167 try:
166 for (c, fs) in fields: 168 for (c, fs) in fields: