[oe] [meta-oe][meta-systemd][PATCH 1/4] bluez4: Package systemd service
Andreas Müller
schnitzeltony at googlemail.com
Mon Jan 14 23:39:41 UTC 2013
On Mon, Jan 14, 2013 at 7:42 PM, Andrei Gherzan
<andrei.gherzan at windriver.com> wrote:
> Signed-off-by: Andrei Gherzan <andrei.gherzan at windriver.com>
> ---
> .../bluez/bluez4_4.101.bbappend | 9 +++++++++
> 1 files changed, 9 insertions(+), 0 deletions(-)
> create mode 100644 meta-systemd/meta-oe/recipes-connectivity/bluez/bluez4_4.101.bbappend
>
> diff --git a/meta-systemd/meta-oe/recipes-connectivity/bluez/bluez4_4.101.bbappend b/meta-systemd/meta-oe/recipes-connectivity/bluez/bluez4_4.101.bbappend
> new file mode 100644
> index 0000000..8945a6d
> --- /dev/null
> +++ b/meta-systemd/meta-oe/recipes-connectivity/bluez/bluez4_4.101.bbappend
> @@ -0,0 +1,9 @@
> +PRINC := "${@int(PRINC) + 1}"
> +
> +inherit systemd
> +
> +EXTRA_OECONF += "--with-systemdunitdir=${systemd_unitdir}/system/"
> +
> +SYSTEMD_PACKAGES = "${PN}-systemd"
> +SYSTEMD_SERVICE = "bluetooth.service"
> +SYSTEMD_AUTO_ENABLE = "disable"
This is quite interesting: For my first tests I also added the
'disable' but I could not get bluez start automatically so I decided
to start it at boot time. Maybe it is related to that I did not yet
find a way to setup my bluetooth device automatically. It still needs
hciattach ttyO1 csr
Which service starts blues if not enabled?
Andreas
More information about the Openembedded-devel
mailing list