[yast-commit] r63454 - /trunk/bootloader/src/modules/BootGRUB.ycp
Author: jreidinger Date: Tue Feb 22 12:29:55 2011 New Revision: 63454 URL: http://svn.opensuse.org/viewcvs/yast?rev=63454&view=rev Log: during probe of partitions don't try to mount encrypted one (bnc#673906) Modified: trunk/bootloader/src/modules/BootGRUB.ycp Modified: trunk/bootloader/src/modules/BootGRUB.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/bootloader/src/modules/BootGRUB.ycp?rev=63454&r1=63453&r2=63454&view=diff ============================================================================== --- trunk/bootloader/src/modules/BootGRUB.ycp (original) +++ trunk/bootloader/src/modules/BootGRUB.ycp Tue Feb 22 12:29:55 2011 @@ -147,8 +147,9 @@ list<string> others = (list<string>)Storage::GetForeignPrimary(); y2milestone ("Other primaries: %1", others); - // get list of all Linux Partitions on all real disks - list<map> other_l = (list<map>)Storage::GetOtherLinuxPartitions(); + // get list of all Linux Partitions on all real disks except encrypted ones ( as we don't know password and bootloader cannot boot from it directly) + list<map> other_l = (list<map>)filter( map p, Storage::GetOtherLinuxPartitions(), + ``(p["enc_type"]:`none!=`none)); y2milestone ("Other linux parts: %1", other_l); list<string> destroyed_partitions -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
jreidinger@svn2.opensuse.org