aboutsummaryrefslogtreecommitdiffstats
path: root/meta-application-manager/recipes-others/pkgmgr-first-setup-service/files/pkgmgr-first-setup.sh
AgeCommit message (Collapse)AuthorFilesLines
2016-11-08Enable aglglobalapp to renderHEADmasterKazumasa Mitsunari1-13/+13
1. Enable aglglobalapp to render app using libEGL.so. Originally AGL enables only root user to use libEGL.so because a device is owned by root and video group. It caused users fail to initialize EGL config. 2. Enable user to use XDG_RUNTIME_DIR=/run/user/0 Users don't need to write shell script basically. But if application would like to set unieque environment variables, it is necessary to write shell script. Signed-off-by: Kazumasa Mitsunari <kazumasa_mitsunari_za@mail.toyota.co.jp>
2016-09-23Add pkgmgr-first-setup for systemd serviceKazumasa Mitsunari1-0/+36
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>