]> code.ossystems Code Review - openembedded-core.git/commit
udev-cache: improve error handling
authorKen Sharp <ken.sharp@ni.com>
Tue, 21 Apr 2015 15:35:45 +0000 (10:35 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 28 Apr 2015 06:55:59 +0000 (07:55 +0100)
commitaf911b272ded95884079dc307eeeb1811f0584c9
tree39d66838c4354a8799389bc4776df7c8f884f15f
parentd18e1964dede530c5fae6ae349d6a78fa5342382
udev-cache: improve error handling

If an error occurs while the udev cache is being populated, the system
is left in a state where udev is stopped.  Remedy this with a clean up
function to restart udev and remove any intermediate files.

Signed-off-by: Ken Sharp <ken.sharp@ni.com>
Reviewed-by: Ben Shelton <ben.shelton@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/udev/udev/udev-cache