[oe-commits] [openembedded-core] 02/03: image_types: Ensure rootfs dependencies cover DEBUGFS

git at git.openembedded.org git at git.openembedded.org
Tue Apr 19 20:13:15 UTC 2016


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

commit dd304a6fdc034d780e01e0055319e4a04aaad9d4
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Tue Apr 19 17:47:07 2016 +0100

    image_types: Ensure rootfs dependencies cover DEBUGFS
    
    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 at linuxfoundation.org>
---
 meta/classes/image_types.bbclass | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta/classes/image_types.bbclass b/meta/classes/image_types.bbclass
index bcb2497..53af7ca 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

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


More information about the Openembedded-commits mailing list