Fix upgrade script 33/144633/7
authorJunghyun Yeon <jungh.yeon@samsung.com>
Thu, 17 Aug 2017 09:12:07 +0000 (18:12 +0900)
committerJunghyun Yeon <jungh.yeon@samsung.com>
Wed, 30 Aug 2017 08:34:29 +0000 (17:34 +0900)
commitb7018589208329a64d7c7ed7f255e6174ef530f6
tree45691ea1cd6e6e4e9586beea078f339540f3f1b4
parent2c327a2c9dcf522d375d0e540f1145d30c079e9b
Fix upgrade script

- Add updates directory to store actual upgrade script
- Previous upgrade scripts will determine current version and target version
  and execute proper upgrade script by right order
- Add codes for certificate migration to get dist root to determine privilege level
  because signature file has removed in previous platform for security purpose.
- Certificate values now will be inserted into cert db directly.
- Fix to not to remove shared/data and shared/cache

Change-Id: I52942990115b25d0db489bc4333e6560f978c018
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
CMakeLists.txt
data/700.pkgmgr.patch.sh.in
data/updates/upgrade_to_30000.sh.in [new file with mode: 0644]
data/updates/upgrade_to_30001.sh.in [new file with mode: 0644]
packaging/pkgmgr-tool.spec