* [PATCH] image.bbclass: prevent rm_work to remove native RSS
@ 2017-04-10 20:46 Ed Bartosh
2017-04-10 22:17 ` Andre McCurdy
0 siblings, 1 reply; 2+ messages in thread
From: Ed Bartosh @ 2017-04-10 20:46 UTC (permalink / raw)
To: openembedded-core
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@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"
+
TESTIMAGECLASS = "${@base_conditional('TEST_IMAGE', '1', 'testimage-auto', '', d)}"
inherit ${TESTIMAGECLASS}
--
2.1.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] image.bbclass: prevent rm_work to remove native RSS
2017-04-10 20:46 [PATCH] image.bbclass: prevent rm_work to remove native RSS Ed Bartosh
@ 2017-04-10 22:17 ` Andre McCurdy
0 siblings, 0 replies; 2+ messages in thread
From: Andre McCurdy @ 2017-04-10 22:17 UTC (permalink / raw)
To: Ed Bartosh; +Cc: OE Core mailing list
On Mon, Apr 10, 2017 at 1:46 PM, Ed Bartosh <ed.bartosh@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@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@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-04-10 22:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-10 20:46 [PATCH] image.bbclass: prevent rm_work to remove native RSS Ed Bartosh
2017-04-10 22:17 ` Andre McCurdy
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.