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=17222f6912b7fd189a9cc3636ab80f965d027fdb;hpb=229a51dfda4d619c47fb4b0ff94d4d952f61e62a;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 17222f6..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/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