overlayfs-user.bb 574 B

12345678910111213141516171819202122
  1. SUMMARY = "Overlayfs class unit test"
  2. DESCRIPTION = "Contains an overlayfs configuration"
  3. LICENSE = "MIT"
  4. INHIBIT_DEFAULT_DEPS = "1"
  5. EXCLUDE_FROM_WORLD = "1"
  6. inherit_defer ${@bb.utils.contains("DISTRO_FEATURES", "overlayfs", "overlayfs", "", d)}
  7. include test_recipe.inc
  8. OVERLAYFS_WRITABLE_PATHS[mnt-overlay] += "/usr/share/my-application"
  9. do_install() {
  10. install -d ${D}/usr/share/my-application
  11. install -d ${D}${sysconfdir}
  12. echo "Original file in /etc" >> ${D}${sysconfdir}/lower-layer-test.txt
  13. }
  14. FILES:${PN} += "\
  15. ${exec_prefix} \
  16. ${sysconfdir \
  17. "