diff options
Diffstat (limited to 'meta/recipes-core/udev/eudev_3.2.14.bb')
-rw-r--r-- | meta/recipes-core/udev/eudev_3.2.14.bb | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/meta/recipes-core/udev/eudev_3.2.14.bb b/meta/recipes-core/udev/eudev_3.2.14.bb index 18696679c8..a2d222e655 100644 --- a/meta/recipes-core/udev/eudev_3.2.14.bb +++ b/meta/recipes-core/udev/eudev_3.2.14.bb | |||
@@ -13,13 +13,14 @@ SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/${BP}.tar.gz \ | |||
13 | file://netifnames.patch \ | 13 | file://netifnames.patch \ |
14 | file://init \ | 14 | file://init \ |
15 | file://local.rules \ | 15 | file://local.rules \ |
16 | file://0001-random-util.c-sync-dev_urandom-implementation-to-sys.patch \ | ||
16 | " | 17 | " |
17 | 18 | ||
18 | SRC_URI[sha256sum] = "8da4319102f24abbf7fff5ce9c416af848df163b29590e666d334cc1927f006f" | 19 | SRC_URI[sha256sum] = "8da4319102f24abbf7fff5ce9c416af848df163b29590e666d334cc1927f006f" |
19 | 20 | ||
20 | GITHUB_BASE_URI = "https://github.com/eudev-project/eudev/releases" | 21 | GITHUB_BASE_URI = "https://github.com/eudev-project/eudev/releases" |
21 | 22 | ||
22 | inherit autotools update-rc.d qemu pkgconfig features_check manpages github-releases | 23 | inherit autotools update-rc.d pkgconfig features_check manpages github-releases |
23 | 24 | ||
24 | CONFLICT_DISTRO_FEATURES = "systemd" | 25 | CONFLICT_DISTRO_FEATURES = "systemd" |
25 | 26 | ||
@@ -42,12 +43,12 @@ PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux,libselinux" | |||
42 | 43 | ||
43 | do_install:append() { | 44 | do_install:append() { |
44 | install -d ${D}${sysconfdir}/init.d | 45 | install -d ${D}${sysconfdir}/init.d |
45 | install -m 0755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/udev | 46 | install -m 0755 ${UNPACKDIR}/init ${D}${sysconfdir}/init.d/udev |
46 | sed -i s%@UDEVD@%${base_sbindir}/udevd% ${D}${sysconfdir}/init.d/udev | 47 | sed -i s%@UDEVD@%${base_sbindir}/udevd% ${D}${sysconfdir}/init.d/udev |
47 | sed -i s%@KMOD@%${base_bindir}/kmod% ${D}${sysconfdir}/init.d/udev | 48 | sed -i s%@KMOD@%${base_bindir}/kmod% ${D}${sysconfdir}/init.d/udev |
48 | 49 | ||
49 | install -d ${D}${sysconfdir}/udev/rules.d | 50 | install -d ${D}${sysconfdir}/udev/rules.d |
50 | install -m 0644 ${WORKDIR}/local.rules ${D}${sysconfdir}/udev/rules.d/local.rules | 51 | install -m 0644 ${UNPACKDIR}/local.rules ${D}${sysconfdir}/udev/rules.d/local.rules |
51 | 52 | ||
52 | # Use classic network interface naming scheme if no 'pni-names' distro feature | 53 | # Use classic network interface naming scheme if no 'pni-names' distro feature |
53 | if ${@bb.utils.contains('DISTRO_FEATURES', 'pni-names', 'false', 'true', d)}; then | 54 | if ${@bb.utils.contains('DISTRO_FEATURES', 'pni-names', 'false', 'true', d)}; then |
@@ -76,7 +77,7 @@ RDEPENDS:${PN} += "kmod" | |||
76 | RPROVIDES:${PN} = "hotplug udev" | 77 | RPROVIDES:${PN} = "hotplug udev" |
77 | RPROVIDES:${PN}-hwdb += "udev-hwdb" | 78 | RPROVIDES:${PN}-hwdb += "udev-hwdb" |
78 | 79 | ||
79 | PACKAGE_WRITE_DEPS += "qemu-native" | 80 | PACKAGE_WRITE_DEPS += "qemuwrapper-cross" |
80 | pkg_postinst:${PN}-hwdb () { | 81 | pkg_postinst:${PN}-hwdb () { |
81 | if test -n "$D"; then | 82 | if test -n "$D"; then |
82 | $INTERCEPT_DIR/postinst_intercept update_udev_hwdb ${PKG} mlprefix=${MLPREFIX} binprefix=${MLPREFIX} | 83 | $INTERCEPT_DIR/postinst_intercept update_udev_hwdb ${PKG} mlprefix=${MLPREFIX} binprefix=${MLPREFIX} |