On Thu, Aug 17, 2006 at 09:38:14PM +0200, Henning Sprang wrote:
> On 8/17/06, Steve Kemp <[EMAIL PROTECTED]> wrote:
> >[...]
> > Are we both using the same version of the code?
> I think so, I see these both cases, too. But the swap lvm volume is
> created without any condition against noswap... line 1502 :)
I see what you mean. LVM swap is *always* created, the other test
is for loopback swap.
Patch attached (and committed).
Steve
--
diff --unified -r1.71 xen-create-image
--- bin/xen-create-image 17 Aug 2006 10:16:46 -0000 1.71
+++ bin/xen-create-image 17 Aug 2006 19:51:38 -0000
@@ -1511,7 +1511,7 @@
# Create the volumes
#
runCommand( $disk_cmd );
- runCommand( $swap_cmd );
+ runCommand( $swap_cmd ) unless( $CONFIG{'noswap'} );
#
# Initialise the partitions with the relevant filesystem.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]