diff options
author | Sunmin Lee <sunm.lee@samsung.com> | 2017-09-06 16:04:10 +0900 |
---|---|---|
committer | Sunmin Lee <sunm.lee@samsung.com> | 2017-09-06 16:57:08 +0900 |
commit | 3d0ca0a714f54909a7c0afe5f2fc45a8468b3486 (patch) | |
tree | 1300da14576d871639dee7df90c09dea1642b8ba | |
parent | e38f8ac76d4cf4bb1f145f2805f1922d65d349fb (diff) | |
download | connman-3d0ca0a714f54909a7c0afe5f2fc45a8468b3486.tar.gz connman-3d0ca0a714f54909a7c0afe5f2fc45a8468b3486.tar.bz2 connman-3d0ca0a714f54909a7c0afe5f2fc45a8468b3486.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-x | packaging/connman.spec | 8 | ||||
-rwxr-xr-x | scripts/500.connman_upgrade.sh | 12 |
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 - |