summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKichan Kwon <k_c.kwon@samsung.com>2019-08-16 13:22:29 +0900
committerKichan Kwon <k_c.kwon@samsung.com>2019-08-16 13:24:54 +0900
commitf3559d1d9efab40c90bccd1a6e6e9d49c5b853d4 (patch)
treeebbfb258c3fcb9bead2e81feccd21df86658209c
parent6f26461ed4dbb1387e0d37b47744c9f0c45ecccf (diff)
downloadconnman-f3559d1d9efab40c90bccd1a6e6e9d49c5b853d4.tar.gz
connman-f3559d1d9efab40c90bccd1a6e6e9d49c5b853d4.tar.bz2
connman-f3559d1d9efab40c90bccd1a6e6e9d49c5b853d4.zip
Remove RW upgrade script
Change-Id: Ib19bf1596320e67711645a7904bc3b81d7e546bc Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
-rw-r--r--packaging/connman.spec8
-rw-r--r--scripts/500.connman_upgrade.sh9
2 files changed, 0 insertions, 17 deletions
diff --git a/packaging/connman.spec b/packaging/connman.spec
index 080b4655..7a919867 100644
--- 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.
@@ -232,10 +229,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
@@ -269,7 +262,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 100644
index a21336e2..00000000
--- a/scripts/500.connman_upgrade.sh
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/bin/sh
-PATH=/bin:/usr/bin:/sbin:/usr/sbin
-
-#------------------------------------------------------------#
-# connman patch script for upgrade (3.0 -> the latest tizen) #
-#------------------------------------------------------------#
-
-chmod 755 /var/lib/connman
-chown -R network_fw:network_fw /var/lib/connman