diff options
author | Richard Tollerton <rich.tollerton@ni.com> | 2014-01-21 13:46:46 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-12-19 18:08:02 +0000 |
commit | 02e11ceeaa1e56eb01bf0e07cb3514b03862acfa (patch) | |
tree | b148c9f765bd1d4fcec2134ecb14688fffc9a6b4 /meta/recipes-kernel/dtc | |
parent | 408baa9903bbfd16485fcba74430558e518d29ed (diff) | |
download | poky-02e11ceeaa1e56eb01bf0e07cb3514b03862acfa.tar.gz |
udev-cache: refactor conditionals and error handling
Most of /etc/init.d/udev-cache is in a conditional block which can be
replaced by a `[ ... ] || exit 0` to reduce nesting.
This also provides an opportunity to add some additional messages
when VERBOSE is set.
Capture and report errors encountered in the cache generation process,
using set -e and trap EXIT. These errors were previously being ignored.
(From OE-Core rev: a1357f3c78e46cd4297fefab56acf87342967132)
Signed-off-by: Richard Tollerton <rich.tollerton@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel/dtc')
0 files changed, 0 insertions, 0 deletions