From 52738029dd1c22b80637bbdec1d318a850e103a43720e08bf0771a88cd51eff4 Mon Sep 17 00:00:00 2001 From: Thomas Renninger Date: Thu, 20 Aug 2020 09:16:55 +0000 Subject: [PATCH] Accepting request 811718 from home:bmwiedemann:branches:Kernel:kdump Make kexec-bootloader work without 'which' package (boo#1172501) OBS-URL: https://build.opensuse.org/request/show/811718 OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/kexec-tools?expand=0&rev=129 --- kexec-bootloader | 6 ------ kexec-tools.changes | 5 +++++ 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/kexec-bootloader b/kexec-bootloader index 350eb15..595ad33 100644 --- a/kexec-bootloader +++ b/kexec-bootloader @@ -189,12 +189,6 @@ if ($initrd && ! -f $initrd) { exit(1); } -# Do we have kexec? -if (system("which kexec &>/dev/null") != 0) { - print STDERR "kexec not available. Install kexec-tools.\n"; - exit(1); -} - # build the command list my $cmd = "kexec"; diff --git a/kexec-tools.changes b/kexec-tools.changes index 56441d8..c94debf 100644 --- a/kexec-tools.changes +++ b/kexec-tools.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Jun 5 09:36:21 UTC 2020 - Bernhard Wiedemann + +- Make kexec-bootloader work without 'which' package (boo#1172501) + ------------------------------------------------------------------- Fri Apr 3 12:11:16 UTC 2020 - Petr Tesařík