From b507cab2b543b299988f704aabad85cbc7ab6912 Mon Sep 17 00:00:00 2001 From: Jon-Paul Sullivan Date: Tue, 15 Apr 2014 11:24:43 +0100 Subject: [PATCH] Move instead of copy the temporary git manifest This prevents a build-up of temporary files in the cache directory Change-Id: Ice34b57ef4f24bbe69b43ee3b2e2e394894825e5 --- .../source-repositories/extra-data.d/98-source-repositories | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/elements/source-repositories/extra-data.d/98-source-repositories b/elements/source-repositories/extra-data.d/98-source-repositories index 87dfc345..64adde3f 100755 --- a/elements/source-repositories/extra-data.d/98-source-repositories +++ b/elements/source-repositories/extra-data.d/98-source-repositories @@ -178,5 +178,5 @@ done # Copy the manifest into the image if it exists (there may be no git repositories used) if [ -e "$GIT_MANIFEST" ] ; then - sudo cp $GIT_MANIFEST $TMP_MOUNT_PATH/${DIB_MANIFEST_IMAGE_DIR}/$GIT_MANIFEST_NAME + sudo mv $GIT_MANIFEST $TMP_MOUNT_PATH/${DIB_MANIFEST_IMAGE_DIR}/$GIT_MANIFEST_NAME fi