config.json: Add default MACHINE qemux86-64
PATCH 1/2 config.json: Add default MACHINE qemux86-64
This is the default oe-core MACHINE value.
Prevent error-reporting tool to report simply False. It was seen in check-layer where the MACHINE wasn't specified.
[YOCTO #14208]
Signed-off-by Yi Fan Yu <[email protected]>
--- config.json | 1 + 1 file changed, 1 insertion(+)
config.json +1 -0
@@ -26,6 +26,7 @@ "defaults" : { "NEEDREPOS" : ["poky"], "DISTRO" : "poky", + "MACHINE" : "qemux86-64", "SDKMACHINE" : "i686", "PACKAGE_CLASSES" : "package_rpm package_deb package_ipk", "DLDIR" : "DL_DIR = '${BASE_SHAREDDIR}/current_sources'",
Signature · 1 line
2.29.2
PATCH 2/2 scripts/utils.py: Add reporting for yocto-check-layer
The default behavior is to look for a bitbake command, which fails and produces a confusing output of [-1:].
[YOCTO #14208]
Signed-off-by Yi Fan Yu <[email protected]>
--- scripts/utils.py | 3 +++ 1 file changed, 3 insertions(+)
scripts/utils.py +3 -0
@@ -330,6 +330,9 @@ class ErrorReport(object): elif 'oe-selftest' in command: report['error_type'] = 'oe-selftest' failure['task'] = command[command.find('oe-selftest'):] + elif 'yocto-check-layer' in command: + report['error_type'] = 'check-layer' + failure['task'] = command[command.find('yocto-check-layer'):] else: report['error_type'] = 'core' failure['task'] = command[command.find('bitbake'):]
Signature · 1 line
2.29.2