[yast-commit] r58869 - in /trunk/autoinstallation: package/autoyast2.changes src/modules/AutoinstPartPlan.ycp
Author: ug Date: Thu Oct 1 12:44:50 2009 New Revision: 58869 URL: http://svn.opensuse.org/viewcvs/yast?rev=58869&view=rev Log: don't format partitions that have unknown FS during cloning (bnc#542331) Modified: trunk/autoinstallation/package/autoyast2.changes trunk/autoinstallation/src/modules/AutoinstPartPlan.ycp Modified: trunk/autoinstallation/package/autoyast2.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/autoinstallation/package/autoyast2.changes?rev=58869&r1=58868&r2=58869&view=diff ============================================================================== --- trunk/autoinstallation/package/autoyast2.changes (original) +++ trunk/autoinstallation/package/autoyast2.changes Thu Oct 1 12:44:50 2009 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Thu Oct 1 12:44:01 CEST 2009 - ug@suse.de + +- don't format partitions that have unknown FS during cloning + (bnc#542331) + +------------------------------------------------------------------- Mon Aug 31 13:15:19 CEST 2009 - ug@suse.de - "Requires:" fixed (yast2-slp) Modified: trunk/autoinstallation/src/modules/AutoinstPartPlan.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/autoinstallation/src/modules/AutoinstPartPlan.ycp?rev=58869&r1=58868&r2=58869&view=diff ============================================================================== --- trunk/autoinstallation/src/modules/AutoinstPartPlan.ycp (original) +++ trunk/autoinstallation/src/modules/AutoinstPartPlan.ycp Thu Oct 1 12:44:50 2009 @@ -457,6 +457,15 @@ new_pe["format"] = new_pe["format"]:pe["format"]:true; } + // if the filesystem is unknown, we have detected_fs and no longer used_fs + // don't know why yast2-storage is having two keys for that. + // maybe it would be even okay to look only for "detected_fs" to set format to false + // bnc#542331 (L3: AutoYaST clone module fails to set format option for non-formatted logical volumes) + if( pe["detected_fs"]:`known == `unknown ) { + new_pe["format"] = false; + new_pe = remove( new_pe, "filesystem" ); + } + if (haskey(pe,"nr") && pe["type"]:`unknown != `lvm) { if (!skipwin) -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
ug@svn.opensuse.org