diff options
author | Richard Purdie <richard@openedhand.com> | 2007-08-20 07:48:43 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2007-08-20 07:48:43 +0000 |
commit | d8bfa5c6eff1cff34895304a33be671fb141084e (patch) | |
tree | 8f63f2cad401f42f5dd30930b0f042aa9c5bdaf8 /bitbake/lib/bb/cooker.py | |
parent | e68823a20c6e3b629c947bc7e329e5ea71a9860c (diff) | |
download | poky-d8bfa5c6eff1cff34895304a33be671fb141084e.tar.gz |
bitbake: Sync with 1.8.8 release
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2513 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'bitbake/lib/bb/cooker.py')
-rw-r--r-- | bitbake/lib/bb/cooker.py | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py index 955fbb434c..0eda9eed99 100644 --- a/bitbake/lib/bb/cooker.py +++ b/bitbake/lib/bb/cooker.py | |||
@@ -73,6 +73,19 @@ class BBCooker: | |||
73 | self.configuration.event_data = bb.data.createCopy(self.configuration.data) | 73 | self.configuration.event_data = bb.data.createCopy(self.configuration.data) |
74 | bb.data.update_data(self.configuration.event_data) | 74 | bb.data.update_data(self.configuration.event_data) |
75 | 75 | ||
76 | # | ||
77 | # TOSTOP must not be set or our children will hang when they output | ||
78 | # | ||
79 | fd = sys.stdout.fileno() | ||
80 | if os.isatty(fd): | ||
81 | import termios | ||
82 | tcattr = termios.tcgetattr(fd) | ||
83 | if tcattr[3] & termios.TOSTOP: | ||
84 | bb.msg.note(1, bb.msg.domain.Build, "The terminal had the TOSTOP bit set, clearing...") | ||
85 | tcattr[3] = tcattr[3] & ~termios.TOSTOP | ||
86 | termios.tcsetattr(fd, termios.TCSANOW, tcattr) | ||
87 | |||
88 | |||
76 | def tryBuildPackage(self, fn, item, task, the_data, build_depends): | 89 | def tryBuildPackage(self, fn, item, task, the_data, build_depends): |
77 | """ | 90 | """ |
78 | Build one task of a package, optionally build following task depends | 91 | Build one task of a package, optionally build following task depends |