[oe-commits] [openembedded-core] 25/43: image_types_wic.bbclass: Ensure '-c image_wic' works

git at git.openembedded.org git at git.openembedded.org
Sat Mar 3 08:36:26 UTC 2018


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch pyro-next
in repository openembedded-core.

commit 5e2a541f80e0f69ae00dfd96e50d2792750730cd
Author: Otavio Salvador <otavio at ossystems.com.br>
AuthorDate: Tue Dec 19 16:14:23 2017 -0200

    image_types_wic.bbclass: Ensure '-c image_wic' works
    
    The 'wic' image may use files which has been deployed (e.g in
    do_deploy) for some partitions that may need to be copied in a
    specific partition or filesystem (e.g a bootloader).
    
    When using 'bitbake <image> -c image_wic', from a clean build, the
    contents of do_deploy must also be available so we need to ensure all
    do_deploy of the image dependencies has been complete.
    
    Reported-by: Fabio Berton <fabio.berton at ossystems.com.br>
    Signed-off-by: Otavio Salvador <otavio at ossystems.com.br>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
    (cherry picked from commit f387c28640cbb209b8a8ed5734b21c754d9f7663)
    Signed-off-by: Armin Kuster <akuster808 at gmail.com>
---
 meta/classes/image_types_wic.bbclass | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta/classes/image_types_wic.bbclass b/meta/classes/image_types_wic.bbclass
index 68f251c..2fa4258 100644
--- a/meta/classes/image_types_wic.bbclass
+++ b/meta/classes/image_types_wic.bbclass
@@ -43,6 +43,9 @@ do_image_wic[depends] += "wic-tools:do_populate_sysroot"
 WKS_FILE_DEPENDS ??= ''
 DEPENDS += "${@ '${WKS_FILE_DEPENDS}' if d.getVar('USING_WIC') else '' }"
 
+# We ensure all artfacts are deployed (e.g virtual/bootloader)
+do_image_wic[recrdeptask] += "do_deploy"
+
 python do_write_wks_template () {
     """Write out expanded template contents to WKS_FULL_PATH."""
     import re

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list