Author: ug
Date: Thu May 19 18:00:43 2011
New Revision: 64077
URL: http://svn.opensuse.org/viewcvs/yast?rev=64077&view=rev
Log:
clone 'label' of a partition if it was set (bnc#628738)
Modified:
trunk/autoinstallation/doc/CreateProfileDetails.xml
trunk/autoinstallation/package/autoyast2.changes
trunk/autoinstallation/src/modules/AutoinstPartition.ycp
Modified: trunk/autoinstallation/doc/CreateProfileDetails.xml
URL: http://svn.opensuse.org/viewcvs/yast/trunk/autoinstallation/doc/CreateProfileDetails.xml?rev=64077&r1=64076&r2=64077&view=diff
==============================================================================
--- trunk/autoinstallation/doc/CreateProfileDetails.xml (original)
+++ trunk/autoinstallation/doc/CreateProfileDetails.xml Thu May 19 18:00:43 2011
@@ -38,6 +38,8 @@
http://www.w3.org/2001/XInclude"/>
http://www.w3.org/2001/XInclude"/>
http://www.w3.org/2001/XInclude"/>
+ http://www.w3.org/2001/XInclude"/>
+ http://www.w3.org/2001/XInclude"/>
<section id="CreateProfile.Hardware">
<title>
@@ -61,8 +63,6 @@
http://www.w3.org/2001/XInclude"/>
http://www.w3.org/2001/XInclude"/>
- http://www.w3.org/2001/XInclude"/>
- http://www.w3.org/2001/XInclude"/>
</section>
</chapter>
Modified: trunk/autoinstallation/package/autoyast2.changes
URL: http://svn.opensuse.org/viewcvs/yast/trunk/autoinstallation/package/autoyast2.changes?rev=64077&r1=64076&r2=64077&view=diff
==============================================================================
--- trunk/autoinstallation/package/autoyast2.changes (original)
+++ trunk/autoinstallation/package/autoyast2.changes Thu May 19 18:00:43 2011
@@ -1,4 +1,9 @@
-------------------------------------------------------------------
+Thu May 19 18:00:03 CEST 2011 - ug@suse.de
+
+- clone "label" of a partition if it was set (bnc#628738)
+
+-------------------------------------------------------------------
Thu May 19 10:07:52 CEST 2011 - ug@suse.de
- added the possibility to restart yast after pre-script
Modified: trunk/autoinstallation/src/modules/AutoinstPartition.ycp
URL: http://svn.opensuse.org/viewcvs/yast/trunk/autoinstallation/src/modules/AutoinstPartition.ycp?rev=64077&r1=64076&r2=64077&view=diff
==============================================================================
--- trunk/autoinstallation/src/modules/AutoinstPartition.ycp (original)
+++ trunk/autoinstallation/src/modules/AutoinstPartition.ycp Thu May 19 18:00:43 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