Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.6:Update
kdump.25799
unload.sh-support-kexec-unload-when-kexec_file_...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File unload.sh-support-kexec-unload-when-kexec_file_load.patch of Package kdump.25799
From a6bb5ee24e6d33ce70eaaf3bcc2cfdde0fb7460a Mon Sep 17 00:00:00 2001 From: Thomas Abraham <tabraham@suse.com> Date: Thu, 17 Mar 2022 16:52:39 -0400 Subject: [PATCH] unload.sh: support kexec unload when kexec_file_load is required References: bsc#1186272 Some systems, such as those using secure boot, require the use of the kexec_file_load syscall instead of kexec_load. Using kexe -a -p -u will try the new kexec_file_load syscall first, and if it is not supported, fall back to using the old kexec_load. --- init/unload.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init/unload.sh b/init/unload.sh index 731120d..b44e4c9 100755 --- a/init/unload.sh +++ b/init/unload.sh @@ -17,7 +17,7 @@ if [ "$KDUMP_FADUMP" = "yes" ]; then echo 0 > "$FADUMP_REGISTERED" fi else - $KEXEC -p -u + $KEXEC -a -p -u fi test $? -eq 0 || exit 1 -- 2.34.1
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor