Date: Saturday, March 19, 2022 @ 09:45:41
  Author: andyrtr
Revision: 440274

upgpkg: bluez 5.64-2: fix servcie not starting when missing the statedir - 
FS#7415

Modified:
  bluez/trunk/PKGBUILD

----------+
 PKGBUILD |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2022-03-19 09:36:25 UTC (rev 440273)
+++ PKGBUILD    2022-03-19 09:45:41 UTC (rev 440274)
@@ -6,7 +6,7 @@
 pkgbase=bluez
 pkgname=('bluez' 'bluez-utils' 'bluez-libs' 'bluez-cups' 'bluez-hid2hci' 
'bluez-plugins')
 pkgver=5.64
-pkgrel=1
+pkgrel=2
 url="http://www.bluez.org/";
 arch=('x86_64')
 license=('GPL2')
@@ -79,6 +79,9 @@
   
   # fix obex file transfer - https://bugs.archlinux.org/task/45816
   ln -fs /usr/lib/systemd/user/obex.service 
"${pkgdir}"/usr/lib/systemd/user/dbus-org.bluez.obex.service
+
+  # FS#74157 - bluez systemd service fails without localstatedir present
+  install -dm700 "${pkgdir}"/var/lib/bluetooth
 }
 
 package_bluez-utils() {

Reply via email to