X-Git-Url: https://git.grml.org/?a=blobdiff_plain;ds=sidebyside;f=etc%2Fgrml%2Ffai%2Fconfig%2Fscripts%2FGRMLBASE%2F98-clean-chroot;h=e8c634c02aa41d1e2c655223484037a0a0a3028b;hb=188fbbf84943eaf8e69ee6dac70d27c042bb55d7;hp=629fdeb1d87970cd4d6f6b0fde60b96141d43dd7;hpb=06335ed6cf5e6dad2ba8d056540957a3b3fde8e3;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 629fdeb..e8c634c 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: Mon Nov 05 22:37:04 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: if ifclass RELEASE ; then - rm -rf $target/var/log/fai/* + # 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/* fi ## END OF FILE #################################################################