From 3d0ca0a714f54909a7c0afe5f2fc45a8468b3486 Mon Sep 17 00:00:00 2001 From: Sunmin Lee Date: Wed, 6 Sep 2017 16:04:10 +0900 Subject: Remove not supported update script RW update script for Tizen 2.4 (to 3.0) is not necessary in Tizen 4.0. (Tizen 4.0 does not support upgrade from Tizen 2.4) Remove this file in terms of clearing the redundancy. Change-Id: I0ce9b8ccb0d9a0720bbe7588f97da7fe8b0ce522 --- packaging/connman.spec | 8 -------- scripts/500.connman_upgrade.sh | 12 ------------ 2 files changed, 20 deletions(-) delete mode 100755 scripts/500.connman_upgrade.sh diff --git a/packaging/connman.spec b/packaging/connman.spec index 84f0ed79..b3111dac 100755 --- a/packaging/connman.spec +++ b/packaging/connman.spec @@ -43,9 +43,6 @@ Provides: %{name}-profile_common = %{version}-%{release} Provides: %{name}-profile_mobile = %{version}-%{release} Provides: %{name}-profile_wearable = %{version}-%{release} -%define upgrade_script_filename 500.connman_upgrade.sh -%define upgrade_script_path /usr/share/upgrade/scripts - %description Connection Manager provides a daemon for managing Internet connections within embedded devices running the Linux operating system. @@ -224,10 +221,6 @@ cp src/connman.conf %{buildroot}%{_sysconfdir}/dbus-1/system.d/ cp vpn/vpn-dbus.conf %{buildroot}%{_sysconfdir}/dbus-1/system.d/connman-vpn-dbus.conf %endif -#OS Upgrade -mkdir -p %{buildroot}%{upgrade_script_path} -cp -f scripts/%{upgrade_script_filename} %{buildroot}%{upgrade_script_path} - %post #chsmack -a 'System' /%{_localstatedir}/lib/connman #chsmack -a 'System' /%{_localstatedir}/lib/connman/settings @@ -261,7 +254,6 @@ systemctl daemon-reload %attr(644,root,root) %{_libdir}/systemd/system/sockets.target.wants/connman.socket %endif %license COPYING -%{upgrade_script_path}/%{upgrade_script_filename} %files test %manifest connman.manifest diff --git a/scripts/500.connman_upgrade.sh b/scripts/500.connman_upgrade.sh deleted file mode 100755 index 83f222b0..00000000 --- a/scripts/500.connman_upgrade.sh +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/sh -PATH=/bin:/usr/bin:/sbin:/usr/sbin - -#-----------------------------------------------# -# connman patch script for upgrade (2.4 -> 3.0) # -#-----------------------------------------------# - -#/%{_localstatedir} = /opt/var - -chsmack -a 'System' /opt/var/lib/connman -chsmack -a 'System' /opt/var/lib/connman/settings - -- cgit v1.2.3