]> code.ossystems Code Review - openembedded-core.git/commit
initramds-framework: add shutdown hook for udev
authorIan Reinhart Geiser <igeiser@devonit.com>
Sun, 3 Feb 2013 19:17:02 +0000 (14:17 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 4 Feb 2013 12:45:48 +0000 (12:45 +0000)
commitce690659ef797bd26dc2be59167aa01744841510
tree4ba368e9f74b26b2fb00cb0fae2102ad94736ccd
parentddbd713293929d361a7ec7f8f1eb2986b7adc729
initramds-framework: add shutdown hook for udev

In cases where other initramfs modules need to rely on
udev running (ie in my case I have to load firmware on
a device that is slow to start) there needs to be a way
to keep it running during the lifecycle of the initramfs
but still be shut down before swith_root is called.  I
added a  module_pre_hook that will shut down udev before
the finish module is called.

Signed-off-by: Ian Reinhart Geiser <igeiser@devonit.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/initrdscripts/initramfs-framework/udev