From fb32653b859e7ffeb57e89fe5b1cfb13124d69f1 Mon Sep 17 00:00:00 2001 From: Sunmin Lee Date: Tue, 5 Sep 2017 17:17:07 +0900 Subject: [PATCH] Remove old update script RW update script for Tizen 2.4 (to 3.0) is not necessary in Tizen 4.0. Remove this file to avoid being executed during Tizen 4.0 update. Change-Id: Iee17c2a20a6aa3b5ce206cdda00565ab8766d5c0 --- packaging/drm-service-core-tizen.spec | 4 ---- scripts/240.drm-service-core-tizen.sh | 24 ------------------------ 2 files changed, 28 deletions(-) delete mode 100755 scripts/240.drm-service-core-tizen.sh diff --git a/packaging/drm-service-core-tizen.spec b/packaging/drm-service-core-tizen.spec index 597c680..7609944 100755 --- a/packaging/drm-service-core-tizen.spec +++ b/packaging/drm-service-core-tizen.spec @@ -21,7 +21,6 @@ BuildRequires: pkgconfig(libtzplatform-config) %global sys_home %{?TZ_SYS_HOME:%TZ_SYS_HOME}%{!?TZ_SYS_HOME:/opt/usr/home} %global test_data_dir %{sys_home}/drm_test -%global upgrade_script_dir %{ro_share_dir}/upgrade/scripts %global db_dir %{?TZ_SYS_DB:%TZ_SYS_DB}%{!?TZ_SYS_DB:/opt/dbspace} %description @@ -70,8 +69,6 @@ make %{?_smp_mflags} %install %make_install -mkdir -p %{buildroot}%{upgrade_script_dir} -cp scripts/240.drm-service-core-tizen.sh %{buildroot}%{upgrade_script_dir}/ %post %{bin_dir}/rm -f /etc/ld.so.cache @@ -89,7 +86,6 @@ chmod 600 %{db_dir}/.dtapps.db* %{_libdir}/lib%{name}.so.* %{bin_dir}/drm_tizen_initialize %{ro_data_dir}/root_certs/ro_root_cert.pem -%{upgrade_script_dir}/240.drm-service-core-tizen.sh %files devel %{_libdir}/pkgconfig/%{name}.pc diff --git a/scripts/240.drm-service-core-tizen.sh b/scripts/240.drm-service-core-tizen.sh deleted file mode 100755 index da4cdb7..0000000 --- a/scripts/240.drm-service-core-tizen.sh +++ /dev/null @@ -1,24 +0,0 @@ -#!/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.drm-service-core-tizen.sh -# @author Kyungwook Tak (k.tak@samsung.com) -# @breif - -chsmack -a "System" /opt/dbspace/.dtapps.db* -chown app_fw:app_fw /opt/dbspace/.dtapps.db* -chmod 600 /opt/dbspace/.dtapps.db* -- 2.7.4