# Distributed under the GPL v2
# $Id$
+ 29 Dec 2009; Andrew Gaffney <agaffney@gentoo.org>
+ targets/support/chroot-functions.sh:
+ Only run depclean for stage3/system
+
28 Dec 2009; Andrew Gaffney <agaffney@gentoo.org> catalyst:
This is catalyst 2.0.6.906
cleanup_icecream
fi
case ${clst_target} in
- stage1|stage2|stage3)
- rm -f /var/lib/portage/world
- touch /var/lib/portage/world
+ stage3|system)
+ run_merge --depclean --with-bdeps=n
;;
*)
- echo "Skipping removal of world file for ${clst_target}"
+ echo "Skipping depclean operation for ${clst_target}"
;;
esac
case ${clst_target} in
- stage1|stage2|stage3|stage4|system)
- run_merge --depclean --with-bdeps=n
+ stage1|stage2|stage3|system)
+ rm -f /var/lib/portage/world
+ touch /var/lib/portage/world
;;
*)
- echo "Skipping depclean operation for ${clst_target}"
+ echo "Skipping removal of world file for ${clst_target}"
;;
esac