[OE-core] [oe-core][PATCH ] add shutdown hook for udev

Richard Purdie richard.purdie at linuxfoundation.org
Mon Feb 4 12:47:14 UTC 2013


On Sun, 2013-02-03 at 14:17 -0500, igeiser at devonit.com wrote:
> From: Ian Reinhart Geiser <igeiser at devonit.com>
> 
> 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 at devonit.com>
> ---
>  .../initrdscripts/initramfs-framework/udev         |   12 ++++++++++--
>  1 file changed, 10 insertions(+), 2 deletions(-)

I've merged this but in future can you please put a suitable prefix on
the subject line so people know which area the patch changes
("initramfs-framework: " in this case). I believe the commit message
guidelines mention this if its unclear.

Cheers,

Richard





More information about the Openembedded-core mailing list