diff options
author | sangwan.kwon <sangwan.kwon@samsung.com> | 2017-06-30 17:01:59 +0900 |
---|---|---|
committer | sangwan kwon <sangwan.kwon@samsung.com> | 2017-07-03 04:55:06 +0000 |
commit | 7b017af752c4d75065871fa732259ee0a08ae57a (patch) | |
tree | f36c0e9948607df1846fc59f04231d09dca0fd7a /scripts/240.wae.sh.in | |
parent | 84c60acc6b62da2e0c34e3e5c87f619c9ff34c14 (diff) | |
download | libwebappenc-7b017af752c4d75065871fa732259ee0a08ae57a.tar.gz libwebappenc-7b017af752c4d75065871fa732259ee0a08ae57a.tar.bz2 libwebappenc-7b017af752c4d75065871fa732259ee0a08ae57a.zip |
Fix upgrade script numbersubmit/tizen_4.0_unified/20170814.115522submit/tizen_4.0/20170828.110004submit/tizen_4.0/20170828.100004submit/tizen_4.0/20170814.115522submit/tizen_4.0/20170811.094300submit/tizen/20170705.025248submit/tizen/20170704.073704accepted/tizen/unified/20170705.163019accepted/tizen/4.0/unified/20170829.020530accepted/tizen/4.0/unified/20170816.015633accepted/tizen/4.0/unified/20170816.012948
* Accordig to OS upgrade team's guide, this script would be run as 240.
Change-Id: I96d0a68915acc21cf82f48ff5704fc11a1989653
Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
(cherry picked from commit ec1709d20c9c6a243f1b2b1976819e4017601c18)
Diffstat (limited to 'scripts/240.wae.sh.in')
-rwxr-xr-x | scripts/240.wae.sh.in | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/scripts/240.wae.sh.in b/scripts/240.wae.sh.in new file mode 100755 index 0000000..68f99f9 --- /dev/null +++ b/scripts/240.wae.sh.in @@ -0,0 +1,30 @@ +#!/bin/bash +PATH=/bin:/usr/bin:/sbin:/usr/sbin + +# Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# @file 240.wae.sh.in +# @author Kyungwook Tak (k.tak@samsung.com) +# @brief Platform upgrade support + +WAE_DIR=@RW_SHARE_DIR@/wae + +cp -rf @UPGRADE_DATA_DIR@/wae $WAE_DIR + +chsmack -a "@SMACK_DOMAIN@" $WAE_DIR -r +chown -R @USER_NAME@:@GROUP_NAME@ $WAE_DIR +chmod 770 $WAE_DIR +chmod 770 $WAE_DIR/app_dek +chmod 660 $WAE_DIR/app_dek/* |