diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-core/systemd/systemd_199.bb | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/meta/recipes-core/systemd/systemd_199.bb b/meta/recipes-core/systemd/systemd_199.bb index fadc385fb2..b1cc0465ef 100644 --- a/meta/recipes-core/systemd/systemd_199.bb +++ b/meta/recipes-core/systemd/systemd_199.bb | |||
@@ -11,12 +11,12 @@ PROVIDES = "udev" | |||
11 | PE = "1" | 11 | PE = "1" |
12 | PR = "r4" | 12 | PR = "r4" |
13 | 13 | ||
14 | DEPENDS = "kmod docbook-sgml-dtd-4.1-native intltool-native gperf-native acl readline dbus libcap libcgroup tcp-wrappers glib-2.0" | 14 | DEPENDS = "kmod docbook-sgml-dtd-4.1-native intltool-native gperf-native acl readline dbus libcap libcgroup tcp-wrappers glib-2.0 qemu-native" |
15 | DEPENDS += "${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}" | 15 | DEPENDS += "${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}" |
16 | 16 | ||
17 | SECTION = "base/shell" | 17 | SECTION = "base/shell" |
18 | 18 | ||
19 | inherit gtk-doc useradd pkgconfig autotools perlnative update-rc.d update-alternatives | 19 | inherit gtk-doc useradd pkgconfig autotools perlnative update-rc.d update-alternatives qemu |
20 | 20 | ||
21 | SRC_URI = "http://www.freedesktop.org/software/systemd/systemd-${PV}.tar.xz \ | 21 | SRC_URI = "http://www.freedesktop.org/software/systemd/systemd-${PV}.tar.xz \ |
22 | file://touchscreen.rules \ | 22 | file://touchscreen.rules \ |
@@ -280,10 +280,11 @@ ALTERNATIVE_PRIORITY[poweroff] ?= "300" | |||
280 | 280 | ||
281 | pkg_postinst_udev-hwdb () { | 281 | pkg_postinst_udev-hwdb () { |
282 | if test -n "$D"; then | 282 | if test -n "$D"; then |
283 | exit 1 | 283 | ${@qemu_run_binary(d, '$D', '${base_bindir}/udevadm')} hwdb --update \ |
284 | --root $D | ||
285 | else | ||
286 | udevadm hwdb --update | ||
284 | fi | 287 | fi |
285 | |||
286 | udevadm hwdb --update | ||
287 | } | 288 | } |
288 | 289 | ||
289 | pkg_prerm_udev-hwdb () { | 290 | pkg_prerm_udev-hwdb () { |