diff options
author | Khem Raj <raj.khem@gmail.com> | 2023-11-30 22:58:35 -0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2023-12-01 08:47:57 -0800 |
commit | d412f690df753abc02d0cb77330433f43e6fc446 (patch) | |
tree | bb6fdc865d7671b7e85299e100a2880dd995075c /meta-multimedia | |
parent | dae158819f83113925d27f4d2bb11335f3e71018 (diff) | |
download | meta-openembedded-d412f690df753abc02d0cb77330433f43e6fc446.tar.gz |
gstd: Fix systemd user unit packaging
We do not need to preprocess it offline as its not run per session but
per user.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Mark Hatle <mark.hatle@amd.com>
Diffstat (limited to 'meta-multimedia')
-rw-r--r-- | meta-multimedia/recipes-multimedia/gstreamer-1.0/gstd_git.bb | 6 |
1 files changed, 2 insertions, 4 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 88acdb190..cabbf2cc1 100644 --- a/meta-multimedia/recipes-multimedia/gstreamer-1.0/gstd_git.bb +++ b/meta-multimedia/recipes-multimedia/gstreamer-1.0/gstd_git.bb | |||
@@ -17,7 +17,7 @@ PV = "1.0+really0.15.0" | |||
17 | 17 | ||
18 | GTKDOC_MESON_OPTION = "enable-gtk-doc" | 18 | GTKDOC_MESON_OPTION = "enable-gtk-doc" |
19 | 19 | ||
20 | inherit meson pkgconfig gettext gtk-doc systemd python3native python3-dir python3targetconfig | 20 | inherit meson pkgconfig gettext gtk-doc python3native python3-dir python3targetconfig |
21 | 21 | ||
22 | do_install:append() { | 22 | do_install:append() { |
23 | rmdir ${D}${root_prefix}${localstatedir}/run/${BPN} ${D}${root_prefix}${localstatedir}/run \ | 23 | rmdir ${D}${root_prefix}${localstatedir}/run/${BPN} ${D}${root_prefix}${localstatedir}/run \ |
@@ -28,7 +28,7 @@ do_install:append() { | |||
28 | install -d ${D}${sysconfdir}/tmpfiles.d | 28 | install -d ${D}${sysconfdir}/tmpfiles.d |
29 | echo "d /run/${BPN} - - - -" \ | 29 | echo "d /run/${BPN} - - - -" \ |
30 | > ${D}${sysconfdir}/tmpfiles.d/${BPN}.conf | 30 | > ${D}${sysconfdir}/tmpfiles.d/${BPN}.conf |
31 | echo "d /${localstatedir}/log/${BPN} 0755 root root -" \ | 31 | echo "d ${localstatedir}/log/${BPN} 0755 root root -" \ |
32 | >> ${D}${sysconfdir}/tmpfiles.d/${BPN}.conf | 32 | >> ${D}${sysconfdir}/tmpfiles.d/${BPN}.conf |
33 | fi | 33 | fi |
34 | ln -sf gst-client-1.0 ${D}${bindir}/gst-client | 34 | ln -sf gst-client-1.0 ${D}${bindir}/gst-client |
@@ -38,5 +38,3 @@ PACKAGES =+ "${PN}-python" | |||
38 | 38 | ||
39 | FILES:${PN} += "${systemd_user_unitdir}" | 39 | FILES:${PN} += "${systemd_user_unitdir}" |
40 | FILES:${PN}-python = "${PYTHON_SITEPACKAGES_DIR}/*" | 40 | FILES:${PN}-python = "${PYTHON_SITEPACKAGES_DIR}/*" |
41 | |||
42 | SYSTEMD_SERVICE:${PN} = "gstd.service" | ||