Mailinglist Archive: opensuse-commit (2092 mails)
| < Previous | Next > |
commit yast2-kdump
- From: root@xxxxxxxxxxxxxxx (h_root)
- Date: Wed, 15 Aug 2007 13:50:51 +0200
- Message-id: <20070815115051.74BDD678182@xxxxxxxxxxxxxxx>
Hello community,
here is the log from the commit of package yast2-kdump
checked in at Wed Aug 15 13:50:51 CEST 2007.
--------
--- yast2-kdump/yast2-kdump.changes 2007-08-09 18:12:37.000000000 +0200
+++ /mounts/work_src_done/NOARCH/yast2-kdump/yast2-kdump.changes 2007-08-15 12:44:50.786451000 +0200
@@ -1,0 +2,6 @@
+Wed Aug 15 11:46:44 CEST 2007 - juhliarik@xxxxxxx
+
+- added patch for problem with installing package kernel-kdump
+- V 2.15.3
+
+-------------------------------------------------------------------
Old:
----
yast2-kdump-2.15.2.tar.bz2
New:
----
yast2-kdump-2.15.3.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-kdump.spec ++++++
--- /var/tmp/diff_new_pack.m29101/_old 2007-08-15 13:50:47.000000000 +0200
+++ /var/tmp/diff_new_pack.m29101/_new 2007-08-15 13:50:47.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package yast2-kdump (Version 2.15.2)
+# spec file for package yast2-kdump (Version 2.15.3)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -11,12 +11,12 @@
# norootforbuild
Name: yast2-kdump
-Version: 2.15.2
+Version: 2.15.3
Release: 1
License: GPL v2 only
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-kdump-2.15.2.tar.bz2
+Source0: yast2-kdump-2.15.3.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
@@ -33,7 +33,7 @@
Jozef Uhliarik <juhliarik@xxxxxxx>
%prep
-%setup -n yast2-kdump-2.15.2
+%setup -n yast2-kdump-2.15.3
%build
%{prefix}/bin/y2tool y2autoconf
@@ -67,6 +67,9 @@
%doc %{prefix}/share/doc/packages/yast2-kdump
%changelog
+* Wed Aug 15 2007 - juhliarik@xxxxxxx
+- added patch for problem with installing package kernel-kdump
+- V 2.15.3
* Thu Aug 09 2007 - juhliarik@xxxxxxx
- added commandline interface
- V 2.15.2
++++++ yast2-kdump-2.15.2.tar.bz2 -> yast2-kdump-2.15.3.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-kdump-2.15.2/configure new/yast2-kdump-2.15.3/configure
--- old/yast2-kdump-2.15.2/configure 2007-08-09 18:16:14.000000000 +0200
+++ new/yast2-kdump-2.15.3/configure 2007-08-15 11:48:04.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.2.
+# Generated by GNU Autoconf 2.60 for yast2-kdump 2.15.3.
#
# 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.2'
-PACKAGE_STRING='yast2-kdump 2.15.2'
+PACKAGE_VERSION='2.15.3'
+PACKAGE_STRING='yast2-kdump 2.15.3'
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.2 to adapt to many kinds of systems.
+\`configure' configures yast2-kdump 2.15.3 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.2:";;
+ short | recursive ) echo "Configuration of yast2-kdump 2.15.3:";;
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.2
+yast2-kdump configure 2.15.3
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.2, which was
+It was created by yast2-kdump $as_me 2.15.3, 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.2'
+ VERSION='2.15.3'
cat >>confdefs.h <<_ACEOF
@@ -2372,7 +2372,7 @@
-VERSION="2.15.2"
+VERSION="2.15.3"
RPMNAME="yast2-kdump"
MAINTAINER="Jozef Uhliarik <juhliarik@xxxxxxxx>"
@@ -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.2, which was
+This file was extended by yast2-kdump $as_me 2.15.3, 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.2
+yast2-kdump config.status 2.15.3
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.2/configure.in new/yast2-kdump-2.15.3/configure.in
--- old/yast2-kdump-2.15.2/configure.in 2007-08-09 18:16:10.000000000 +0200
+++ new/yast2-kdump-2.15.3/configure.in 2007-08-15 11:47:58.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.2, http://bugs.opensuse.org/, yast2-kdump)
+AC_INIT(yast2-kdump, 2.15.3, 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.2"
+VERSION="2.15.3"
RPMNAME="yast2-kdump"
MAINTAINER="Jozef Uhliarik <juhliarik@xxxxxxxx>"
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-kdump-2.15.2/src/complex.ycp new/yast2-kdump-2.15.3/src/complex.ycp
--- old/yast2-kdump-2.15.2/src/complex.ycp 2007-08-09 16:10:33.000000000 +0200
+++ new/yast2-kdump-2.15.3/src/complex.ycp 2007-08-15 11:32:42.000000000 +0200
@@ -38,6 +38,9 @@
import "Confirm";
import "Kdump";
import "Package";
+import "Arch";
+import "CommandLine";
+import "Mode";
include "kdump/helps.ycp";
@@ -77,26 +80,49 @@
kexec_installed = true;
}
- if (Package::Installed("kernel-kdump")) {
+ string kdump ="";
+
+ //only ppc64 includes package kernel-kdump
+ //others include kdump-helper and kexec-tools depend on it
+ //it mean that it is not important check for available kdump-helper
+ if (Arch::ppc64()) {
+ kdump = "kernel-kdump";
+ } else {
+ kdump = "kdump-helpers";
+ }
+
+ if (Package::Installed(kdump)) {
kdump_installed =true;
}
//checking if packages are available
if ((!kexec_installed) || (!kdump_installed)) {
if (!kexec_installed)
kexec_available = Package::Available("kexec-tools");
- if (!kdump_installed)
- kdump_available = Package::Available("kernel-kdump");
+
+ if (!kdump_installed) {
+ if (Arch::ppc64())
+ kdump_available = Package::Available(kdump);
+ else
+ kdump_available = true;
+ }
if ((!kexec_installed) &&(!kexec_available)) {
-
- Popup::Error(_("Package for kexec-tools is not available."));
+ if (!Mode::commandline()) {
+ Popup::Error(_("Package for kexec-tools is not available."));
+ } else {
+ CommandLine::Error(_("Package for kexec-tools is not available."));
+ }
y2error("[kdump] (ReadDialog ()) Packages for kexec-tools is not available.");
return `abort;
}
- if ((!kdump_installed) &&(!kdump_available)) {
- Popup::Error(_("Package for kernel-kdump is not available."));
- y2error("[kdump] (ReadDialog ()) Packages for kernel-kdump is not available.");
+ if ((!kdump_installed) && (!kdump_available)) {
+ if (!Mode::commandline()) {
+ Popup::Error(_("Package for kernel-kdump is not available."));
+ } else {
+ CommandLine::Error(_("Package for kernel-kdump is not available."));
+ }
+ y2error("[kdump] (ReadDialog ()) Packages for %1 is not available.",kdump);
return `abort;
}
@@ -104,12 +130,16 @@
if (!kexec_installed)
package_list = add(package_list, "kexec-tools");
- if (!kdump_installed)
- package_list = add(package_list, "kernel-kdump");
+ if ((!kdump_installed) && (Arch::ppc64()))
+ package_list = add(package_list, kdump);
//install packages
if (!Package::DoInstall(package_list)) {
- Popup::Error(_("Installation failed!"));
+ if (!Mode::commandline()) {
+ Popup::Error(_("Installation failed!"));
+ } else {
+ CommandLine::Error(_("Installation failed!"));
+ }
y2error("[kdump] Installation of package list %1 failed", package_list);
return `abort;
}
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-kdump-2.15.2/src/helps.ycp new/yast2-kdump-2.15.3/src/helps.ycp
--- old/yast2-kdump-2.15.2/src/helps.ycp 2007-07-18 14:04:26.000000000 +0200
+++ new/yast2-kdump-2.15.3/src/helps.ycp 2007-08-10 12:40:07.000000000 +0200
@@ -95,18 +95,18 @@
"RawPartitions": _("<p><b>Enable Raw Saving in Initrd</b> - allows to save
the dump in initrd before mounting any filesystem. Then the system is rebooted, and
if filesystem doesn't mount user can repair it with a rescue system. On first normal
- boot, the dump is saved to the final dump destination. User can select raw partition
+ boot, the dump is saved to the final dump destination. It is possible select raw partition
from <i>The List of Available Raw Paritions of All Disks Without Known Filesystem</i><br></p>"),
/* Custom Kdump Kernel - TextEntry 1/1*/
"InitrdKernel":_("<p><b>Custom Kdump Kernel</b> The user can enter the custom kernel.
The naming scheme is:<i>/boot/vmlinu[zx]-<kernel_string>[.gz]</i>
- The user only enter <i>kernel_string</i>.<br></p>"),
+ Please enter only <i>kernel_string</i>.<br></p>"),
/* Custom Kdump Kernel - TextEntry 1/1*/
"KdumpCommandLine" : _("<p><b>Kdump Command Line</b>
Additional arguments passed to kexec.
- <b>Kdump Command Line Append</b> - Set this variable if user only want to _append_
+ <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>"),
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-kdump-2.15.2/src/Kdump.ycp new/yast2-kdump-2.15.3/src/Kdump.ycp
--- old/yast2-kdump-2.15.2/src/Kdump.ycp 2007-08-09 16:37:29.000000000 +0200
+++ new/yast2-kdump-2.15.3/src/Kdump.ycp 2007-08-14 11:49:15.000000000 +0200
@@ -390,7 +390,7 @@
//start kernel-kdump at boot
- Service::Enable("kernel-kdump");
+ Service::Enable("kdump");
} else {
if (crashkernel_param) {
//delete crashkernel paramter from bootloader
@@ -398,7 +398,7 @@
if (!Mode::commandline())
Popup::Message(_("For applying changes is necessary reboot."));
}
- Service::Disable("kernel-kdump");
+ Service::Disable("kdump");
return result;
}
return true;
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-kdump-2.15.2/VERSION new/yast2-kdump-2.15.3/VERSION
--- old/yast2-kdump-2.15.2/VERSION 2007-08-09 17:57:47.000000000 +0200
+++ new/yast2-kdump-2.15.3/VERSION 2007-08-15 11:47:48.000000000 +0200
@@ -1 +1 @@
-2.15.2
+2.15.3
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-commit+help@xxxxxxxxxxxx
| < Previous | Next > |