summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSunmin Lee <sunm.lee@samsung.com>2016-11-24 21:45:36 +0900
committerSunmin Lee <sunm.lee@samsung.com>2016-11-24 21:49:44 +0900
commit40eef623afa434c654bb954d2ecfe3aa39c97713 (patch)
treec309edf7130f338cf9474cc6a7700256224afd35
parentd9ca3be37a0afe54d40912fc1fc2d68ad892ded1 (diff)
downloadsystem-plugin-40eef623afa434c654bb954d2ecfe3aa39c97713.tar.gz
system-plugin-40eef623afa434c654bb954d2ecfe3aa39c97713.tar.bz2
system-plugin-40eef623afa434c654bb954d2ecfe3aa39c97713.zip
Change-Id: I8ec4843c9fb80439983fa1303232f7ba1d5c0483 Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
-rwxr-xr-xupgrade/update-init.sh1
-rwxr-xr-xupgrade/update.sh2
2 files changed, 3 insertions, 0 deletions
diff --git a/upgrade/update-init.sh b/upgrade/update-init.sh
index 5cbc09a..ead0c43 100755
--- a/upgrade/update-init.sh
+++ b/upgrade/update-init.sh
@@ -18,6 +18,7 @@ fi
# Create home directory
test ! -e /opt/usr/home && mkdir -p /opt/usr/home
+chsmack -a "_" /opt/usr/home
cp -af /usr/share/upgrade/data/home/owner /opt/usr/home
# Copy 3.0 rpm db
diff --git a/upgrade/update.sh b/upgrade/update.sh
index 8a6b807..641500c 100755
--- a/upgrade/update.sh
+++ b/upgrade/update.sh
@@ -25,6 +25,8 @@ else
${RUN} /usr/share/upgrade/update-post.sh
+ sync
+
echo "SUCCESS: Upgrade successfully finished" > ${RESULT_FILE}
fi