mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 00:20:08 +00:00
lib/oe/patch.py: Fix patch application failure interaction handling
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
@@ -373,7 +373,7 @@ class UserResolver(Resolver):
|
||||
os.chmod(rcfile, 0775)
|
||||
|
||||
os.environ['TERMWINDOWTITLE'] = "Bitbake: Please fix patch rejects manually"
|
||||
os.environ['TERMRCFILE'] = rcfile
|
||||
os.environ['SHELLCMDS'] = "bash --rcfile " + rcfile
|
||||
rc = os.system(bb.data.getVar('TERMCMDRUN', self.patchset.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. " \
|
||||
|
||||
Reference in New Issue
Block a user