1SUMMARY = "Overlayfs class unit test"
2DESCRIPTION = "Contains an overlayfs configuration"
3LICENSE = "MIT"
4
5INHIBIT_DEFAULT_DEPS = "1"
6EXCLUDE_FROM_WORLD = "1"
7
8inherit_defer ${@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    install -d ${D}${sysconfdir}
16    echo "Original file in /etc" >> ${D}${sysconfdir}/lower-layer-test.txt
17}
18
19FILES:${PN} += "\
20    ${exec_prefix} \
21    ${sysconfdir \
22"
23