Hello community,
here is the log from the commit of package yast2-bootloader
checked in at Fri Nov 28 12:03:11 CET 2008.
--------
--- yast2-bootloader/yast2-bootloader.changes 2008-11-26 17:06:49.000000000 +0100
+++ /mounts/work_src_done/STABLE/yast2-bootloader/yast2-bootloader.changes 2008-11-27 19:12:03.000000000 +0100
@@ -1,0 +2,13 @@
+Thu Nov 27 18:55:11 CET 2008 - juhliarik@suse.cz
+
+- added fix for problem with missing "console" (bnc #449726)
+- 2.17.43
+
+-------------------------------------------------------------------
+Thu Nov 27 16:46:21 CET 2008 - juhliarik@suse.cz
+
+- deleted fix for bug #439674 - it fix problem with proposal of
+ globals on PPC (bnc #449747)
+- 2.17.42
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
yast2-bootloader-2.17.41.tar.bz2
New:
----
yast2-bootloader-2.17.43.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-bootloader.spec ++++++
--- /var/tmp/diff_new_pack.tu2444/_old 2008-11-28 11:57:33.000000000 +0100
+++ /var/tmp/diff_new_pack.tu2444/_new 2008-11-28 11:57:33.000000000 +0100
@@ -1,5 +1,5 @@
#
-# spec file for package yast2-bootloader (Version 2.17.41)
+# spec file for package yast2-bootloader (Version 2.17.43)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -19,12 +19,12 @@
Name: yast2-bootloader
-Version: 2.17.41
+Version: 2.17.43
Release: 1
License: GPL v2 or later
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-bootloader-2.17.41.tar.bz2
+Source0: yast2-bootloader-2.17.43.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:
@@ -34,10 +34,12 @@
Requires: yast2 >= 2.17.36
Requires: yast2-packager >= 2.17.24
Requires: yast2-pkg-bindings >= 2.17.25
+Requires: perl-Bootloader >= 0.4.80
Requires: yast2-core yast2-storage perl-Bootloader parted perl-Compress-Zlib limal-perl
BuildRequires: yast2 >= 2.17.36
BuildRequires: yast2-packager >= 2.17.24
BuildRequires: yast2-pkg-bindings >= 2.17.25
+BuildRequires: perl-Bootloader >= 0.4.80
%ifarch %ix86 x86_64
Requires: master-boot-code
%endif
@@ -66,7 +68,7 @@
Daniel Fiser
%prep
-%setup -n yast2-bootloader-2.17.41
+%setup -n yast2-bootloader-2.17.43
%build
%{prefix}/bin/y2tool y2autoconf
@@ -111,8 +113,14 @@
/usr/share/YaST2/scrconf/*.scr
/var/adm/fillup-templates/*
/usr/share/YaST2/schema/autoyast/rnc/bootloader.rnc
-
%changelog
+* Thu Nov 27 2008 juhliarik@suse.cz
+- added fix for problem with missing "console" (bnc #449726)
+- 2.17.43
+* Thu Nov 27 2008 juhliarik@suse.cz
+- deleted fix for bug #439674 - it fix problem with proposal of
+ globals on PPC (bnc #449747)
+- 2.17.42
* Wed Nov 26 2008 juhliarik@suse.cz
- 2.17.41
* Wed Nov 26 2008 juhliarik@suse.cz
++++++ yast2-bootloader-2.17.41.tar.bz2 -> yast2-bootloader-2.17.43.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-bootloader-2.17.41/src/modules/Bootloader_API.pm new/yast2-bootloader-2.17.43/src/modules/Bootloader_API.pm
--- old/yast2-bootloader-2.17.41/src/modules/Bootloader_API.pm 2008-11-26 16:56:21.000000000 +0100
+++ new/yast2-bootloader-2.17.43/src/modules/Bootloader_API.pm 2008-11-27 18:53:33.000000000 +0100
@@ -71,6 +71,15 @@
return $ret;
}
+BEGIN { $TYPEINFO{updateSerialConsole} = ["function", "string", "string", "string"]; }
+sub updateSerialConsole() {
+ my ($my_append, $my_console) = @_;
+ my $ret = $lib_ref->UpdateSerialConsole($my_append, $my_console);
+
+ DumpLog();
+ return $ret;
+}
+
BEGIN { $TYPEINFO{initializeBootloader} = ["function", "boolean"]; }
# first time initialization of firmware/bios specific code
sub initializeBootloader() {
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-bootloader-2.17.41/src/modules/Bootloader.ycp new/yast2-bootloader-2.17.43/src/modules/Bootloader.ycp
--- old/yast2-bootloader-2.17.41/src/modules/Bootloader.ycp 2008-11-25 16:07:51.000000000 +0100
+++ new/yast2-bootloader-2.17.43/src/modules/Bootloader.ycp 2008-11-27 18:54:51.000000000 +0100
@@ -12,7 +12,7 @@
* Jiri Srain
* Olaf Dabrunz
*
- * $Id: Bootloader.ycp 53592 2008-11-25 15:07:50Z juhliarik $
+ * $Id: Bootloader.ycp 53673 2008-11-27 17:54:50Z juhliarik $
*
*/
@@ -608,6 +608,7 @@
}
+
return ret;
}
@@ -1388,7 +1389,26 @@
return ret;
}
+/**
+ * Function update append -> add console to append
+ *
+ * @param map boot section
+ * @return map updated boot section
+ */
+map updateAppend(map section)
+{
+ map ret = section;
+ if ((section["append"]:"" != "") && (section["console"]:"" != ""))
+ {
+ string updated_append = BootCommon::UpdateSerialConsole(section["append"]:"", section["console"]:"");
+ if (updated_append != nil)
+ {
+ ret["append"]=updated_append;
+ }
+ }
+ return ret;
+}
/**
* Copy initrd and kernel on the end of instalation
* (1st stage)
@@ -1460,6 +1480,8 @@
// build command for copy kernel and initrd to /var/lib/YaST during instalation
cmd = nil;
+ default_section = updateAppend(default_section);
+
cmd = sformat("/bin/cp %1%2 %1%3 %4", Installation::destdir, tostring(default_section["image"]:""),
tostring(default_section["initrd"]:""), Directory::vardir);
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-bootloader-2.17.41/src/modules/BootPOWERLILO.ycp new/yast2-bootloader-2.17.43/src/modules/BootPOWERLILO.ycp
--- old/yast2-bootloader-2.17.41/src/modules/BootPOWERLILO.ycp 2008-11-26 13:25:59.000000000 +0100
+++ new/yast2-bootloader-2.17.43/src/modules/BootPOWERLILO.ycp 2008-11-27 16:46:15.000000000 +0100
@@ -16,7 +16,7 @@
* Olaf Dabrunz
* Philipp Thomas
*
- * $Id: BootPOWERLILO.ycp 53607 2008-11-26 12:25:58Z juhliarik $
+ * $Id: BootPOWERLILO.ycp 53661 2008-11-27 15:46:15Z juhliarik $
*
*/
@@ -566,26 +566,18 @@
BootCommon::BootPartitionDevice = prep_boot_partition;
// also set as default value in widget
BootCommon::change_widget_default_value("boot_chrp_custom", prep_boot_partition);
- // bnc #439674 - Autoyast install of Cell blades fails to install bootloader
- BootCommon::globals["boot_chrp_custom"]=prep_boot_partition;
}
else if ( arch == "prep" ) {
BootCommon::BootPartitionDevice = prep_boot_partition;
BootCommon::change_widget_default_value("boot_prep_custom", prep_boot_partition);
- // bnc #439674 - Autoyast install of Cell blades fails to install bootloader
- BootCommon::globals["boot_prep_custom"]=prep_boot_partition;
}
else if ( arch == "iseries" ) {
BootCommon::BootPartitionDevice = prep_boot_partition;
BootCommon::change_widget_default_value("boot_iseries_custom", prep_boot_partition);
- // bnc #439674 - Autoyast install of Cell blades fails to install bootloader
- BootCommon::globals["boot_iseries_custom"]=prep_boot_partition;
}
else if ( arch == "pmac" ) {
BootCommon::BootPartitionDevice = GoodPmacBootPartition();
BootCommon::change_widget_default_value("boot_pmac_custom", BootCommon::BootPartitionDevice);
- // bnc #439674 - Autoyast install of Cell blades fails to install bootloader
- BootCommon::globals["boot_pmac_custom"]=BootCommon::BootPartitionDevice;
}
// These need to be set, for POWERLILO probably only to interface with
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-bootloader-2.17.41/src/routines/lib_iface.ycp new/yast2-bootloader-2.17.43/src/routines/lib_iface.ycp
--- old/yast2-bootloader-2.17.41/src/routines/lib_iface.ycp 2008-11-26 16:56:53.000000000 +0100
+++ new/yast2-bootloader-2.17.43/src/routines/lib_iface.ycp 2008-11-27 18:54:51.000000000 +0100
@@ -11,7 +11,7 @@
* Authors:
* Jiri Srain
*
- * $Id: lib_iface.ycp 52279 2008-10-16 08:07:58Z juhliarik $
+ * $Id: lib_iface.ycp 53673 2008-11-27 17:54:50Z juhliarik $
*
* WARNING:
* To be included to BootCommon.ycp only
@@ -327,6 +327,25 @@
return ret;
}
+
+/**
+ * Update append in from boot section, it means take value from "console"
+ * and add it to "append"
+ *
+ * @param string append from section
+ * @param string console from section
+ * @return string updated append with console
+ */
+global string UpdateSerialConsole (string append, string console) {
+ y2milestone ("Updating append: %1 with console: %2", append, console);
+ string ret = System::Bootloader_API::updateSerialConsole(append, console);
+ y2milestone ("return updated value of append: %1", ret);
+ if (ret == nil)
+ bootloaderError ("Error occurred while updating append");
+ return ret;
+}
+
+
/**
* Initialize the boot loader (eg. modify firmware, depending on architecture)
* @return boolean true on success
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-bootloader-2.17.41/VERSION new/yast2-bootloader-2.17.43/VERSION
--- old/yast2-bootloader-2.17.41/VERSION 2008-11-26 16:59:16.000000000 +0100
+++ new/yast2-bootloader-2.17.43/VERSION 2008-11-27 18:56:19.000000000 +0100
@@ -1 +1 @@
-2.17.41
+2.17.43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org