Removing unecessary removal of apt preferences.

When we rebuild an image with changed local archives,
we would preferably remove the already existing preferences files.
However, there's no way to make sure that we remove enough or too
much, hence we don't remove any at all and stay with the dogma:

  "If you change something in the config tree affecting $stage,
   you need to rebuild that stage from scratch."

So for pinning changes for local archives, this means, since it's
affecting the chroot stage, we'll have to rebuild the chroot stage:

  "lb clean --chroot && lb chroot"
This commit is contained in:
Daniel Baumann 2012-10-25 14:00:33 +02:00
parent 2caef33ea2
commit 9a33f681fa
1 changed files with 0 additions and 3 deletions

View File

@ -189,9 +189,6 @@ EOF
fi
fi
# probably too bold, needs refinment (FIXME)
rm -f chroot/etc/apt/preferences.d/*
# Configure third-party archives
if [ -n "${LB_ARCHIVES}" ]
then