X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=etc%2Fgrml%2Ffai%2Fconfig%2Fscripts%2FGRMLBASE%2F98-clean-chroot;h=bd1ae738d525025e9b30108a5349f15180be80a7;hb=1227c08ee615f11dcd8566b0408045eae2525522;hp=228463796d97f817e421f62f84a36283a32dfb7c;hpb=0c469a66c1d77ef2aff158145bb3ccec02dc361a;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 2284637..bd1ae73 100755 --- a/etc/grml/fai/config/scripts/GRMLBASE/98-clean-chroot +++ b/etc/grml/fai/config/scripts/GRMLBASE/98-clean-chroot @@ -4,7 +4,7 @@ # 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 Nov 04 12:11:32 CET 2007 [mika] +# Latest change: Sun Dec 09 18:46:19 CET 2007 [mika] ################################################################################ set -e @@ -43,9 +43,11 @@ if ifclass GRML_SMALL ; then cp $target/etc/runlevel.conf.livecd.small $target/etc/runlevel.conf fi -# Remove all FAI logs from chroot via grml-live then: if ifclass RELEASE ; then + # Remove all FAI logs from chroot via grml-live later then: touch $target/etc/grml_fai_release + # Remove all files inside /root/ of chroot: + rm -rf $target/root/.* $target/root/* || /bin/true fi ## END OF FILE #################################################################