[yast-commit] r62884 - in /trunk/autoinstallation: package/autoyast2.changes src/modules/AutoinstPartPlan.ycp
Author: ug Date: Wed Nov 24 17:25:11 2010 New Revision: 62884 URL: http://svn.opensuse.org/viewcvs/yast?rev=62884&view=rev Log: clone devices by-path on s390 (bnc#591603) 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=62884&r1=62883&r2=62884&view=diff ============================================================================== --- trunk/autoinstallation/package/autoyast2.changes (original) +++ trunk/autoinstallation/package/autoyast2.changes Wed Nov 24 17:25:11 2010 @@ -1,4 +1,9 @@ ------------------------------------------------------------------- +Wed Nov 24 17:19:09 CET 2010 - ug@suse.de + +- clone devices by-path on s390 (bnc#591603) + +------------------------------------------------------------------- Tue Oct 12 13:32:37 UTC 2010 - lslezak@suse.cz - don't use obsoleted inst_packages.ycp client, use PackagesUI.ycp Modified: trunk/autoinstallation/src/modules/AutoinstPartPlan.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/autoinstallation/src/modules/AutoinstPartPlan.ycp?rev=62884&r1=62883&r2=62884&view=diff ============================================================================== --- trunk/autoinstallation/src/modules/AutoinstPartPlan.ycp (original) +++ trunk/autoinstallation/src/modules/AutoinstPartPlan.ycp Wed Nov 24 17:25:11 2010 @@ -23,7 +23,7 @@ import "StorageDevices"; import "Storage"; import "Partitions"; - + import "Arch"; /** * The general idea with this moduls is that it manages a single @@ -507,7 +507,12 @@ }); } drive["partitions"] = partitions; - drive["device"] = k; + if( Arch::s390() ) { + drive["device"] = "/dev/disk/by-path/" + v["udev_path"]:k; + y2milestone("s390 found. Setting device to by-path: %1", drive["device"]:""); + } else { + drive["device"] = k; + } if( v["type"]:`CT_UNKNOWN==`CT_LVM) { drive["pesize"] = sformat("%1M", v["pesize"]:1 / (1024*1024) ); -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
ug@svn2.opensuse.org