binman: Overwrite symlink if it already exists
authorAndrew Davis <afd@ti.com>
Fri, 21 Jul 2023 18:44:44 +0000 (00:14 +0530)
committerTom Rini <trini@konsulko.com>
Fri, 21 Jul 2023 23:36:59 +0000 (19:36 -0400)
commit15432ea611e637872afd743e0261c087ccd5768a
tree978418e3e29f248fa3698b56d9d61499db7aba57
parent1ee652ab2f356c8a775bc4878f32f26f29a4c941
binman: Overwrite symlink if it already exists

Without this re-building will fail with an error when trying to create
the symlink for the second time with an already exists error.

Signed-off-by: Andrew Davis <afd@ti.com>
[n-francis@ti.com: Added support for test output dir and testcase]
Signed-off-by: Neha Malcom Francis <n-francis@ti.com>
tools/binman/ftest.py
tools/binman/image.py