Advertisement
Guest User

Untitled

a guest
Dec 30th, 2013
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.83 KB | None | 0 0
  1. DESCRIPTION = "This is the setup needed to run the cpu8-app"
  2.  
  3. SECTION = "userland"
  4. PRIORITY = "required"
  5. DEPENDS = "base-passwd"
  6.  
  7. LICENSE = "Proprietary"
  8. LIC_FILES_CHKSUM = "file://COPYING;md5=cf6970dcd5913a3a2de7cb4bfcaf5b36"
  9.  
  10. PR = "r12"
  11.  
  12. SRC_URI = "file://COPYING"
  13. SRC_URI += "file://bootfinal.sh"
  14.  
  15. do_configure_prepend() {
  16. cp ${WORKDIR}/COPYING ${S}/COPYING
  17. }
  18.  
  19. do_install() {
  20. install -d ${D}/${sysconfdir}/init.d
  21. install -m 755 ${WORKDIR}/bootfinal.sh ${D}/${sysconfdir}/init.d
  22. update-rc.d -r ${D} bootfinal.sh start 99 2 3 4 5 .
  23. install -d -m 775 ${D}/binaries
  24. install -d -m 775 ${D}/configs
  25. chown -h 33:33 ${D}/configs
  26. touch ${D}/configs/cpu8Memory.img
  27. ln -s /configs/cpu8Memory.img ${D}/configs/.MainMemory
  28. }
  29.  
  30. FILES_${PN} = "${sysconfdir}/* /binaries /configs/.MainMemory /configs/*"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement