From 9ab853a668d6a62fc5f466efd5abadb9f3d96138 Mon Sep 17 00:00:00 2001 From: Michael Marineau Date: Sat, 20 Feb 2016 14:11:41 -0800 Subject: [PATCH] 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. --- build_image | 2 -- build_packages | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build_image b/build_image index fc3d9debdc..52bf3a8f0c 100755 --- a/build_image +++ b/build_image @@ -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" diff --git a/build_packages b/build_packages index 518f97fc84..c40c4ef6e7 100755 --- a/build_packages +++ b/build_packages @@ -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}"