[yast-commit] r60134 - in /branches/SuSE-Code-11-SP1-Branch/storage: package/yast2-storage.changes storage/src/modules/Storage.ycp
Author: aschnell Date: Thu Dec 17 11:46:42 2009 New Revision: 60134 URL: http://svn.opensuse.org/viewcvs/yast?rev=60134&view=rev Log: - fixed BIOS ID for MDs (bnc #565222) Modified: branches/SuSE-Code-11-SP1-Branch/storage/package/yast2-storage.changes branches/SuSE-Code-11-SP1-Branch/storage/storage/src/modules/Storage.ycp Modified: branches/SuSE-Code-11-SP1-Branch/storage/package/yast2-storage.changes URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP1-Branch/storage/package/yast2-storage.changes?rev=60134&r1=60133&r2=60134&view=diff ============================================================================== --- branches/SuSE-Code-11-SP1-Branch/storage/package/yast2-storage.changes (original) +++ branches/SuSE-Code-11-SP1-Branch/storage/package/yast2-storage.changes Thu Dec 17 11:46:42 2009 @@ -1,4 +1,9 @@ ------------------------------------------------------------------- +Thu Dec 17 10:48:33 CET 2009 - aschnell@suse.de + +- fixed BIOS ID for MDs (bnc #565222) + +------------------------------------------------------------------- Mon Dec 14 10:19:19 CET 2009 - aschnell@suse.de - fixed detection of native MD RAIDs (bnc #563967) Modified: branches/SuSE-Code-11-SP1-Branch/storage/storage/src/modules/Storage.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP1-Branch/storage/storage/src/modules/Storage.ycp?rev=60134&r1=60133&r2=60134&view=diff ============================================================================== --- branches/SuSE-Code-11-SP1-Branch/storage/storage/src/modules/Storage.ycp (original) +++ branches/SuSE-Code-11-SP1-Branch/storage/storage/src/modules/Storage.ycp Thu Dec 17 11:46:42 2009 @@ -3509,7 +3509,7 @@ ``{ map dtmp = Storage::GetDiskPartitionTg( dev, $[] )[0]:$[]; y2milestone( "probing dev %1 disk %2", dev, dtmp ); - if( search( dev, "/dev/dm-" )==0 ) + if( search( dev, "/dev/dm-" )==0 || search( dev, "/dev/md" )==0 ) { if( size(disk["bios_id"]:"")>0 ) bios_id_raid[dev] = disk["bios_id"]:""; @@ -3522,6 +3522,8 @@ }); tmp = filter( string dev, map disk, tmp, ``(search( dev, "/dev/dm-" )!=0)); + tmp = filter( string dev, map disk, tmp, + ``(search( dev, "/dev/md" )!=0)); if( size(rename)>0 ) { foreach( string old, string new, rename, @@ -3574,6 +3576,11 @@ y2milestone("addind bios_id %1 to %2", bios, dev); tmp[dev, "bios_id"] = bios; } + if (c["type"]:`CT_UNKNOWN == `CT_MDPART && c["device"]:"" == dm) + { + y2milestone("addind bios_id %1 to %2", bios, dev); + tmp[dev, "bios_id"] = bios; + } }); }); } -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
aschnell@svn.opensuse.org