bt default it installs into user systemd unitdir folder which can not be preconfigured offline.
Signed-off-by: Khem Raj <raj.k...@gmail.com> Cc: Mark Hatle <mark.ha...@amd.com> --- .../recipes-multimedia/gstreamer-1.0/gstd_git.bb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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 = "1.0+really0.15.0" GTKDOC_MESON_OPTION = "enable-gtk-doc" +EXTRA_OEMESON += "-Dwith-gstd-systemddir=${systemd_system_unitdir}" + inherit meson pkgconfig gettext gtk-doc systemd python3native python3-dir python3targetconfig 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 =+ "${PN}-python" -FILES:${PN} += "${systemd_user_unitdir}" +FILES:${PN} += "${systemd_system_unitdir}" FILES:${PN}-python = "${PYTHON_SITEPACKAGES_DIR}/*" SYSTEMD_SERVICE:${PN} = "gstd.service" -- 2.43.0
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#107184): https://lists.openembedded.org/g/openembedded-devel/message/107184 Mute This Topic: https://lists.openembedded.org/mt/102911359/21656 Group Owner: openembedded-devel+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-