From: DoHyun Pyun Date: Thu, 22 Aug 2019 06:50:27 +0000 (+0900) Subject: Remove OS upgrade script X-Git-Tag: accepted/tizen/unified/20190827.110641~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=334153b67756a1b9e308202ac2019e013799d010;p=platform%2Fupstream%2Fbluez.git Remove OS upgrade script Since Tizen 4.0 there is no change for the file properties. So we don't need to use the upgrade script for bluez. Change-Id: I18b1b66a730fcbcfecfd51ade2e47de3baaefd09 Signed-off-by: DoHyun Pyun --- diff --git a/packaging/500.bluez_upgrade.sh b/packaging/500.bluez_upgrade.sh deleted file mode 100755 index 0b39809..0000000 --- a/packaging/500.bluez_upgrade.sh +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/sh -PATH=/bin:/usr/bin:/sbin:/usr/sbin - -#------------------------------------------# -# bluetoothd patch for upgrade # -#------------------------------------------# - -# Change the smack label for BT chip and paired info -source /usr/share/upgrade/rw-update-macro.inc -get_version_info - -if [ $OLD_VER == "3.0" ]; then - chsmack -a "_" /var/lib/bluetooth - chsmack -a "_" /var/lib/bluetooth* -r -fi diff --git a/packaging/bluez.spec b/packaging/bluez.spec index c973b6f..ceec92f 100755 --- a/packaging/bluez.spec +++ b/packaging/bluez.spec @@ -6,7 +6,6 @@ #%define with_libcapng --enable-capng %define _libpath /usr/lib -%define upgrade_script_path /usr/share/upgrade/scripts Name: bluez Summary: Bluetooth Stack for Linux Version: 5.50 @@ -400,9 +399,6 @@ ln -sf bluetooth.service %{buildroot}%{_libpath}/systemd/system/dbus-org.bluez.s ln -sf ../bluetooth.service %{buildroot}%{_libpath}/systemd/system/multi-user.target.wants/bluetooth.service #endif -mkdir -p %{buildroot}%{upgrade_script_path} -cp -f packaging/500.bluez_upgrade.sh %{buildroot}%{upgrade_script_path} - %post -n libbluetooth -p /sbin/ldconfig %postun -n libbluetooth -p /sbin/ldconfig @@ -448,7 +444,6 @@ popd #%{_sbindir}/hid2hci %dir /usr/lib/udev /usr/lib/udev/* -%{upgrade_script_path}/500.bluez_upgrade.sh %files -n bluez-extension-bredr %manifest %{name}.manifest