mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-05-09 05:49:23 +00:00
gstd: Remove empty /var/volatile/log
This dir is created at runtime via systemd-tmpfiles Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -20,7 +20,9 @@ PV = "1.0+really0.8.0"
|
|||||||
inherit autotools pkgconfig gettext gtk-doc
|
inherit autotools pkgconfig gettext gtk-doc
|
||||||
|
|
||||||
do_install:append() {
|
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
|
if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then
|
||||||
install -d ${D}${sysconfdir}/tmpfiles.d
|
install -d ${D}${sysconfdir}/tmpfiles.d
|
||||||
echo "d /run/${BPN} - - - -" \
|
echo "d /run/${BPN} - - - -" \
|
||||||
|
|||||||
Reference in New Issue
Block a user