From e2580df891ded2c92e034d17535ead56487d4df4 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Thu, 2 Jul 2009 14:36:56 +0100 Subject: patch.bbclass: Fix up the environment for the patch resolution code Signed-off-by: Richard Purdie --- meta/classes/patch.bbclass | 2 ++ 1 file changed, 2 insertions(+) (limited to 'meta/classes') diff --git a/meta/classes/patch.bbclass b/meta/classes/patch.bbclass index 2cc1c3679..609e1a141 100644 --- a/meta/classes/patch.bbclass +++ b/meta/classes/patch.bbclass @@ -384,8 +384,10 @@ def patch_init(d): f.close() os.chmod(rcfile, 0775) + bb.utils.build_environment(d) os.environ['TERMWINDOWTITLE'] = "Bitbake: Please fix patch rejects manually" os.environ['TERMRCFILE'] = rcfile + bb.debug(bb.data.getVar('TERMCMDRUN', d, 1)) rc = os.system(bb.data.getVar('TERMCMDRUN', d, 1)) if os.WIFEXITED(rc) and os.WEXITSTATUS(rc) != 0: bb.msg.fatal(bb.msg.domain.Build, ("Cannot proceed with manual patch resolution - '%s' not found. " \ -- cgit v1.2.3