]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
overlayfs-etc: Add template file dependency
authorVyacheslav Yurkov <uvv.mail@gmail.com>
Tue, 17 Mar 2026 18:40:52 +0000 (18:40 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 19 Mar 2026 10:57:13 +0000 (10:57 +0000)
It case a user uses own template file, its changes have to be propagated
to the image.

Fixes [YOCTO #16193]

Cc: Wojciech NiziƄski <niziak-yoctobug@spox.org>
Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes-recipe/overlayfs-etc.bbclass

index d339fbbeee9f5e71e814f9d6b5fb0ad614d080c7..6ee97fb30cd054e7b573ca0c3037f2f82af54e85 100644 (file)
@@ -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")