summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSunmin Lee <sunm.lee@samsung.com>2017-09-06 16:04:10 +0900
committertaesub kim <taesub.kim@samsung.com>2017-09-06 17:55:44 +0900
commita03571e8e2cfe741a0780ef542b666fd2b3013ec (patch)
tree1300da14576d871639dee7df90c09dea1642b8ba
parent52898cf1fc4e4ca0621d6defcbb36d7de3381642 (diff)
downloadconnman-a03571e8e2cfe741a0780ef542b666fd2b3013ec.tar.gz
connman-a03571e8e2cfe741a0780ef542b666fd2b3013ec.tar.bz2
connman-a03571e8e2cfe741a0780ef542b666fd2b3013ec.zip
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
-rwxr-xr-xpackaging/connman.spec8
-rwxr-xr-xscripts/500.connman_upgrade.sh12
2 files changed, 0 insertions, 20 deletions
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
-