Fix pkg_upgrade tool 33/170333/5
authorJunghyun Yeon <jungh.yeon@samsung.com>
Mon, 19 Feb 2018 07:47:26 +0000 (16:47 +0900)
committerJunghyun Yeon <jungh.yeon@samsung.com>
Wed, 28 Feb 2018 00:50:51 +0000 (09:50 +0900)
commit3d7a398eb1151eea61d640f5fe3724d3de6af7e2
treea085b9442ba31f9364d49015f2ae7b69d9738b29
parent7a99be6bf3f44e9fae85356d890b67ffb19b810f
Fix pkg_upgrade tool

- Change filter to get preload pkg to retrieve readonlyupdate pkgs.
- When pkg is readonlyupdated but not included at image,
  set its db attribute properly to treat as normal pkg.(TODO)
- When pkg is readnolyupdated and update image has same version,
  readonlyupdate should be uninstalled except its rwdata.

Related changes:
[pkgmgr-info] : https://review.tizen.org/gerrit/#/c/170323/

Change-Id: I9ae7f5567034a5c44c0eb8cd62a0b138e6626d27
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
src/pkg_upgrade.c
src/pkg_upgrade.h