Dominique Leuenberger 2020-08-23 07:19:43 +00:00 committed by Git OBS Bridge
commit 688bee0213
5 changed files with 11 additions and 9 deletions

View File

@ -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";

View File

@ -1,9 +1,10 @@
From 0ec1fd23847ba103f967e3377e2a1b13712cff6e Mon Sep 17 00:00:00 2001
From: Petr Tesarik <ptesarik@suse.com>
Date: Thu, 12 Mar 2020 20:12:12 +0100
Upstream: not yet, patch sent 2020-03-12
Subject: Fix kexec_file_load(2) error handling
References: bsc#1166105
Upstream: merged
Git-commit: 4f77da6340356de40af70473d3c3ae6ec663fbdf
The handling of kexec_file_load() error conditions needs some
improvement.

View File

@ -1,9 +1,10 @@
From dadafc4664c7b78ea1561ccca33986c9639106ec Mon Sep 17 00:00:00 2001
From: Petr Tesarik <ptesarik@suse.com>
Date: Fri, 13 Mar 2020 14:54:00 +0100
Upstream: not yet, patch sent 2020-03-13
Subject: Reset getopt before falling back to legacy syscall
References: bsc#1166105
Upstream: merged
Git-commit: 9cf721279f6cb0dec09c8752e471f15fb662406b
The modules may need to parse the arguments again after
kexec_file_load(2) failed, but getopt is not reset.

View File

@ -2,7 +2,8 @@ From: Petr Tesarik <ptesarik@suse.com>
Date: Fri, 3 Apr 2020 13:12:00 +0200
Subject: kexec-tools: s390: Reset kernel command line on syscall fallback
References: bsc#1167868
Upstream: submitted 2020-04-03
Upstream: merged
Git-commit: 5dc72ded6050a5bb161e3b832867e660c9ca009e
The command line is duplicated on s390 if kexec_file_load(2) is not
implemented. That's because the corresponding variable is not reset

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Jun 5 09:36:21 UTC 2020 - Bernhard Wiedemann <bwiedemann@suse.com>
- Make kexec-bootloader work without 'which' package (boo#1172501)
-------------------------------------------------------------------
Fri Apr 3 12:11:16 UTC 2020 - Petr Tesařík <ptesarik@suse.com>