mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
9b5fbdea3d
commit
44bbb74b76
17
meta-selftest/recipes-test/overlayfs-user/overlayfs-user.bb
Normal file
17
meta-selftest/recipes-test/overlayfs-user/overlayfs-user.bb
Normal file
@@ -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"
|
||||
Reference in New Issue
Block a user