image_types_tegra: update __pycache__ cleanup after signing

The NVIDIA signing tools added a pyfdt package, so we need to
clean up the __pycache__ created for that as well as the
top-level one.

Signed-off-by: Matt Madison <matt@madison.systems>
This commit is contained in:
Matt Madison
2022-12-29 02:53:44 -08:00
committed by Matt Madison
parent 48e1cd5eb4
commit d111128487

View File

@@ -131,7 +131,8 @@ tegraflash_custom_sign_pkg() {
if [ -n "${TEGRA_SIGNING_ARGS}" ]; then
${TEGRA_SIGNING_ENV} ./doflash.sh --no-flash ${TEGRA_SIGNING_ARGS}
[ -e flashcmd.txt ] || bbfatal "No flashcmd.txt generated by signing step"
rm -rf doflash.sh secureflash.sh __pycache__
rm -rf doflash.sh secureflash.sh
find . -type d -name __pycache__ -exec rm -rf {} +
mv flashcmd.txt doflash.sh
chmod +x doflash.sh
tegraflash_post_sign_pkg