From ca07af4bc334491cfc9d2a986224b06c6064a60f Mon Sep 17 00:00:00 2001 From: Ronan Le Martret Date: Wed, 23 Oct 2013 09:11:42 +0200 Subject: [PATCH] - change sudo rules and file perm. --- README | 31 ++++++++++++++++++---- .../recipes-wrt/config/config-image-weston-user.bb | 8 +++++- .../config-image-weston-user/init_wrt-installer.sh | 2 -- yoctoOpenTizenManager/yoctoOpenTizenManager_conf | 2 +- 4 files changed, 34 insertions(+), 9 deletions(-) diff --git a/README b/README index 2570a33..eb46520 100644 --- a/README +++ b/README @@ -58,17 +58,38 @@ Host tz.otcshare.org User $USER Port 29418 -4) Execute script: +4) Execute script to checkout project: # cd yoctoOpenTizenManager # ./checkout_tizen_wrt + +5) build your project: + # cd ${POCKY_DIR} + # source ./oe-init-build-env ${BUILDIR} + # bitbake -k wrt-image-minimal-dev + +6) After image build, copy the image to a an USB key: + # sudo dd if='${BUILDPATH}'/tmp/deploy/images/chiefriver/wrt-image-minimal-dev-chiefriver.hddimg of=/dev/sdX' + + +Now ,on the target: + # sudo su + (pwd: tizen) + +5) configure the database: + + # /usr/share/webapps/init_wrt-installer.sh + +6) Install a webapp: + # wrt-install -i /usr/share/webapps/webapps-go.wgt + Note : If you have the message “Your version of make 3.82 is broken. Please revert to 3.81 or install a patched version.”, and you don’t have the solution. -Edite the file: - # vi ../meta/classes/sanity.bbclass -And tmp comment: - #status.addresult(check_make_version(d)) + Edite the file: + # vi ../meta/classes/sanity.bbclass + And tmp comment: + # status.addresult(check_make_version(d)) Note: privacy-manager may failed if you have install dbus-devel diff --git a/meta-wrt-tizen/recipes-wrt/config/config-image-weston-user.bb b/meta-wrt-tizen/recipes-wrt/config/config-image-weston-user.bb index ff0420e..4c983a0 100644 --- a/meta-wrt-tizen/recipes-wrt/config/config-image-weston-user.bb +++ b/meta-wrt-tizen/recipes-wrt/config/config-image-weston-user.bb @@ -64,7 +64,7 @@ do_install () { install -p -m 644 webapps-go.wgt ${D}/usr/share/webapps/webapps-go.wgt - install -p -m 644 init_wrt-installer.sh ${D}/usr/share/webapps/init_wrt-installer.sh + install -p -m 744 init_wrt-installer.sh ${D}/usr/share/webapps/init_wrt-installer.sh # The new user and group are created before the do_install # step, so you are now free to make use of them: @@ -133,4 +133,10 @@ EOF cat >${D}/etc/profile.d/user-dbus.sh <