From 70a140fa82a353cc5dd5fc68ea7ec8ce43e6993fa41a86c7f7a39726d86b56e9 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Wed, 22 Oct 2008 16:09:16 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/kexec-tools?expand=0&rev=59 --- kexec-bootloader | 2 +- kexec-tools.changes | 5 +++++ kexec-tools.spec | 4 +++- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/kexec-bootloader b/kexec-bootloader index 3c204d9..9c7bfa5 100644 --- a/kexec-bootloader +++ b/kexec-bootloader @@ -113,7 +113,7 @@ if ($loader =~ m/GRUB/i) { my $section = undef; # do we have a default? -if ($default > 0) { +if ($default >= 0) { my @sections = Bootloader::Tools::GetSectionList(); print_debug("Number of sections: " . $#sections); diff --git a/kexec-tools.changes b/kexec-tools.changes index cc2a934..7912bd6 100644 --- a/kexec-tools.changes +++ b/kexec-tools.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Oct 18 22:25:59 CEST 2008 - bwalle@suse.de + +- Honor grubonce also when the 1st (== 0th) entry was chosen. + ------------------------------------------------------------------- Mon Oct 13 16:41:27 CEST 2008 - bwalle@suse.de diff --git a/kexec-tools.spec b/kexec-tools.spec index 3442db9..cd55d2b 100644 --- a/kexec-tools.spec +++ b/kexec-tools.spec @@ -29,7 +29,7 @@ PreReq: %insserv_prereq %fillup_prereq AutoReqProv: on Summary: Tools for fast kernel loading Version: 2.0.0 -Release: 40 +Release: 41 Source: %{name}-%{version}.tar.bz2 Source1: kexec-bootloader Source2: kexec-bootloader.8.txt @@ -146,6 +146,8 @@ install -m 0755 kexec.init ${RPM_BUILD_ROOT}/etc/init.d/kexec %endif %changelog +* Sun Oct 19 2008 bwalle@suse.de +- Honor grubonce also when the 1st (== 0th) entry was chosen. * Mon Oct 13 2008 bwalle@suse.de - Fix runlevels (Default-Start, Default-Stop) in kexec.init. - Only load kexec kernel when kexec reboot is enabled when the