# File system update after mender install on Yocto. It still boots with old file system

**URL:** <https://hub.mender.io/t/file-system-update-after-mender-install-on-yocto-it-still-boots-with-old-file-system/5900>\
**Category:** General Discussions\
**Tags:** yocto, imx8, qt, toradex, apalis\
**Created:** [June 7, 2023, 8:23am UTC](https://hub.mender.io/t/file-system-update-after-mender-install-on-yocto-it-still-boots-with-old-file-system/5900 "2023-06-07T08:23:55Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![dhiry2k](https://avatars.discourse-cdn.com/v4/letter/d/3ec8ea/32.png) [@dhiry2k](https://hub.mender.io/u/dhiry2k)\
**Post date:** [June 8, 2023, 1:58pm UTC](https://hub.mender.io/t/file-system-update-after-mender-install-on-yocto-it-still-boots-with-old-file-system/5900/7 "2023-06-08T13:58:34Z")

</div>

> repo init -u git://code.qt.io/yocto/boot2qt-manifest -m v6.4.3.xml
> 
> repo sync

Thats how we got the boot2qt sources.

after that we downloaded mender using git clone to kirkstone branch.

> git clone [GitHub - mendersoftware/meta-mender-community: Community supported Yocto Project layers (Board integrations) for Mender for different boards](https://github.com/mendersoftware/meta-mender-community.git) -b kirkstone
> 
> git clone [GitHub - mendersoftware/meta-mender: Yocto Project meta layer for the Mender client](https://github.com/mendersoftware/meta-mender.git) -b kirkstone

updated the local.conf baed on lessons from this post.

[https://hub.mender.io/t/toradex-apalis-imx8-yocto-with-mender/3759](https://hub.mender.io/t/toradex-apalis-imx8-yocto-with-mender/3759)

here are local.conf variables:

MENDER\_ARTIFACT\_NAME = “release-1”

# 

INHERIT += “mender-full”

# 

DISTRO\_FEATURES:append = " systemd"  
VIRTUAL-RUNTIME\_init\_manager = “systemd”  
DISTRO\_FEATURES\_BACKFILL\_CONSIDERED = “sysvinit”  
VIRTUAL-RUNTIME\_initscripts = “”

# 

# 

INHERIT += “mender-toradex”

# 

MENDER\_FEATURES\_ENABLE:append = " mender-uboot mender-image-sd"  
MENDER\_FEATURES\_DISABLE:append = " mender-grub mender-image-uefi"

# 

IMAGE\_CLASSES += “image\_type\_mender\_tezi”  
IMAGE\_FSTYPES:append = " mender\_tezi"  
IMAGE\_FSTYPES:remove = " teziimg"

# 

# Default is Image.gz, which is not compatible with GRUB

KERNEL\_IMAGETYPE:aarch64\_mender-grub = “Image”

# 

# boot.scr conflicts when using GRUB

IMAGE\_BOOT\_FILES:remove:mender-grub = “boot.scr-verdin-imx8mm;boot.scr”

# 

# Remove files from boot partition that are loaded by Mender

# from the root partitions; this allows the files to be updated OTA

IMAGE\_BOOT\_FILES:remove:mender-uboot = “zImage ${KERNEL\_DEVICETREE} overlays.txt overlays/\*;overlays/”

# 

# 

MENDER\_IMAGE\_BOOTLOADER\_BOOTSECTOR\_OFFSET:apalis-imx8 = “0”  
MENDER\_BOOT\_PART\_SIZE\_MB:apalis-imx8 = “32”  
OFFSET\_SPL\_PAYLOAD:apalis-imx8 = “”  
MENDER\_STORAGE\_DEVICE:apalis-imx8 = “/dev/mmcblk0”  
MENDER\_STORAGE\_TOTAL\_SIZE\_MB:apalis-imx8 = “12288”

MENDER\_UBOOT\_POST\_SETUP\_COMMANDS:append = " ; setenv tdxargs ${tdxargs} ${bootargs}; "

MENDER\_UBOOT\_POST\_SETUP\_COMMANDS:append = " ; setenv overlays\_file /boot/overlays.txt;setenv overlays\_prefix boot/overlays/ "

---

_[View the full topic](https://hub.mender.io/t/file-system-update-after-mender-install-on-yocto-it-still-boots-with-old-file-system/5900)._
