]> code.ossystems Code Review - openembedded-core.git/commit
devshell.bbclass: fix double unbuffering
authorEd Bartosh <ed.bartosh@linux.intel.com>
Mon, 4 Jul 2016 22:08:13 +0000 (01:08 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 8 Jul 2016 08:55:39 +0000 (09:55 +0100)
commit875910451e1ce97d0c42b41b1140c8160ed1f40a
tree0f494d779ea57ce0e80d9d5f72597979f4498a80
parent66cda3c6a281fd06e787ddbeb03f4796aae0feb8
devshell.bbclass: fix double unbuffering

stdout is already unbuffered in bitbake code. Attempt to
do it again in devshell.bbclass causes this crash when
running devpyshell:
  File "scripts/oepydevshell-internal.py", line 29, in <module>
      pty = open(sys.argv[1], "w+b", 0)
  IOError: [Errno 13] Permission denied: '/dev/pts/6'

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/devshell.bbclass