mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-09-30 07:36:13 +00:00
gstd: correctly delete files in do_install
gstd always installs these in /usr, so root_prefix would work only if usrmerge is in DISTRO_FEATURES. Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
d595b18e46
commit
026721909a
@ -20,9 +20,9 @@ GTKDOC_MESON_OPTION = "enable-gtk-doc"
|
|||||||
inherit meson pkgconfig gettext gtk-doc 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}${exec_prefix}${localstatedir}/run/${BPN} ${D}${exec_prefix}${localstatedir}/run \
|
||||||
${D}${root_prefix}${localstatedir}/log/${BPN} ${D}${root_prefix}${localstatedir}/log \
|
${D}${exec_prefix}${localstatedir}/log/${BPN} ${D}${exec_prefix}${localstatedir}/log \
|
||||||
${D}${root_prefix}${localstatedir}
|
${D}${exec_prefix}${localstatedir}
|
||||||
rm -f ${D}${bindir}/gst-client ${D}${bindir}/gstd-client
|
rm -f ${D}${bindir}/gst-client ${D}${bindir}/gstd-client
|
||||||
if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then
|
if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then
|
||||||
install -d ${D}${sysconfdir}/tmpfiles.d
|
install -d ${D}${sysconfdir}/tmpfiles.d
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user