Author: ug Date: Thu Oct 1 13:39:35 2009 New Revision: 58878 URL: http://svn.opensuse.org/viewcvs/yast?rev=58878&view=rev Log: clone the mountoptions of partitions too (bnc#542330) Modified: trunk/autoinstallation/package/autoyast2.changes trunk/autoinstallation/src/modules/AutoinstPartPlan.ycp trunk/autoinstallation/src/modules/AutoinstPartition.ycp Modified: trunk/autoinstallation/package/autoyast2.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/autoinstallation/package/autoyast2.changes?rev=58878&r1=58877&r2=58878&view=diff ============================================================================== --- trunk/autoinstallation/package/autoyast2.changes (original) +++ trunk/autoinstallation/package/autoyast2.changes Thu Oct 1 13:39:35 2009 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Thu Oct 1 13:38:25 CEST 2009 - ug@suse.de + +- clone the mountoptions of partitions too + (bnc#542330) + +------------------------------------------------------------------- Thu Oct 1 12:44:01 CEST 2009 - ug@suse.de - don't format partitions that have unknown FS during cloning Modified: trunk/autoinstallation/src/modules/AutoinstPartPlan.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/autoinstallation/src/modules/AutoinstPartPlan.ycp?rev=58878&r1=58877&r2=58878&view=diff ============================================================================== --- trunk/autoinstallation/src/modules/AutoinstPartPlan.ycp (original) +++ trunk/autoinstallation/src/modules/AutoinstPartPlan.ycp Thu Oct 1 13:39:35 2009 @@ -427,6 +427,9 @@ if (haskey(pe,"mountby")) { new_pe["mountby"] = pe["mountby"]:`nomb; } + if ( haskey(pe, "fstopt") ) { + new_pe["fstopt"] = pe["fstopt"]:"defaults"; + } // LVM Group if (haskey(pe,"used_by_type") && pe["used_by_type"]:`nothing == `UB_LVM) { Modified: trunk/autoinstallation/src/modules/AutoinstPartition.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/autoinstallation/src/modules/AutoinstPartition.ycp?rev=58878&r1=58877&r2=58878&view=diff ============================================================================== --- trunk/autoinstallation/src/modules/AutoinstPartition.ycp (original) +++ trunk/autoinstallation/src/modules/AutoinstPartition.ycp Thu Oct 1 13:39:35 2009 @@ -213,6 +213,9 @@ newPart = set( newPart, "lvm_group", part["lvm_group"]:"" ); newPart = set( newPart, "stripes", part["stripes"]:1 ); newPart = set( newPart, "stripesize", part["stripesize"]:4 ); + if( haskey( part, "fstopt" ) ) { + newPart = set( newPart, "fstopt", part["fstopt"]:"defaults" ); + } if( part["stripes"]:1 == 1 ) { newPart = remove( newPart, "stripes" ); newPart = remove( newPart, "stripesize" ); -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org