From: Vyacheslav Yurkov Date: Tue, 17 Mar 2026 18:40:52 +0000 (+0000) Subject: overlayfs-etc: Add template file dependency X-Git-Tag: yocto-6.0_M3~294 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=548c212a11e2cc2c20e5cb3892d0b2f3f77d0ada;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git overlayfs-etc: Add template file dependency It case a user uses own template file, its changes have to be propagated to the image. Fixes [YOCTO #16193] Cc: Wojciech NiziƄski Signed-off-by: Vyacheslav Yurkov Signed-off-by: Richard Purdie --- diff --git a/meta/classes-recipe/overlayfs-etc.bbclass b/meta/classes-recipe/overlayfs-etc.bbclass index d339fbbeee..6ee97fb30c 100644 --- a/meta/classes-recipe/overlayfs-etc.bbclass +++ b/meta/classes-recipe/overlayfs-etc.bbclass @@ -43,6 +43,8 @@ OVERLAYFS_ETC_INIT_TEMPLATE ??= "${COREBASE}/meta/files/overlayfs-etc-preinit.sh OVERLAYFS_ETC_EXPOSE_LOWER ??= "0" OVERLAYFS_ETC_CREATE_MOUNT_DIRS ??= "1" +do_rootfs[file-checksums] += "${OVERLAYFS_ETC_INIT_TEMPLATE}:True" + python create_overlayfs_etc_preinit() { overlayEtcMountPoint = d.getVar("OVERLAYFS_ETC_MOUNT_POINT") overlayEtcFsType = d.getVar("OVERLAYFS_ETC_FSTYPE")