X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=etc%2Fgrml%2Ffai%2Fconfig%2Fscripts%2FGRMLBASE%2F98-clean-chroot;h=02665f6b63d7ed9f847e591745204c971945ddec;hb=79090b4fb2c828caea8a4d1eb8db6f30d9fa355b;hp=22d0bdc977cb2f7bb752e54640598afffa2c453c;hpb=e08881cde5d29236a5992a0a501b43e88d66732d;p=grml-live.git diff --git a/etc/grml/fai/config/scripts/GRMLBASE/98-clean-chroot b/etc/grml/fai/config/scripts/GRMLBASE/98-clean-chroot index 22d0bdc..02665f6 100755 --- a/etc/grml/fai/config/scripts/GRMLBASE/98-clean-chroot +++ b/etc/grml/fai/config/scripts/GRMLBASE/98-clean-chroot @@ -4,16 +4,21 @@ # Authors: grml-team (grml.org), (c) Michael Prokop # Bug-Reports: see http://grml.org/bugs/ # License: This file is licensed under the GPL v2 or any later version. -# Latest change: Sun Sep 16 23:03:50 CEST 2007 [mika] +# Latest change: Mon Sep 17 17:36:13 CEST 2007 [mika] ################################################################################ set -u set -e -# TODO: provide customization of what should be cleaned up +# supported environment variables for grml_cleanup_chroot: +# NOCOLORS: if set it disables colors in (debugging) output +# LATEX_CLEANUP: remove some big directories of texlive (/usr/share/doc/texlive-*) +# NOONLINE: disable functions that require working network setup +# FAST: skip some longer tasks +# REMOVE_DOCS: rm -rf /usr/share/doc + /usr/share/info cp /etc/grml/fai/grml/grml_cleanup_chroot $target/root/ -$ROOTCMD /root/grml_cleanup_chroot +$ROOTCMD sh -c "NOCOLORS=1 /root/grml_cleanup_chroot" rm $target/root/grml_cleanup_chroot ## END OF FILE #################################################################