- turn off swap before saving built packages to it
authorMichael Schröder <mls@suse.de>
Mon, 30 Jun 2008 09:23:06 +0000 (09:23 +0000)
committerMichael Schröder <mls@suse.de>
Mon, 30 Jun 2008 09:23:06 +0000 (09:23 +0000)
build

diff --git a/build b/build
index 1a3d9da..5e724d9 100755 (executable)
--- a/build
+++ b/build
@@ -1259,6 +1259,7 @@ fi
 
 if test -n "$RUNNING_IN_XEN" -a -n "$XENSWAP"; then
     echo "saving built packages..."
+    swapoff "$XENSWAP"
     $BUILD_DIR/extractbuild "$XENSWAP" || cleanup_and_exit 1
 fi