lsbinitscripts_9.79.bb 1.1 KB

12345678910111213141516171819202122232425262728293031
  1. SUMMARY = "SysV init scripts which are only used in an LSB image"
  2. HOMEPAGE = "https://wiki.debian.org/LSBInitScripts"
  3. SECTION = "base"
  4. LICENSE = "GPLv2"
  5. RPROVIDES_${PN} += "initd-functions"
  6. RDEPENDS_${PN} += "util-linux"
  7. RCONFLICTS_${PN} = "initscripts-functions"
  8. LIC_FILES_CHKSUM = "file://COPYING;md5=ebf4e8b49780ab187d51bd26aaa022c6"
  9. S = "${WORKDIR}/git"
  10. SRC_URI = "git://github.com/fedora-sysv/initscripts \
  11. file://functions.patch \
  12. file://0001-functions-avoid-exit-1-which-causes-init-scripts-to-.patch \
  13. "
  14. SRCREV = "a51c1b4f7dcf55b568b2ee4c2b18078849943469"
  15. UPSTREAM_CHECK_GITTAGREGEX = "^(?P<pver>\d+(\.\d+)+)"
  16. SRC_URI[md5sum] = "d6c798f40dceb117e12126d94cb25a9a"
  17. SRC_URI[sha256sum] = "1793677bdd1f7ee4cb00878ce43346196374f848a4c8e4559e086040fc7487db"
  18. # Since we are only taking the patched version of functions, no need to
  19. # configure or compile anything so do not execute these
  20. do_configure[noexec] = "1"
  21. do_compile[noexec] = "1"
  22. do_install(){
  23. install -d ${D}${sysconfdir}/init.d/
  24. install -m 0644 ${S}/rc.d/init.d/functions ${D}${sysconfdir}/init.d/functions
  25. }