summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Burton <ross@burtonini.com>2022-03-31 19:28:54 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-04-01 23:05:31 +0100
commit2ea047a026dd61a8e0a24c6bbe278849485a2c27 (patch)
treeb32fb0204ff93673fc60d64ba9fcf6c7a03db1b3
parent6be90f884bb3fc87d9aa21cb882a835d6bc583a9 (diff)
downloadopenembedded-core-contrib-2ea047a026dd61a8e0a24c6bbe278849485a2c27.tar.gz
image_types: hddimg and iso only work on x86
These image types use syslinux which is only available on x86, so only add them to IMAGE_TYPES on x86. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
-rw-r--r--meta/classes/image_types.bbclass5
1 files changed, 3 insertions, 2 deletions
diff --git a/meta/classes/image_types.bbclass b/meta/classes/image_types.bbclass
index f643ed3ce7..960dab1a60 100644
--- a/meta/classes/image_types.bbclass
+++ b/meta/classes/image_types.bbclass
@@ -264,8 +264,6 @@ IMAGE_TYPES = " \
ext3 ext3.gz \
ext4 ext4.gz \
btrfs \
- iso \
- hddimg \
squashfs squashfs-xz squashfs-lzo squashfs-lz4 squashfs-zst \
ubi ubifs multiubi \
tar tar.gz tar.bz2 tar.xz tar.lz4 tar.zst \
@@ -275,6 +273,9 @@ IMAGE_TYPES = " \
f2fs \
erofs erofs-lz4 erofs-lz4hc \
"
+# These image types are x86 specific as they need syslinux
+IMAGE_TYPES:append:x86 = " hddimg iso"
+IMAGE_TYPES:append:x86-64 = " hddimg iso"
# Compression is a special case of conversion. The old variable
# names are still supported for backward-compatibility. When defining