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 13:18:25 +0000 (13:18 +0000)
commite100f3695dee1005e852e79121ce88ffe3d69d53
tree090dbabd4049b8187d9e1c4bc79a0a2448ffa11b
parent005595a21fc3e02c155945dc2fe495e63de0737b
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.

(From OE-Core rev: ce690659ef797bd26dc2be59167aa01744841510)

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