diff --git a/meta-digi-arm/recipes-bsp/libubootenv/libubootenv_%.bbappend b/meta-digi-arm/recipes-bsp/libubootenv/libubootenv_%.bbappend index 3a0ee0f8d..15ffa5c44 100644 --- a/meta-digi-arm/recipes-bsp/libubootenv/libubootenv_%.bbappend +++ b/meta-digi-arm/recipes-bsp/libubootenv/libubootenv_%.bbappend @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2023 Digi International Inc. +# Copyright (C) 2021-2024 Digi International Inc. FILESEXTRAPATHS:prepend := "${THISDIR}/${BPN}:" @@ -83,6 +83,8 @@ pkg_postinst_ontarget:${PN}() { -e "s/##NBLOCKS##/${NBLOCKS}/g" \ ${CONFIG_FILE} fi + # Flush the file system to have the changes written + sync ${CONFIG_FILE} } inherit ${@bb.utils.contains("IMAGE_FEATURES", "read-only-rootfs", "remove-pkg-postinst-ontarget", "", d)}