kdump/systemd: Drop the systemd loader appoach
Currently we have a loader script, that just calls the dump saving script and exits successfully. This was meant to prevent potential boot stalls due to systemd delays, but it proved to be just unnecessary...so, let's drop it here. Signed-off-by: Guilherme G. Piccoli <gpiccoli@igalia.com>
This commit is contained in:
1
Makefile
1
Makefile
@ -20,5 +20,4 @@ install: all
|
||||
install -D -m0644 README.md $(DESTDIR)$(dracutmodulesdir)/55kdump/README
|
||||
install -D -m0755 kdump-load.sh $(DESTDIR)$(libdir)/kdump/kdump-load.sh
|
||||
install -D -m0755 submit-report.sh $(DESTDIR)$(libdir)/kdump/submit-report.sh
|
||||
install -D -m0755 submitter-load.sh $(DESTDIR)$(libdir)/kdump/submitter-load.sh
|
||||
install -D -m0644 kdump.conf $(DESTDIR)$(sharedir)/kdump/kdump.conf
|
||||
|
||||
@ -10,7 +10,7 @@ Description=SteamOS kdump loader boot-time service
|
||||
Type=oneshot
|
||||
StandardOutput=journal
|
||||
ExecStartPre=/usr/lib/kdump/kdump-load.sh
|
||||
ExecStart=/usr/lib/kdump/submitter-load.sh
|
||||
ExecStart=/usr/lib/kdump/submit-report.sh
|
||||
RemainAfterExit=yes
|
||||
|
||||
[Install]
|
||||
|
||||
@ -1,12 +0,0 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# SPDX-License-Identifier: LGPL-2.1+
|
||||
#
|
||||
# Copyright (c) 2022 Valve.
|
||||
#
|
||||
# This is the systemd loader for the SteamOS kdump log submitter;
|
||||
# it's invoked by systemd, basically it just loads a detached
|
||||
# process and exits successfuly, in order to prevent boot hangs.
|
||||
|
||||
/usr/lib/kdump/submit-report.sh & disown
|
||||
exit 0
|
||||
Reference in New Issue
Block a user