[OE-core] [PATCH] image.bbclass: prevent rm_work to remove native RSS

Andre McCurdy armccurdy at gmail.com
Mon Apr 10 22:17:48 UTC 2017


On Mon, Apr 10, 2017 at 1:46 PM, Ed Bartosh <ed.bartosh at linux.intel.com> wrote:
> Added recipe-sysroot-native directory to RM_WORK_EXCLUDE_ITEMS
> for image recipes.
>
> This should keep qemu and other useful tools in the native sysroot of
> the image recipe even if rm_work is enabled.
>
> [YOCTO #11266]
> [YOCTO #11193]
>
> Signed-off-by: Ed Bartosh <ed.bartosh at linux.intel.com>
> ---
>  meta/classes/image.bbclass | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
> index 405fd73..7165bb4 100644
> --- a/meta/classes/image.bbclass
> +++ b/meta/classes/image.bbclass
> @@ -17,6 +17,8 @@ RRECOMMENDS += "${PACKAGE_INSTALL_ATTEMPTONLY}"
>
>  INHIBIT_DEFAULT_DEPS = "1"
>
> +RM_WORK_EXCLUDE_ITEMS += " recipe-sysroot-native"

Either _append with a space or += without a space.

> +
>  TESTIMAGECLASS = "${@base_conditional('TEST_IMAGE', '1', 'testimage-auto', '', d)}"
>  inherit ${TESTIMAGECLASS}
>
> --
> 2.1.4
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core



More information about the Openembedded-core mailing list