[yast-commit] r52201 - /trunk/update/src/modules/RootPart.ycp
Author: ug Date: Tue Oct 14 17:35:25 2008 New Revision: 52201 URL: http://svn.opensuse.org/viewcvs/yast?rev=52201&view=rev Log: XML overrules old fstab values Modified: trunk/update/src/modules/RootPart.ycp Modified: trunk/update/src/modules/RootPart.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/update/src/modules/RootPart.ycp?rev=52201&r1=52200&r2=52201&view=diff ============================================================================== --- trunk/update/src/modules/RootPart.ycp (original) +++ trunk/update/src/modules/RootPart.ycp Tue Oct 14 17:35:25 2008 @@ -1338,8 +1338,10 @@ target_map = Storage::SetPartitionData (target_map, part, "format", p["format"]:false ); target_map = Storage::SetPartitionData (target_map, part, "delete", false); target_map = Storage::SetPartitionData (target_map, part, "create", false); - if( size(mount_options) > 0 ) + if( size(mount_options) > 0 && !haskey(p, "fstopt" ) ) target_map = Storage::SetPartitionData (target_map, part, "fstopt", mount_options); + if( haskey(p, "fstopt" ) ) + target_map = Storage::SetPartitionData (target_map, part, "fstopt", p["fstopt"]:""); if( haskey( p, "mountby" ) ) target_map = Storage::SetPartitionData (target_map, part, "mountby", p["mountby"]:`device); }); -- 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