Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 73B4EC07E97 for ; Fri, 1 Dec 2023 16:40:40 +0000 (UTC) Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) by mx.groups.io with SMTP id smtpd.web10.4239.1701448836498718322 for ; Fri, 01 Dec 2023 08:40:36 -0800 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=pass (domain: kernel.crashing.org, ip: 63.228.1.57, mailfrom: mark.hatle@kernel.crashing.org) Received: from [192.168.2.37] ([70.99.78.137]) by gate.crashing.org (8.14.1/8.14.1) with ESMTP id 3B1GeYkR022819 for ; Fri, 1 Dec 2023 10:40:35 -0600 Message-ID: <29fa1078-c3bf-aa3b-2497-9bd37b92c8b7@kernel.crashing.org> Date: Fri, 1 Dec 2023 10:40:33 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Subject: Re: [oe] [meta-multimedia][PATCH] gstd: Install systemd unit into sysem unitdir folder Content-Language: en-US To: openembedded-devel@lists.openembedded.org References: <20231201080441.565612-1-raj.khem@gmail.com> From: Mark Hatle In-Reply-To: <20231201080441.565612-1-raj.khem@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by gate.crashing.org id 3B1GeYkR022819 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 01 Dec 2023 16:40:40 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/107190 Verified this fixes the build-time failure I observed. Boot though does result in a [FAILED] when starting the GStreamer Daemon.= I=20 don't have enough knowledge to diagnose this, but I'll see if I can find = someone=20 who might. Based on resolving the build time issue, this is worth going in, IMHO. --Mark On 12/1/23 2:04=E2=80=AFAM, Khem Raj wrote: > bt default it installs into user systemd unitdir folder which can not b= e > preconfigured offline. >=20 > Signed-off-by: Khem Raj > Cc: Mark Hatle > --- > .../recipes-multimedia/gstreamer-1.0/gstd_git.bb | 6 ++++-= - > 1 file changed, 4 insertions(+), 2 deletions(-) >=20 > diff --git a/meta-multimedia/recipes-multimedia/gstreamer-1.0/gstd_git.= bb b/meta-multimedia/recipes-multimedia/gstreamer-1.0/gstd_git.bb > index 88acdb190e..2068302826 100644 > --- a/meta-multimedia/recipes-multimedia/gstreamer-1.0/gstd_git.bb > +++ b/meta-multimedia/recipes-multimedia/gstreamer-1.0/gstd_git.bb > @@ -17,6 +17,8 @@ PV =3D "1.0+really0.15.0" > =20 > GTKDOC_MESON_OPTION =3D "enable-gtk-doc" > =20 > +EXTRA_OEMESON +=3D "-Dwith-gstd-systemddir=3D${systemd_system_unitdir}= " > + > inherit meson pkgconfig gettext gtk-doc systemd python3native python3= -dir python3targetconfig > =20 > do_install:append() { > @@ -28,7 +30,7 @@ do_install:append() { > install -d ${D}${sysconfdir}/tmpfiles.d > echo "d /run/${BPN} - - - -" \ > > ${D}${sysconfdir}/tmpfiles.d/${BPN}.conf > - echo "d /${localstatedir}/log/${BPN} 0755 root root -"= \ > + echo "d ${localstatedir}/log/${BPN} 0755 root root -" = \ > >> ${D}${sysconfdir}/tmpfiles.d/${BPN}.conf > fi > ln -sf gst-client-1.0 ${D}${bindir}/gst-client > @@ -36,7 +38,7 @@ do_install:append() { > } > PACKAGES =3D+ "${PN}-python" > =20 > -FILES:${PN} +=3D "${systemd_user_unitdir}" > +FILES:${PN} +=3D "${systemd_system_unitdir}" > FILES:${PN}-python =3D "${PYTHON_SITEPACKAGES_DIR}/*" > =20 > SYSTEMD_SERVICE:${PN} =3D "gstd.service" >=20 >=20 >=20 > -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- > Links: You receive all messages sent to this group. > View/Reply Online (#107184): https://lists.openembedded.org/g/openembed= ded-devel/message/107184 > Mute This Topic: https://lists.openembedded.org/mt/102911359/3616948 > Group Owner: openembedded-devel+owner@lists.openembedded.org > Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub = [mark.hatle@kernel.crashing.org] > -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- >=20