From de42bcce80166cd72cb2085e715d30468217057f Mon Sep 17 00:00:00 2001 From: Dave Young Date: Fri, 27 Apr 2012 16:29:13 +0800 Subject: [PATCH] move kdump script order to the end of pre pivot Resolves: bz816860 dracut pre-pivot hook splited to two hooks: pre-pivot and pre-pivot-cleanup all the cleanup related scripts are moved to pre-pivot-cleanup hook Because we depends on some early scripts like fstab-sys, also we must run before cleanup stuff like dhclient killing, so just move kdump script to the end of pre-pivot hook Signed-off-by: Dave Young Acked-by: Vivek Goyal --- kdump_dracut_modules/99kdumpbase/module-setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kdump_dracut_modules/99kdumpbase/module-setup.sh b/kdump_dracut_modules/99kdumpbase/module-setup.sh index f7b3a2c..03e3894 100755 --- a/kdump_dracut_modules/99kdumpbase/module-setup.sh +++ b/kdump_dracut_modules/99kdumpbase/module-setup.sh @@ -95,5 +95,5 @@ install() { inst "/bin/cut" "/bin/cut" inst "/sbin/makedumpfile" "/sbin/makedumpfile" inst "/tmp/$$-kdump.conf" "/etc/kdump.conf" - inst_hook pre-pivot 0000 "$moddir/kdump.sh" + inst_hook pre-pivot 9999 "$moddir/kdump.sh" }