overlayfs-etc: Add template file dependency
PATCH 1/1 overlayfs-etc: Add template file dependency
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(+)
meta/classes-recipe/overlayfs-etc.bbclass +2 -0
@@ -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")