[OE-core] [PATCH] udev: add runtime dependencies for udev-cache

Ricardo Neri ricardo.neri-calderon at linux.intel.com
Wed Feb 3 19:07:17 UTC 2016


udev-cache uses find and xargs, which are provided by findutils. It also
uses gzip, which is provided by gzip. These utilities need to be present
when udev-cache runs. Thus, add them as RDEPENDSs.

Otherwise, the following errors could be observed when booting if such
packages are not present in the image:

    /etc/rcS.d/S36udev-cache: line 66: xargs: command not found
    /etc/rcS.d/S36udev-cache: line 65: find: command not found
    /etc/rcS.d/S36udev-cache: line 67: gzip: command not found

Signed-off-by: Ricardo Neri <ricardo.neri-calderon at linux.intel.com>
---
 meta/recipes-core/udev/udev.inc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-core/udev/udev.inc b/meta/recipes-core/udev/udev.inc
index 93d7369..7a124cb 100644
--- a/meta/recipes-core/udev/udev.inc
+++ b/meta/recipes-core/udev/udev.inc
@@ -38,6 +38,7 @@ SRC_URI = "${KERNELORG_MIRROR}/linux/utils/kernel/hotplug/udev-${PV}.tar.gz \
 
 inherit autotools pkgconfig update-rc.d ptest
 RDEPENDS_${PN}-ptest += "make perl python"
+RDEPENDS_${PN} += "gzip findutils"
 
 libexecdir = "${base_libdir}"
 EXTRA_OECONF = "--disable-introspection \
-- 
1.9.1




More information about the Openembedded-core mailing list