Hello community,
here is the log from the commit of package yast2-bootloader
checked in at Sat Aug 16 03:43:46 CEST 2008.
--------
--- yast2-bootloader/yast2-bootloader.changes 2008-08-06 16:19:59.000000000 +0200
+++ yast2-bootloader/yast2-bootloader.changes 2008-08-14 15:58:29.000000000 +0200
@@ -1,0 +2,12 @@
+Thu Aug 14 15:16:04 CEST 2008 - juhliarik@suse.cz
+
+- added support for creating console for kernel args (fate #110038)
+- 2.17.13
+
+-------------------------------------------------------------------
+Wed Aug 13 14:36:59 CEST 2008 - juhliarik@suse.cz
+
+- added changes for pesistent device names (fate #302219)
+- 2.17.12
+
+-------------------------------------------------------------------
Old:
----
yast2-bootloader-2.17.11.tar.bz2
New:
----
yast2-bootloader-2.17.13.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-bootloader.spec ++++++
--- /var/tmp/diff_new_pack.y31881/_old 2008-08-16 03:43:09.000000000 +0200
+++ /var/tmp/diff_new_pack.y31881/_new 2008-08-16 03:43:09.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package yast2-bootloader (Version 2.17.11)
+# spec file for package yast2-bootloader (Version 2.17.13)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -19,19 +19,19 @@
Name: yast2-bootloader
-Version: 2.17.11
+Version: 2.17.13
Release: 1
License: GPL v2 or later
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-bootloader-2.17.11.tar.bz2
+Source0: yast2-bootloader-2.17.13.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:
#!BuildIgnore: autoyast2-installation
PreReq: /bin/sed %fillup_prereq
# Installation::*version variables
-Requires: yast2 >= 2.16.7
+Requires: yast2 >= 2.17.0
Requires: yast2-core yast2-storage perl-Bootloader parted perl-Compress-Zlib limal-perl
%ifarch %ix86 x86_64
Requires: master-boot-code
@@ -61,7 +61,7 @@
Daniel Fiser
%prep
-%setup -n yast2-bootloader-2.17.11
+%setup -n yast2-bootloader-2.17.13
%build
%{prefix}/bin/y2tool y2autoconf
@@ -106,6 +106,12 @@
/var/adm/fillup-templates/*
/usr/share/YaST2/schema/autoyast/rnc/bootloader.rnc
%changelog
+* Thu Aug 14 2008 juhliarik@suse.cz
+- added support for creating console for kernel args (fate #110038)
+- 2.17.13
+* Wed Aug 13 2008 juhliarik@suse.cz
+- added changes for pesistent device names (fate #302219)
+- 2.17.12
* Wed Aug 06 2008 juhliarik@suse.cz
- added better detection of NFS boot device (bnc #408912)
- added better detection of EVMS - do not install bootloader
++++++ yast2-bootloader-2.17.11.tar.bz2 -> yast2-bootloader-2.17.13.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-bootloader-2.17.11/src/config/bootloader.rnc new/yast2-bootloader-2.17.13/src/config/bootloader.rnc
--- old/yast2-bootloader-2.17.11/src/config/bootloader.rnc 2008-08-06 14:08:57.000000000 +0200
+++ new/yast2-bootloader-2.17.13/src/config/bootloader.rnc 2008-08-14 15:26:40.000000000 +0200
@@ -75,6 +75,7 @@
element section {
element append {text}? &
element initial {text}? &
+ element console {text}? &
element initrd {text}? &
element kernel {text}? &
element name {text}? &
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-bootloader-2.17.11/src/modules/BootCommon.ycp new/yast2-bootloader-2.17.13/src/modules/BootCommon.ycp
--- old/yast2-bootloader-2.17.11/src/modules/BootCommon.ycp 2008-08-05 12:04:46.000000000 +0200
+++ new/yast2-bootloader-2.17.13/src/modules/BootCommon.ycp 2008-08-14 15:57:41.000000000 +0200
@@ -15,7 +15,7 @@
* Joachim Plack
* Olaf Dabrunz
*
- * $Id: BootCommon.ycp 49686 2008-08-05 10:04:46Z juhliarik $
+ * $Id: BootCommon.ycp 50080 2008-08-14 13:57:41Z juhliarik $
*
*/
@@ -466,7 +466,7 @@
: "";
// try to use label or udev id for device name... FATE #302219
if ((resume != "") && (resume != nil))
- resume = DevToLabelUdevID(resume);
+ resume = Dev2MountByDev(resume);
// FIXME:
@@ -589,7 +589,7 @@
"image" : kernel_fn,
"initrd" : initrd_fn,
// try to use label or udev id for device name... FATE #302219
- "root" : DevToLabelUdevID(RootPartitionDevice),
+ "root" : Dev2MountByDev(RootPartitionDevice),
"append" : (title == "failsafe")
? BootArch::FailsafeKernelParams ()
: BootArch::DefaultKernelParams (resume),
@@ -633,10 +633,11 @@
* @return bootloader settings
*/
global define map Export () {
+ MapDevices();
map exp = $[
- "global": globals,
- "sections" : sections,
- "device_map" : device_mapping,
+ "global": remapGlobals(globals),
+ "sections" : remapSections(sections),
+ "device_map" : remapDeviceMap(device_mapping),
];
if ( ! ( loader_type == "grub" ) ) {
exp["repl_mbr"] = repl_mbr;
@@ -703,8 +704,7 @@
k = Storage::SLES9PersistentDevNames(k);
y2milestone( "devmap: dev name after SLES9 persistent dev name translation: %1", k);
}
- //return $[BootCommon::MountByDev2Dev(k) : v];
- return $[DevToLabelUdevID(k) : v];
+ return $[Dev2MountByDev(k) : v];
});
// convert custom boot device names in globals to the kernel device names
@@ -717,8 +717,7 @@
v = Storage::SLES9PersistentDevNames(v);
y2milestone( "globals: dev name after SLES9 persistent dev name translation: %1", v);
}
- //return $[k : BootCommon::MountByDev2Dev(v)];
- return $[k : DevToLabelUdevID(v)];
+ return $[k : Dev2MountByDev(v)];
} else {
return $[k : v];
}
@@ -734,8 +733,7 @@
rdev = Storage::SLES9PersistentDevNames(rdev);
y2milestone( "sections: dev name after SLES9 persistent dev name translation: %1", rdev);
}
- //s["root"] = BootCommon::MountByDev2Dev(rdev);
- s["root"] = DevToLabelUdevID(rdev);
+ s["root"] = Dev2MountByDev(rdev);
return s;
});
return true;
@@ -784,13 +782,16 @@
BootCommon::UpdateAppend ();
BootCommon::UpdateGfxMenu ();
}
+
boolean ret = true;
string bl = getLoaderType (false);
if (bl == "none")
return true;
InitializeLibrary (init, bl);
-
+ // FATE: #110038: Serial console
+ // check and add console key with value for sections
+ addConsole();
list