]> git.ipfire.org Git - thirdparty/dracut.git/commit
Change the implementation of action_on_fail
authorBaoquan He <bhe@redhat.com>
Tue, 23 Jul 2013 10:16:00 +0000 (18:16 +0800)
committerHarald Hoyer <harald@redhat.com>
Wed, 31 Jul 2013 14:23:39 +0000 (16:23 +0200)
commitd2765b5175663d094737d6819cc3f3df53e7a4cb
tree96eb3f01398f2a4d61548bebd9fa172810cf1da3
parentd27cd4dfdd51c7f5178c5f4cb8f5bf4668228995
Change the implementation of action_on_fail

Currently when action_on_fail is enabled, the emergency_shell won't be called.
In kdump even though user specify the default action as emergency_shell,
dracut skip it. Now change the implementation of action_on_fail to depend
on a file which is created by kdump when making kdump initrd, then remove it
at the beginning of kdump. This can solve the explicit emergency_shell problem.

And action_on_fail won't need paramenters, remove the relevant description in
dracut man page.

Signed-off-by: Baoquan He <bhe@redhat.com>
dracut.cmdline.7.asc
modules.d/98systemd/dracut-emergency.service
modules.d/98systemd/emergency.service
modules.d/99base/dracut-lib.sh