Hello community,
here is the log from the commit of package yast2-bootloader
checked in at Thu Sep 25 00:53:29 CEST 2008.
--------
--- yast2-bootloader/yast2-bootloader.changes 2008-09-16 17:10:12.000000000 +0200
+++ /mounts/work_src_done/STABLE/yast2-bootloader/yast2-bootloader.changes 2008-09-18 18:09:16.000000000 +0200
@@ -1,0 +2,14 @@
+Thu Sep 18 17:39:43 CEST 2008 - juhliarik@suse.cz
+
+- added fix for initialise yast2-stroage (bnc #419197)
+- help update (bnc #220283)
+- 2.17.21
+
+-------------------------------------------------------------------
+Thu Sep 16 16:35:43 CEST 2008 - juhliarik@suse.cz
+
+- added fix for deleting fake xen boot section (bnc #408346)
+- added fix for failsafe options for kernel (bnc #419464)
+- 2.17.20
+
+-------------------------------------------------------------------
Old:
----
yast2-bootloader-2.17.19.tar.bz2
New:
----
yast2-bootloader-2.17.21.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-bootloader.spec ++++++
--- /var/tmp/diff_new_pack.BD4138/_old 2008-09-25 00:53:08.000000000 +0200
+++ /var/tmp/diff_new_pack.BD4138/_new 2008-09-25 00:53:08.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package yast2-bootloader (Version 2.17.19)
+# spec file for package yast2-bootloader (Version 2.17.21)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -19,12 +19,12 @@
Name: yast2-bootloader
-Version: 2.17.19
+Version: 2.17.21
Release: 1
License: GPL v2 or later
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-bootloader-2.17.19.tar.bz2
+Source0: yast2-bootloader-2.17.21.tar.bz2
Prefix: /usr
BuildRequires: docbook-xsl-stylesheets doxygen gcc-c++ libxslt limal-perl perl-Bootloader perl-XML-Writer perl-gettext sgml-skel swig update-alternatives update-desktop-files yast2-devtools yast2-installation yast2-perl-bindings yast2-storage yast2-testsuite
# to eliminate a cyclic dependency in autobuild:
@@ -61,7 +61,7 @@
Daniel Fiser
%prep
-%setup -n yast2-bootloader-2.17.19
+%setup -n yast2-bootloader-2.17.21
%build
%{prefix}/bin/y2tool y2autoconf
@@ -105,8 +105,16 @@
/usr/share/YaST2/scrconf/*.scr
/var/adm/fillup-templates/*
/usr/share/YaST2/schema/autoyast/rnc/bootloader.rnc
+
%changelog
+* Thu Sep 18 2008 juhliarik@suse.cz
+- added fix for initialise yast2-stroage (bnc #419197)
+- help update (bnc #220283)
+- 2.17.21
* Tue Sep 16 2008 juhliarik@suse.cz
+- added fix for deleting fake xen boot section (bnc #408346)
+- added fix for failsafe options for kernel (bnc #419464)
+- 2.17.20
- added fix for getDefaultSection() for zipl (bnc #364904)
- added fix for deleting gfxmenu from menu.lst (bnc #398806)
- 2.17.19
++++++ yast2-bootloader-2.17.19.tar.bz2 -> yast2-bootloader-2.17.21.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-bootloader-2.17.19/src/grub/helps.ycp new/yast2-bootloader-2.17.21/src/grub/helps.ycp
--- old/yast2-bootloader-2.17.19/src/grub/helps.ycp 2008-09-12 13:22:06.000000000 +0200
+++ new/yast2-bootloader-2.17.21/src/grub/helps.ycp 2008-09-18 17:07:15.000000000 +0200
@@ -57,6 +57,10 @@
partition. Either select <b>Set active Flag in Partition Table for Boot Partition</b> and <b>Write generic Boot Code to MBR</b>
in <b>Boot Loader Options</b> to update the master boot record if that is needed or configure your other boot manager
to start this section.</p>"),
+ "boot_extended" :
+("<p><b>Boot from Extended Partition</b> should be selected if your root partition is on
+local partition and the /boot partition is missing</p>"),
+
"boot_custom" :
_("<p><b>Custom Boot Partition</b> lets you choose a partition to boot from.</p>"),
"serial" :
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-bootloader-2.17.19/src/grub/misc.ycp new/yast2-bootloader-2.17.21/src/grub/misc.ycp
--- old/yast2-bootloader-2.17.19/src/grub/misc.ycp 2008-08-04 13:34:56.000000000 +0200
+++ new/yast2-bootloader-2.17.21/src/grub/misc.ycp 2008-09-17 12:32:35.000000000 +0200
@@ -12,7 +12,7 @@
* Jiri Srain
* Olaf Dabrunz
*
- * $Id: misc.ycp 49630 2008-08-04 11:34:56Z juhliarik $
+ * $Id: misc.ycp 51210 2008-09-17 10:32:34Z juhliarik $
*
*/
@@ -699,7 +699,14 @@
string ret = nil;
map tm = Storage::GetTargetMap ();
- map dp = Storage::GetDiskPartition (BootCommon::BootPartitionDevice);
+
+ string device = "";
+ if (BootCommon::BootPartitionDevice != "")
+ device = BootCommon::BootPartitionDevice;
+ else
+ device = BootCommon::RootPartitionDevice;
+
+ map dp = Storage::GetDiskPartition (device);
string disk = dp["disk"]:"";
map dm = tm[disk]:$[];
list<map> partitions = dm["partitions"]:[];
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-bootloader-2.17.19/src/modules/BootArch.ycp new/yast2-bootloader-2.17.21/src/modules/BootArch.ycp
--- old/yast2-bootloader-2.17.19/src/modules/BootArch.ycp 2008-07-28 13:10:35.000000000 +0200
+++ new/yast2-bootloader-2.17.21/src/modules/BootArch.ycp 2008-09-17 16:41:00.000000000 +0200
@@ -14,7 +14,7 @@
* Jiri Srain
* Olaf Dabrunz
*
- * $Id: BootArch.ycp 49438 2008-07-27 15:54:51Z juhliarik $
+ * $Id: BootArch.ycp 51242 2008-09-17 14:40:59Z juhliarik $
*
*/
@@ -108,11 +108,11 @@
string ret = "";
if (Arch::i386 ())
{
- ret = "showopts ide=nodma apm=off acpi=off noresume nosmp noapic maxcpus=0 edd=off powersaved=off";
+ ret = "showopts ide=nodma apm=off noresume nosmp maxcpus=0 edd=off powersaved=off nohz=off highres=off processor.max_cstate=1";
}
else if (Arch::x86_64 ())
{
- ret = "showopts ide=nodma apm=off acpi=off noresume edd=off powersaved=off";
+ ret = "showopts ide=nodma apm=off noresume edd=off powersaved=off nohz=off highres=off processor.max_cstate=1";
}
else if (Arch::ia64 ())
{
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-bootloader-2.17.19/src/modules/Bootloader.ycp new/yast2-bootloader-2.17.21/src/modules/Bootloader.ycp
--- old/yast2-bootloader-2.17.19/src/modules/Bootloader.ycp 2008-09-16 16:35:43.000000000 +0200
+++ new/yast2-bootloader-2.17.21/src/modules/Bootloader.ycp 2008-09-18 18:00:55.000000000 +0200
@@ -12,7 +12,7 @@
* Jiri Srain
* Olaf Dabrunz
*
- * $Id: Bootloader.ycp 51190 2008-09-16 14:35:42Z juhliarik $
+ * $Id: Bootloader.ycp 51298 2008-09-18 16:00:55Z juhliarik $
*
*/
@@ -114,6 +114,21 @@
return test_abort ();
}
+ /** bnc #419197 yast2-bootloader does not correctly initialise libstorage
+ * Function try initialize yast2-storage
+ * if other module used it then don't continue with initialize
+ * @return boolean true on success
+ */
+
+ boolean checkUsedStorage ()
+ {
+ if ((!Storage::InitLibstorage(true)) && (Mode::normal()))
+ //if ((false) && (Mode::normal()))
+ return false;
+ else
+ return true;
+ }
+
/**
* Constructor
*/
@@ -220,7 +235,7 @@
Bootloader::getLoaderType ();
Progress::NextStage ();
- if (testAbort ())
+ if (!checkUsedStorage ())
return false;
BootCommon::DetectDisks ();
@@ -968,7 +983,7 @@
*/
global define string getDefaultSection () {
ReadOrProposeIfNeeded ();
- string default_name = BootCommon::globals["default"]:"";
+ string default_name = checkZiplDefault(BootCommon::globals["default"]:"");
return default_name;
}
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-bootloader-2.17.19/src/routines/lib_iface.ycp new/yast2-bootloader-2.17.21/src/routines/lib_iface.ycp
--- old/yast2-bootloader-2.17.19/src/routines/lib_iface.ycp 2008-09-12 13:18:24.000000000 +0200
+++ new/yast2-bootloader-2.17.21/src/routines/lib_iface.ycp 2008-09-18 17:37:21.000000000 +0200
@@ -11,7 +11,7 @@
* Authors:
* Jiri Srain
*
- * $Id: lib_iface.ycp 50835 2008-09-09 07:41:59Z juhliarik $
+ * $Id: lib_iface.ycp 51295 2008-09-18 15:37:20Z juhliarik $
*
* WARNING:
* To be included to BootCommon.ycp only
@@ -26,6 +26,7 @@
import "System::Bootloader_API";
import "Storage";
+import "Mode";
/**
* Loader the library has been initialized to use
@@ -152,20 +153,18 @@
* @return boolean true on success
*/
global boolean SetSections (list