summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVyacheslav Yurkov <uvv.mail@gmail.com>2021-08-06 14:06:09 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-08-12 06:26:15 +0100
commit44bbb74b766f7a5f6c44842fda87df0c1b42adec (patch)
tree38206895253d6d39127fca758bf92880783a9ceb
parent9b5fbdea3df337ed8d4232fd2f4ed27b4d77a6fc (diff)
downloadpoky-44bbb74b766f7a5f6c44842fda87df0c1b42adec.tar.gz
overlayfs: meta-selftest recipe
The recipe demonstrates example usage of overlayfs bbclass (From OE-Core rev: 1ad7a6fdd6382a30f1d9e115840ce8243b7fce2f) Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta-selftest/recipes-test/overlayfs-user/overlayfs-user.bb17
1 files changed, 17 insertions, 0 deletions
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 @@
1SUMMARY = "Overlayfs class unit test"
2DESCRIPTION = "Contains an overlayfs configuration"
3LICENSE = "MIT"
4
5INHIBIT_DEFAULT_DEPS = "1"
6EXCLUDE_FROM_WORLD = "1"
7
8inherit ${@bb.utils.contains("DISTRO_FEATURES", "overlayfs", "overlayfs", "", d)}
9include test_recipe.inc
10
11OVERLAYFS_WRITABLE_PATHS[mnt-overlay] = "/usr/share/my-application"
12
13do_install() {
14 install -d ${D}/usr/share/my-application
15}
16
17FILES:${PN} += "/usr"