diff options
author | Khem Raj <raj.khem@gmail.com> | 2021-11-03 23:10:30 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2021-11-04 06:52:51 -0700 |
commit | 3473d942743b7dc2b1d82bf5d3398416e7db6f88 (patch) | |
tree | c88fcfff07bbd2d9e8229a5e1337db3762cc9a59 /meta-multimedia | |
parent | 62386145de5e3bb11a6ca80c0053521038a9578d (diff) | |
download | meta-openembedded-contrib-3473d942743b7dc2b1d82bf5d3398416e7db6f88.tar.gz |
gstd: Remove empty /var/volatile/log
This dir is created at runtime via systemd-tmpfiles
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-multimedia')
-rw-r--r-- | meta-multimedia/recipes-multimedia/gstreamer-1.0/gstd_git.bb | 4 |
1 files changed, 3 insertions, 1 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 5ea104ddbc..d37ab986c0 100644 --- a/meta-multimedia/recipes-multimedia/gstreamer-1.0/gstd_git.bb +++ b/meta-multimedia/recipes-multimedia/gstreamer-1.0/gstd_git.bb @@ -20,7 +20,9 @@ PV = "1.0+really0.8.0" inherit autotools pkgconfig gettext gtk-doc do_install:append() { - rm -fr ${D}${localstatedir}/run ${D}/run ${D}${bindir}/gst-client ${D}${bindir}/gstd-client + rmdir ${D}${localstatedir}/run/${BPN} ${D}${localstatedir}/run \ + ${D}${localstatedir}/log/${BPN} ${D}${localstatedir}/log + rm -f ${D}${bindir}/gst-client ${D}${bindir}/gstd-client if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then install -d ${D}${sysconfdir}/tmpfiles.d echo "d /run/${BPN} - - - -" \ |