mirror of
https://github.com/flatcar/scripts.git
synced 2026-05-04 19:56:32 +02:00
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:
parent
61672f7f75
commit
9ab853a668
@ -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"
|
||||
|
||||
@ -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}"
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user