From bb5740c8c13dae81a8aad936ebc0284f24476124 Mon Sep 17 00:00:00 2001 From: Sunmin Lee Date: Wed, 7 Sep 2016 14:18:50 +0900 Subject: [PATCH] Upgrade: update operations of filesystem The RW update related to filesystem is done in the first step of update. Change-Id: I0e765b5458dfddffee6bfc661bb61e1dd0d5e1d0 Signed-off-by: Sunmin Lee --- upgrade/update-init.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) 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 -- 2.7.4