# Cannot add Mender to yocto intel-skylake-64 default image with installer

**URL:** <https://hub.mender.io/t/cannot-add-mender-to-yocto-intel-skylake-64-default-image-with-installer/7984>\
**Category:** General Discussions\
**Created:** [September 2, 2025, 12:59pm UTC](https://hub.mender.io/t/cannot-add-mender-to-yocto-intel-skylake-64-default-image-with-installer/7984 "2025-09-02T12:59:19Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![hackenstein](https://avatars.discourse-cdn.com/v4/letter/h/c37758/32.png) [@hackenstein](https://hub.mender.io/u/hackenstein)\
**Post date:** [September 2, 2025, 12:59pm UTC](https://hub.mender.io/t/cannot-add-mender-to-yocto-intel-skylake-64-default-image-with-installer/7984/1 "2025-09-02T12:59:19Z")

</div>

Trying to integrate mender into default configuration from:

> **[meta-intel - Layer containing Intel hardware support metadata](https://git.yoctoproject.org/meta-intel/about/documentation/building_and_booting.md)**

I’m getting errors when it tries to build the wic for the installer:

ERROR: t22-image-1.0-r0 do\_image\_wic: ExecutionError(‘/home/kbyrd/yocto/build-T22/tmp/work/intel\_skylake\_64-poky-linux/t22-image/1.0/temp/run.do\_image\_wic.1970183’, 1, None, None)  
ERROR: Logfile of failure stored in: /home/kbyrd/yocto/build-T22/tmp/work/intel\_skylake\_64-poky-linux/t22-image/1.0/temp/log.do\_image\_wic.1970183  
Log data follows:  
| DEBUG: Executing python function extend\_recipe\_sysroot  
| NOTE: Direct dependencies are [‘/home/kbyrd/yocto/build-T22/../meta-intel/recipes-core/microcode/intel-microcode\_20250512.bb:do\_populate\_sysroot’, ‘/home/kbyrd/yocto/build-T22/../poky/meta/recipes-bsp/grub/grub-efi\_2.12.bb:do\_populate\_sysroot’,

…

lake\_64-poky-linux/t22-image/1.0/pseudo/:g’ -e ‘s:FIXME\_LOGFIFO:/home/kbyrd/yocto/build-T22/tmp/work/intel\_skylake\_64-poky-linux/t22-image/1.0/temp/fifo.1970183:g’  
| DEBUG: Python function extend\_recipe\_sysroot finished  
| DEBUG: Executing python function prepare\_excluded\_directories  
| DEBUG: Python function prepare\_excluded\_directories finished  
| DEBUG: Executing python function set\_image\_size  
| DEBUG: 1935814.400000 = 1489088 \* 1.300000  
| DEBUG: 76718080.000000 = max(1935814.400000, 76718080)[76718080.000000] + 0  
| DEBUG: 76718080.000000 = int(76718080.000000)  
| DEBUG: 76718080 = aligned(76718080)  
| DEBUG: returning 76718080  
| DEBUG: Python function set\_image\_size finished  
| DEBUG: Executing shell function do\_image\_wic  
| INFO: Creating image(s)…  
|  
| ERROR: \_exec\_cmd: install -m 0644 -D /home/kbyrd/yocto/build-T22/tmp/work/intel\_skylake\_64-poky-linux/t22-image/1.0/deploy-t22-image-image-complete/t22-image-intel-skylake-64.rootfs.ext4 /home/kbyrd/yocto/build-T22/tmp/work/intel\_skylake\_64-poky-linux/t22-image/1.0/tmp-wic/boot.2/rootfs.img returned ‘1’ instead of 0  
| output: install: cannot stat ‘/home/kbyrd/yocto/build-T22/tmp/work/intel\_skylake\_64-poky-linux/t22-image/1.0/deploy-t22-image-image-complete/t22-image-intel-skylake-64.rootfs.ext4’: No such file or directory  
|  
| WARNING: exit code 1 from a shell command.  
ERROR: Task (/home/kbyrd/yocto/build-T22/../meta-custom-T22/recipes-core/images/t22-image.bb:do\_image\_wic) failed with exit code ‘1’  
NOTE: Tasks Summary: Attempted 6368 tasks of which 6360 didn’t need to be rerun and 1 failed.

Summary: 1 task failed:  
/home/kbyrd/yocto/build-T22/../meta-custom-T22/recipes-core/images/t22-image.bb:do\_image\_wic  
log: /home/kbyrd/yocto/build-T22/tmp/work/intel\_skylake\_64-poky-linux/t22-image/1.0/temp/log.do\_image\_wic.1970183  
Summary: There was 1 ERROR message, returning a non-zero exit code.

---

<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:** [September 2, 2025, 1:25pm UTC](https://hub.mender.io/t/cannot-add-mender-to-yocto-intel-skylake-64-default-image-with-installer/7984/2 "2025-09-02T13:25:30Z")

</div>

Hi @hackenstein,

I guess you are referring to the last paragraph of the linked wiki article specifically. Yeah, that one will clash with the way the integration is handled in `meta-mender`.

The reason, in a nutshell, is that you usually build the image, as it’s meant to go onto target storage. That’s true for the vast majority of cases, and hence the `meta-mender` approach follows this style too. The installer image though does build a rootfs for the target device, and then (a somewhat dirty trick) glues it behind an initramfs which is meant to run the installer script. As this is not clean and scalable approach, the initramfs construction makes assumptions about the image to be installed, which do not apply when installing a Mender-enabled image.

Installer builds for Mender images on x86 have been done already, I know at least of @annalenamarx and @moto-timo mentioning such things. Maybe those can point to some publicly visible incarnations?

Otherwise, a real good approach would be to go multiconfig, build the target image and then inject it into a subsequent installer build. But on the other hand, that’s not super trivial then.

Greetz,  
Josef

---

<div class="post-metadata">

**Author:** ![annalenamarx](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/annalenamarx/32/2035_2.png) [@annalenamarx](https://hub.mender.io/u/annalenamarx)\
**Post date:** [September 2, 2025, 1:52pm UTC](https://hub.mender.io/t/cannot-add-mender-to-yocto-intel-skylake-64-default-image-with-installer/7984/3 "2025-09-02T13:52:32Z")

</div>

It’s crucial to differentiate between the installer and the image, that’s the hardest part with that. A proper multiconfig approach helps best. The installer may uses an initramfs while my images do not. If not using an installer at all (e.g. booting from an usb drive), Mender works nice with different Intel architectures. May this should be the first goal to make shure things are properly sorted.

---

<div class="post-metadata">

**Author:** ![hackenstein](https://avatars.discourse-cdn.com/v4/letter/h/c37758/32.png) [@hackenstein](https://hub.mender.io/u/hackenstein)\
**Post date:** [September 4, 2025, 5:58pm UTC](https://hub.mender.io/t/cannot-add-mender-to-yocto-intel-skylake-64-default-image-with-installer/7984/4 "2025-09-04T17:58:22Z")

</div>

@annalenamarx @TheYoctoJester Thanks for your feedback. I’ve removed the intel installer and have successfully built and booted core-image-minimal with configurations from “Operating System updates: Yocto Project.” But now, I’m trying to set it up as a standalone system and I don’t see mender or mender-client on it. Does mender-update apply in this situation?

Thanks,

Keith
