Hello community,
here is the log from the commit of package yast2-kdump
checked in at Fri Aug 17 19:04:26 CEST 2007.
--------
--- yast2-kdump/yast2-kdump.changes 2007-08-15 12:44:50.000000000 +0200
+++ /mounts/work_src_done/STABLE/yast2-kdump/yast2-kdump.changes 2007-08-17 12:58:39.199622000 +0200
@@ -1,0 +2,14 @@
+Fri Aug 17 12:42:44 CEST 2007 - juhliarik@suse.cz
+
+- added new interactive installation packages
+- V 2.15.5
+
+-------------------------------------------------------------------
+Thu Aug 16 16:58:01 CEST 2007 - juhliarik@suse.cz
+
+- added patch for enable kdump, delete "noarch" from spec file
+- deleted switching between Command Line and Command Line Append
+- added patch for default allocate memory
+- V 2.15.4
+
+-------------------------------------------------------------------
Old:
----
yast2-kdump-2.15.3.tar.bz2
New:
----
yast2-kdump-2.15.5.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-kdump.spec ++++++
--- /var/tmp/diff_new_pack.T16359/_old 2007-08-17 19:04:14.000000000 +0200
+++ /var/tmp/diff_new_pack.T16359/_new 2007-08-17 19:04:14.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package yast2-kdump (Version 2.15.3)
+# spec file for package yast2-kdump (Version 2.15.5)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -11,16 +11,15 @@
# norootforbuild
Name: yast2-kdump
-Version: 2.15.3
+Version: 2.15.5
Release: 1
License: GPL v2 only
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-kdump-2.15.3.tar.bz2
+Source0: yast2-kdump-2.15.5.tar.bz2
prefix: /usr
Requires: yast2 yast2-storage yast2-bootloader
BuildRequires: perl-XML-Writer update-desktop-files yast2 yast2-bootloader yast2-devtools yast2-storage yast2-testsuite
-BuildArchitectures: noarch
Summary: Configuration of kdump
%description
@@ -33,7 +32,7 @@
Jozef Uhliarik
%prep
-%setup -n yast2-kdump-2.15.3
+%setup -n yast2-kdump-2.15.5
%build
%{prefix}/bin/y2tool y2autoconf
@@ -67,6 +66,14 @@
%doc %{prefix}/share/doc/packages/yast2-kdump
%changelog
+* Fri Aug 17 2007 - juhliarik@suse.cz
+- added new interactive installation packages
+- V 2.15.5
+* Thu Aug 16 2007 - juhliarik@suse.cz
+- added patch for enable kdump, delete "noarch" from spec file
+- deleted switching between Command Line and Command Line Append
+- added patch for default allocate memory
+- V 2.15.4
* Wed Aug 15 2007 - juhliarik@suse.cz
- added patch for problem with installing package kernel-kdump
- V 2.15.3
++++++ yast2-kdump-2.15.3.tar.bz2 -> yast2-kdump-2.15.5.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-kdump-2.15.3/configure new/yast2-kdump-2.15.5/configure
--- old/yast2-kdump-2.15.3/configure 2007-08-15 11:48:04.000000000 +0200
+++ new/yast2-kdump-2.15.5/configure 2007-08-17 13:02:19.000000000 +0200
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.60 for yast2-kdump 2.15.3.
+# Generated by GNU Autoconf 2.60 for yast2-kdump 2.15.5.
#
# Report bugs to http://bugs.opensuse.org/.
#
@@ -559,8 +559,8 @@
# Identity of this package.
PACKAGE_NAME='yast2-kdump'
PACKAGE_TARNAME='yast2-kdump'
-PACKAGE_VERSION='2.15.3'
-PACKAGE_STRING='yast2-kdump 2.15.3'
+PACKAGE_VERSION='2.15.5'
+PACKAGE_STRING='yast2-kdump 2.15.5'
PACKAGE_BUGREPORT='http://bugs.opensuse.org/'
ac_unique_file="RPMNAME"
@@ -1181,7 +1181,7 @@
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures yast2-kdump 2.15.3 to adapt to many kinds of systems.
+\`configure' configures yast2-kdump 2.15.5 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1252,7 +1252,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of yast2-kdump 2.15.3:";;
+ short | recursive ) echo "Configuration of yast2-kdump 2.15.5:";;
esac
cat <<\_ACEOF
@@ -1330,7 +1330,7 @@
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-yast2-kdump configure 2.15.3
+yast2-kdump configure 2.15.5
generated by GNU Autoconf 2.60
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
@@ -1344,7 +1344,7 @@
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by yast2-kdump $as_me 2.15.3, which was
+It was created by yast2-kdump $as_me 2.15.5, which was
generated by GNU Autoconf 2.60. Invocation command line was
$ $0 $@
@@ -2145,7 +2145,7 @@
# Define the identity of the package.
PACKAGE='yast2-kdump'
- VERSION='2.15.3'
+ VERSION='2.15.5'
cat >>confdefs.h <<_ACEOF
@@ -2372,7 +2372,7 @@
-VERSION="2.15.3"
+VERSION="2.15.5"
RPMNAME="yast2-kdump"
MAINTAINER="Jozef Uhliarik "
@@ -3258,7 +3258,7 @@
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by yast2-kdump $as_me 2.15.3, which was
+This file was extended by yast2-kdump $as_me 2.15.5, which was
generated by GNU Autoconf 2.60. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -3301,7 +3301,7 @@
_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF
ac_cs_version="\\
-yast2-kdump config.status 2.15.3
+yast2-kdump config.status 2.15.5
configured by $0, generated by GNU Autoconf 2.60,
with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-kdump-2.15.3/configure.in new/yast2-kdump-2.15.5/configure.in
--- old/yast2-kdump-2.15.3/configure.in 2007-08-15 11:47:58.000000000 +0200
+++ new/yast2-kdump-2.15.5/configure.in 2007-08-17 13:02:16.000000000 +0200
@@ -3,7 +3,7 @@
dnl -- This file is generated by y2autoconf 2.14.0 - DO NOT EDIT! --
dnl (edit configure.in.in instead)
-AC_INIT(yast2-kdump, 2.15.3, http://bugs.opensuse.org/, yast2-kdump)
+AC_INIT(yast2-kdump, 2.15.5, http://bugs.opensuse.org/, yast2-kdump)
dnl Check for presence of file 'RPMNAME'
AC_CONFIG_SRCDIR([RPMNAME])
@@ -17,7 +17,7 @@
AM_INIT_AUTOMAKE(tar-ustar) dnl searches for some needed programs
dnl Important YaST2 variables
-VERSION="2.15.3"
+VERSION="2.15.5"
RPMNAME="yast2-kdump"
MAINTAINER="Jozef Uhliarik "
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-kdump-2.15.3/kdump.pot new/yast2-kdump-2.15.5/kdump.pot
--- old/yast2-kdump-2.15.3/kdump.pot 1970-01-01 01:00:00.000000000 +0100
+++ new/yast2-kdump-2.15.5/kdump.pot 2007-08-16 17:51:30.000000000 +0200
@@ -0,0 +1,969 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR SuSE Linux Products GmbH, Nuernberg
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR , YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2007-08-16 17:51+0200\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME \n"
+"Language-Team: LANGUAGE \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=CHARSET\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: src/Kdump.ycp:421
+msgid "Unsupported architecture, \"crashkernel\" was not added"
+msgstr ""
+
+#. TRANSLATORS: CommandLine printed text
+#: src/Kdump.ycp:431 src/Kdump.ycp:445 src/kdump.ycp:228 src/kdump.ycp:234
+msgid "For applying changes is necessary reboot."
+msgstr ""
+
+#. Kdump read dialog caption
+#: src/Kdump.ycp:462
+msgid "Initializing kdump Configuration"
+msgstr ""
+
+#. Progress stage 1/4
+#: src/Kdump.ycp:468
+msgid "Read the config file"
+msgstr ""
+
+#. Progress stage 2/4
+#: src/Kdump.ycp:470
+msgid "Read disk partitions"
+msgstr ""
+
+#. Progress stage 3/4
+#: src/Kdump.ycp:472
+msgid "Read kernel boot options"
+msgstr ""
+
+#. Progress stage 4/4
+#: src/Kdump.ycp:474
+msgid "Read available memory"
+msgstr ""
+
+#. Progress step 1/4
+#: src/Kdump.ycp:478
+msgid "Reading the config file..."
+msgstr ""
+
+#. Progress step 2/4
+#: src/Kdump.ycp:480
+msgid "Reading partitions of disks..."
+msgstr ""
+
+#. Progress finished 3/4
+#: src/Kdump.ycp:482
+msgid "Reading available memory..."
+msgstr ""
+
+#. Error message
+#: src/Kdump.ycp:494
+msgid "Cannot read config file /etc/sysconfig/kdump"
+msgstr ""
+
+#. Error message
+#: src/Kdump.ycp:501
+msgid "Cannot read disk partitions."
+msgstr ""
+
+#. Error message
+#: src/Kdump.ycp:508
+msgid "Cannot read kernel boot options"
+msgstr ""
+
+#. Error message
+#: src/Kdump.ycp:515
+msgid "Cannot read available memory"
+msgstr ""
+
+#. Kdump read dialog caption
+#: src/Kdump.ycp:535
+msgid "Saving kdump Configuration"
+msgstr ""
+
+#. Progress stage 1/2
+#: src/Kdump.ycp:545
+msgid "Write the settings"
+msgstr ""
+
+#. Progress stage 2/2
+#: src/Kdump.ycp:547
+msgid "Update boot options"
+msgstr ""
+
+#. Progress step 1/2
+#: src/Kdump.ycp:550
+msgid "Writing the settings..."
+msgstr ""
+
+#. Progress step 2/2
+#: src/Kdump.ycp:552
+msgid "Updating boot options..."
+msgstr ""
+
+#. Progress finished
+#: src/Kdump.ycp:554
+msgid "Finished"
+msgstr ""
+
+#. Error message
+#: src/Kdump.ycp:563
+msgid "Cannot write settings."
+msgstr ""
+
+#. Error message
+#: src/Kdump.ycp:570
+msgid "Adding crashkernel parameter to bootloader fault."
+msgstr ""
+
+#: src/complex.ycp:111 src/complex.ycp:113
+msgid "Package for kexec-tools is not available."
+msgstr ""
+
+#: src/complex.ycp:121 src/complex.ycp:123
+msgid "Package for kernel-kdump is not available."
+msgstr ""
+
+#: src/complex.ycp:139 src/complex.ycp:141
+msgid "Installation failed!"
+msgstr ""
+
+#. TRANSLATORS: RadioButtonGroup Label
+#: src/dialogs.ycp:64
+msgid "Enable/Disable Kdump"
+msgstr ""
+
+#: src/dialogs.ycp:67
+msgid "Enable Kd&ump"
+msgstr ""
+
+#: src/dialogs.ycp:68
+msgid "&Disable Kdump"
+msgstr ""
+
+#: src/dialogs.ycp:92
+msgid "Kdump Memor&y [MB]"
+msgstr ""
+
+#: src/dialogs.ycp:104
+msgid "Include in Dumping"
+msgstr ""
+
+#. TRANSLATORS: TextEntry Label
+#: src/dialogs.ycp:124
+msgid "&Dump Format"
+msgstr ""
+
+#: src/dialogs.ycp:127
+msgid "E&LF Format"
+msgstr ""
+
+#: src/dialogs.ycp:128
+msgid "C&ompressed Format"
+msgstr ""
+
+#: src/dialogs.ycp:142
+msgid "Saving Target for Kdump Image"
+msgstr ""
+
+#: src/dialogs.ycp:170
+msgid "Enable Ra&w Saving in Initrd"
+msgstr ""
+
+#. TRANSLATORS: TextEntry Label
+#: src/dialogs.ycp:187
+msgid "Custom Kdump &Kernel"
+msgstr ""
+
+#. TRANSLATORS: TextEntry Label
+#: src/dialogs.ycp:198
+msgid "Kdump Co&mmand Line"
+msgstr ""
+
+#. TRANSLATORS: TextEntry Label
+#: src/dialogs.ycp:208
+msgid "Kdump Command &Line Append"
+msgstr ""
+
+#. TRANSLATORS: ComboBox Label
+#: src/dialogs.ycp:219
+msgid "&The Run-level to Boot the Kdump Kernel"
+msgstr ""
+
+#: src/dialogs.ycp:222
+msgid "1 - Single User Mode"
+msgstr ""
+
+#: src/dialogs.ycp:223
+msgid "2 - Local Multiuser Without Remote Network"
+msgstr ""
+
+#: src/dialogs.ycp:224
+msgid "3 - Full Multiuser With Network"
+msgstr ""
+
+#: src/dialogs.ycp:225
+msgid "5 - Full Multiuser With Network and xdm"
+msgstr ""
+
+#: src/dialogs.ycp:226
+msgid "s - Single User Mode (only one console)"
+msgstr ""
+
+#. TRANSLATORS: CheckBox Label
+#: src/dialogs.ycp:236
+msgid "&Enable Immediate Reboot After Saving the Core"
+msgstr ""
+
+#. TRANSLATORS: CheckBox Label
+#: src/dialogs.ycp:247
+msgid "Enable &Delete Old Dump Images"
+msgstr ""
+
+#. TRANSLATORS: IntField Label
+#: src/dialogs.ycp:257
+msgid "N&umber of Old Dumps"
+msgstr ""
+
+#: src/dialogs.ycp:278
+msgid "Kdump Memory"
+msgstr ""
+
+#: src/dialogs.ycp:283
+msgid "Kdump Start-Up"
+msgstr ""
+
+#: src/dialogs.ycp:284
+msgid "Start-Up"
+msgstr ""
+
+#: src/dialogs.ycp:297
+msgid "Kdump - Dump Filtering"
+msgstr ""
+
+#: src/dialogs.ycp:298
+msgid "Dump Filtering"
+msgstr ""
+
+#: src/dialogs.ycp:313 src/dialogs.ycp:314
+msgid "Dump Target"
+msgstr ""
+
+#: src/dialogs.ycp:322
+msgid "Custom Kernel for Kdump"
+msgstr ""
+
+#: src/dialogs.ycp:326
+msgid "Command Line"
+msgstr ""
+
+#: src/dialogs.ycp:331
+msgid "The Run-level to Boot"
+msgstr ""
+
+#: src/dialogs.ycp:343
+msgid "Number of Dumps"
+msgstr ""
+
+#: src/dialogs.ycp:353
+msgid "Kdump Expert Settings"
+msgstr ""
+
+#: src/dialogs.ycp:354
+msgid "Expert Settings"
+msgstr ""
+
+#. Enable/Disable Kdump - RadioButtons 1/1
+#: src/helps.ycp:40
+msgid ""
+"<p><b>Enable/Disable Kdump</b><br>\n"
+" Enable or disable kdump. The boot option crashkernel parameter is added/removed. \n"
+" For applying changes is necessary reboot.<br></p>"
+msgstr ""
+
+#. Kdump Memor&y [MB] - IntField 1/1
+#: src/helps.ycp:46
+msgid ""
+"<p><b>Kdump Memory</b><br>\n"
+" Alocating of memory for kdump kernel. <br></p>"
+msgstr ""
+
+#. Kdump Memor&y [MB] - IntField 1/1
+#: src/helps.ycp:50
+msgid ""
+"<p><b>Dump Level</b><br>\n"
+" Specify the type of necessary page for analysis.\n"
+" Pages of the specified type are copied to dumpfile. \n"
+" The page type marked in the following table is included. <br></p>"
+msgstr ""
+
+#. Dump Format - RadioButtons 1/1
+#: src/helps.ycp:56
+msgid ""
+"<p><b>Dump Format</b><br>\n"
+" <i>Compressed Format</i> - Compress dump data by each page.\n"
+" <i>ELF Format</i> - Create dumpfile in the ELF format<br></p>"
+msgstr ""
+
+#. Dump Format - RadioButtons 1/6
+#: src/helps.ycp:61
+msgid ""
+"<p><b>Saving Target for Kdump Image</b><br>\n"
+" The target for saving kdump images.<br></p>"
+msgstr ""
+
+#. Dump Format - RadioButtons 2/6
+#: src/helps.ycp:64
+msgid ""
+"<p><b>Local Filestem</b> - Save kdump image in the local filesystem.\n"
+" <i>Directory for Saving Dumps</i> - The path for saving kdump images.\n"
+" Selecting directory for saving kdump images via dialog by pressing <i>Browse</i>\n"
+" <br></p>"
+msgstr ""
+
+#. Dump Format - RadioButtons 3/6
+#: src/helps.ycp:69
+msgid ""
+"<p><b>FTP</b> - Save kdump image via FTP.\n"
+" <i>Server Name</i> - The name of ftp server.\n"
+" <i>Port</i> - The port number for connection.\n"
+" <i>Directory on Server</i> - The path for saving kdump images.\n"
+" <i>Enable Anonymous FTP</i> enables anonymous connection to server.\n"
+" <i>User Name</i> for ftp connection. <i>Password</i> for ftp connection.<br></p>"
+msgstr ""
+
+#. Dump Format - RadioButtons 4/6
+#: src/helps.ycp:76
+msgid ""
+"<p><b>SSH</b> - Save kdump image via SSH.\n"
+" <i>Server Name</i> - The name of server.\n"
+" <i>Port</i> - The port number for connection.\n"
+" <i>Directory on Server</i> - The path for saving kdump images.\n"
+" <i>User Name</i> for ssh connection.<br></p>"
+msgstr ""
+
+#. Dump Format - RadioButtons 5/6
+#: src/helps.ycp:82
+msgid ""
+"<p><b>NFS</b> - Save kdump image on NFS.\n"
+" <i>Server Name</i> - The name of nfs server.\n"
+" <i>Directory on Server</i> - The path for saving kdump images.<br></p>"
+msgstr ""
+
+#. Dump Format - RadioButtons 6/6
+#: src/helps.ycp:86
+msgid ""
+"<p><b>CIFS</b> - Save kdump image via CIFS.\n"
+" <i>Server Name</i> - The name of server.\n"
+" <i>Exported Share</i> - The windows share name.\n"
+" <i>Directory on Server</i> - The path for saving kdump images.\n"
+" <i>Use Authentication</i> enables authenticated connection to server.\n"
+" <i>User Name</i> for connection. <i>Password</i> for connection.<br></p>"
+msgstr ""
+
+#. Enable Raw Saving in Initrd - ComboBox 1/1
+#: src/helps.ycp:95
+msgid ""
+"<p><b>Enable Raw Saving in Initrd</b> - allows to save \n"
+" the dump in initrd before mounting any filesystem. Then the system is rebooted, and \n"
+" if filesystem doesn't mount user can repair it with a rescue system. On first normal \n"
+" boot, the dump is saved to the final dump destination. It is possible select raw partition \n"
+" from <i>The List of Available Raw Paritions of All Disks Without Known Filesystem</i><br></p>"
+msgstr ""
+
+#. Custom Kdump Kernel - TextEntry 1/1
+#: src/helps.ycp:102
+msgid ""
+"<p><b>Custom Kdump Kernel</b> The user can enter the custom kernel.\n"
+" The naming scheme is:<i>/boot/vmlinu[zx]-[.gz]</i>\n"
+" Please enter only <i>kernel_string</i>.<br></p>"
+msgstr ""
+
+#. Kdump Command Line - TextEntry 1/1
+#: src/helps.ycp:107
+msgid ""
+"<p><b>Kdump Command Line</b>\n"
+" Additional arguments passed to kexec. <br></p>"
+msgstr ""
+
+#. Kdump Command Line Append - TextEntry 1/1
+#: src/helps.ycp:111
+msgid ""
+"<p><b>Kdump Command Line Append</b>\n"
+" Set this option means _append_ values to the default command line string. \n"
+" The string gets also appended if <i>Kdump Command Line</i>\n"
+" is set. <br></p>"
+msgstr ""
+
+#. The Run-level to Boot the Kdump Kernel - ComboBox 1/1
+#: src/helps.ycp:117
+msgid ""
+"<p><b>The Run-level to Boot the Kdump Kernel</b> - \n"
+" The run-level to boot the kdump kernel. If networks is needed in \n"
+" the kdump environment, set <i>3</i>.<br></p>"
+msgstr ""
+
+#. Enable Immediate Reboot After Saving the Core - CheckBox 1/1
+#: src/helps.ycp:122
+msgid ""
+"<p><b>Enable Immediate Reboot After Saving the Core</b> - \n"
+" Enable immediately reboot after saving the core in the kdump.<br></p>"
+msgstr ""
+
+#. Enable Delete Old Dump Images - CheckBox 1/1
+#: src/helps.ycp:126
+msgid ""
+"<p><b>Enable Delete Old Dump Images</b> - \n"
+" Enable Delete Old Dump Images. If the number of dump files in \n"
+" <i>Number of Old Dumps</i> exceeds this number, older dumps are removed.<br></p>"
+msgstr ""
+
+#. Number of Old Dumps - IntField 1/1
+#: src/helps.ycp:131
+msgid ""
+"<p><b>Number of Old Dumps</b> - \n"
+" Specifies how many old dumps are kept.<br></p>"
+msgstr ""
+
+#. Read dialog help 1/2
+#: src/helps.ycp:136
+msgid ""
+"<p><b><big>Initializing Kdump Configuration</big></b><br>\n"
+"Please wait...<br></p>\n"
+msgstr ""
+
+#. Read dialog help 2/2
+#: src/helps.ycp:141
+msgid ""
+"<p><b><big>Aborting Initialization:</big></b><br>\n"
+"Safely abort the configuration utility by pressing <b>Abort</b> now.</p>\n"
+msgstr ""
+
+#. Write dialog help 1/2
+#: src/helps.ycp:146
+msgid ""
+"<p><b><big>Saving Kdump Configuration</big></b><br>\n"
+"Please wait...<br></p>\n"
+msgstr ""
+
+#. Write dialog help 2/2
+#: src/helps.ycp:151
+msgid ""
+"<p><b><big>Aborting Saving:</big></b><br>\n"
+"Abort the save procedure by pressing <b>Abort</b>.\n"
+"An additional dialog informs whether it is safe to do so.\n"
+"</p>\n"
+msgstr ""
+
+#. Summary dialog help 1/3
+#: src/helps.ycp:158
+msgid ""
+"<p><b><big>Kdump Configuration</big></b><br>\n"
+"Configure kdump here.<br></p>\n"
+msgstr ""
+
+#. Summary dialog help 2/3
+#: src/helps.ycp:163
+msgid ""
+"<p><b><big>Adding a Kdump:</big></b><br>\n"
+"Choose an kdump from the list of detected kdumps.\n"
+"If your kdump was not detected, use <b>Other (not detected)</b>.\n"
+"Then press <b>Configure</b>.</p>\n"
+msgstr ""
+
+#. Summary dialog help 3/3
+#: src/helps.ycp:170
+msgid ""
+"<p><b><big>Editing or Deleting:</big></b><br>\n"
+"If you press <b>Edit</b>, an additional dialog in which to change\n"
+"the configuration opens.</p>\n"
+msgstr ""
+
+#. Ovreview dialog help 1/3
+#: src/helps.ycp:176
+msgid ""
+"<p><b><big>Kdump Configuration Overview</big></b><br>\n"
+"Obtain an overview of installed kdumps. Additionally\n"
+"edit their configurations.<br></p>\n"
+msgstr ""
+
+#. Ovreview dialog help 2/3
+#: src/helps.ycp:182
+msgid ""
+"<p><b><big>Adding a Kdump:</big></b><br>\n"
+"Press <b>Add</b> to configure a kdump.</p>"
+msgstr ""
+
+#. Ovreview dialog help 3/3
+#: src/helps.ycp:186
+msgid ""
+"<p><b><big>Editing or Deleting:</big></b><br>\n"
+"Choose a kdump to change or remove.\n"
+"Then press <b>Edit</b> or <b>Delete</b> as desired.</p>\n"
+msgstr ""
+
+#. TRANSLATORS: CommandLine printed text
+#: src/kdump.ycp:63
+msgid "Display Settings:"
+msgstr ""
+
+#. TRANSLATORS: CommandLine printed text
+#: src/kdump.ycp:67
+msgid "Kdump is enabled (boot option \"crashkernel\" is added)"
+msgstr ""
+
+#. TRANSLATORS: CommandLine printed text
+#: src/kdump.ycp:69
+#, ycp-format
+msgid "Alocate memory (MB) for kdump is: %1"
+msgstr ""
+
+#. TRANSLATORS: CommandLine printed text
+#: src/kdump.ycp:73
+msgid "Kdump is disable"
+msgstr ""
+
+#. TRANSLATORS: CommandLine printed text
+#: src/kdump.ycp:77
+#, ycp-format
+msgid "Dump Level: %1"
+msgstr ""
+
+#. TRANSLATORS: CommandLine printed text
+#: src/kdump.ycp:80
+#, ycp-format
+msgid "Dump Format: %1"
+msgstr ""
+
+#. parsing target info
+#: src/kdump.ycp:84
+msgid "Dump Target Settings"
+msgstr ""
+
+#. TRANSLATORS: CommandLine printed text
+#: src/kdump.ycp:87
+#, ycp-format
+msgid "target: %1"
+msgstr ""
+
+#. TRANSLATORS: CommandLine printed text
+#: src/kdump.ycp:92 src/kdump.ycp:104 src/kdump.ycp:127 src/kdump.ycp:140
+#: src/kdump.ycp:147
+#, ycp-format
+msgid "file directory: %1"
+msgstr ""
+
+#. TRANSLATORS: CommandLine printed text
+#: src/kdump.ycp:97 src/kdump.ycp:118 src/kdump.ycp:138 src/kdump.ycp:145
+#, ycp-format
+msgid "server name: %1"
+msgstr ""
+
+#. TRANSLATORS: CommandLine printed text
+#: src/kdump.ycp:101 src/kdump.ycp:123
+#, ycp-format
+msgid "port: %1"
+msgstr ""
+
+#. TRANSLATORS: CommandLine printed text
+#: src/kdump.ycp:109 src/kdump.ycp:154
+msgid "user name: anonymous connection is allowed"
+msgstr ""
+
+#. TRANSLATORS: CommandLine printed text
+#: src/kdump.ycp:112 src/kdump.ycp:132 src/kdump.ycp:157
+#, ycp-format
+msgid "user name: %1"
+msgstr ""
+
+#. TRANSLATORS: CommandLine printed text
+#: src/kdump.ycp:149
+#, ycp-format
+msgid "share: %1"
+msgstr ""
+
+#. TRANSLATORS: CommandLine printed text
+#: src/kdump.ycp:164
+msgid "EMPTY"
+msgstr ""
+
+#. TRANSLATORS: CommandLine printed text
+#: src/kdump.ycp:172
+#, ycp-format
+msgid "Save first to raw partition: %1"
+msgstr ""
+
+#. TRANSLATORS: CommandLine printed text
+#: src/kdump.ycp:178
+#, ycp-format
+msgid "Custom kdump kernel: %1"
+msgstr ""
+
+#. TRANSLATORS: CommandLine printed text
+#: src/kdump.ycp:184
+#, ycp-format
+msgid "Kdump command line: %1"
+msgstr ""
+
+#. TRANSLATORS: CommandLine printed text
+#: src/kdump.ycp:190
+#, ycp-format
+msgid "Kdump command line append: %1"
+msgstr ""
+
+#. TRANSLATORS: CommandLine printed text
+#: src/kdump.ycp:197
+#, ycp-format
+msgid "Kdump runlevel: %1"
+msgstr ""
+
+#. TRANSLATORS: CommandLine printed text
+#: src/kdump.ycp:203
+#, ycp-format
+msgid "Kdump immediate reboots: %1"
+msgstr ""
+
+#: src/kdump.ycp:203
+msgid "ENABLED"
+msgstr ""
+
+#: src/kdump.ycp:203
+msgid "DISABLED"
+msgstr ""
+
+#. TRANSLATORS: CommandLine printed text
+#: src/kdump.ycp:209
+msgid "Numbers of old dumps: All dumps are saved without deleting old dumps"
+msgstr ""
+
+#. TRANSLATORS: CommandLine printed text
+#: src/kdump.ycp:212
+#, ycp-format
+msgid "Numbers of old dumps: %1"
+msgstr ""
+
+#. TRANSLATORS: CommandLine error message
+#. TRANSLATORS: CommandLine error message
+#. TRANSLATORS: CommandLine error message
+#. TRANSLATORS: CommandLine error message
+#. TRANSLATORS: CommandLine error message
+#: src/kdump.ycp:239 src/kdump.ycp:261 src/kdump.ycp:284 src/kdump.ycp:452
+#: src/kdump.ycp:477 src/kdump.ycp:492 src/kdump.ycp:506 src/kdump.ycp:520
+#: src/kdump.ycp:537 src/kdump.ycp:559 src/kdump.ycp:580
+msgid "Wrong options was used."
+msgstr ""
+
+#. TRANSLATORS: CommandLine printed text
+#: src/kdump.ycp:252
+msgid "Dump level was set."
+msgstr ""
+
+#. TRANSLATORS: CommandLine error message
+#: src/kdump.ycp:256 src/kdump.ycp:277
+msgid "Wrong value of option."
+msgstr ""
+
+#. TRANSLATORS: CommandLine printed text
+#: src/kdump.ycp:273
+msgid "Dump format was set."
+msgstr ""
+
+#. TRANSLATORS: CommandLine printed text help
+#: src/kdump.ycp:279
+msgid "Option can include only \"ELF\" or \"compressed\" value."
+msgstr ""
+
+#. TRANSLATORS: CommandLine error message
+#: src/kdump.ycp:297
+#, ycp-format
+msgid "File %1 doesn't exist."
+msgstr ""
+
+#. TRANSLATORS: CommandLine error message
+#: src/kdump.ycp:314 src/kdump.ycp:337 src/kdump.ycp:369 src/kdump.ycp:394
+#: src/kdump.ycp:427
+msgid "Value for \"dir\" missing."
+msgstr ""
+
+#. TRANSLATORS: CommandLine error message
+#: src/kdump.ycp:326 src/kdump.ycp:359 src/kdump.ycp:386 src/kdump.ycp:407
+msgid "Value for \"server\" missing."
+msgstr ""
+
+#. TRANSLATORS: CommandLine error message
+#: src/kdump.ycp:415
+msgid "Value for \"share\" missing."
+msgstr ""
+
+#. TRANSLATORS: CommandLine error message
+#: src/kdump.ycp:444
+msgid "Wrong value for target."
+msgstr ""
+
+#. TRANSLATORS: CommandLine error message
+#: src/kdump.ycp:471
+msgid "Wrong value of options \"raw\". Partition doesn't exist."
+msgstr ""
+
+#. TRANSLATORS: CommandLine error message
+#: src/kdump.ycp:553
+msgid "Wrong value of options \"level\"."
+msgstr ""
+
+#. TRANSLATORS: CommandLine error message
+#: src/kdump.ycp:574
+msgid "Wrong value of options \"no\"."
+msgstr ""
+
+#. Command line help text for the kdump module
+#: src/kdump.ycp:590
+msgid "Configuration of kdump"
+msgstr ""
+
+#. TRANSLATORS: CommandLine help
+#: src/kdump.ycp:599
+msgid "Display settings"
+msgstr ""
+
+#. TRANSLATORS: CommandLine help
+#: src/kdump.ycp:608
+msgid "Start-up settings"
+msgstr ""
+
+#. TRANSLATORS: CommandLine help
+#: src/kdump.ycp:618
+msgid "Dump Level number 0-31"
+msgstr ""
+
+#. TRANSLATORS: CommandLine help
+#: src/kdump.ycp:628
+msgid "Dump format for dump image ELF/compressed"
+msgstr ""
+
+#. TRANSLATORS: CommandLine help
+#: src/kdump.ycp:638
+msgid "Dump target includes destination for saving dump images"
+msgstr ""
+
+#. TRANSLATORS: CommandLine help
+#: src/kdump.ycp:651
+msgid "Raw partition allows to save the dump in initrd before mounting any filesystem."
+msgstr ""
+
+#. TRANSLATORS: CommandLine help
+#: src/kdump.ycp:660
+msgid "The naming scheme is:/boot/vmlinu[zx]-[.gz] Please eneter only \"kernel_string\"."
+msgstr ""
+
+#. TRANSLATORS: CommandLine help
+#: src/kdump.ycp:669
+msgid "The kdump commandline is the command line that needs to be passed off to the kdump kernel."
+msgstr ""
+
+#. TRANSLATORS: CommandLine help
+#: src/kdump.ycp:678
+msgid "Set this variable if you only want to _append_ values to the default command line string."
+msgstr ""
+
+#. TRANSLATORS: CommandLine help
+#: src/kdump.ycp:687
+msgid "Immediately reboot after saving the core in the kdump kernel."
+msgstr ""
+
+#. TRANSLATORS: CommandLine help
+#: src/kdump.ycp:697
+msgid "The run-level to boot the kdump kernel.(1,2,3,5,s)"
+msgstr ""
+
+#. TRANSLATORS: CommandLine help
+#: src/kdump.ycp:706
+msgid "Specifies how many old dumps are kept. 0 means keep all."
+msgstr ""
+
+#. TRANSLATORS: CommandLine help
+#: src/kdump.ycp:716
+msgid "Enable option"
+msgstr ""
+
+#. TRANSLATORS: CommandLine help
+#: src/kdump.ycp:721
+msgid "Disable option"
+msgstr ""
+
+#. TRANSLATORS: CommandLine help
+#: src/kdump.ycp:727
+msgid "Size of allocate memory MB"
+msgstr ""
+
+#. TRANSLATORS: CommandLine help
+#: src/kdump.ycp:733
+msgid "Number for dump level includes pages for saving"
+msgstr ""
+
+#. TRANSLATORS: CommandLine help
+#: src/kdump.ycp:739
+msgid "Dump format can be ELF or compressed"
+msgstr ""
+
+#. TRANSLATORS: CommandLine help
+#: src/kdump.ycp:745
+msgid "Dump target includes kind of target from: file (local filesystem), ftp, ssh, nfs, cifs"
+msgstr ""
+
+#. TRANSLATORS: CommandLine help
+#: src/kdump.ycp:751
+msgid "Name of server"
+msgstr ""
+
+#. TRANSLATORS: CommandLine help
+#: src/kdump.ycp:757
+msgid "Port for connection"
+msgstr ""
+
+#. TRANSLATORS: CommandLine help
+#: src/kdump.ycp:763
+msgid "Directory for saving dumps images"
+msgstr ""
+
+#. TRANSLATORS: CommandLine help
+#: src/kdump.ycp:769
+msgid "Exported share"
+msgstr ""
+
+#. TRANSLATORS: CommandLine help
+#: src/kdump.ycp:775
+msgid "User name"
+msgstr ""
+
+#. TRANSLATORS: CommandLine help
+#: src/kdump.ycp:781
+msgid "Path of file which includes passwort (plain text file)"
+msgstr ""
+
+#. TRANSLATORS: CommandLine help
+#: src/kdump.ycp:787
+msgid "udev_id of raw partition"
+msgstr ""
+
+#. TRANSLATORS: CommandLine help
+#: src/kdump.ycp:793
+msgid "The naming scheme is: /boot/vmlinu[zx]-[.gz] kernel means only \"kernel_string\"."
+msgstr ""
+
+#. TRANSLATORS: CommandLine help
+#: src/kdump.ycp:799
+msgid "Include command line options."
+msgstr ""
+
+#. TRANSLATORS: CommandLine help
+#: src/kdump.ycp:806
+msgid "Option means run-level to boot the kdump kernel. Only values such as 1,2,3,5 or s are allowed"
+msgstr ""
+
+#. TRANSLATORS: CommandLine help
+#: src/kdump.ycp:812
+msgid "Number of dumps. 0 means keep all."
+msgstr ""
+
+#: src/uifunctions.ycp:65
+msgid "Local Filesystem"
+msgstr ""
+
+#: src/uifunctions.ycp:67
+msgid "&Directory for Saving Dumps"
+msgstr ""
+
+#: src/uifunctions.ycp:69
+msgid "B&rowse"
+msgstr ""
+
+#: src/uifunctions.ycp:77
+msgid "FTP"
+msgstr ""
+
+#: src/uifunctions.ycp:79 src/uifunctions.ycp:100 src/uifunctions.ycp:113
+#: src/uifunctions.ycp:123
+msgid "Server Nam&e"
+msgstr ""
+
+#: src/uifunctions.ycp:80 src/uifunctions.ycp:101
+msgid "P&ort"
+msgstr ""
+
+#. text entry
+#: src/uifunctions.ycp:84 src/uifunctions.ycp:104 src/uifunctions.ycp:115
+#: src/uifunctions.ycp:127
+msgid "&Directory on Server"
+msgstr ""
+
+#: src/uifunctions.ycp:85
+msgid "Enable Anon&ymous FTP"
+msgstr ""
+
+#. text entry
+#: src/uifunctions.ycp:89 src/uifunctions.ycp:106 src/uifunctions.ycp:132
+msgid "&User Name"
+msgstr ""
+
+#. password entry
+#: src/uifunctions.ycp:91 src/uifunctions.ycp:134
+msgid "&Password"
+msgstr ""
+
+#: src/uifunctions.ycp:98
+msgid "SSH (scp)"
+msgstr ""
+
+#: src/uifunctions.ycp:112
+msgid "NFS"
+msgstr ""
+
+#: src/uifunctions.ycp:122
+msgid "CIFS (SMB)"
+msgstr ""
+
+#. text entries
+#: src/uifunctions.ycp:126
+msgid "Exported Sha&re"
+msgstr ""
+
+#: src/uifunctions.ycp:129
+msgid "Use Aut&hentication"
+msgstr ""
+
+#: src/uifunctions.ycp:426
+msgid "Select directory for saving dump images"
+msgstr ""
+
+#: src/uifunctions.ycp:458
+msgid "You need specify \"Directory for Saving Dumps\""
+msgstr ""
+
+#: src/uifunctions.ycp:466 src/uifunctions.ycp:489 src/uifunctions.ycp:503
+msgid "You need specify \"Server Name\""
+msgstr ""
+
+#: src/uifunctions.ycp:472 src/uifunctions.ycp:495 src/uifunctions.ycp:509
+msgid "You need specify \"Directory on Server\""
+msgstr ""
+
+#: src/uifunctions.ycp:480 src/uifunctions.ycp:523
+msgid "You need specify \"User Name\""
+msgstr ""
+
+#: src/uifunctions.ycp:515
+msgid "You need specify \"Exported Share\""
+msgstr ""
+
+#: src/uifunctions.ycp:712
+msgid "Partition doesn't exist on your disks"
+msgstr ""
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-kdump-2.15.3/src/complex.ycp new/yast2-kdump-2.15.5/src/complex.ycp
--- old/yast2-kdump-2.15.3/src/complex.ycp 2007-08-15 11:32:42.000000000 +0200
+++ new/yast2-kdump-2.15.5/src/complex.ycp 2007-08-17 12:31:22.000000000 +0200
@@ -41,6 +41,8 @@
import "Arch";
import "CommandLine";
import "Mode";
+import "Message";
+import "PackageSystem";
include "kdump/helps.ycp";
@@ -94,6 +96,7 @@
if (Package::Installed(kdump)) {
kdump_installed =true;
}
+
//checking if packages are available
if ((!kexec_installed) || (!kdump_installed)) {
if (!kexec_installed)
@@ -133,14 +136,16 @@
if ((!kdump_installed) && (Arch::ppc64()))
package_list = add(package_list, kdump);
- //install packages
- if (!Package::DoInstall(package_list)) {
+ //install packages
+ if (! PackageSystem::CheckAndInstallPackages(package_list)) {
+
+
if (!Mode::commandline()) {
- Popup::Error(_("Installation failed!"));
+ Popup::Error(Message::CannotContinueWithoutPackagesInstalled());
} else {
- CommandLine::Error(_("Installation failed!"));
+ CommandLine::Error(Message::CannotContinueWithoutPackagesInstalled());
}
- y2error("[kdump] Installation of package list %1 failed", package_list);
+ y2error("[kdump] Installation of package list %1 failed or aborted", package_list);
return `abort;
}
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-kdump-2.15.3/src/dialogs.ycp new/yast2-kdump-2.15.5/src/dialogs.ycp
--- old/yast2-kdump-2.15.3/src/dialogs.ycp 2007-08-06 17:13:50.000000000 +0200
+++ new/yast2-kdump-2.15.5/src/dialogs.ycp 2007-08-16 17:08:56.000000000 +0200
@@ -89,7 +89,7 @@
`Left(`Label(`id("usable_memory"),"0123456789")),
`HStretch ()
)),
- `Left(`IntField(`id("memory_buffer"), `opt(`notify), _("Kdump Memor&y [MB]"),128,1048576,128))
+ `Left(`IntField(`id("memory_buffer"), `opt(`notify), _("Kdump Memor&y [MB]"),32,1048576,128))
)),
"init" : InitKdumpMemory,
"handle" : HandleKdumpMemory,
@@ -197,31 +197,23 @@
//TRANSLATORS: TextEntry Label
"label" : _("Kdump Co&mmand Line"),
"widget" : `textentry,
- //"init" : init is hadled by "SwitchKdumpComLine"
+ "init" : InitKdumpCommandLine,
//"handle" :
- //"store" : store is hadled by "SwitchKdumpComLine"
+ "store" : StoreKdumpCommandLine,
"help" : HelpKdump("KdumpCommandLine"),
],
-
- "SwitchKdumpComLine" : $[
-
- "widget" : `custom,
- "custom_widget" : `VBox(
- `RadioButtonGroup(`id("switch_kdum_comm_line"),
- `HBox(`HSpacing(1),`VBox(
- `Left(`Label("")),
- `Left(`CheckBox(`id("enable_append"), `opt(`notify), "A&ppend Kdump Commandline"))
- ))
- )
- ),
- "init" : InitSwitchKdumpComLine,
- "handle" : HandleSwitchKdumpComLine,
- "store" : StoreSwitchKdumpComLine,
- "help" : HelpKdump("SwitchKdumpComLine"),
-
+ "KdumpCommandLineAppend" : $[
+ //TRANSLATORS: TextEntry Label
+ "label" : _("Kdump Command &Line Append"),
+ "widget" : `textentry,
+ "init" : InitKdumpCommandLineAppend,
+ //"handle" :
+ "store" : StoreKdumpCommandLineAppend,
+ "help" : HelpKdump("KdumpCommandLineAppend"),
],
+
"RunLevel" : $[
//TRANSLATORS: ComboBox Label
"label" : _("&The Run-level to Boot the Kdump Kernel"),
@@ -332,13 +324,8 @@
))),
`VSpacing(1),
`Frame ( _("Command Line"),`HBox(`HSpacing(1),`VBox(
- //`Left("KernelCommandLine"),
- `Left(`HBox(
- `Left("KdumpCommandLine"),
- `Left("SwitchKdumpComLine"),
-
- `HStretch ()
- ))
+ `Left("KdumpCommandLine"),
+ `Left("KdumpCommandLineAppend")
))),
`VSpacing(1),
`Frame ( _("The Run-level to Boot"),`HBox(`HSpacing(1),`VBox(
@@ -366,8 +353,8 @@
"caption" : _("Kdump Expert Settings"),
"tree_item_label" : _("Expert Settings"),
"widget_names" : [
- "DisBackButton","KdumpCommandLine",
- "SwitchKdumpComLine", "RunLevel",
+ "DisBackButton", "KdumpCommandLine",
+ "KdumpCommandLineAppend", "RunLevel",
"EnableDeleteImages", "NumberDumps",
"InitrdKernel", "SelectKernel", "EnableReboot"
]
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-kdump-2.15.3/src/helps.ycp new/yast2-kdump-2.15.5/src/helps.ycp
--- old/yast2-kdump-2.15.3/src/helps.ycp 2007-08-10 12:40:07.000000000 +0200
+++ new/yast2-kdump-2.15.5/src/helps.ycp 2007-08-16 17:12:50.000000000 +0200
@@ -103,16 +103,15 @@
The naming scheme is:<i>/boot/vmlinu[zx]-[.gz]</i>
Please enter only <i>kernel_string</i>.<br></p>"),
- /* Custom Kdump Kernel - TextEntry 1/1*/
+ /* Kdump Command Line - TextEntry 1/1*/
"KdumpCommandLine" : _("<p><b>Kdump Command Line</b>
- Additional arguments passed to kexec.
- <b>Kdump Command Line Append</b> - Set this variable means _append_
- values to the default command line string. The string gets also appended if <i>Kdump Command Line</i>
- is set. <br></p>"),
+ Additional arguments passed to kexec. <br></p>"),
- /* Append Kdump Commandline - CheckBox 1/1*/
- "SwitchKdumpComLine" : _("<p><b>Append Kdump Commandline</b> - Switching between
- <i>Kdump Command Line</i> and <i>Kdump Command Line Append</i><br></p>"),
+ /* Kdump Command Line Append - TextEntry 1/1*/
+ "KdumpCommandLineAppend" : _("<p><b>Kdump Command Line Append</b>
+ Set this option means _append_ values to the default command line string.
+ The string gets also appended if <i>Kdump Command Line</i>
+ is set. <br></p>"),
/* The Run-level to Boot the Kdump Kernel - ComboBox 1/1*/
"RunLevel" : _("<p><b>The Run-level to Boot the Kdump Kernel</b> -
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-kdump-2.15.3/src/Kdump.ycp new/yast2-kdump-2.15.5/src/Kdump.ycp
--- old/yast2-kdump-2.15.3/src/Kdump.ycp 2007-08-14 11:49:15.000000000 +0200
+++ new/yast2-kdump-2.15.5/src/Kdump.ycp 2007-08-16 16:55:18.000000000 +0200
@@ -88,7 +88,13 @@
global integer total_memory =0;
/**
- * Boolean option indicates kernel parameter
+ * Number of cpus
+ *
+ * integer
+ */
+integer number_of_cpus = 1;
+
+/** Boolean option indicates kernel parameter
* "crashkernel"
*
* boolean true if kernel parameter is set
@@ -118,7 +124,7 @@
*
* string value number of alocate memory
*/
-global string alocated_memory = "128";
+global string alocated_memory = "0";
/**
* Write only, used during autoinstallation.
@@ -280,9 +286,38 @@
}
/**
+ * Read available cpu
+ *
+ *
+ * @return boolean successfull
+ */
+
+boolean ReadAvailableCPU () {
+
+ list <map> output = (list<map>)SCR::Read(.probe.cpu);
+
+ number_of_cpus = size(output);
+ y2milestone("[kdump] (ReadAvailableCPU) SCR::Read(.probe.cpu): %1", output);
+ y2milestone("[kdump] number of CPUs: %1", number_of_cpus);
+ //alocated_memory = "0";
+ if (alocated_memory == "0") {
+ if ((number_of_cpus > 16) || ((total_memory/1024) > 16))
+ alocated_memory = "256";
+ else if ((number_of_cpus > 4) || ((total_memory/1024) > 4))
+ alocated_memory = "128";
+ else
+ alocated_memory = "64";
+ y2milestone("[kdump] allocated memory if not set in \"crashkernel\" param: %1", alocated_memory);
+ }
+
+
+ return true;
+}
+
+/**
* Read available memory
*
- * read kernel parameter "crashkernel"
+ *
* @return boolean successfull
*/
@@ -307,9 +342,14 @@
//resor = (map)range;
total_memory = tointeger(temp[0]:nil)/1048576;
y2milestone("[kdump] (ReadAvailableMemory) total phys. memory [MB]: %1", tostring(total_memory));
-
+ ReadAvailableCPU ();
return true;
}
+
+
+
+
+
/**
* Read current kdump configuration
*
@@ -321,8 +361,12 @@
string val = (string) SCR::Read(add(.sysconfig.kdump, key));
if (val != nil) KDUMP_SETTINGS[key] = val;
});
+
+ map debug_KDUMP_SETTINGS = KDUMP_SETTINGS;
+
+ debug_KDUMP_SETTINGS["KDUMP_SAVEDIR"] = "";
y2milestone("-------------KDUMP_SETTINGS-------------------");
- y2milestone("kdump configuration has been read: %1", KDUMP_SETTINGS);
+ y2milestone("kdump configuration has been read without value \"KDUMP_SAVEDIR\": %1", debug_KDUMP_SETTINGS);
y2milestone("---------------------------------------------");
@@ -338,9 +382,10 @@
* @return boolean successfull
*/
boolean WriteKdumpSettings () {
-
+ map debug_KDUMP_SETTINGS = KDUMP_SETTINGS;
+ debug_KDUMP_SETTINGS["KDUMP_SAVEDIR"] = "";
y2milestone("-------------KDUMP_SETTINGS-------------------");
- y2milestone("Writing kdump configuration: %1", KDUMP_SETTINGS);
+ y2milestone("Writing kdump configuration without value \"KDUMP_SAVEDIR\": %1", debug_KDUMP_SETTINGS);
y2milestone("---------------------------------------------");
@@ -385,6 +430,7 @@
if (!Mode::commandline())
Popup::Message(_("For applying changes is necessary reboot."));
+ Service::Enable("kdump");
return result;
}
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-kdump-2.15.3/src/uifunctions.ycp new/yast2-kdump-2.15.5/src/uifunctions.ycp
--- old/yast2-kdump-2.15.3/src/uifunctions.ycp 2007-08-09 17:50:27.000000000 +0200
+++ new/yast2-kdump-2.15.5/src/uifunctions.ycp 2007-08-16 16:48:31.000000000 +0200
@@ -13,6 +13,7 @@
import "Popup";
import "Kdump";
+import "Service";
// EXAMPLE FUNCTIONS
@@ -140,7 +141,7 @@
* Function initializes option "Enable/Disable kdump"
*/
void InitEnableDisalbeKdump (string key) {
- if (Kdump::add_crashkernel_param) {
+ if ((Kdump::add_crashkernel_param) && (Service::Enabled("kdump"))) {
UI::ChangeWidget(`id("EnableDisalbeKdump"),`Value,"enable_kdump");
} else {
@@ -235,9 +236,11 @@
}
}
-
+ map debug_KDUMP_SAVE_TARGET = KDUMP_SAVE_TARGET;
+ if (debug_KDUMP_SAVE_TARGET["password"]:nil != "")
+ debug_KDUMP_SAVE_TARGET["password"] = "**********";
y2milestone("--------------KDUMP_SAVE_TARGET---------------");
- y2milestone("%1",KDUMP_SAVE_TARGET);
+ y2milestone("%1",debug_KDUMP_SAVE_TARGET);
y2milestone("--------------KDUMP_SAVE_TARGET---------------");
return true;
@@ -295,9 +298,9 @@
//Popup::Message(result);
- y2milestone("-----------------KDUMP_SAVEDIR--------------------");
- y2milestone("%1",result);
- y2milestone("-----------------KDUMP_SAVEDIR--------------------");
+ //y2milestone("-----------------KDUMP_SAVEDIR--------------------");
+ //y2milestone("%1",result);
+ //y2milestone("-----------------KDUMP_SAVEDIR--------------------");
return result;
}
@@ -745,65 +748,43 @@
/**
* Function initializes option "Kdump Command Line"
- * or "Kdump Command Line Append"
+ *
*/
-void InitSwitchKdumpComLine (string key) {
+void InitKdumpCommandLine(string key) {
string value = "";
- //Popup::Message("InitSwitchKdumpComLine");
- if (!set_kdump_append) {
- UI::ChangeWidget(`id("KdumpCommandLine"), `Label, "Kdump Co&mmand Line");
- UI::ChangeWidget(`id("enable_append"), `Value, false);
- value = Kdump::KDUMP_SETTINGS["KDUMP_COMMANDLINE"]:nil;
- UI::ChangeWidget(`id("KdumpCommandLine"), `Value, ((value == nil) ? "":value));
- } else {
- UI::ChangeWidget(`id("enable_append"), `Value, true);
- UI::ChangeWidget(`id("KdumpCommandLine"), `Label, "Kdump Co&mmand Line Append");
- value = Kdump::KDUMP_SETTINGS["KDUMP_COMMANDLINE_APPEND"]:nil;
- UI::ChangeWidget(`id("KdumpCommandLine"), `Value, ((value == nil) ? "":value));
- }
+ value = Kdump::KDUMP_SETTINGS["KDUMP_COMMANDLINE"]:nil;
+ UI::ChangeWidget(`id("KdumpCommandLine"), `Value, ((value == nil) ? "":value));
+
}
+/**
+ * Function stores option "Kdump Command Line"
+ *
+ */
+void StoreKdumpCommandLine (string key, map event) {
+ Kdump::KDUMP_SETTINGS["KDUMP_COMMANDLINE"] = tostring(UI::QueryWidget(`id("KdumpCommandLine"), `Value));
+}
/**
- * Function handles switching between "Kdump Command Line"
- * and "Kdump Command Line Append"
- * also saves values for both options from config file
+ * Function initializes option "Kdump Command Line Append"
+ *
*/
-symbol HandleSwitchKdumpComLine (string key, map event) {
- boolean checkbox = (boolean) UI::QueryWidget(`id("enable_append"), `Value);
+
+void InitKdumpCommandLineAppend(string key) {
string value = "";
- //Popup::Message("HandleSwitchKdumpComLine");
- if ((checkbox) && (!set_kdump_append)) {
- set_kdump_append = true;
- Kdump::KDUMP_SETTINGS["KDUMP_COMMANDLINE"] = tostring(UI::QueryWidget(`id("KdumpCommandLine"), `Value));
- UI::ChangeWidget(`id("KdumpCommandLine"), `Label, "Kdump Co&mmand Line Append");
- value = Kdump::KDUMP_SETTINGS["KDUMP_COMMANDLINE_APPEND"]:nil;
- UI::ChangeWidget(`id("KdumpCommandLine"), `Value, ((value == nil) ? "":value));
- } else if ((!checkbox)&&(set_kdump_append)){
- set_kdump_append = false;
- Kdump::KDUMP_SETTINGS["KDUMP_COMMANDLINE_APPEND"] = tostring(UI::QueryWidget(`id("KdumpCommandLine"), `Value));
- UI::ChangeWidget(`id("KdumpCommandLine"), `Label, "Kdump Co&mmand Line");
- value = Kdump::KDUMP_SETTINGS["KDUMP_COMMANDLINE"]:nil;
- UI::ChangeWidget(`id("KdumpCommandLine"), `Value, ((value == nil) ? "":value));
- }
+ value = Kdump::KDUMP_SETTINGS["KDUMP_COMMANDLINE_APPEND"]:nil;
+ UI::ChangeWidget(`id("KdumpCommandLineAppend"), `Value, ((value == nil) ? "":value));
- return nil;
}
-
/**
- * Function stores option "Kdump Command Line"
- * or "Kdump Command Line Append"
+ * Function stores option "Kdump Command Line Append"
+ *
*/
-void StoreSwitchKdumpComLine (string key, map event) {
- //Popup::Message("StoreSwitchKdumpComLine");
- if (!set_kdump_append) {
- Kdump::KDUMP_SETTINGS["KDUMP_COMMANDLINE"] = tostring(UI::QueryWidget(`id("KdumpCommandLine"), `Value));
- } else {
- Kdump::KDUMP_SETTINGS["KDUMP_COMMANDLINE_APPEND"] = tostring(UI::QueryWidget(`id("KdumpCommandLine"), `Value));
- }
+void StoreKdumpCommandLineAppend (string key, map event) {
+ Kdump::KDUMP_SETTINGS["KDUMP_COMMANDLINE_APPEND"] = tostring(UI::QueryWidget(`id("KdumpCommandLineAppend"), `Value));
}
@@ -1013,7 +994,7 @@
void InitKdumpMemory (string key) {
if (Kdump::total_memory > 0) {
UI::ChangeWidget(`id("total_memory"), `Value, tostring(Kdump::total_memory));
- UI::ChangeWidget(`id("memory_buffer"), `Value, tointeger(Kdump::alocated_memory));
+ UI::ChangeWidget(`id("memory_buffer"), `Value, tointeger(Kdump::alocated_memory));
UI::ChangeWidget(`id("usable_memory"), `Value,
tostring((Kdump::total_memory - (integer) UI::QueryWidget(`id("memory_buffer"), `Value))));
} else {
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-kdump-2.15.3/VERSION new/yast2-kdump-2.15.5/VERSION
--- old/yast2-kdump-2.15.3/VERSION 2007-08-15 11:47:48.000000000 +0200
+++ new/yast2-kdump-2.15.5/VERSION 2007-08-17 12:44:01.000000000 +0200
@@ -1 +1 @@
-2.15.3
+2.15.5
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org