[yast-commit] r56541 - in /trunk/autoinstallation: package/autoyast2.changes src/modules/AutoinstLVM.ycp src/modules/AutoinstPartPlan.ycp
Author: ug Date: Wed Apr 1 16:11:16 2009 New Revision: 56541 URL: http://svn.opensuse.org/viewcvs/yast?rev=56541&view=rev Log: storage lib compatibility with "used_by" Modified: trunk/autoinstallation/package/autoyast2.changes trunk/autoinstallation/src/modules/AutoinstLVM.ycp 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=56541&r1=56540&r2=56541&view=diff ============================================================================== --- trunk/autoinstallation/package/autoyast2.changes (original) +++ trunk/autoinstallation/package/autoyast2.changes Wed Apr 1 16:11:16 2009 @@ -1,4 +1,9 @@ ------------------------------------------------------------------- +Wed Apr 1 16:11:08 CEST 2009 - ug@suse.de + +- storage lib compatibility with "used_by" + +------------------------------------------------------------------- Tue Mar 31 15:38:16 CEST 2009 - locilka@suse.cz - Adapted to RootPart API cleanup. Modified: trunk/autoinstallation/src/modules/AutoinstLVM.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/autoinstallation/src/modules/AutoinstLVM.ycp?rev=56541&r1=56540&r2=56541&view=diff ============================================================================== --- trunk/autoinstallation/src/modules/AutoinstLVM.ycp (original) +++ trunk/autoinstallation/src/modules/AutoinstLVM.ycp Wed Apr 1 16:11:16 2009 @@ -171,7 +171,7 @@ // all possible PVs on all available devices list<map> all_possible_pvs = filter( map part, get_possible_pvs( Storage::GetTargetMap() ), - ``( ((part["used_by"]:"" == vgname && part["used_by_type"]:`UB_NONE == usedBy ) || + ``( ((part["used_by_device"]:"" == vgname && part["used_by_type"]:`UB_NONE == usedBy ) || part["used_by_type"]:`UB_NONE == `UB_NONE) && !part["delete"]:false )); y2milestone("all pvs= %1", all_possible_pvs); Modified: trunk/autoinstallation/src/modules/AutoinstPartPlan.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/autoinstallation/src/modules/AutoinstPartPlan.ycp?rev=56541&r1=56540&r2=56541&view=diff ============================================================================== --- trunk/autoinstallation/src/modules/AutoinstPartPlan.ycp (original) +++ trunk/autoinstallation/src/modules/AutoinstPartPlan.ycp Wed Apr 1 16:11:16 2009 @@ -430,7 +430,7 @@ // LVM Group if (haskey(pe,"used_by_type") && pe["used_by_type"]:`nothing == `UB_LVM) { - new_pe["lvm_group"] = pe["used_by"]:""; + new_pe["lvm_group"] = pe["used_by_device"]:""; } // LV @@ -441,7 +441,7 @@ } if (haskey(pe,"used_by_type") && pe["used_by_type"]:`nothing == `UB_MD) { - new_pe["raid_name"] = "/dev/"+pe["used_by"]:""; + new_pe["raid_name"] = "/dev/"+pe["used_by_device"]:""; } // Used Filesystem -- 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