[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] gnu: bluez: Install 'org.bluez.obex.service' and fix '97-hid
From: |
宋文武 |
Subject: |
Re: [PATCH] gnu: bluez: Install 'org.bluez.obex.service' and fix '97-hid2hci.rules'. |
Date: |
Sat, 18 Jun 2016 09:53:03 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
address@hidden (Ludovic Courtès) writes:
> 宋文武 <address@hidden> skribis:
>
>> * gnu/packages/linux.scm (bluez)[arguments]: Add 'post-install' phase.
>
> [...]
>
>> + (lambda* (#:key inputs outputs #:allow-other-keys)
>> + (let* ((out (assoc-ref outputs "out"))
>> + (servicedir (string-append out
>> "/share/dbus-1/services"))
>> + (service "obexd/src/org.bluez.obex.service")
>> + (rule (string-append
>> + out "/lib/udev/rules.d/97-hid2hci.rules")))
>> + ;; Install the obex dbus service file.
>> + (substitute* service
>> + (("/bin/false")
>> + (string-append out "/libexec/bluetooth/obexd")))
>
> Why is it /bin/false by default?
It has a 'SystemdService' field, and supposed to be bus-activatable by
the systemd user unit file.
Pushed, thanks!