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

Khem Raj raj.khem at gmail.com
Thu Feb 4 21:01:37 UTC 2016


> On Feb 4, 2016, at 12:12 PM, Ricardo Neri <ricardo.neri-calderon at linux.intel.com> wrote:
> 
> 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.khem at gmail.com>
> Cc: Ross Burton <ross.burton at intel.com>
> Signed-off-by: Ricardo Neri <ricardo.neri-calderon at 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”

are they individually packaged ipks even with busybox ?
if not then this fix is insufficient

> 
> libexecdir = "${base_libdir}"
> EXTRA_OECONF = "--disable-introspection \
> --
> 1.9.1
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 204 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20160204/c163cd64/attachment-0002.sig>


More information about the Openembedded-core mailing list