[OE-core] [PATCH 1/1] udev: add runtime dependency on blkid

Saul Wold sgw at linux.intel.com
Mon Jul 8 19:35:43 UTC 2013


On 07/08/2013 12:10 AM, jackie.huang at windriver.com wrote:
> From: Jackie Huang <jackie.huang at windriver.com>
>
> udev requires blkid, but this wasn't explicit.  Note that the
> dependency is on util-linux specifically, the one from e2fsprogs
> won't work.
>
Doesn't udev use an internal builtin-blkid?  Or is the configure finding 
that we have util-linux and using it instead of the built-in?

If it's a configure test, then it might need to be a DEPENDS, not RDEPENDS.

Sau!


> Signed-off-by: Andy Ross <andy.ross at windriver.com>
> Signed-off-by: Jackie Huang <jackie.huang at windriver.com>
> ---
>   meta/recipes-core/udev/udev_182.bb |    4 ++++
>   1 files changed, 4 insertions(+), 0 deletions(-)
>
> diff --git a/meta/recipes-core/udev/udev_182.bb b/meta/recipes-core/udev/udev_182.bb
> index d66292e..114a557 100644
> --- a/meta/recipes-core/udev/udev_182.bb
> +++ b/meta/recipes-core/udev/udev_182.bb
> @@ -5,5 +5,9 @@ PR = "r7"
>   # module-init-tools from kmod_git will provide libkmod runtime
>   DEPENDS += "module-init-tools"
>
> +# Needs blkid from this particular package. The one in e2fsprogs is
> +# old and incompatible.
> +RDEPENDS_${PN} += "util-linux-blkid"
> +
>   SRC_URI[md5sum] = "1b964456177fbf48023dfee7db3a708d"
>   SRC_URI[sha256sum] = "7857ed19fafd8f3ca8de410194e8c7336e9eb8a20626ea8a4ba6449b017faba4"
>



More information about the Openembedded-core mailing list