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, if busybox is not included in the built image, the following errors could be observed when booting if such packages are not present: /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 Cc: Khem Raj <raj.k...@gmail.com> Cc: Ross Burton <ross.bur...@intel.com> Signed-off-by: Ricardo Neri <ricardo.neri-calde...@linux.intel.com> --- Changes since v1: * Narrow the dependency only to udev-cache * Reword the commit message to mention that the issue is only reproducible if busybox is not included in the image. --- 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..4e8e758 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}-cache += "gzip findutils" libexecdir = "${base_libdir}" EXTRA_OECONF = "--disable-introspection \ -- 1.9.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core