# Yocto build - Warning

**URL:** <https://hub.mender.io/t/yocto-build-warning/6427>\
**Category:** General Discussions\
**Tags:** yocto\
**Created:** [December 20, 2023, 7:46pm UTC](https://hub.mender.io/t/yocto-build-warning/6427 "2023-12-20T19:46:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sd-ricardo](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/sd-ricardo/32/1910_2.png) [@sd-ricardo](https://hub.mender.io/u/sd-ricardo)\
**Post date:** [December 20, 2023, 7:46pm UTC](https://hub.mender.io/t/yocto-build-warning/6427/1 "2023-12-20T19:46:12Z")

</div>

I’m getting this warning when building core-image-minimal, is ok to ignore it, or should I do something to solve it?

`WARNING: core-image-minimal-1.0-r0 do_image_sdimg: MENDER_BOOT_PART_SIZE_MB is set to zero, but IMAGE_BOOT_FILES is not empty. The files are being omitted from the image.`

---

<div class="post-metadata">

**Author:** ![TheYoctoJester](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/theyoctojester/32/1444_2.png) [@TheYoctoJester](https://hub.mender.io/u/TheYoctoJester)\
**Post date:** [December 21, 2023, 8:46am UTC](https://hub.mender.io/t/yocto-build-warning/6427/2 "2023-12-21T08:46:08Z")

</div>

Hi @sd-ricardo,

You should check what is in `IMAGE_BOOT_FILES`, and how it ended up there. Are these files that your device needs to boot? Then you have to figure out where to put them, and you probably need a `/boot` partition for it. If they are not needed, then remove them.

Greetz,  
Josef
