summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2016-07-20 20:35:53 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-09-24 07:30:09 +0100
commit544241e12553127a7f3b522671292f9828374850 (patch)
treeaf485e713be4659d8afdfd07555e00b1ef06d2b4 /meta
parent5728255c958df1a19c165b6a90ac3aa051121e69 (diff)
downloadpoky-544241e12553127a7f3b522671292f9828374850.tar.gz
systemd: install udev.pc
It provides udev, but doesn't install udev.pc, which causes other recipes failed to figure out udevdir. Fixed when systemd in DISTRO_FEATURES: $ bitbake pcmciautils (or btrfs-tools): Package udev was not found in the pkg-config search path. Perhaps you should add the directory containing `udev.pc' to the PKG_CONFIG_PATH environment variable No package 'udev' found Their udev rules file may not be installed according to each pkg's implementation. (From OE-Core rev: a32dac24808bf8621fdbbecb654eff784acee47e) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-core/systemd/systemd_230.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-core/systemd/systemd_230.bb b/meta/recipes-core/systemd/systemd_230.bb
index 1276316a0c..a949fe8dbf 100644
--- a/meta/recipes-core/systemd/systemd_230.bb
+++ b/meta/recipes-core/systemd/systemd_230.bb
@@ -200,6 +200,8 @@ do_install() {
200 install -d ${D}${sysconfdir}/udev/rules.d/ 200 install -d ${D}${sysconfdir}/udev/rules.d/
201 install -d ${D}${sysconfdir}/tmpfiles.d 201 install -d ${D}${sysconfdir}/tmpfiles.d
202 install -m 0644 ${WORKDIR}/*.rules ${D}${sysconfdir}/udev/rules.d/ 202 install -m 0644 ${WORKDIR}/*.rules ${D}${sysconfdir}/udev/rules.d/
203 install -d ${D}${libdir}/pkgconfig
204 install -m 0644 ${B}/src/udev/udev.pc ${D}${libdir}/pkgconfig/
203 205
204 install -m 0644 ${WORKDIR}/00-create-volatile.conf ${D}${sysconfdir}/tmpfiles.d/ 206 install -m 0644 ${WORKDIR}/00-create-volatile.conf ${D}${sysconfdir}/tmpfiles.d/
205 207