Author: ug Date: Wed Nov 24 17:38:26 2010 New Revision: 62886 URL: http://svn.opensuse.org/viewcvs/yast?rev=62886&view=rev Log: clone devices by-path on s390 (bnc#591603) Modified: branches/SuSE-Code-11-SP2-Branch/autoinstallation/package/autoyast2.changes branches/SuSE-Code-11-SP2-Branch/autoinstallation/src/modules/AutoinstPartPlan.ycp Modified: branches/SuSE-Code-11-SP2-Branch/autoinstallation/package/autoyast2.changes URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP2-Branch/autoinstallation/package/autoyast2.changes?rev=62886&r1=62885&r2=62886&view=diff ============================================================================== --- branches/SuSE-Code-11-SP2-Branch/autoinstallation/package/autoyast2.changes (original) +++ branches/SuSE-Code-11-SP2-Branch/autoinstallation/package/autoyast2.changes Wed Nov 24 17:38:26 2010 @@ -1,4 +1,9 @@ ------------------------------------------------------------------- +Wed Nov 24 17:38:02 CET 2010 - ug@suse.de + +- clone devices by-path on s390 (bnc#591603) + +------------------------------------------------------------------- Fri Apr 9 11:30:37 CEST 2010 - ug@suse.de - reuse of a physical device for an LVM fixed (bnc#591601) Modified: branches/SuSE-Code-11-SP2-Branch/autoinstallation/src/modules/AutoinstPartPlan.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP2-Branch/autoinstallation/src/modules/AutoinstPartPlan.ycp?rev=62886&r1=62885&r2=62886&view=diff ============================================================================== --- branches/SuSE-Code-11-SP2-Branch/autoinstallation/src/modules/AutoinstPartPlan.ycp (original) +++ branches/SuSE-Code-11-SP2-Branch/autoinstallation/src/modules/AutoinstPartPlan.ycp Wed Nov 24 17:38:26 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