Advertisement
Guest User

Untitled

a guest
Feb 12th, 2013
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 1.75 KB | None | 0 0
  1. --- oe-core/meta/recipes-graphics/x11-common/xserver-nodm-init.bb   2013-02-12 10:28:10.896996198 +0000
  2. +++ meta-oe/meta-oe/recipes-graphics/xserver-nodm-init/xserver-nodm-init_2.0.bb 2012-09-04 12:09:27.049044218 +0100
  3. @@ -2,38 +2,23 @@
  4.  LICENSE = "GPLv2"
  5.  LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
  6.  SECTION = "x11"
  7. -PR = "r30"
  8. -RDEPENDS_${PN} = "sudo"
  9.  
  10. -SRC_URI = "file://xserver-nodm \
  11. -           file://Xusername \
  12. -           file://gplv2-license.patch"
  13. +PR = "r17"
  14.  
  15. +SRC_URI = "file://xserver-nodm \
  16. +           file://gplv2-license.patch \
  17. +"
  18.  S = "${WORKDIR}"
  19.  
  20. -PACKAGE_ARCH = "${MACHINE_ARCH}"
  21. -
  22. -do_install() {
  23. -    install -d ${D}${sysconfdir}
  24. -    install -d ${D}${sysconfdir}/init.d
  25. -    install xserver-nodm ${D}${sysconfdir}/init.d
  26. -    if [ "${ROOTLESS_X}" = "1" ] ; then
  27. -        install -d ${D}${sysconfdir}/X11
  28. -        install Xusername ${D}${sysconfdir}/X11
  29. -    fi
  30. -}
  31. -
  32. -inherit update-rc.d useradd
  33. +inherit allarch update-rc.d
  34.  
  35.  INITSCRIPT_NAME = "xserver-nodm"
  36. -INITSCRIPT_PARAMS = "start 9 5 2 . stop 20 0 1 6 ."
  37. +INITSCRIPT_PARAMS = "start 01 5 2 . stop 01 0 1 6 ."
  38. +INITSCRIPT_PARAMS_shr = "start 90 5 2 . stop 90 0 1 6 ."
  39.  
  40. -# Use fixed Xusername of xuser for now, this will need to be
  41. -# fixed if the Xusername changes from xuser
  42. -# IMPORTANT: because xuser is shared with connman, please make sure the
  43. -# USERADD_PARAM is in sync with the one in connman.inc
  44. -USERADD_PACKAGES = "${PN}"
  45. -USERADD_PARAM_${PN} = "--create-home \
  46. -                       --groups video,tty,audio \
  47. -                       --user-group xuser"
  48. +do_install() {
  49. +   install -d ${D}${sysconfdir}/init.d
  50. +   install xserver-nodm ${D}${sysconfdir}/init.d
  51. +}
  52.  
  53. +RDEPENDS_${PN} = "xserver-common (>= 1.30) xinit"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement