diff options
-rw-r--r-- | meta/classes/boot-directdisk.bbclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/boot-directdisk.bbclass b/meta/classes/boot-directdisk.bbclass index 44f738b02e..c5765233ac 100644 --- a/meta/classes/boot-directdisk.bbclass +++ b/meta/classes/boot-directdisk.bbclass | |||
@@ -63,7 +63,7 @@ DISK_SIGNATURE ?= "${DISK_SIGNATURE_GENERATED}" | |||
63 | SYSLINUX_ROOT ?= "root=/dev/sda2" | 63 | SYSLINUX_ROOT ?= "root=/dev/sda2" |
64 | SYSLINUX_TIMEOUT ?= "10" | 64 | SYSLINUX_TIMEOUT ?= "10" |
65 | 65 | ||
66 | IS_VMDK = '${@bb.utils.contains("IMAGE_FSTYPES", "vmdk", "true", "false", d)}' | 66 | IS_VM = '${@bb.utils.contains_any("IMAGE_FSTYPES", ["vmdk" ,"vdi"], "true", "false", d)}' |
67 | 67 | ||
68 | boot_direct_populate() { | 68 | boot_direct_populate() { |
69 | dest=$1 | 69 | dest=$1 |
@@ -101,7 +101,7 @@ build_boot_dd() { | |||
101 | efi_hddimg_populate $HDDDIR | 101 | efi_hddimg_populate $HDDDIR |
102 | fi | 102 | fi |
103 | 103 | ||
104 | if [ "${IS_VMDK}" = "true" ]; then | 104 | if [ "${IS_VM}" = "true" ]; then |
105 | if [ "x${AUTO_SYSLINUXMENU}" = "x1" ] ; then | 105 | if [ "x${AUTO_SYSLINUXMENU}" = "x1" ] ; then |
106 | install -m 0644 ${STAGING_DIR}/${MACHINE}/usr/share/syslinux/vesamenu.c32 $HDDDIR/${SYSLINUXDIR}/ | 106 | install -m 0644 ${STAGING_DIR}/${MACHINE}/usr/share/syslinux/vesamenu.c32 $HDDDIR/${SYSLINUXDIR}/ |
107 | if [ "x${SYSLINUX_SPLASH}" != "x" ] ; then | 107 | if [ "x${SYSLINUX_SPLASH}" != "x" ] ; then |