diff options
| author | Vyacheslav Yurkov <uvv.mail@gmail.com> | 2021-08-06 14:06:09 +0200 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-08-12 06:26:15 +0100 |
| commit | 44bbb74b766f7a5f6c44842fda87df0c1b42adec (patch) | |
| tree | 38206895253d6d39127fca758bf92880783a9ceb /meta-selftest | |
| parent | 9b5fbdea3df337ed8d4232fd2f4ed27b4d77a6fc (diff) | |
| download | poky-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>
Diffstat (limited to 'meta-selftest')
| -rw-r--r-- | meta-selftest/recipes-test/overlayfs-user/overlayfs-user.bb | 17 |
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 @@ | |||
| 1 | SUMMARY = "Overlayfs class unit test" | ||
| 2 | DESCRIPTION = "Contains an overlayfs configuration" | ||
| 3 | LICENSE = "MIT" | ||
| 4 | |||
| 5 | INHIBIT_DEFAULT_DEPS = "1" | ||
| 6 | EXCLUDE_FROM_WORLD = "1" | ||
| 7 | |||
| 8 | inherit ${@bb.utils.contains("DISTRO_FEATURES", "overlayfs", "overlayfs", "", d)} | ||
| 9 | include test_recipe.inc | ||
| 10 | |||
| 11 | OVERLAYFS_WRITABLE_PATHS[mnt-overlay] = "/usr/share/my-application" | ||
| 12 | |||
| 13 | do_install() { | ||
| 14 | install -d ${D}/usr/share/my-application | ||
| 15 | } | ||
| 16 | |||
| 17 | FILES:${PN} += "/usr" | ||
