Author: ug Date: Thu May 19 18:01:29 2011 New Revision: 64078 URL: http://svn.opensuse.org/viewcvs/yast?rev=64078&view=rev Log: clone 'label' of a partition if it was set (bnc#628738) Modified: branches/SuSE-Code-11-SP2-Branch/autoinstallation/package/autoyast2.changes branches/SuSE-Code-11-SP2-Branch/autoinstallation/src/modules/AutoinstPartition.ycp Modified: branches/SuSE-Code-11-SP2-Branch/autoinstallation/package/autoyast2.changes URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP2-Branch/autoinstallation/package/autoyast2.changes?rev=64078&r1=64077&r2=64078&view=diff ============================================================================== --- branches/SuSE-Code-11-SP2-Branch/autoinstallation/package/autoyast2.changes (original) +++ branches/SuSE-Code-11-SP2-Branch/autoinstallation/package/autoyast2.changes Thu May 19 18:01:29 2011 @@ -1,4 +1,9 @@ ------------------------------------------------------------------- +Thu May 19 18:01:14 CEST 2011 - ug@suse.de + +- clone "label" of a partition if it was set (bnc#628738) + +------------------------------------------------------------------- Thu May 19 16:56:12 CEST 2011 - ug@suse.de - 2.17.44 Modified: branches/SuSE-Code-11-SP2-Branch/autoinstallation/src/modules/AutoinstPartition.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP2-Branch/autoinstallation/src/modules/AutoinstPartition.ycp?rev=64078&r1=64077&r2=64078&view=diff ============================================================================== --- branches/SuSE-Code-11-SP2-Branch/autoinstallation/src/modules/AutoinstPartition.ycp (original) +++ branches/SuSE-Code-11-SP2-Branch/autoinstallation/src/modules/AutoinstPartition.ycp Thu May 19 18:01:29 2011 @@ -194,6 +194,9 @@ parsePartition( map part ){ PartitionT newPart = new( part["mount"]:"" ); newPart = set( newPart, "mountby", part["mountby"]:`device ); + if( haskey( part, "label" ) ) { + newPart = set( newPart, "label", part["label"]:"" ); + } newPart = set( newPart, "create", part["create"]:true ); newPart = set( newPart, "crypt", part["crypt"]:"" ); newPart = set( newPart, "crypt_fs", part["crypt_fs"]:false); -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org