1
0
mirror of synced 2026-04-16 07:56:15 +00:00

2007-01-05 14:05:44 by steve

Felipe Scarel : Bugfix for --no-swap + LVM.
This commit is contained in:
steve
2007-01-05 14:05:44 +00:00
parent 4ccddd12b0
commit d682465572
2 changed files with 11 additions and 5 deletions

View File

@@ -33,6 +33,9 @@ Contributions
- Improved binary detection and good suggestions.
- Better portability for non-bash shells.
Felipe Scarel <fbscarel [at] com.gmail>
- Bugfix for --no-swap + LVM
Radu Spineanu <radu [at] org.debian>
- Supplied many small tweaks, bugfixes, and suggestions.
- Radu is also the Debian package maintainer and has CVS commit access.

View File

@@ -512,7 +512,7 @@ Install an X11 server, using VNC and XDM
--
http://www.steve.org.uk/
$Id: xen-create-image,v 1.120 2006-12-26 00:55:58 steve Exp $
$Id: xen-create-image,v 1.121 2007-01-05 14:05:44 steve Exp $
=cut
@@ -1108,7 +1108,7 @@ sub parseCommandLineArguments
if ( $VERSION )
{
my $REVISION = '$Revision: 1.120 $';
my $REVISION = '$Revision: 1.121 $';
if ( $REVISION =~ /1.([0-9.]+) / )
{
$REVISION = $1;
@@ -1865,9 +1865,12 @@ sub createLVMBits
}
if ( ! -e $lvm_swap )
{
logprint( "The LVM disk image creation failed to create $swap.\n" );
logprint( "aborting\n" );
exit;
unless( $CONFIG{'noswap'} )
{
logprint( "The LVM disk image creation failed to create $swap.\n" );
logprint( "aborting\n" );
exit;
}
}