cml1.bbclass: fix diffconfig diff command
Commit 6a7b989933
introduced a typo in
command, a whitespace was missing between --new-line-format and path to
original file. As a result, diffconfig task did not work, diff failed
with exit status 2, resulting in empty fragment.cfg.
(From OE-Core rev: 8c75aa7c30cc5a796962d099896ca2a9a16c3a06)
Signed-off-by: Maciej Borzecki <maciej.borzecki@open-rnd.pl>
Signed-off-by: Maciek Borzecki <maciek.borzecki@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
58bd515fde
commit
a346777b83
|
@ -58,7 +58,7 @@ python do_diffconfig() {
|
|||
bb.fatal("No config files found. Did you do menuconfig ?\n%s" % e)
|
||||
|
||||
if isdiff:
|
||||
statement = 'diff --unchanged-line-format= --old-line-format= --new-line-format="%L"' + configorig + ' ' + config + '>' + fragment
|
||||
statement = 'diff --unchanged-line-format= --old-line-format= --new-line-format="%L" ' + configorig + ' ' + config + '>' + fragment
|
||||
subprocess.call(statement, shell=True)
|
||||
|
||||
shutil.copy(configorig, config)
|
||||
|
|
Loading…
Reference in New Issue