diff options
-rw-r--r-- | classes/image_types_ota.bbclass | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/classes/image_types_ota.bbclass b/classes/image_types_ota.bbclass index 2a20660..8af6637 100644 --- a/classes/image_types_ota.bbclass +++ b/classes/image_types_ota.bbclass | |||
@@ -21,6 +21,10 @@ IMAGE_CMD_ota () { | |||
21 | ln -s ../loader/grub.cfg ${OTA_SYSROOT}/boot/grub2/grub.cfg | 21 | ln -s ../loader/grub.cfg ${OTA_SYSROOT}/boot/grub2/grub.cfg |
22 | elif [ "${OSTREE_BOOTLOADER}" = "u-boot" ]; then | 22 | elif [ "${OSTREE_BOOTLOADER}" = "u-boot" ]; then |
23 | touch ${OTA_SYSROOT}/boot/loader/uEnv.txt | 23 | touch ${OTA_SYSROOT}/boot/loader/uEnv.txt |
24 | elif [ "${OSTREE_BOOTLOADER}" = "syslinux" ]; then | ||
25 | mkdir -p ${OTA_SYSROOT}/boot/syslinux | ||
26 | touch ${OTA_SYSROOT}/boot/loader/syslinux.cfg | ||
27 | ln -s ../loader/syslinux.cfg ${OTA_SYSROOT}/boot/syslinux/syslinux.cfg | ||
24 | else | 28 | else |
25 | bbfatal "Invalid bootloader: ${OSTREE_BOOTLOADER}" | 29 | bbfatal "Invalid bootloader: ${OSTREE_BOOTLOADER}" |
26 | fi | 30 | fi |