mirror of
https://git.yoctoproject.org/poky
synced 2026-06-01 13:09:50 +00:00
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>
This commit is contained in:
@@ -17,7 +17,9 @@ def imagetypes_getdepends(d):
|
|||||||
|
|
||||||
deps = []
|
deps = []
|
||||||
ctypes = d.getVar('COMPRESSIONTYPES', True).split()
|
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"]:
|
if type in ["vmdk", "vdi", "qcow2", "hdddirect", "live", "iso", "hddimg"]:
|
||||||
type = "ext4"
|
type = "ext4"
|
||||||
basetype = type
|
basetype = type
|
||||||
|
|||||||
Reference in New Issue
Block a user