X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=etc%2Fgrml%2Ffai%2Fconfig%2Fscripts%2FGRML%2F98-clean-chroot;h=22d0bdc977cb2f7bb752e54640598afffa2c453c;hb=848aacd341724969418da66ab72948a3d0bb42f2;hp=6404795d89e4b98dd7d5541d1dff149eb4698a93;hpb=53adee4dd5e3ed3ef87bac3390cbcbce31be9dec;p=grml-live-grml.git diff --git a/etc/grml/fai/config/scripts/GRML/98-clean-chroot b/etc/grml/fai/config/scripts/GRML/98-clean-chroot index 6404795..22d0bdc 100755 --- a/etc/grml/fai/config/scripts/GRML/98-clean-chroot +++ b/etc/grml/fai/config/scripts/GRML/98-clean-chroot @@ -1,7 +1,20 @@ #!/bin/sh +# Filename: /etc/grml/fai/config/scripts/GRML/98-clean-chroot +# Purpose: clean up chroot system +# 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] +################################################################################ + set -u set -e -cp /etc/grml/fai/grml/grml_cleanup_chroot "$target/root/" -chroot "$target" /root/grml_cleanup_chroot -rm "$target/root/grml_cleanup_chroot" +# TODO: provide customization of what should be cleaned up + +cp /etc/grml/fai/grml/grml_cleanup_chroot $target/root/ +$ROOTCMD /root/grml_cleanup_chroot +rm $target/root/grml_cleanup_chroot + +## END OF FILE ################################################################# +# vim:ft=sh expandtab ai tw=80 tabstop=4 shiftwidth=3