Upgrade: update operations of filesystem 17/87217/4 accepted/tizen/common/20160909.115013 accepted/tizen/ivi/20160912.053615 accepted/tizen/mobile/20160912.053528 accepted/tizen/tv/20160912.053544 accepted/tizen/wearable/20160912.053603 submit/tizen/20160909.055251
authorSunmin Lee <sunm.lee@samsung.com>
Wed, 7 Sep 2016 05:18:50 +0000 (14:18 +0900)
committerSunmin Lee <sunm.lee@samsung.com>
Thu, 8 Sep 2016 04:41:22 +0000 (13:41 +0900)
The RW update related to filesystem is done
in the first step of update.

Change-Id: I0e765b5458dfddffee6bfc661bb61e1dd0d5e1d0
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
upgrade/update-init.sh

index 9618bf0..43e33ad 100755 (executable)
@@ -27,3 +27,14 @@ cp -arf /system-update/data/rpm/* /var/lib/rpm
 
 # Disable cynara-check
 buxton2ctl security-disable
+
+####### filesystem update #######
+rm -rf /var/lock
+ln -snf /run/lock /var/lock
+
+# Directory for compatibility
+chown root:root /opt/usr/media
+chsmack -a '_' -T /opt/usr/media
+# The operation done by generic-base.post
+chown root:root /opt/var/log
+chsmack -a '*' -t /opt/var/log