From dd304a6fdc034d780e01e0055319e4a04aaad9d4 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Tue, 19 Apr 2016 17:47:07 +0100 Subject: 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 --- 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 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 -- cgit 1.2.3-korg