From 82adcbc03fcd1402c21f554386024f11dee09111 Mon Sep 17 00:00:00 2001 From: Arne Fitzenreiter Date: Thu, 16 Sep 2010 05:12:32 +0200 Subject: [PATCH] Sync after swap creation. --- config/rootfiles/core/test/update.sh | 1 + 1 file changed, 1 insertion(+) 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 -- 2.39.2