diff options
author | Daniel Baumann <daniel@debian.org> | 2007-09-23 10:05:12 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2007-09-23 10:05:12 +0200 |
commit | ce2db1b609a7e94ecad2cd1289ea8158c55a97fc (patch) | |
tree | 5a29d0f82735a131c9319b5b825c57b740584d13 /helpers/lh_chroot_cache | |
parent | 12763194d01c4c11df288c36ef544330cf8d9f00 (diff) | |
download | vyos-live-build-ce2db1b609a7e94ecad2cd1289ea8158c55a97fc.tar.gz vyos-live-build-ce2db1b609a7e94ecad2cd1289ea8158c55a97fc.zip |
Adding live-helper 1.0~a15-1.
Diffstat (limited to 'helpers/lh_chroot_cache')
-rwxr-xr-x | helpers/lh_chroot_cache | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/helpers/lh_chroot_cache b/helpers/lh_chroot_cache index 8d3d9620b..2f016a6f7 100755 --- a/helpers/lh_chroot_cache +++ b/helpers/lh_chroot_cache @@ -49,8 +49,11 @@ do if [ "${STAGE}" = "chroot" ] && [ -d cache/stages_chroot ] then + # Removing old chroot + rm -rf chroot + # Restoring old cache - ${LH_ROOT_COMMAND} cp -a cache/stages_chroot/* chroot + ${LH_ROOT_COMMAND} cp -a cache/stages_chroot chroot if [ -n "${LH_ROOT_COMMAND}" ] then |