diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-04-19 17:47:07 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-04-19 21:10:04 +0100 |
commit | dd304a6fdc034d780e01e0055319e4a04aaad9d4 (patch) | |
tree | 48bf3d5717bdb3d670eefba5616a0bea72c23ee1 /meta | |
parent | 5c5144806bfde7e19960fe8d841e4f6191ea5972 (diff) | |
download | openembedded-core-contrib-dd304a6fdc034d780e01e0055319e4a04aaad9d4.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.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/image_types.bbclass | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/classes/image_types.bbclass b/meta/classes/image_types.bbclass index bcb2497997f..53af7ca8dcd 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 |