Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] image_types: Ensure rootfs dependencies cover DEBUGFS
@ 2016-04-19 16:47 Richard Purdie
  2016-05-05 15:47 ` Martin Jansa
  0 siblings, 1 reply; 5+ messages in thread
From: Richard Purdie @ 2016-04-19 16:47 UTC (permalink / raw)
  To: openembedded-core

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>

diff --git a/meta/classes/image_types.bbclass b/meta/classes/image_types.bbclass
index e2467bd..122e080 100644
--- a/meta/classes/image_types.bbclass
+++ b/meta/classes/image_types.bbclass
@@ -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




^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-05-06 11:27 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-19 16:47 [PATCH] image_types: Ensure rootfs dependencies cover DEBUGFS Richard Purdie
2016-05-05 15:47 ` Martin Jansa
2016-05-05 15:55   ` Mark Hatle
2016-05-06 11:23     ` Burton, Ross
2016-05-06 11:27       ` Burton, Ross

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox