mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-27 07:57:27 +00:00
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>
This commit is contained in:
@@ -17,7 +17,7 @@ PV = "1.0+really0.15.0"
|
|||||||
|
|
||||||
GTKDOC_MESON_OPTION = "enable-gtk-doc"
|
GTKDOC_MESON_OPTION = "enable-gtk-doc"
|
||||||
|
|
||||||
inherit meson pkgconfig gettext gtk-doc systemd python3native python3-dir python3targetconfig
|
inherit meson pkgconfig gettext gtk-doc python3native python3-dir python3targetconfig
|
||||||
|
|
||||||
do_install:append() {
|
do_install:append() {
|
||||||
rmdir ${D}${root_prefix}${localstatedir}/run/${BPN} ${D}${root_prefix}${localstatedir}/run \
|
rmdir ${D}${root_prefix}${localstatedir}/run/${BPN} ${D}${root_prefix}${localstatedir}/run \
|
||||||
@@ -28,7 +28,7 @@ do_install:append() {
|
|||||||
install -d ${D}${sysconfdir}/tmpfiles.d
|
install -d ${D}${sysconfdir}/tmpfiles.d
|
||||||
echo "d /run/${BPN} - - - -" \
|
echo "d /run/${BPN} - - - -" \
|
||||||
> ${D}${sysconfdir}/tmpfiles.d/${BPN}.conf
|
> ${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
|
>> ${D}${sysconfdir}/tmpfiles.d/${BPN}.conf
|
||||||
fi
|
fi
|
||||||
ln -sf gst-client-1.0 ${D}${bindir}/gst-client
|
ln -sf gst-client-1.0 ${D}${bindir}/gst-client
|
||||||
@@ -38,5 +38,3 @@ PACKAGES =+ "${PN}-python"
|
|||||||
|
|
||||||
FILES:${PN} += "${systemd_user_unitdir}"
|
FILES:${PN} += "${systemd_user_unitdir}"
|
||||||
FILES:${PN}-python = "${PYTHON_SITEPACKAGES_DIR}/*"
|
FILES:${PN}-python = "${PYTHON_SITEPACKAGES_DIR}/*"
|
||||||
|
|
||||||
SYSTEMD_SERVICE:${PN} = "gstd.service"
|
|
||||||
|
|||||||
Reference in New Issue
Block a user