SHARE
TWEET

Untitled

a guest Aug 20th, 2019 76 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. DESCRIPTION = "My application"
  2. LICENSE = "Proprietary"
  3. LIC_FILES_CHKSUM = "file://../README.md;md5=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
  4.  
  5. COMPATIBLE_MACHINE = "(raspberrypi3)"
  6.  
  7. require recipes-qt/qt5/qt5.inc
  8.  
  9. DEPENDS += "qtwebengine qtwebchannel"
  10.  
  11. MY_APP_BIN = "my-app-name"
  12.  
  13. SRC_URI = "git://git@gitserver.com/my-app-sources \
  14.            file://shell-startup-script \
  15.            file://env-script.sh \
  16.            file://my-app-conf-file.conf \
  17. "
  18.  
  19. inherit update-rc.d
  20.  
  21. INITSCRIPT_NAME = "shell-startup-script"
  22. INITSCRIPT_PARAMS = "defaults 91"
  23.  
  24. S = "${WORKDIR}/git/src"
  25.  
  26. do_install() {
  27.     install -d ${D}${sysconfdir}/init.d
  28.     install -d ${D}${sysconfdir}/profile.d
  29.     install -d ${D}${ROOT_HOME}
  30.     install -m 0755 ${WORKDIR}/shell-startup-script ${D}${sysconfdir}/init.d
  31.     install -m 0755 ${WORKDIR}/env-script.sh ${D}${sysconfdir}/profile.d
  32.     install -m 0755 ${B}/${MY_APP_BIN} ${D}${ROOT_HOME}
  33.     install -m 0644 ${WORKDIR}/my-app-conf-file.conf ${D}${ROOT_HOME}
  34. }
  35.  
  36.  
  37. FILES_${PN} += " \
  38.     ${ROOT_HOME}/${MY_APP_BIN} \
  39. "
  40.  
  41. CONFFILES_${PN} += "${ROOT_HOME}/my-app-conf-file.conf"
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top