build_image: remove eclean, run in build_packages instead

Allows the binary package cache to be preserved when using build_image
without a fully populated board root.
This commit is contained in:
Michael Marineau 2016-02-20 14:11:41 -08:00
parent 61672f7f75
commit 9ab853a668
2 changed files with 2 additions and 2 deletions

View File

@ -105,8 +105,6 @@ for arg in "$@"; do
esac
done
eclean-$BOARD -d packages
# Check that the build root is sane.
if [[ ${skip_test_build_root} -ne 1 ]]; then
info "Checking build root"

View File

@ -243,6 +243,8 @@ if [[ "${FLAGS_usepkgonly}" -eq "${FLAGS_TRUE}" ]]; then
fi
fi
eclean-$BOARD -d packages
info "Checking build root"
test_image_content "${BOARD_ROOT}"