Author: fehr Date: Mon Jan 9 17:17:37 2012 New Revision: 67132 URL: http://svn.opensuse.org/viewcvs/yast?rev=67132&view=rev Log: fix missing /boot partition in proposal (bnc#739091) Modified: branches/SuSE-Code-11-SP2-Branch/storage/package/yast2-storage.changes branches/SuSE-Code-11-SP2-Branch/storage/storage/src/modules/StorageProposal.ycp Modified: branches/SuSE-Code-11-SP2-Branch/storage/package/yast2-storage.changes URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP2-Branch/storage/package/yast2-storage.changes?rev=67132&r1=67131&r2=67132&view=diff ============================================================================== --- branches/SuSE-Code-11-SP2-Branch/storage/package/yast2-storage.changes (original) +++ branches/SuSE-Code-11-SP2-Branch/storage/package/yast2-storage.changes Mon Jan 9 17:17:37 2012 @@ -1,4 +1,9 @@ ------------------------------------------------------------------- +Mon Jan 9 17:15:30 CET 2012 - fehr@suse.de + +- fix missing /boot partition in proposal (bnc#739091) + +------------------------------------------------------------------- Wed Dec 21 12:04:31 CET 2011 - aschnell@suse.de - handle FBA DASD with parted instead of fdasd (bnc#584703) Modified: branches/SuSE-Code-11-SP2-Branch/storage/storage/src/modules/StorageProposal.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP2-Branch/storage/storage/src/modules/StorageProposal.ycp?rev=67132&r1=67131&r2=67132&view=diff ============================================================================== --- branches/SuSE-Code-11-SP2-Branch/storage/storage/src/modules/StorageProposal.ycp (original) +++ branches/SuSE-Code-11-SP2-Branch/storage/storage/src/modules/StorageProposal.ycp Mon Jan 9 17:17:37 2012 @@ -1516,20 +1516,20 @@ llg["gap",gindex,"cylinders"]:0 - part["cylinders"]:0; } list addl = [ pindex ]; - if( e["extended"]:false && !part["primary"]:false ) + if( e["exists"]:false ) + { + addl = add( addl, e["nr"]:0 ); + } + else if( e["extended"]:false && !part["primary"]:false ) { addl = add( addl, llg["ext_pnr",0]:5 ); llg["ext_pnr"] = remove( llg["ext_pnr"]:[0], 0 ); } - else if( !e["exists"]:false ) + else { addl = add( addl, llg["free_pnr",0]:1 ); llg["free_pnr"] = remove( llg["free_pnr"]:[0], 0 ); } - else - { - addl = add( addl, e["nr"]:0 ); - } llg["gap",gindex,"added"] = add( llg["gap",gindex,"added"]:[], addl ); if( pindex+1 < size(ps) ) -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org