projects
/
grml-live.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dacf428
)
98-clean-chroot: also get rid of symlinks of *.pre_fcopy files
author
Michael Prokop
<mika@grml.org>
Thu, 8 Dec 2011 14:45:16 +0000
(15:45 +0100)
committer
Michael Prokop
<mika@grml.org>
Thu, 8 Dec 2011 14:45:17 +0000
(15:45 +0100)
For example /etc/motd is pointing to /var/run/motd.
Thanks Ulrich for reporting.
etc/grml/fai/config/scripts/GRMLBASE/98-clean-chroot
patch
|
blob
|
history
diff --git
a/etc/grml/fai/config/scripts/GRMLBASE/98-clean-chroot
b/etc/grml/fai/config/scripts/GRMLBASE/98-clean-chroot
index
189b652
..
712ef68
100755
(executable)
--- a/
etc/grml/fai/config/scripts/GRMLBASE/98-clean-chroot
+++ b/
etc/grml/fai/config/scripts/GRMLBASE/98-clean-chroot
@@
-84,6
+84,7
@@
fi
echo "Cleaning and removing some misc files and directories"
find $target/etc -type f -name *.pre_fcopy -delete
+find $target/etc -type l -name *.pre_fcopy -delete
rm -rf --one-file-system $target/etc/sysconfig/* \
$target/etc/motd.dpkg-* $target/etc/auto.master.*dpkg* \
$target/etc/samba/*.SID $target/etc/samba/*.tdb \