diff options
Diffstat (limited to 'meta/lib/oe/rootfs.py')
-rw-r--r-- | meta/lib/oe/rootfs.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/lib/oe/rootfs.py b/meta/lib/oe/rootfs.py index 5b842ba46a..9c8a0ebb7e 100644 --- a/meta/lib/oe/rootfs.py +++ b/meta/lib/oe/rootfs.py | |||
@@ -303,10 +303,10 @@ class Rootfs(object, metaclass=ABCMeta): | |||
303 | bb.note("> Executing %s intercept ..." % script) | 303 | bb.note("> Executing %s intercept ..." % script) |
304 | 304 | ||
305 | try: | 305 | try: |
306 | subprocess.check_call(script_full) | 306 | subprocess.check_output(script_full) |
307 | except subprocess.CalledProcessError as e: | 307 | except subprocess.CalledProcessError as e: |
308 | bb.warn("The postinstall intercept hook '%s' failed (exit code: %d)! See log for details!" % | 308 | bb.warn("The postinstall intercept hook '%s' failed (exit code: %d)! See log for details! (Output: %s)" % |
309 | (script, e.returncode)) | 309 | (script, e.returncode, e.output)) |
310 | 310 | ||
311 | with open(script_full) as intercept: | 311 | with open(script_full) as intercept: |
312 | registered_pkgs = None | 312 | registered_pkgs = None |