overlayfs: meta-selftest recipe
A message that is not in the archive (sent off-list or not yet received): [email protected]
PATCH v2 6/8 overlayfs: meta-selftest recipe
The recipe demonstrates example usage of overlayfs bbclass
Signed-off-by Vyacheslav Yurkov <[email protected]>
--- .../overlayfs-user/overlayfs-user.bb | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 meta-selftest/recipes-test/overlayfs-user/overlayfs-user.bb
meta-selftest/recipes-test/overlayfs-user/overlayfs-user.bb new file +17 -0
@@ -0,0 +1,17 @@ +SUMMARY = "Overlayfs class unit test" +DESCRIPTION = "Contains an overlayfs configuration" +LICENSE = "MIT" + +INHIBIT_DEFAULT_DEPS = "1" +EXCLUDE_FROM_WORLD = "1" + +inherit ${@bb.utils.contains("DISTRO_FEATURES", "overlayfs", "overlayfs", "", d)} +include test_recipe.inc + +OVERLAYFS_WRITABLE_PATHS[mnt-overlay] = "/usr/share/my-application" + +do_install() { + install -d ${D}/usr/share/my-application +} + +FILES_${PN} += "/usr"
Signature · 1 line
2.28.0