Cleanup /tmp/.ICE-unix to prevent a unionfs (2.5.9.1) oops at boot in cleanfs initscript

This commit is contained in:
Silvan Calarco 2011-05-22 15:17:53 +02:00
parent 388763a5e5
commit 987cc2cfaf

View File

@ -105,6 +105,9 @@ find $MOUNTDIR/usr/share/locale \
-maxdepth 1 -mindepth 1 -type d \ -maxdepth 1 -mindepth 1 -type d \
! -name it* ! -name en* ! -name C ! -name l10n -exec rm -rf {} \; ! -name it* ! -name en* ! -name C ! -name l10n -exec rm -rf {} \;
# cleanup: prevent generating a cleanfs script crash due to a unionfs bug
rm -rf $MOUNTDIR/tmp/.ICE-unix
#$CHROOTCMD chkconfig --add acpid || #$CHROOTCMD chkconfig --add acpid ||
# { echo "$mkcd_me: fatal error, aborting installation" >&2 # { echo "$mkcd_me: fatal error, aborting installation" >&2
# { (exit 1); exit 1; }; } # { (exit 1); exit 1; }; }