summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/exceptions.py
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2024-10-08 08:47:27 -0700
committerSteve Sakoman <steve@sakoman.com>2024-11-26 06:11:30 -0800
commitc81f1bb300e5b686f5595e194f6fc0986dd15391 (patch)
treec353aef35dee200fcbc59effcdc6f9b193778420 /bitbake/lib/bb/exceptions.py
parent3fab614b0aed67914d2a9e664a31316a819c33f9 (diff)
downloadpoky-c81f1bb300e5b686f5595e194f6fc0986dd15391.tar.gz
cml1.bbclass: do_diffconfig: Don't override .config with .config.orig
Fixed: 1) $ bitbake virtual/kernel -cmenuconfig Do some changes and save the new config to default .config. 2) $ bitbake virtual/kernel -cdiffconfig The config fragment is dumped into ${WORKDIR}/fragment.cfg. But the .config which was saved by step #1 is overridden by .config.orig, so the changes will be lost if run 'bitbake virtual/kernel' And the following comment is for subprocess.call(), not for shutil.copy(), so move subprocess.call() to the correct location. # No need to check the exit code as we know it's going to be # non-zero, but that's what we expect. (From OE-Core rev: 7ec97c40696d3b2dda777f68b9ad07430969dc16) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 6cccf6b02f92dad514e65fd779ff659b19eb6be7) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'bitbake/lib/bb/exceptions.py')
0 files changed, 0 insertions, 0 deletions