diff options
author | Jose Quaresma <quaresma.jose@gmail.com> | 2024-09-26 11:50:26 +0100 |
---|---|---|
committer | Ryan Eatmon <reatmon@ti.com> | 2024-10-01 15:45:11 -0500 |
commit | c3ab19272775ee1cd1495343ddb0f8ff7b4c4db8 (patch) | |
tree | b96eecbf63901a32a755d029639956f3a0a2325e | |
parent | b16f312185f72a33a71dbd621a8b00ee995180a4 (diff) | |
download | meta-ti-c3ab19272775ee1cd1495343ddb0f8ff7b4c4db8.tar.gz |
u-boot-ti: avoid write erros on the logs when removing deployed files
This will prevent a lot of noise on the build logs.
Currently we have some erros:
rm: cannot remove 'file'
No such file or directory
Like the following:
| rm: cannot remove '/lmp/build/tmp-lmp-k3r5/work/am64xx_evm_k3r5-lmp-eabi/u-boot-ti-staging/2024.04+git/deploy-u-boot-ti-staging/u-boot-initial-env*'
| : No such file or directory
| + true
| + rm /lmp/build/tmp-lmp-k3r5/work/am64xx_evm_k3r5-lmp-eabi/u-boot-ti-staging/2024.04+git/deploy-u-boot-ti-staging/u-boot-ti-staging-initial-env /lmp/build/tmp-lmp-k3r5/work/am64xx_evm_k3r5-lmp-eabi/u-boot-ti-staging/2024.04+git/deploy-u-boot-ti-staging/u-boot-ti-staging-initial-env-am64xx-evm-k3r5 /lmp/build/tmp-lmp-k3r5/work/am64xx_evm_k3r5-lmp-eabi/u-boot-ti-staging/2024.04+git/deploy-u-boot-ti-staging/u-boot-ti-staging-initial-env-am64xx-evm-k3r5-2024.04+git-r0
| + rm /lmp/build/tmp-lmp-k3r5/work/am64xx_evm_k3r5-lmp-eabi/u-boot-ti-staging/2024.04+git/deploy-u-boot-ti-staging/u-boot-initial-env-am64xx-evm-k3r5*
| rm: cannot remove '/lmp/build/tmp-lmp-k3r5/work/am64xx_evm_k3r5-lmp-eabi/u-boot-ti-staging/2024.04+git/deploy-u-boot-ti-staging/u-boot-initial-env-am64xx-evm-k3r5*'
| : No such file or directory
| + true
| + rm /lmp/build/tmp-lmp-k3r5/work/am64xx_evm_k3r5-lmp-eabi/u-boot-ti-staging/2024.04+git/deploy-u-boot-ti-staging/u-boot-ti-staging-initial-env-am64xx-evm-k3r5*
| rm: cannot remove '/lmp/build/tmp-lmp-k3r5/work/am64xx_evm_k3r5-lmp-eabi/u-boot-ti-staging/2024.04+git/deploy-u-boot-ti-staging/u-boot-ti-staging-initial-env-am64xx-evm-k3r5*'
| : No such file or directory
| + true
| + rm /lmp/build/tmp-lmp-k3r5/work/am64xx_evm_k3r5-lmp-eabi/u-boot-ti-staging/2024.04+git/deploy-u-boot-ti-staging/u-boot-initial-env-am64xx-evm-k3r5-2024.04+git-r0*
| rm: cannot remove '/lmp/build/tmp-lmp-k3r5/work/am64xx_evm_k3r5-lmp-eabi/u-boot-ti-staging/2024.04+git/deploy-u-boot-ti-staging/u-boot-initial-env-am64xx-evm-k3r5-2024.04+git-r0*'
| : No such file or directory
| + true
| + rm /lmp/build/tmp-lmp-k3r5/work/am64xx_evm_k3r5-lmp-eabi/u-boot-ti-staging/2024.04+git/deploy-u-boot-ti-staging/u-boot-ti-staging-initial-env-am64xx-evm-k3r5-2024.04+git-r0*
| rm: cannot remove '/lmp/build/tmp-lmp-k3r5/work/am64xx_evm_k3r5-lmp-eabi/u-boot-ti-staging/2024.04+git/deploy-u-boot-ti-staging/u-boot-ti-staging-initial-env-am64xx-evm-k3r5-2024.04+git-r0*'
| : No such file or directory
| + true
Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
-rw-r--r-- | meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc b/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc index bb50e1e9..e1f1972e 100644 --- a/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc +++ b/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc | |||
@@ -196,12 +196,12 @@ uboot_install:append () { | |||
196 | } | 196 | } |
197 | 197 | ||
198 | do_deploy:append:k3r5 () { | 198 | do_deploy:append:k3r5 () { |
199 | rm ${DEPLOYDIR}/u-boot-initial-env* || true | 199 | rm -f ${DEPLOYDIR}/u-boot-initial-env* |
200 | rm ${DEPLOYDIR}/${PN}-initial-env* || true | 200 | rm -f ${DEPLOYDIR}/${PN}-initial-env* |
201 | rm ${DEPLOYDIR}/u-boot-initial-env-${MACHINE}* || true | 201 | rm -f ${DEPLOYDIR}/u-boot-initial-env-${MACHINE}* |
202 | rm ${DEPLOYDIR}/${PN}-initial-env-${MACHINE}* || true | 202 | rm -f ${DEPLOYDIR}/${PN}-initial-env-${MACHINE}* |
203 | rm ${DEPLOYDIR}/u-boot-initial-env-${MACHINE}-${PV}-${PR}* || true | 203 | rm -f ${DEPLOYDIR}/u-boot-initial-env-${MACHINE}-${PV}-${PR}* |
204 | rm ${DEPLOYDIR}/${PN}-initial-env-${MACHINE}-${PV}-${PR}* || true | 204 | rm -f ${DEPLOYDIR}/${PN}-initial-env-${MACHINE}-${PV}-${PR}* |
205 | } | 205 | } |
206 | 206 | ||
207 | uboot_deploy_config:append:k3r5 () { | 207 | uboot_deploy_config:append:k3r5 () { |