Author: juhliarik Date: Mon Feb 22 12:13:25 2010 New Revision: 60930 URL: http://svn.opensuse.org/viewcvs/yast?rev=60930&view=rev Log: added fix for detection of UEFI Modified: trunk/bootloader/VERSION trunk/bootloader/package/yast2-bootloader.changes trunk/bootloader/src/modules/BootSupportCheck.ycp Modified: trunk/bootloader/VERSION URL: http://svn.opensuse.org/viewcvs/yast/trunk/bootloader/VERSION?rev=60930&r1=60929&r2=60930&view=diff ============================================================================== --- trunk/bootloader/VERSION (original) +++ trunk/bootloader/VERSION Mon Feb 22 12:13:25 2010 @@ -1 +1 @@ -2.19.5 +2.19.6 Modified: trunk/bootloader/package/yast2-bootloader.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/bootloader/package/yast2-bootloader.changes?rev=60930&r1=60929&r2=60930&view=diff ============================================================================== --- trunk/bootloader/package/yast2-bootloader.changes (original) +++ trunk/bootloader/package/yast2-bootloader.changes Mon Feb 22 12:13:25 2010 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Mon Feb 22 12:10:48 CET 2010 - juhliarik@suse.cz + +- added fix for detection of UEFI (bnc#581213) +- 2.19.6 + +------------------------------------------------------------------- Thu Feb 11 16:16:12 CET 2010 - juhliarik@suse.cz - added fix for calling mkinitrd if vga is "normal" (bnc#292013) Modified: trunk/bootloader/src/modules/BootSupportCheck.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/bootloader/src/modules/BootSupportCheck.ycp?rev=60930&r1=60929&r2=60930&view=diff ============================================================================== --- trunk/bootloader/src/modules/BootSupportCheck.ycp (original) +++ trunk/bootloader/src/modules/BootSupportCheck.ycp Mon Feb 22 12:13:25 2010 @@ -25,6 +25,7 @@ import "Storage"; import "BootCommon"; import "BootStorage"; +import "FileUtils"; /** * List of problems found during last check @@ -95,25 +96,11 @@ { string cmd = "modprobe efivars 2>/dev/null"; map ret = (map)SCR::Execute (.target.bash_output, cmd); - if (ret["exit"]:1 == 0) - { - // bnc#571850 - "Unsupported combination of hardware platform x86_64 and bootloader grub" - // checking if installation run on QEMU - cmd = sformat("hwinfo --bios |grep Vendor"); - y2milestone("Checking if installation run on QEMU command: %1", cmd); - - map out = (map)SCR::Execute(.local.bash_output, cmd); - - if (search(tolower(out["stdout"]:""), "qemu") != nil) - { - y2milestone ("Installation run on QEMU, skip cheking support efivars: %1", out); - return false; - } else { - return true; - } - } else { + // bnc#581213 - x86-64/UEFI: "Unsupported combination of hardware platform x86_64 and bootloader elilo" + if (FileUtils::Exists("/sys/firmware/efi/systab")) + return true; + else return false; - } } -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org