image.bbclass: prevent rm_work to remove native RSS
PATCH 1/1 image.bbclass: prevent rm_work to remove native RSS
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]
--- meta/classes/image.bbclass | 2 ++ 1 file changed, 2 insertions(+)
meta/classes/image.bbclass +2 -0
@@ -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}
Signature · 1 line
2.1.4
Quoted 19 lines · Ed Bartosh
Added recipe-sysroot-native directory to
RM_WORK_EXCLUDE_ITEMSfor image recipes.This should keep qemu and other useful tools in the native sysroot of the image recipe even if
rm_workis enabled.[YOCTO #11266]
[YOCTO #11193]Signed-off-by Ed Bartosh <[email protected]>--- meta/classes/image.bbclass | 2 ++ 1 file changed, 2 insertions(+)meta/classes/image.bbclass +0
-0
meta/classes/image.bbclass RRECOMMENDS += "${PACKAGE_INSTALL_ATTEMPTONLY}" · line 20
Quoted 4 lines
meta/classes/image.bbclass +1
-0@@ -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.
Quoted 12 lines
meta/classes/image.bbclass +1
-1+ TESTIMAGECLASS = "${@base_conditional('TEST_IMAGE', '1', 'testimage-auto', '', d)}" inherit ${TESTIMAGECLASS} --2.1.4
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core