Patrick Williams | 0ca19cc | 2021-08-16 14:03:13 -0500 | [diff] [blame] | 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 | |
Andrew Geissler | 595f630 | 2022-01-24 19:11:47 +0000 | [diff] [blame] | 11 | OVERLAYFS_WRITABLE_PATHS[mnt-overlay] += "/usr/share/my-application" |
Patrick Williams | 0ca19cc | 2021-08-16 14:03:13 -0500 | [diff] [blame] | 12 | |
| 13 | do_install() { |
| 14 | install -d ${D}/usr/share/my-application |
Andrew Geissler | 87f5cff | 2022-09-30 13:13:31 -0500 | [diff] [blame^] | 15 | install -d ${D}${sysconfdir} |
| 16 | echo "Original file in /etc" >> ${D}${sysconfdir}/lower-layer-test.txt |
Patrick Williams | 0ca19cc | 2021-08-16 14:03:13 -0500 | [diff] [blame] | 17 | } |
| 18 | |
Andrew Geissler | 87f5cff | 2022-09-30 13:13:31 -0500 | [diff] [blame^] | 19 | FILES:${PN} += "\ |
| 20 | ${exec_prefix} \ |
| 21 | ${sysconfdir \ |
| 22 | " |