diff options
author | Sunmin Lee <sunm.lee@samsung.com> | 2016-09-07 14:18:50 +0900 |
---|---|---|
committer | Sunmin Lee <sunm.lee@samsung.com> | 2016-09-08 13:41:22 +0900 |
commit | bb5740c8c13dae81a8aad936ebc0284f24476124 (patch) | |
tree | 9aa87ed75014e3b4cd3bbe13db38ce81d4307019 | |
parent | 9afcd97e50f16bc489015ac6b4cd669e75434b2b (diff) | |
download | system-plugin-bb5740c8c13dae81a8aad936ebc0284f24476124.tar.gz system-plugin-bb5740c8c13dae81a8aad936ebc0284f24476124.tar.bz2 system-plugin-bb5740c8c13dae81a8aad936ebc0284f24476124.zip |
Upgrade: update operations of filesystemsubmit/tizen/20160909.055251accepted/tizen/wearable/20160912.053603accepted/tizen/tv/20160912.053544accepted/tizen/mobile/20160912.053528accepted/tizen/ivi/20160912.053615accepted/tizen/common/20160909.115013
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>
-rwxr-xr-x | upgrade/update-init.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/upgrade/update-init.sh b/upgrade/update-init.sh index 9618bf0..43e33ad 100755 --- a/upgrade/update-init.sh +++ b/upgrade/update-init.sh @@ -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 |