overlayfs: meta-selftest recipe
PATCH v2 6/8 overlayfs: meta-selftest recipe
In reply to a message not in the archiveThe recipe demonstrates example usage of overlayfs bbclass
Signed-off-by Vyacheslav Yurkov <[email protected]>
--- .../recipes-test/overlayfs/overlayfs-user.bb | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 meta-selftest/recipes-test/overlayfs/overlayfs-user.bb
meta-selftest/recipes-test/overlayfs/overlayfs-user.bb new file +16 -0
@@ -0,0 +1,16 @@ +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)} + +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