From 603a4079f57c2a5e86d1e796a7d1f3060a36b1a9 Mon Sep 17 00:00:00 2001 From: sfalexrog Date: Fri, 1 Mar 2019 21:31:43 +0300 Subject: [PATCH] builder: Don't copy image cache to the image --- builder/image-build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builder/image-build.sh b/builder/image-build.sh index 9d447d7f..5d2e6634 100755 --- a/builder/image-build.sh +++ b/builder/image-build.sh @@ -84,7 +84,7 @@ ${BUILDER_DIR}/image-chroot.sh ${IMAGE_PATH} exec ${SCRIPTS_DIR}'/image-init.sh' shopt -s dotglob for dir in ${REPO_DIR}/*; do # Don't try to copy image into itself - if [[ $dir != *"images" ]]; then + if [[ $dir != *"images" && $dir != *"imgcache" ]]; then ${BUILDER_DIR}/image-chroot.sh ${IMAGE_PATH} copy $dir '/home/pi/catkin_ws/src/clever/' fi; done