projects
/
grml-live-grml.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Initial configuration for FAI (work in progress)
[grml-live-grml.git]
/
etc
/
grml
/
fai
/
config
/
scripts
/
GRML
/
98-clean-chroot
diff --git a/etc/grml/fai/config/scripts/GRML/98-clean-chroot
b/etc/grml/fai/config/scripts/GRML/98-clean-chroot
new file mode 100755
(executable)
index 0000000..
17222f6
--- /dev/null
+++ b/
etc/grml/fai/config/scripts/GRML/98-clean-chroot
@@ -0,0
+1,7
@@
+#!/bin/sh
+set -u
+set -e
+
+cp /etc/fai/grml/grml_cleanup_chroot "$target/root/"
+chroot "$target" /root/grml_cleanup_chroot
+rm "$target/root/grml_cleanup_chroot"