Recreate squashfs portage files.

This commit is contained in:
Kolan Sh 2013-03-09 09:52:49 +04:00
parent f019c527d1
commit fcac246ee2
1 changed files with 6 additions and 0 deletions

View File

@ -190,6 +190,12 @@ if [ $STAGE_CNT -eq $STAGE ]; then
fi
let STAGE++
# recreate portage squashfs files
if [[ -x /etc/init.d/squash_portage && "" != "`mount | grep '^aufs' | grep $PORTDIR`" ]]; then
/etc/init.d/squash_portage restart
[ 0 -ne $? ] && echo "Stage $STAGE: cann't restart squash_portage ;-( =======" && exit $STAGE
fi
fi
let STAGE_CNT++