From beb8cd9b20f3010e117c428d7ba3f15d80e5a310 Mon Sep 17 00:00:00 2001 From: Tadao Tanikawa Date: Wed, 28 Dec 2016 16:00:58 +0900 Subject: Refactor wgt package installation To fix missing installatioin of mediaplayer.wgt and support additional wgt packages in future, refactor installation script to install whole apps under /usr/AGL/apps. And adding 'sync' because sometimes apps broken if reboot immediately after installing apps. Change-Id: I69f0761439d421b5656b89bce72df1d59dad3c18 Signed-off-by: Tadao Tanikawa --- recipes-demo-hmi/CES2017-demo/CES2017-demo.bb | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/recipes-demo-hmi/CES2017-demo/CES2017-demo.bb b/recipes-demo-hmi/CES2017-demo/CES2017-demo.bb index 49f5c3e6..e66a9600 100644 --- a/recipes-demo-hmi/CES2017-demo/CES2017-demo.bb +++ b/recipes-demo-hmi/CES2017-demo/CES2017-demo.bb @@ -92,14 +92,11 @@ do_install_prepend() { cat > ${B}/apps/installAllApps.sh <<-EOF #!/bin/sh cd /usr/AGL/apps - /usr/bin/afm-util install controls.wgt - /usr/bin/afm-util install dashboard.wgt - /usr/bin/afm-util install phone.wgt - /usr/bin/afm-util install radio.wgt - /usr/bin/afm-util install settings.wgt - /usr/bin/afm-util install navigation.wgt - /usr/bin/afm-util install poi.wgt - /usr/bin/afm-util install mixer.wgt + for file in \`find . -maxdepth 1 -name '*.wgt'\`; do + + /usr/bin/afm-util install \$file + done + sync #it's Workaround cyad -s -k MANIFESTS -t allow -c User::App::navigation -u '*' -p 'http://tizen.org/privilege/internal/dbus' -- cgit 1.2.3-korg