diff options
-rwxr-xr-x | recipes-sota/aktualizr/aktualizr_git.bb | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/recipes-sota/aktualizr/aktualizr_git.bb b/recipes-sota/aktualizr/aktualizr_git.bb index 401042f..ca9d47b 100755 --- a/recipes-sota/aktualizr/aktualizr_git.bb +++ b/recipes-sota/aktualizr/aktualizr_git.bb | |||
@@ -71,8 +71,11 @@ do_install_ptest() { | |||
71 | cp -r ${B}/ ${D}/${PTEST_PATH}/build | 71 | cp -r ${B}/ ${D}/${PTEST_PATH}/build |
72 | cp -r ${S}/ ${D}/${PTEST_PATH}/src | 72 | cp -r ${S}/ ${D}/${PTEST_PATH}/src |
73 | 73 | ||
74 | # remove bogus elf file | 74 | # remove huge external unused repository |
75 | rm ${D}/${PTEST_PATH}/src/partial/extern/RIOT/cpu/esp32/bin/bootloader.elf | 75 | rm -rf ${D}/${PTEST_PATH}/src/partial/extern/RIOT |
76 | |||
77 | # remove huge build artifacts | ||
78 | find ${D}/${PTEST_PATH}/build/src -name "*.a" -delete | ||
76 | 79 | ||
77 | # fix the absolute paths | 80 | # fix the absolute paths |
78 | find ${D}/${PTEST_PATH}/build -name "CMakeFiles" | xargs rm -rf | 81 | find ${D}/${PTEST_PATH}/build -name "CMakeFiles" | xargs rm -rf |