Index: recipes-bsp/manufacturing/leahi-manufacturing_1.0.bb =================================================================== diff -u -re4793c114b4ce6a4806244b744e4f8014d5a2981 -r384b338e3e21c87bcd761587e52fa982c622181f --- recipes-bsp/manufacturing/leahi-manufacturing_1.0.bb (.../leahi-manufacturing_1.0.bb) (revision e4793c114b4ce6a4806244b744e4f8014d5a2981) +++ recipes-bsp/manufacturing/leahi-manufacturing_1.0.bb (.../leahi-manufacturing_1.0.bb) (revision 384b338e3e21c87bcd761587e52fa982c622181f) @@ -1,7 +1,7 @@ -DESCRIPTION = "Leahi manufacturing application" +DESCRIPTION = "Leahi application" LICENSE = "CLOSED" -# Leahi manufacturing repository including all needed binary and resources +# Leahi repository including all needed binary and resources SRC_URI = "git://git@bitbucket.org/diality-cloud/leahi-manufacturing.git;protocol=ssh;branch=master" # always use the latest commit. @@ -20,21 +20,25 @@ # TODO # 1 - get files from git repository do_install() { - bbplain " ---------- Leahi: Install manufacturing" + bbplain " ---------- Leahi: Install " # build the required folders - install -d ${D}/opt/leahi/manufacturing/ - install -d ${D}/opt/leahi/manufacturing/scripts/ + install -d ${D}/opt/leahi/ + install -d ${D}/opt/leahi/scripts/ + install -d ${D}/opt/leahi/translations/ + install -d ${D}/mnt/data/ # installing the required files - install -m 0644 ${S}/leahi ${D}/opt/leahi/manufacturing/ - install -m 0644 ${S}/run.sh ${D}/opt/leahi/manufacturing/ + install -m 0644 ${S}/leahi ${D}/opt/leahi/ + install -m 0644 ${S}/run.sh ${D}/opt/leahi/ install -m 0644 ${S}/eglfs.json ${D}/opt/leahi/eglfs.json - install -m 0644 ${S}/scripts/*.sh ${D}/opt/leahi/manufacturing/scripts/ + install -m 0644 ${S}/scripts/*.sh ${D}/opt/leahi/scripts/ + install -m 0644 ${S}/translations/*.qm ${D}/opt/leahi/translations/ + install -m 0644 ${S}/configurations ${D}/mnt/data/ # give the execution permission to owner - chmod 755 ${D}/opt/leahi/manufacturing/leahi - chmod 755 ${D}/opt/leahi/manufacturing/run.sh - chmod 755 ${D}/opt/leahi/manufacturing/scripts/*.sh + chmod 755 ${D}/opt/leahi/leahi + chmod 755 ${D}/opt/leahi/run.sh + chmod 755 ${D}/opt/leahi/scripts/*.sh # setting up the leahi service install -d ${D}${systemd_system_unitdir}