+if ifclass GRML_SMALL ; then
+ cp /etc/grml/fai/grml/grml_cleanup_chroot.small $target/root/
+ $ROOTCMD sh -c "NOCOLORS=1 /root/grml_cleanup_chroot.small"
+ rm $target/root/grml_cleanup_chroot.small
+fi
+
+if ifclass REMOVE_DOCS ; then
+ $ROOTCMD sh -c "NOCOLORS=1 REMOVE_DOCS=1 /root/grml_cleanup_chroot.small"
+ rm $target/root/grml_cleanup_chroot.small
+fi
+
+# final cleanup