Initial commit
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
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
|
||||
install -d ${D}${sysconfdir}
|
||||
echo "Original file in /etc" >> ${D}${sysconfdir}/lower-layer-test.txt
|
||||
}
|
||||
|
||||
FILES:${PN} += "\
|
||||
${exec_prefix} \
|
||||
${sysconfdir \
|
||||
"
|
||||
Reference in New Issue
Block a user