Changing OVERLAYFS_WRITABLE_PATHS in a recipe does not trigger a rebuild of the package. e.g. given there are the definitions > OVERLAYFS_MOUNT_POINT[app] = "/app" > OVERLAYFS_MOUNT_POINT[data] = "/data" in MACHINE configuration and a recipe which uses > OVERLAYFS_WRITABLE_PATHS[app] = "/etc/myapp" changing the overlay to "data" > OVERLAYFS_WRITABLE_PATHS[data] = "/etc/myapp" does not trigger a rebuild of the package. It seems that OVERLAYFS_WRITABLE_PATHS is not considered as a recipe dependency. Adding > do_create_overlayfs_units[vardeps] += "OVERLAYFS_WRITABLE_PATHS" to the recipe works around the issue. It should be considered to add > do_create_overlayfs_units[vardeps] += "OVERLAYFS_WRITABLE_PATHS" to meta/classes/overlayfs.bbclass
Makes sense, can you send a patch to the list?
(In reply to Randy MacLeod from comment #1) > Makes sense, can you send a patch to the list? Yes, I will send a patch
Chrostoph, are you still planning to send a patch?
Yes, I will send a patch. Sorry for the delay.
Patch send to oe-core
Patch Sent
https://git.yoctoproject.org/poky/commit/?id=48f2d03183f00126e778d141f62ad1502fe3afac