[poky] [PATCH 3/3] core-image*sdk: Add kernel-dev to sdk images
Darren Hart
dvhart at linux.intel.com
Mon Jul 2 06:33:42 PDT 2012
Paul, do you think this patch is necessary or is this just covering up
for Bug 2595?
--
Darren
On 06/29/2012 09:25 PM, Darren Hart wrote:
> While sdk images already have dev-pkgs included, the kernel-dev package
> is special and does not get installed. Add kernel-dev explicitly to the
> *sdk image recipes.
>
> Note: We have to be careful with "IMAGE_INSTALL +=" as it must appear
> after "inherit core-image" which makes an "IMAGE_INSTALL ?=" assignment.
>
> Signed-off-by: Darren Hart <dvhart at linux.intel.com>
> CC: Jessica Zhang <jessica.zhang at intel.com>
> CC: Khem Raj <raj.khem at gmail.com>
> ---
> meta/recipes-extended/images/core-image-lsb-sdk.bb | 1 +
> meta/recipes-rt/images/core-image-rt-sdk.bb | 2 +-
> meta/recipes-sato/images/core-image-sato-sdk.bb | 3 +++
> 3 files changed, 5 insertions(+), 1 deletion(-)
>
> diff --git a/meta/recipes-extended/images/core-image-lsb-sdk.bb b/meta/recipes-extended/images/core-image-lsb-sdk.bb
> index 32a5077..047d66b 100644
> --- a/meta/recipes-extended/images/core-image-lsb-sdk.bb
> +++ b/meta/recipes-extended/images/core-image-lsb-sdk.bb
> @@ -10,6 +10,7 @@ IMAGE_INSTALL = "\
> ${CORE_IMAGE_BASE_INSTALL} \
> task-core-basic \
> task-core-lsb \
> + kernel-dev \
> "
>
> inherit core-image
> diff --git a/meta/recipes-rt/images/core-image-rt-sdk.bb b/meta/recipes-rt/images/core-image-rt-sdk.bb
> index 6ec2d00..29512e3 100644
> --- a/meta/recipes-rt/images/core-image-rt-sdk.bb
> +++ b/meta/recipes-rt/images/core-image-rt-sdk.bb
> @@ -11,6 +11,6 @@ DEPENDS = "linux-yocto-rt"
> IMAGE_FEATURES += "dev-pkgs tools-sdk"
> EXTRA_IMAGE_FEATURES += "tools-debug tools-profile tools-testapps debug-tweaks"
>
> -IMAGE_INSTALL += "rt-tests"
> +IMAGE_INSTALL += "rt-tests kernel-dev"
>
> LICENSE = "MIT"
> diff --git a/meta/recipes-sato/images/core-image-sato-sdk.bb b/meta/recipes-sato/images/core-image-sato-sdk.bb
> index eed1698..75ed64f 100644
> --- a/meta/recipes-sato/images/core-image-sato-sdk.bb
> +++ b/meta/recipes-sato/images/core-image-sato-sdk.bb
> @@ -11,3 +11,6 @@ EXTRA_IMAGE_FEATURES += "tools-debug tools-profile tools-testapps debug-tweaks"
> LICENSE = "MIT"
>
> inherit core-image
> +
> +IMAGE_INSTALL += "kernel-dev"
> +
>
--
Darren Hart
Intel Open Source Technology Center
Yocto Project - Linux Kernel
More information about the poky
mailing list