diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2014-06-18 10:38:14 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-06-25 13:51:48 +0100 |
commit | d3f11f865295075519dd5ca5ea1ed2a1f3a95660 (patch) | |
tree | 740d47e3408489cca1b2370792d71b7980d2b8bd /meta/recipes-core/systemd | |
parent | 9bb5c7472958aeea46225e835f44d45bea7f7351 (diff) | |
download | poky-d3f11f865295075519dd5ca5ea1ed2a1f3a95660.tar.gz |
systemd: remove udev-utils, move 'udevadm' to udev package
The udev package RDEPENDS on the udev-utils package, and the actually
udev-utils package relies on the udev package because if there's no
udev daemon, 'udevadm' command doesn't make much sense.
Now that we have removed udev-utils package and moved 'udevadm' to
the udev package in the older udev recipe, we should do the same
for systemd.
(From OE-Core rev: 393867e8818b54255271bb70bcd7b6ffea137c0a)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/systemd')
-rw-r--r-- | meta/recipes-core/systemd/systemd_213.bb | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/meta/recipes-core/systemd/systemd_213.bb b/meta/recipes-core/systemd/systemd_213.bb index 279cf23097..28cc4cb0d9 100644 --- a/meta/recipes-core/systemd/systemd_213.bb +++ b/meta/recipes-core/systemd/systemd_213.bb | |||
@@ -250,16 +250,13 @@ RRECOMMENDS_${PN} += "systemd-serialgetty systemd-compat-units \ | |||
250 | kernel-module-autofs4 kernel-module-unix kernel-module-ipv6 \ | 250 | kernel-module-autofs4 kernel-module-unix kernel-module-ipv6 \ |
251 | " | 251 | " |
252 | 252 | ||
253 | PACKAGES =+ "udev-dbg udev udev-utils udev-hwdb" | 253 | PACKAGES =+ "udev-dbg udev udev-hwdb" |
254 | 254 | ||
255 | FILES_udev-dbg += "/lib/udev/.debug" | 255 | FILES_udev-dbg += "/lib/udev/.debug" |
256 | 256 | ||
257 | RDEPENDS_udev += "udev-utils" | ||
258 | RPROVIDES_udev = "hotplug" | 257 | RPROVIDES_udev = "hotplug" |
259 | RRECOMMENDS_udev += "udev-hwdb" | 258 | RRECOMMENDS_udev += "udev-hwdb" |
260 | 259 | ||
261 | RDEPENDS_udev-hwdb += "udev-utils" | ||
262 | |||
263 | FILES_udev += "${base_sbindir}/udevd \ | 260 | FILES_udev += "${base_sbindir}/udevd \ |
264 | ${rootlibexecdir}/systemd/systemd-udevd \ | 261 | ${rootlibexecdir}/systemd/systemd-udevd \ |
265 | ${rootlibexecdir}/udev/accelerometer \ | 262 | ${rootlibexecdir}/udev/accelerometer \ |
@@ -285,10 +282,10 @@ FILES_udev += "${base_sbindir}/udevd \ | |||
285 | ${sysconfdir}/init.d/systemd-udevd \ | 282 | ${sysconfdir}/init.d/systemd-udevd \ |
286 | ${systemd_unitdir}/system/*udev* \ | 283 | ${systemd_unitdir}/system/*udev* \ |
287 | ${systemd_unitdir}/system/*.wants/*udev* \ | 284 | ${systemd_unitdir}/system/*.wants/*udev* \ |
285 | ${base_bindir}/udevadm \ | ||
286 | ${datadir}/bash-completion/completions/udevadm \ | ||
288 | " | 287 | " |
289 | 288 | ||
290 | FILES_udev-utils = "${base_bindir}/udevadm ${datadir}/bash-completion/completions/udevadm" | ||
291 | |||
292 | FILES_udev-hwdb = "${rootlibexecdir}/udev/hwdb.d" | 289 | FILES_udev-hwdb = "${rootlibexecdir}/udev/hwdb.d" |
293 | 290 | ||
294 | INITSCRIPT_PACKAGES = "udev" | 291 | INITSCRIPT_PACKAGES = "udev" |