Register a new appid for dynamic box and its symbolic link to /usr/bin/WebProcess
- Tizen application is registered to app_info DB on installation time, hence
this change needs to be done in wrt-installer
[Issue] N/A
[Problem] wrt-plugins (or external root daemon) cannot retrieve appid properly
based on the pid of Box WebProcess.
[Cause] app_manager API which gets appid from pid considers only
registered executable path on app_info DB.
(app_manager gets executable path from /proc/<pid>/cmdline
matched to pid of WebProcess)
[Solution] WebProcess associated with the box needs to be registered to
app_info DB on installation time.
1. Register symbolic link (/usr/bin/WebProcess) per box
2. Register the box's new appid to app_info DB on installation time
2. wrt-installer adds 'root_path' attribute of <package> on application xml.
- 'root_path' has application root directory (absolute path) as value,
so that web-provider gets root dir of package using pkgmgr API.
Change-Id: Ic37d5172d9ee4434375858d5e441257ae8e7a736