SVN: livecd/mklive/mklive
qwiat
qwiat at pld-linux.org
Sat Apr 30 14:55:51 CEST 2011
Author: qwiat
Date: Sat Apr 30 14:55:50 2011
New Revision: 12236
Modified:
livecd/mklive/mklive
Log:
- added .svn cleanup for initrd
Modified: livecd/mklive/mklive
==============================================================================
--- livecd/mklive/mklive (original)
+++ livecd/mklive/mklive Sat Apr 30 14:55:50 2011
@@ -122,7 +122,12 @@
cp $sys_source/etc/ld.so.conf $tmp_initrd/etc
ldconfig -r $tmp_initrd
chown -R root:root $tmp_initrd/*
- find $tmp_initrd -name \*~ -exec rm \{\} \; # cleanup
+
+ echo "Running cleanup..."
+ find $tmp_initrd -name \*~ -exec rm \{\} \;
+ find $tmp_initrd -name .svn -type d -exec rm -rf \{\} \; 2> /dev/null
+
+ # bootsplash
if [ $bootsplash_arg -eq 1 ]; then
echo "Creating bootsplash"
/bin/splash.bin -s -f $bootsplash > $tmp_initrd/bootsplash
More information about the pld-cvs-commit
mailing list