Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions src/kdump-tools/patch/0004-disable-kdump-load-check.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
diff --git a/debian/kdump-config.in b/debian/kdump-config.in
index ded079f..dcf2991 100755
--- a/debian/kdump-config.in
+++ b/debian/kdump-config.in
@@ -487,11 +487,6 @@ kdump_create_symlinks()
{
kernel_version=$1

- if [ -e $sys_kexec_crash ] && [ "$(cat $sys_kexec_crash)" -eq 1 ] ; then
- log_failure_msg "Cannot change symbolic links when kdump is loaded"
- exit 1
- fi
-
if [ -e "/boot/vmlinux-${kernel_version}" ] || [ -e "/boot/vmlinuz-${kernel_version}" ]; then
create_symlink vmlinuz "$kernel_version"

1 change: 1 addition & 0 deletions src/kdump-tools/patch/series
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
0002-core-file-prefixed-by-kdump.patch
0003-Revert-the-MODULES-dep-optimization.patch
0004-disable-kdump-load-check.patch
Loading