mapview-demo: Switch LIC_FILES_CHKSUM syntax
[AGL/meta-agl-demo.git] / recipes-demo-hmi / navigation / mapviewer-demo.bb
index 86e7f93..fe89770 100644 (file)
@@ -1,8 +1,7 @@
 SUMMARY     = "Setting files of mapviewer for the AGL Demonstrator @ CES2017"
 DESCRIPTION = "Setting files of mapviewer for the AGL Demonstrator @ CES2017"
 LICENSE     = "MIT"
-LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=4d92cd373abda3937c2bc47fbc49d690 \
-                    file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
+LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
 
 SECTION     = "apps"
 
@@ -26,6 +25,7 @@ do_install() {
 
     install -d ${D}${systemd_system_unitdir}
     install -m 0644 ${WORKDIR}/weston-mapviewer-demo.service ${D}${systemd_system_unitdir}
+    sed -i "s:/home/root:${ROOT_HOME}:" ${D}${systemd_system_unitdir}/weston-mapviewer-demo.service
 }
 
 ## DO NOT ENABLE 'weston-mapviewer-demo.service' BY DEFAULT