From: Arne Fitzenreiter Date: Thu, 16 Sep 2010 03:12:32 +0000 (+0200) Subject: Sync after swap creation. X-Git-Tag: v2.9-beta1~48^2~5^2~2^2~78 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;ds=sidebyside;h=82adcbc03fcd1402c21f554386024f11dee09111;p=people%2Fpmueller%2Fipfire-2.x.git Sync after swap creation. --- diff --git a/config/rootfiles/core/test/update.sh b/config/rootfiles/core/test/update.sh index 0bf88299a9..138b2c17db 100644 --- a/config/rootfiles/core/test/update.sh +++ b/config/rootfiles/core/test/update.sh @@ -142,6 +142,7 @@ if [ ! -z $SWAP ]; then swapoff -a mkswap $SWAP swapon -a + sync SWAPUUID=`blkid -sUUID $SWAP | cut -d'"' -f2` if [ ! -z $SWAPUUID ]; then sed -i "s|^$SWAP|UUID=$SWAPUUID|g" /etc/fstab