diff options
author | Alex Kiernan <alex.kiernan@gmail.com> | 2022-05-07 12:22:10 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-05-08 23:50:34 +0100 |
commit | 4a842c2696128266b3cb91c16c0f54ce17d3a953 (patch) | |
tree | d63b6e001acabf4ff57fec2833d3d051bc4f0114 | |
parent | 363a20327e1374116abe1ea716aef7fc4be16450 (diff) | |
download | poky-4a842c2696128266b3cb91c16c0f54ce17d3a953.tar.gz |
eudev: Add PACKAGECONFIG for manpages & selinux
Drop DEPENDS on libxslt-native which is unused as the tarball includes
the manpages and the build process never invokes the script which
regenerates them (make.sh)
(From OE-Core rev: e6c18c9d9d0e11a6a93cca14dbe622707cf25515)
Signed-off-by: Alex Kiernan <alexk@zuma.ai>
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-core/udev/eudev_3.2.11.bb | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/meta/recipes-core/udev/eudev_3.2.11.bb b/meta/recipes-core/udev/eudev_3.2.11.bb index 56a39320d3..841039f6d7 100644 --- a/meta/recipes-core/udev/eudev_3.2.11.bb +++ b/meta/recipes-core/udev/eudev_3.2.11.bb | |||
@@ -5,7 +5,7 @@ LICENSE = "GPL-2.0-or-later & LGPL-2.1-or-later" | |||
5 | LICENSE:libudev = "LGPL-2.1-or-later" | 5 | LICENSE:libudev = "LGPL-2.1-or-later" |
6 | LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" | 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" |
7 | 7 | ||
8 | DEPENDS = "glib-2.0 glib-2.0-native gperf-native kmod libxslt-native util-linux" | 8 | DEPENDS = "glib-2.0 glib-2.0-native gperf-native kmod util-linux" |
9 | 9 | ||
10 | PROVIDES = "udev" | 10 | PROVIDES = "udev" |
11 | 11 | ||
@@ -19,7 +19,7 @@ SRC_URI[sha256sum] = "19847cafec67897da855fde56f9dc7d92e21c50e450aa79068a7e704ed | |||
19 | UPSTREAM_CHECK_URI = "https://github.com/eudev-project/eudev/releases" | 19 | UPSTREAM_CHECK_URI = "https://github.com/eudev-project/eudev/releases" |
20 | UPSTREAM_CHECK_REGEX = "eudev-(?P<pver>\d+(\.\d+)+)\.tar" | 20 | UPSTREAM_CHECK_REGEX = "eudev-(?P<pver>\d+(\.\d+)+)\.tar" |
21 | 21 | ||
22 | inherit autotools update-rc.d qemu pkgconfig features_check | 22 | inherit autotools update-rc.d qemu pkgconfig features_check manpages |
23 | 23 | ||
24 | CONFLICT_DISTRO_FEATURES = "systemd" | 24 | CONFLICT_DISTRO_FEATURES = "systemd" |
25 | 25 | ||
@@ -30,8 +30,12 @@ EXTRA_OECONF = " \ | |||
30 | --with-rootprefix= \ | 30 | --with-rootprefix= \ |
31 | " | 31 | " |
32 | 32 | ||
33 | PACKAGECONFIG ??= "hwdb" | 33 | PACKAGECONFIG ?= "hwdb \ |
34 | ${@bb.utils.filter('DISTRO_FEATURES', 'selinux', d)} \ | ||
35 | " | ||
34 | PACKAGECONFIG[hwdb] = "--enable-hwdb,--disable-hwdb" | 36 | PACKAGECONFIG[hwdb] = "--enable-hwdb,--disable-hwdb" |
37 | PACKAGECONFIG[manpages] = "--enable-manpages,--disable-manpages" | ||
38 | PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux,libselinux" | ||
35 | 39 | ||
36 | do_install:append() { | 40 | do_install:append() { |
37 | install -d ${D}${sysconfdir}/init.d | 41 | install -d ${D}${sysconfdir}/init.d |
@@ -60,7 +64,6 @@ INITSCRIPT_PARAMS = "start 04 S ." | |||
60 | PACKAGES =+ "libudev" | 64 | PACKAGES =+ "libudev" |
61 | PACKAGES =+ "eudev-hwdb" | 65 | PACKAGES =+ "eudev-hwdb" |
62 | 66 | ||
63 | |||
64 | FILES:${PN} += "${libexecdir} ${nonarch_base_libdir}/udev ${bindir}/udevadm" | 67 | FILES:${PN} += "${libexecdir} ${nonarch_base_libdir}/udev ${bindir}/udevadm" |
65 | FILES:${PN}-dev = "${datadir}/pkgconfig/udev.pc \ | 68 | FILES:${PN}-dev = "${datadir}/pkgconfig/udev.pc \ |
66 | ${includedir}/libudev.h ${libdir}/libudev.so \ | 69 | ${includedir}/libudev.h ${libdir}/libudev.so \ |