diff options
Diffstat (limited to 'meta/lib/oe')
-rw-r--r-- | meta/lib/oe/package_manager.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/meta/lib/oe/package_manager.py b/meta/lib/oe/package_manager.py index 1087144d47..f26f597d03 100644 --- a/meta/lib/oe/package_manager.py +++ b/meta/lib/oe/package_manager.py | |||
@@ -439,6 +439,11 @@ class PackageManager(object, metaclass=ABCMeta): | |||
439 | self._postpone_to_first_boot(script_full) | 439 | self._postpone_to_first_boot(script_full) |
440 | continue | 440 | continue |
441 | 441 | ||
442 | if populate_sdk == 'host' and self.d.getVar('SDK_OS') == 'mingw32': | ||
443 | bb.warn("The postinstall intercept hook '%s' could not be executed due to missing wine support, details in %s/log.do_%s" | ||
444 | % (script, self.d.getVar('T'), self.d.getVar('BB_CURRENTTASK'))) | ||
445 | continue | ||
446 | |||
442 | bb.note("> Executing %s intercept ..." % script) | 447 | bb.note("> Executing %s intercept ..." % script) |
443 | 448 | ||
444 | try: | 449 | try: |
@@ -447,7 +452,7 @@ class PackageManager(object, metaclass=ABCMeta): | |||
447 | except subprocess.CalledProcessError as e: | 452 | except subprocess.CalledProcessError as e: |
448 | bb.note("Exit code %d. Output:\n%s" % (e.returncode, e.output.decode("utf-8"))) | 453 | bb.note("Exit code %d. Output:\n%s" % (e.returncode, e.output.decode("utf-8"))) |
449 | if populate_sdk == 'host': | 454 | if populate_sdk == 'host': |
450 | bb.warn("The postinstall intercept hook '%s' failed, details in %s/log.do_%s" % (script, self.d.getVar('T'), self.d.getVar('BB_CURRENTTASK'))) | 455 | bb.fatal("The postinstall intercept hook '%s' failed, details in %s/log.do_%s" % (script, self.d.getVar('T'), self.d.getVar('BB_CURRENTTASK'))) |
451 | elif populate_sdk == 'target': | 456 | elif populate_sdk == 'target': |
452 | if "qemuwrapper: qemu usermode is not supported" in e.output.decode("utf-8"): | 457 | if "qemuwrapper: qemu usermode is not supported" in e.output.decode("utf-8"): |
453 | bb.warn("The postinstall intercept hook '%s' could not be executed due to missing qemu usermode support, details in %s/log.do_%s" | 458 | bb.warn("The postinstall intercept hook '%s' could not be executed due to missing qemu usermode support, details in %s/log.do_%s" |