mirror of
https://github.com/lingble/meta-tegra.git
synced 2025-10-29 11:32:30 +00:00
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:
committed by
Matt Madison
parent
48e1cd5eb4
commit
d111128487
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user