udev: Cleanup .inc file
* udev-acl and udev-concolekit have no files so remove these packages * there's nothing in sbindir so remove useless sbindir = "${base_sbindir}" * there is no udevinfo or udevtest so remove these from udev-utils * udevadm is installed in bindir so modify it's path in FILES_udev-utils (From OE-Core rev: 25e01e11586f422f3659318796cb847cb701b03e) Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
aac88707fe
commit
cf8d4f7cc8
|
@ -31,9 +31,7 @@ SRC_URI = "${KERNELORG_MIRROR}/linux/utils/kernel/hotplug/udev-${PV}.tar.gz \
|
|||
|
||||
inherit autotools pkgconfig update-rc.d
|
||||
|
||||
# udevd/udevadm -> /sbin/, libudev.so.* -> /lib/
|
||||
sbindir = "${base_sbindir}"
|
||||
libexecdir = "${base_libdir}"
|
||||
libexecdir = "${base_libdir}"
|
||||
EXTRA_OECONF = "--disable-introspection \
|
||||
--with-rootlibdir=${base_libdir} \
|
||||
--with-pci-ids-path=${datadir}/pci.ids \
|
||||
|
@ -46,8 +44,8 @@ EXTRA_OECONF = "--disable-introspection \
|
|||
--with-rootprefix= \
|
||||
"
|
||||
|
||||
PACKAGES =+ "udev-acl udev-consolekit udev-utils"
|
||||
PACKAGES =+ "udev-cache libudev libudev-dev libudev-dbg"
|
||||
PACKAGES =+ "udev-utils udev-cache"
|
||||
PACKAGES =+ "libudev libudev-dev libudev-dbg"
|
||||
PACKAGES =+ "libgudev libgudev-dev libgudev-dbg"
|
||||
|
||||
INITSCRIPT_PACKAGES = "udev udev-cache"
|
||||
|
@ -73,12 +71,7 @@ FILES_libgudev-dev = "${includedir}/gudev* ${libdir}/libgudev*.so ${libdir}/libg
|
|||
${libdir}/libgudev*.a ${libdir}/pkgconfig/gudev*.pc"
|
||||
FILES_udev-cache = "${sysconfdir}/init.d/udev-cache ${sysconfdir}/default/udev-cache"
|
||||
|
||||
FILES_udev-acl = "${base_libdir}/udev/udev-acl ${base_libdir}/udev/rules.d/70-acl.rules"
|
||||
|
||||
FILES_udev-utils = "${bindir}/udevinfo ${bindir}/udevtest ${base_sbindir}/udevadm"
|
||||
|
||||
RDEPENDS_udev-consolekit += "udev-acl"
|
||||
FILES_udev-consolekit = "${libdir}/ConsoleKit"
|
||||
FILES_udev-utils = "${bindir}/udevadm"
|
||||
|
||||
do_install_append () {
|
||||
install -d ${D}${sysconfdir}/init.d
|
||||
|
|
Loading…
Reference in New Issue