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

Ed Bartosh ed.bartosh at linux.intel.com
Mon Apr 10 20:46:13 UTC 2017


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"
+
 TESTIMAGECLASS = "${@base_conditional('TEST_IMAGE', '1', 'testimage-auto', '', d)}"
 inherit ${TESTIMAGECLASS}
 
-- 
2.1.4




More information about the Openembedded-core mailing list