From 0628ba7a376e785922ec4cfbcecf4ca9ff56e8fc Mon Sep 17 00:00:00 2001 From: "so2.park" Date: Wed, 5 Oct 2016 17:10:17 +0900 Subject: [PATCH] [UTC][media-streamer][Non-ACR][Add resource to spec.sh file] Change-Id: Ic2c72fb976f80b6cd747a9779bf8d68e07016062 Signed-off-by: so2.park --- scripts_tpk/spec.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/scripts_tpk/spec.sh b/scripts_tpk/spec.sh index acf51f7..87ff3b0 100755 --- a/scripts_tpk/spec.sh +++ b/scripts_tpk/spec.sh @@ -508,6 +508,22 @@ case "$1" in chsmack -a "User::App::Shared" $DEVICE_STORAGE_30/res/* chsmack -e "User::App::Shared" $DEVICE_STORAGE_30/res/* ;; + "org.tizen.capi-media-streamer-native-utc") + echo "Installing pre-requisites for the package $1" + mkdir -p $DEVICE_SUITE_TARGET_30/res/segments + chsmack -a "User::App::Shared" $DEVICE_SUITE_TARGET_30/res + chsmack -e "User::App::Shared" $DEVICE_SUITE_TARGET_30/res + chsmack -a "User::App::Shared" $DEVICE_SUITE_TARGET_30/res/segments + chsmack -e "User::App::Shared" $DEVICE_SUITE_TARGET_30/res/segments + cp segment/*.ts $DEVICE_SUITE_TARGET_30/res/segments + cp segment/prog_index.m3u8 $DEVICE_SUITE_TARGET_30/res/segments + chmod -R 777 $DEVICE_SUITE_TARGET_30/res + chsmack -a "User::App::Shared" $DEVICE_SUITE_TARGET_30/res/* + chsmack -e "User::App::Shared" $DEVICE_SUITE_TARGET_30/res/* + chsmack -a "User::App::Shared" $DEVICE_SUITE_TARGET_30/res/segments/* + chsmack -e "User::App::Shared" $DEVICE_SUITE_TARGET_30/res/segments/* + chmod -R 777 $DEVICE_SUITE_TARGET_30/res/segment + ;; "org.tizen.platform-permission-native-ctc") echo "Installing pre-requisites for the package $1" mkdir -p ../../data -- 2.7.4