From: Vyacheslav Yurkov <[email protected]>

It case a user uses own template file, its changes have to be propagated
to the image.

Fixes [YOCTO #16193]

Cc: Wojciech NiziƄski <[email protected]>
Signed-off-by: Vyacheslav Yurkov <[email protected]>
---
 meta/classes-recipe/overlayfs-etc.bbclass | 2 ++
 1 file changed, 2 insertions(+)

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")
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#233332): 
https://lists.openembedded.org/g/openembedded-core/message/233332
Mute This Topic: https://lists.openembedded.org/mt/118369951/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to