Clean up clean up

This commit is contained in:
Serge Schneider
2017-03-30 17:51:23 +01:00
parent c0a5b85f8f
commit 6c146a7bb7
6 changed files with 30 additions and 20 deletions

View File

@@ -28,7 +28,7 @@ copy_previous(){
false
fi
mkdir -p "${ROOTFS_DIR}"
rsync -aHAXx "${PREV_ROOTFS_DIR}/" "${ROOTFS_DIR}/"
rsync -aHAXx --exclude var/cache/apt/archives "${PREV_ROOTFS_DIR}/" "${ROOTFS_DIR}/"
}
export -f copy_previous