Skip to content

Commit

Permalink
Merge pull request #40 from ricardosalveti/ostree
Browse files Browse the repository at this point in the history
image_types_ota.bbclass: add support for none as OSTREE_BOOTLOADER
  • Loading branch information
pattivacek authored Jun 3, 2022
2 parents c2b18de + 4c3f2e8 commit 6f3016d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions classes/image_types_ota.bbclass
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ IMAGE_CMD:ota () {
mkdir -p ${OTA_SYSROOT}/boot/syslinux
touch ${OTA_SYSROOT}/boot/loader/syslinux.cfg
ln -s ../loader/syslinux.cfg ${OTA_SYSROOT}/boot/syslinux/syslinux.cfg
elif [ "${OSTREE_BOOTLOADER}" = "none" ]; then
ostree config --repo=${OTA_SYSROOT}/ostree/repo set sysroot.bootloader none
else
bbfatal "Invalid bootloader: ${OSTREE_BOOTLOADER}"
fi
Expand Down

0 comments on commit 6f3016d

Please sign in to comment.