File kdump-keep-dracut-fstab-generator.patch of Package kdump
From: Petr Tesarik <ptesarik@suse.cz>
Subject: Keep dracut-rootfs-generator
References: bsc#936363
Patch-mainline: v0.8.16
Git-commit: 27284a5823fe374bccd01b9b6586a963f3b119de
This generator was removed to avoid mounting the root filesystem
using configuration stored in the mkdumprd. However, since there
is now an explicit root=kdump parameter passed on the command line,
which is ignored by this generator, let's not mess up with it.
Signed-off-by: Petr Tesarik <ptesarik@suse.cz>
---
init/module-setup.sh | 2 --
1 file changed, 2 deletions(-)
--- a/init/module-setup.sh
+++ b/init/module-setup.sh
@@ -142,8 +142,6 @@ install() {
inst_hook cmdline 50 "$moddir/kdump-root.sh"
if dracut_module_included "systemd" ; then
- [ "$KDUMP_FADUMP" != yes ] && \
- rm -f "${initdir}/$systemdutildir"/system-generators/dracut-rootfs-generator
inst_binary "$moddir/device-timeout-generator" \
"$systemdutildir"/system-generators/kdump-device-timeout-generator