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 | |
| parent | 62386145de5e3bb11a6ca80c0053521038a9578d (diff) | |
| download | meta-openembedded-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>
| -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" | |||
| 20 | inherit autotools pkgconfig gettext gtk-doc | 20 | inherit autotools pkgconfig gettext gtk-doc |
| 21 | 21 | ||
| 22 | do_install:append() { | 22 | do_install:append() { |
| 23 | rm -fr ${D}${localstatedir}/run ${D}/run ${D}${bindir}/gst-client ${D}${bindir}/gstd-client | 23 | rmdir ${D}${localstatedir}/run/${BPN} ${D}${localstatedir}/run \ |
| 24 | ${D}${localstatedir}/log/${BPN} ${D}${localstatedir}/log | ||
| 25 | rm -f ${D}${bindir}/gst-client ${D}${bindir}/gstd-client | ||
| 24 | if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then | 26 | if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then |
| 25 | install -d ${D}${sysconfdir}/tmpfiles.d | 27 | install -d ${D}${sysconfdir}/tmpfiles.d |
| 26 | echo "d /run/${BPN} - - - -" \ | 28 | echo "d /run/${BPN} - - - -" \ |
