X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=etc%2Fgrml%2Ffai%2Fconfig%2Fscripts%2FGRML%2F98-clean-chroot;h=4413e7e3ba719adb8542ff2065d72b79c6bf201f;hb=fd6981190ae2f3f1beb4ecf73fb1791b04dfa190;hp=6404795d89e4b98dd7d5541d1dff149eb4698a93;hpb=53adee4dd5e3ed3ef87bac3390cbcbce31be9dec;p=grml-live.git diff --git a/etc/grml/fai/config/scripts/GRML/98-clean-chroot b/etc/grml/fai/config/scripts/GRML/98-clean-chroot index 6404795..4413e7e 100755 --- a/etc/grml/fai/config/scripts/GRML/98-clean-chroot +++ b/etc/grml/fai/config/scripts/GRML/98-clean-chroot @@ -2,6 +2,6 @@ set -u set -e -cp /etc/grml/fai/grml/grml_cleanup_chroot "$target/root/" -chroot "$target" /root/grml_cleanup_chroot -rm "$target/root/grml_cleanup_chroot" +cp /etc/grml/fai/grml/grml_cleanup_chroot $target/root/ +$ROOTCMD /root/grml_cleanup_chroot +rm $target/root/grml_cleanup_chroot