Remove .debs from the instance filesystem
authorIustin Pop <iustin@google.com>
Wed, 20 Feb 2008 10:29:32 +0000 (10:29 +0000)
committerIustin Pop <iustin@google.com>
Wed, 20 Feb 2008 10:29:32 +0000 (10:29 +0000)
commit90909d28eac257cfd6289992cf0d0663d6726da0
treefc7b7cedb85d21fc4378ac0ed75012618ec30ed0
parent51ea5f4187406230d3d02f60e3d78afb2a16a474
Remove .debs from the instance filesystem

This patch removes the .debs which were used in the debootstrap process
via a find and xargs invocation (as opposed to chroot $TMPDIR apt-get
clean).

The main reason for this is that:
  - we don't want the created cache to contain the debs (it's
    unreasonably larger than needed)
  - but we want an instance created with the cache to be the same as
    without cache

The patch also adds â€˜-f’ to the rm and mv invocations which didn't have
it.

Reviewed-by: imsnah
create