Author: juhliarik Date: Wed Jun 11 16:59:28 2008 New Revision: 48238 URL: http://svn.opensuse.org/viewcvs/yast?rev=48238&view=rev Log: added better handling for finding current partition for activating Modified: branches/SuSE-SLE-10-SP2-Branch/bootloader/src/modules/Bootloader.ycp Modified: branches/SuSE-SLE-10-SP2-Branch/bootloader/src/modules/Bootloader.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-SLE-10-SP2-Branch/bootloader/src/modules/Bootloader.ycp?rev=48238&r1=48237&r2=48238&view=diff ============================================================================== --- branches/SuSE-SLE-10-SP2-Branch/bootloader/src/modules/Bootloader.ycp (original) +++ branches/SuSE-SLE-10-SP2-Branch/bootloader/src/modules/Bootloader.ycp Wed Jun 11 16:59:28 2008 @@ -389,7 +389,8 @@ // prepare return value ret["disk"] = mountdata_boot[2]:""; - ret["number_partition"] = deletechars(mountdata_boot[0]:"", mountdata_boot[2]:""); + map p_dev = Storage::GetDiskPartition (mountdata_boot[0]:""); + ret["number_partition"] = p_dev["nr"]:""; y2milestone( "mountPoints %1", mp ); y2milestone( "mountdata_boot %1", mountdata_boot ); -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org