From: Vyacheslav Yurkov Date: Fri, 6 Aug 2021 12:06:09 +0000 (+0200) Subject: overlayfs: meta-selftest recipe X-Git-Tag: uninative-3.3~40 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=1ad7a6fdd6382a30f1d9e115840ce8243b7fce2f;p=openembedded-core.git overlayfs: meta-selftest recipe The recipe demonstrates example usage of overlayfs bbclass Signed-off-by: Vyacheslav Yurkov Signed-off-by: Richard Purdie --- diff --git a/meta-selftest/recipes-test/overlayfs-user/overlayfs-user.bb b/meta-selftest/recipes-test/overlayfs-user/overlayfs-user.bb new file mode 100644 index 0000000000..60405067de --- /dev/null +++ b/meta-selftest/recipes-test/overlayfs-user/overlayfs-user.bb @@ -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"