swap-dev or noswap must be set with image-dev
This commit is contained in:
@@ -2106,11 +2106,21 @@ EOF
|
|||||||
exit 127;
|
exit 127;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( $CONFIG{ 'image-dev' } && $CONFIG{ 'partitions' } )
|
if ( $CONFIG{ 'image-dev' } )
|
||||||
{
|
{
|
||||||
logprint("Please choose either image-dev or partitions, not both!\n");
|
if ( $CONFIG{ 'partitions' } )
|
||||||
$FAIL = 1;
|
{
|
||||||
exit 127;
|
logprint("Please choose either image-dev or partitions, not both!\n");
|
||||||
|
$FAIL = 1;
|
||||||
|
exit 127;
|
||||||
|
}
|
||||||
|
|
||||||
|
if ( !$CONFIG{ 'swap-dev' } && !$CONFIG{ 'noswap' } )
|
||||||
|
{
|
||||||
|
logprint("Please choose swap-dev or noswap with image-dev!\n");
|
||||||
|
$FAIL = 1;
|
||||||
|
exit 127;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user