]> code.ossystems Code Review - openembedded-core.git/commit
udev-cache: invalidate on rules.d changes
authorRichard Tollerton <rich.tollerton@ni.com>
Fri, 24 Jan 2014 06:44:01 +0000 (00:44 -0600)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 19 Dec 2014 17:54:15 +0000 (17:54 +0000)
commit8847e33b12171a21b7c7e1241198080ad9ef9284
tree65adff1013e45abd0a86917a9b835aa0afee02cf
parent9e588bbf9477d57f0a46d92ce11f8f891115496c
udev-cache: invalidate on rules.d changes

Presently, the cache is not regenerated if udev rules are modified,
which may cause the cache to preserve an old configuration. To fix,
include the size, mtime, and filename of all udev rules in the system
configuration.

This change requires `stat`. If busybox supplies stat,
CONFIG_FEATURE_STAT_FORMAT must be enabled.

Signed-off-by: Richard Tollerton <rich.tollerton@ni.com>
meta/recipes-core/udev/udev/init
meta/recipes-core/udev/udev/udev-cache