]> code.ossystems Code Review - openembedded-core.git/commitdiff
image_types: Ensure rootfs dependencies cover DEBUGFS
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 19 Apr 2016 16:47:07 +0000 (17:47 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 19 Apr 2016 20:10:04 +0000 (21:10 +0100)
If you configure a bz2 debugfs, pbzip2-native currently isn't built.
This patch makes sure the dependencies are added.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/image_types.bbclass

index bcb2497997f74e81037a583d63c6c8e3345887b4..53af7ca8dcd47d010c2124aebd0293c464e936be 100644 (file)
@@ -17,7 +17,9 @@ def imagetypes_getdepends(d):
 
     deps = []
     ctypes = d.getVar('COMPRESSIONTYPES', True).split()
-    for type in (d.getVar('IMAGE_FSTYPES', True) or "").split():
+    fstypes = set((d.getVar('IMAGE_FSTYPES', True) or "").split())
+    fstypes |= set((d.getVar('IMAGE_FSTYPES_DEBUGFS', True) or "").split())
+    for type in fstypes:
         if type in ["vmdk", "vdi", "qcow2", "hdddirect", "live", "iso", "hddimg"]:
             type = "ext4"
         basetype = type