Modify database backup sequence 15/275215/2
authorIlho Kim <ilho159.kim@samsung.com>
Wed, 18 May 2022 08:29:34 +0000 (17:29 +0900)
committerIlho Kim <ilho159.kim@samsung.com>
Wed, 18 May 2022 08:31:16 +0000 (17:31 +0900)
commitf6700a0517f044ebc4e2ef70026f3272aa1f145f
tree969d5f1908e880df667ffaa2426750422c6a54f2
parenta5134a6b4687d675b803ba83d3d35240a7d5896c
Modify database backup sequence

If there is a forced termination before erasing the backup flag
and applying the smack label, there is a problem of using the backup database
which the smack label is not applied in the next upgrade
so modify the smack label setting of the backup database
before removing the backup flag

Change-Id: I4742e469fdaf9de35f2d3e266fd8a806c498975a
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
src/pkg_upgrade/pkg_upgrade.c