Modify database backup sequence 11/275211/2
authorIlho Kim <ilho159.kim@samsung.com>
Wed, 18 May 2022 07:18:31 +0000 (16:18 +0900)
committerIlho Kim <ilho159.kim@samsung.com>
Wed, 18 May 2022 07:50:39 +0000 (16:50 +0900)
commit0f92e1fed086178170bbe809bb90c28427fff53e
treef17e337ad67c37fbed112ed07b9cbb86553b19bb
parent425fa28a9d99d95706689bf6be4a8be21be06e28
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: I5201ef7b3c24e5f79abb32f030908a5d2e026c43
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
src/pkg_upgrade/src/upgrader.cc