Fix for YOCTO #7662
cover Fix for YOCTO #7662
The following changes since commit 20a3a36547831349d5d8b429cb35f1415a856bda:
scripts/combo-layer: Fix exit codes and tty handling (2015-06-05 16:42:17 +0100)
are available in the git repository at:
git://git.yoctoproject.org/poky-contrib Ciorga/YB7662
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=Ciorga/YB7662
Cristian Iorga (1):
insane: errors out on binaries installed by allarch-inherit recipes
meta/classes/insane.bbclass | 5 +++++ 1 file changed, 5 insertions(+)
Signature · 1 line
2.1.4
PATCH 1/1 insane: errors out on binaries installed by allarch-inherit recipes
If a prebuilt binary is installed via a recipe that inherits allarch, an odd-looking traceback is thrown out. Fixed by implementing a proper check and outputting an error message that clarifies the issue.
Fixes [YOCTO #7662].
Signed-off-by Cristian Iorga <[email protected]>
--- meta/classes/insane.bbclass | 5 +++++ 1 file changed, 5 insertions(+)
meta/classes/insane.bbclass +5 -0
@@ -457,6 +457,11 @@ def package_qa_check_arch(path,name,d, elf, messages): provides = d.getVar('PROVIDES', True) bpn = d.getVar('BPN', True) + if target_arch == "allarch": + pn = d.getVar('PN', True) + messages["arch"] = pn + ": Recipe inherits the allarch class, but has packaged architecture-specific binaries" + return + # FIXME: Cross package confuse this check, so just skip them for s in ['cross', 'nativesdk', 'cross-canadian']: if bb.data.inherits_class(s, d):
Signature · 1 line
2.1.4