From e55977ade50b2d6416d8ecd34fd3448abddd20b0 Mon Sep 17 00:00:00 2001 From: "so2.park" Date: Tue, 20 Sep 2016 13:54:54 +0900 Subject: [PATCH] [UTC][streamrecorder][Non-ACR][Fix spec.sh file regarding res copy issue] Change-Id: I39ea55504819637461ca31d1cf0076b9582f7f2b Signed-off-by: so2.park --- scripts_tpk/spec.sh | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/scripts_tpk/spec.sh b/scripts_tpk/spec.sh index 834bd5a..e66256e 100755 --- a/scripts_tpk/spec.sh +++ b/scripts_tpk/spec.sh @@ -586,13 +586,14 @@ case "$1" in ;; "org.tizen.streamrecorder-native-utc") echo "Installing pre-requisites for the package $1" + mkdir -p $DEVICE_STORAGE_30/res + chsmack -a "User::App::Shared" $DEVICE_STORAGE_30/res + chsmack -e "User::App::Shared" $DEVICE_STORAGE_30/res + cp res/* $DEVICE_STORAGE_30/res chmod -R 777 $DEVICE_STORAGE_30/res chown -R 5001:100 $DEVICE_STORAGE_30/res - cp -rf res $DEVICE_STORAGE_30/ - chsmack -a User::App::org.tizen.streamrecorder-native-utc $DEVICE_STORAGE_30/res - chsmack -a User::App::org.tizen.streamrecorder-native-utc $DEVICE_STORAGE_30/res/* - chsmack -e User::App::org.tizen.streamrecorder-native-utc $DEVICE_STORAGE_30/res - chsmack -e User::App::org.tizen.streamrecorder-native-utc $DEVICE_STORAGE_30/res/* + chsmack -a "User::App::Shared" $DEVICE_STORAGE_30/res/* + chsmack -e "User::App::Shared" $DEVICE_STORAGE_30/res/* ;; "org.tizen.capi-media-vision-native-utc") echo "Installing pre-requisites for the package $1" -- 2.7.4