Advertisement
Guest User

Untitled

a guest
Jun 9th, 2014
369
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.57 KB | None | 0 0
  1. --- ../poky/meta/recipes-core/psplash/psplash_git.bb 2014-06-05 16:53:16.971170688 -0400
  2. +++ ../poky/meta-nirs/recipes-core/psplash-desktop/psplash-desktop_git.bb 2014-06-09 12:33:46.756464741 -0400
  3. @@ -9,12 +9,15 @@
  4. PV = "0.1+git${SRCPV}"
  5. PR = "r15"
  6.  
  7. -SRC_URI = "git://git.yoctoproject.org/${BPN} \
  8. - file://psplash-init \
  9. +SRC_URI = "git://git.yoctoproject.org/psplash \
  10. + file://0001-Remove-the-progress-bar.patch \
  11. + file://0002-remove-psplash-write.patch \
  12. ${SPLASH_IMAGES}"
  13.  
  14. SPLASH_IMAGES = "file://psplash-poky-img.h;outsuffix=default"
  15.  
  16. +EXTRA_OECONF += "--prefix=/opt/rogue/ui/${BPN}"
  17. +
  18. python __anonymous() {
  19. oldpkgs = d.getVar("PACKAGES", True).split()
  20. splashfiles = d.getVar('SPLASH_IMAGES', True).split()
  21. @@ -65,10 +68,11 @@
  22.  
  23. S = "${WORKDIR}/git"
  24.  
  25. -inherit autotools pkgconfig update-rc.d update-alternatives
  26. +inherit autotools pkgconfig update-alternatives
  27.  
  28. ALTERNATIVE_PRIORITY = "100"
  29. ALTERNATIVE_LINK_NAME[psplash] = "${bindir}/psplash"
  30. +ALTERNATIVE_TARGET[psplash] = "${bindir}/psplash"
  31.  
  32. python do_compile () {
  33. import shutil
  34. @@ -95,17 +99,9 @@
  35. }
  36.  
  37. do_install_append() {
  38. - install -d ${D}/mnt/.psplash/
  39. - install -d ${D}${sysconfdir}/init.d/
  40. - install -m 0755 ${WORKDIR}/psplash-init ${D}${sysconfdir}/init.d/psplash.sh
  41. install -d ${D}${bindir}
  42. for i in ${SPLASH_INSTALL} ; do
  43. install -m 0755 $i ${D}${bindir}/$i
  44. done
  45. rm -f ${D}${bindir}/psplash
  46. }
  47. -
  48. -FILES_${PN} += "/mnt/.psplash"
  49. -
  50. -INITSCRIPT_NAME = "psplash.sh"
  51. -INITSCRIPT_PARAMS = "start 0 S . stop 20 0 1 6 ."
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement