Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
openSUSE:Leap:42.2:Update
kdump
kdump-fix-mkdumprd-regenerate.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File kdump-fix-mkdumprd-regenerate.patch of Package kdump
From: Petr Tesarik <ptesarik@suse.com> Date: Fri Oct 2 11:07:32 2015 +0200 Subject: Rename CONFIG to KDUMP_CONFIG References: bsc#946242 Patch-mainline: v0.8.16 Git-commit: 61a6dcc0743cf047b9e1d4f6b20fb2184cc6f90b The new name was used by rc.kdump.functions and was checked in mkdumprd. After rc.kdump.functions was removed in commit 4d72c589ca9de7696e662f10f86d1739438ed6e1, the name was not adjusted, so mkdumprd no longer reacted to config file changes. Signed-off-by: Petr Tesarik <ptesarik@suse.com> --- init/setup-kdump.functions | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) --- a/init/setup-kdump.functions +++ b/init/setup-kdump.functions @@ -9,7 +9,7 @@ # Paths and other configuration variables # -CONFIG=/etc/sysconfig/kdump +KDUMP_CONFIG=/etc/sysconfig/kdump # # Checks whether there is a device in the system which is handled @@ -535,7 +535,7 @@ function kdump_get_config() # {{ # Parameters: # 1) dest: root of the temporary area # Input variables: -# KDUMP_* variables (as sourced from $CONFIG) +# KDUMP_* variables (as sourced from $KDUMP_CONFIG) # kdump_URL[] # kdump_Protocol[] # kdump_Host[] @@ -604,7 +604,7 @@ function kdump_modify_config() # print $1"=\""ENVIRON[id]"\"" else print -}' > "${dest}${CONFIG}" +}' > "${dest}${KDUMP_CONFIG}" } # }}} # @@ -733,7 +733,7 @@ function kdump_setup_files() # { # # create target configuration # - mkdir -p "${outdir}${CONFIG%/*}" + mkdir -p "${outdir}${KDUMP_CONFIG%/*}" kdump_modify_config "$outdir" #
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