diff options
author | Kichan Kwon <k_c.kwon@samsung.com> | 2019-08-13 13:52:42 +0900 |
---|---|---|
committer | Kichan Kwon <k_c.kwon@samsung.com> | 2019-08-13 13:53:26 +0900 |
commit | e80daa48c3c5be8b34387e399c849fe6c7e407e6 (patch) | |
tree | 9710e6b88aca9753563e0e726f4b8db0287665dc | |
parent | 63c04be17aac53347bcbff0826df3ce88a2b1f6b (diff) | |
download | mtp-responder-e80daa48c3c5be8b34387e399c849fe6c7e407e6.tar.gz mtp-responder-e80daa48c3c5be8b34387e399c849fe6c7e407e6.tar.bz2 mtp-responder-e80daa48c3c5be8b34387e399c849fe6c7e407e6.zip |
Remove OS upgrade script
Change-Id: Id167004e0ed5e17484ec9d5bef049b050b0f4509
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
-rw-r--r-- | packaging/mtp-responder.spec | 6 | ||||
-rwxr-xr-x | scripts/500.mtp-responder-upgrade.sh | 12 |
2 files changed, 0 insertions, 18 deletions
diff --git a/packaging/mtp-responder.spec b/packaging/mtp-responder.spec index 312c5e2..201c8bb 100644 --- a/packaging/mtp-responder.spec +++ b/packaging/mtp-responder.spec @@ -29,8 +29,6 @@ Requires(post): /usr/bin/vconftool BuildRequires: pkgconfig(gmock) %endif -%define upgrade_script_path /usr/share/upgrade/scripts - %description This package includes a daemon which processes Media Transper Protocol(MTP) commands as MTP responder role. @@ -66,9 +64,6 @@ make %{?jobs:-j%jobs} mkdir -p %{buildroot}/%{_prefix}/lib/udev/rules.d cp packaging/99-mtp-responder.rules %{buildroot}/%{_prefix}/lib/udev/rules.d/99-mtp-responder.rules -mkdir -p %{buildroot}%{upgrade_script_path} -cp -f scripts/500.%{name}-upgrade.sh %{buildroot}%{upgrade_script_path} - install -D -m 0644 mtp-responder.service %{buildroot}/%{_unitdir}/mtp-responder.service install -D -m 0644 mtp-responder.socket %{buildroot}/%{_unitdir}/mtp-responder.socket @@ -81,7 +76,6 @@ install -D -m 0644 mtp-responder.socket %{buildroot}/%{_unitdir}/mtp-responder.s %{_unitdir}/mtp-responder.socket %{_prefix}/lib/udev/rules.d/99-mtp-responder.rules /opt/var/lib/misc/mtp-responder.conf -%{upgrade_script_path}/500.%{name}-upgrade.sh /etc/mtp-responder/descs /etc/mtp-responder/strs diff --git a/scripts/500.mtp-responder-upgrade.sh b/scripts/500.mtp-responder-upgrade.sh deleted file mode 100755 index 9f1fd15..0000000 --- a/scripts/500.mtp-responder-upgrade.sh +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/sh -PATH=/bin:/usr/bin:/sbin:/usr/sbin - -#----------------------------------------------# -# mtp-responder patch for upgrade (2.4 -> 3.0) # -#----------------------------------------------# - -# Macro -MTP_RESPONDER_CONF=/opt/var/lib/misc/mtp-responder.conf - -chown owner:users $MTP_RESPONDER_CONF -chsmack -a "_" $MTP_RESPONDER_CONF |