Fix bugs on upgrade script 75/147275/2
authorJunghyun Yeon <jungh.yeon@samsung.com>
Sun, 3 Sep 2017 23:39:01 +0000 (08:39 +0900)
committerSemun Lee <semun.lee@samsung.com>
Mon, 11 Sep 2017 23:10:54 +0000 (23:10 +0000)
commit188a3ae0a4303a69ae23c53aee11a9b41d8c5f39
tree28e1bbeed578f0fd0db743a2fba1f2c8fb1ce71f
parent840dc37d72ad74f3baaa77ebffc079e7ec414673
Fix bugs on upgrade script

- Signature file has removed by previous platform for security purpose
  so there are no way to determine privilege level while upgrading.
- So, now upgrade script will make file which stores root cert value
  each package and installer will retrieve it at runtime when there are
  no signature file to read.
- After migration, cert db will be migrated directly into pkg cert db.
- Remove chsmack in script.
- Now tpk related functions will handle rpm packages, too.

Change-Id: I2ec688c94876c903e82274a2eefd63290514578b
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
data/updates/upgrade_to_30000.sh.in