Use /etc/grml_fai_release instead of ~log/fai/release
[grml-live.git] / etc / grml / fai / config / scripts / GRMLBASE / 98-clean-chroot
index 629fdeb..2284637 100755 (executable)
@@ -43,9 +43,9 @@ if ifclass GRML_SMALL ; then
    cp $target/etc/runlevel.conf.livecd.small $target/etc/runlevel.conf
 fi
 
-# Remove all FAI logs from chroot:
+# Remove all FAI logs from chroot via grml-live then:
 if ifclass RELEASE ; then
-   rm -rf $target/var/log/fai/*
+   touch $target/etc/grml_fai_release
 fi
 
 ## END OF FILE #################################################################