]> code.ossystems Code Review - openembedded-core.git/commit
devtool: open kconfig fragment in binary mode
authorStephano Cetola <stephano.cetola@linux.intel.com>
Mon, 27 Mar 2017 17:01:36 +0000 (10:01 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 28 Mar 2017 07:41:08 +0000 (08:41 +0100)
commit72bec63ab0e78753fb6ed1794d11beef9485c014
treee9edfaf6e06ffdd505f98edfc41b09f400dd2c77
parentd6b139ef1b52ee4842f8706c1b8b950cc50a3d54
devtool: open kconfig fragment in binary mode

When devtool writes to the kconfig fragment, it writes the output of
the diff command returned from pipe.communicate(). This function
returns binary objects. We should open the kconfig fragment file in
binary mode if we expect to write binary objects to it.

[YOCTO #11171]

Signed-off-by: Stephano Cetola <stephano.cetola@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/lib/devtool/standard.py