]> git.baikalelectronics.ru Git - uboot.git/commit
binman: Put fake files in a subdirectory
authorSimon Glass <sjg@chromium.org>
Sun, 7 Aug 2022 15:46:46 +0000 (09:46 -0600)
committerSimon Glass <sjg@chromium.org>
Sun, 21 Aug 2022 00:07:32 +0000 (18:07 -0600)
commit73debde65a640926be2c6d123c137d82e79b8f75
treeb6670586ae72982851b6bdd3dc8a7611b203f9a1
parent65d7850645444f32e353b64ee8266688ddfdfdf9
binman: Put fake files in a subdirectory

At present fake files from a previous build appear to be real files for
a subsequent build, since they sit in the output directory.

This can cause problems, since binman may need to parse the file, e.g.
with the Intel description.bin files.

Fix this by putting them in a 'binman-fake' subdirectory. Keep a track
of the fake filename so we only create it once. Subsequent builds will
still see that the file is missing and mark it as fake.

Update a few tests to check the behaviour.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/binman/binman.rst
tools/binman/control.py
tools/binman/entry.py
tools/binman/ftest.py