aboutsummaryrefslogtreecommitdiffstats
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
parent0c3eaa7952792329c60887955fbb7aed63c188a0 (diff)
downloadopenembedded-core-contrib-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>
-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):
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