[yast-commit] r50524 - in /trunk/storage: VERSION package/yast2-storage.changes storage/src/modules/Partitions.ycp
Author: aschnell Date: Mon Sep 1 15:04:26 2008 New Revision: 50524 URL: http://svn.opensuse.org/viewcvs/yast?rev=50524&view=rev Log: - support EFI boot on non-ia64 systems (fate #303995) Modified: trunk/storage/VERSION trunk/storage/package/yast2-storage.changes trunk/storage/storage/src/modules/Partitions.ycp Modified: trunk/storage/VERSION URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/VERSION?rev=50524&r1=50523&r2=50524&view=diff ============================================================================== --- trunk/storage/VERSION (original) +++ trunk/storage/VERSION Mon Sep 1 15:04:26 2008 @@ -1 +1 @@ -2.17.23 +2.17.24 Modified: trunk/storage/package/yast2-storage.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/package/yast2-storage.changes?rev=50524&r1=50523&r2=50524&view=diff ============================================================================== --- trunk/storage/package/yast2-storage.changes (original) +++ trunk/storage/package/yast2-storage.changes Mon Sep 1 15:04:26 2008 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Mon Sep 01 15:02:31 CEST 2008 - aschnell@suse.de + +- support EFI boot on non-ia64 systems (fate #303995) +- version 2.17.24 + +------------------------------------------------------------------- Wed Aug 27 17:34:10 CEST 2008 - aschnell@suse.de - fixed documentation in StorageInterface.h Modified: trunk/storage/storage/src/modules/Partitions.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/storage/src/modules/Partitions.ycp?rev=50524&r1=50523&r2=50524&view=diff ============================================================================== --- trunk/storage/storage/src/modules/Partitions.ycp (original) +++ trunk/storage/storage/src/modules/Partitions.ycp Mon Sep 1 15:04:26 2008 @@ -101,7 +101,30 @@ global boolean EfiBoot() { - return Arch::ia64(); + boolean ret = false; + + if (Arch::ia64()) + { + ret = true; + } + else + { + if (Stage::initial()) + { + string tmp = (string) SCR::Read(.etc.install_inf.EFI); + if (tmp != nil && tmp == "1") + ret = true; + } + else + { + string tmp = (string) SCR::Read(.etc.bootloader.LOADER_TYPE); + if (tmp != nil && tmp == "elilo") + ret = true; + } + } + + y2milestone("EfiBoot ret:%1", ret); + return ret; } -- 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