diff options
author | Peter Bergin <peter@berginkonsult.se> | 2020-09-15 21:33:05 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-09-17 09:47:45 +0100 |
commit | 812c2dbabf8349ff5ed6ff8734c4ffea24b0e341 (patch) | |
tree | 5b96489d64b948817f95f889e150ac4265d83662 /meta/classes/qemuboot.bbclass | |
parent | 70aeecf62da7c0e3b2a0e4110b3c142f7eb374d9 (diff) | |
download | poky-812c2dbabf8349ff5ed6ff8734c4ffea24b0e341.tar.gz |
systemd: avoid failing if no udev rules provided
In the case when no udev rules are provided by the recipe the do_install
step of systemd is failing with:
install: cannot stat '<WORKDIR>/*.rules': No such file or directory
By default the systemd recipe provides touchscreen.rules but in the
case this is unwanted on target the install step fails. This solution
is dynamic and search for *.rules files in $WORKDIR. If found they are
installed.
(From OE-Core rev: c65eb4c38b61509ad38da19b986e0f06923f0cea)
Signed-off-by: Peter Bergin <peter@berginkonsult.se>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/qemuboot.bbclass')
0 files changed, 0 insertions, 0 deletions