diff options
author | Kazumasa Mitsunari <kazumasa_mitsunari_za@mail.toyota.co.jp> | 2016-09-23 13:40:16 +0900 |
---|---|---|
committer | Kazumasa Mitsunari <kazumasa_mitsunari_za@mail.toyota.co.jp> | 2016-09-23 13:40:16 +0900 |
commit | 18bd43272c0eb03ddf403d14cdb15f37695d5374 (patch) | |
tree | 2784d67e444090b90cc89a8123b70aef68e6dba7 /README | |
parent | 4e5d35db8a03eed001d526be639acb28f39a32b9 (diff) |
Add pkgmgr-first-setup for systemd service
There are some settings to use appmgr for aglglobalapp.
This is the first set up called at booting systemd.
Item:
* Language setting
* Change owner to aglglobalapp for manage database
* Initialize database
But wayland socket is owned by root user yet, so an user has to change owner
to create displays(surfaces) every time start weston.
chown aglglobalapp /run/user/0 /run/user/0/wayland-0
This will be fixed to be changed every time after starting weston before long.
Change-Id: I2fa635f35aa8e082973b09f2b8c80175d4f0ced4
Signed-off-by: Kazumasa Mitsunari <kazumasa_mitsunari_za@mail.toyota.co.jp>
Diffstat (limited to 'README')
-rw-r--r-- | README | 31 |
1 files changed, 18 insertions, 13 deletions
@@ -16,7 +16,6 @@ Release note ToDo ------------------ -* Register first setting(vconf etc.) as systemd service * Documentation * Dynamicaly enable to install applications * Support multiple runtime engine @@ -98,7 +97,8 @@ You can build an image for porter using the following steps: 1. change recipes and security_flags.inc - You can select the following process to setup. 1.b is better to avoid mistakes. + You can select the following process to setup. 1.a is better to reflect agl-community change. + The attached security_flag.inc doesn't reflect it. 1.a Add the following setting in security_flags.inc +SECURITY_CFLAGS_pn-efl = "${SECURITY_NO_PIE_CFLAGS}" @@ -150,23 +150,28 @@ can be searched from database. 1. Start up porter board and open the weston-terminal 2. Setting - # vconftool set -t string db/menu_widget/language "en-us" - # useradd aglglobalapp - if required to define password, please set the password you like - # loginctl enable-linger aglglobalapp - # chmod g+w /usr/share/applications - # chown aglglobalapp:root /usr/dbspace + # passwd aglglobalapp + You can put any password you like. # chown aglglobalapp:root /run/user/0 /run/user/0/wayland-0 3. Launch sample application from user - # login aglglobalapp - $ pkg_initdb_user - $ ail_initdb_user + # login aglglobalapp (or # su aglglobalapp) $ launch_app org.tizen.amhelloworld - successfull to launch + Successfull message is shown. 4. How to start native application - $ pkgcmd -l // to list all applications available. $ pkginfo --listpkg is also available + # cp <your-manifest-file> /usr/share/packages + Note:How to write manifest file is here. + Put your an application or a script to proper locale designated in manifest file. + If you get the message, "Failed to create display (No such file or directory)", + confirm XDG_RUNTIME_DIR is set to /run/user/0 + + https://developer.tizen.org/development/tools/native-tools/manifest-text-editor/additional-manifest-text-editor-elements#bg-category + + # pkg_initdb + # ail_initdb + $ pkgcmd -l // to list all applications available. + $ ail_list is also available $ app_launcher -s <appid> For more information, please access the following URL |