summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2016-04-19 17:47:07 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-04-19 21:11:25 +0100
commit38c7e2d0693f2a1ab2ce6d858b63e5c7d74907ed (patch)
tree7150c41a902bfa0d5c3c4879a6319efe0e61f0cc /meta/classes
parent0c3eaa7952792329c60887955fbb7aed63c188a0 (diff)
downloadpoky-38c7e2d0693f2a1ab2ce6d858b63e5c7d74907ed.tar.gz
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. (From OE-Core rev: dd304a6fdc034d780e01e0055319e4a04aaad9d4) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/image_types.bbclass4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/classes/image_types.bbclass b/meta/classes/image_types.bbclass
index bcb2497997..53af7ca8dc 100644
--- a/meta/classes/image_types.bbclass
+++ b/meta/classes/image_types.bbclass
@@ -17,7 +17,9 @@ def imagetypes_getdepends(d):
17 17
18 deps = [] 18 deps = []
19 ctypes = d.getVar('COMPRESSIONTYPES', True).split() 19 ctypes = d.getVar('COMPRESSIONTYPES', True).split()
20 for type in (d.getVar('IMAGE_FSTYPES', True) or "").split(): 20 fstypes = set((d.getVar('IMAGE_FSTYPES', True) or "").split())
21 fstypes |= set((d.getVar('IMAGE_FSTYPES_DEBUGFS', True) or "").split())
22 for type in fstypes:
21 if type in ["vmdk", "vdi", "qcow2", "hdddirect", "live", "iso", "hddimg"]: 23 if type in ["vmdk", "vdi", "qcow2", "hdddirect", "live", "iso", "hddimg"]:
22 type = "ext4" 24 type = "ext4"
23 basetype = type 25 basetype = type