All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel Kampert <kontakt@daniel-kampert.de>
To: "yocto@lists.yoctoproject.org" <yocto@lists.yoctoproject.org>
Subject: installs files in /var/volatile
Date: Sat, 1 Feb 2025 21:46:50 +0100 (CET)	[thread overview]
Message-ID: <2084383241.3521981.1738442810341@webmail.strato.de> (raw)

[-- Attachment #1: Type: text/plain, Size: 1700 bytes --]

Hi,
 
I´m building a layer to install wmbusmeters for Kirkstone and I run into this issue:
 
ERROR: wmbusmeters-1.18.0-r0 do_package_qa: QA Issue: wmbusmeters installs files in /var/volatile, but it is expected to be empty [empty-dirs]
 
What does it mean and where does it come from / how can I solve it? My recipe looks like this
 
inherit autotools-brokensep pkgconfig
DESCRIPTION = "The program acquires utility meter readings from wired m-bus or wireless wm-bus meters."
HOMEPAGE = "https://github.com/wmbusmeters/wmbusmeters"
LICENSE = "GPL-3.0-only"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-3.0-only;md5=c79ff39f19dfec6d293b95dea7b07891"
# The Makefile is stripping. Overwrite the "STRIP" variable in the Makefile and use the stripping from Yocto
EXTRA_OEMAKE += "STRIP=true"
CXXFLAGS += "-DLIBXML_DOCB_ENABLED"
SRC_URI = " \
file://0001-set-libxml2-cxxflags-by-pkg-config.patch \
git://github.com/wmbusmeters/wmbusmeters;protocol=https;branch=master \
"
# Use version 1.18.0
SRCREV = "2f2720d9d8e043304a366d11d933be9d535e17a5"
DEPENDS = "rtlsdr icu libxml2"
RDEPENDS:${PN} = "rtlsdr icu"
S = "${WORKDIR}/git"
FILES:${PN} = " etc \
var \
lib \
usr/bin \
usr/sbin \
${systemd_system_unitdir}/system/wmbusmeters.service \
"
SYSTEMD_SERVICE:${PN} = "wmbusmeters.service"
SYSTEMD_AUTO_ENABLE:${PN} = "enable"
 
Thanks for help!
 
Mit freundlichen Grüßen / With kind regards
 
Ing. Daniel Kampert, M. Sc.
Embedded Systems Solutions
Address: Hauptstr. 36 | 91469 Hagenbüchach | Deutschland
Phone: +49 (0)174 6932561
E-Mail: kontakt@daniel-kampert.de mailto:kontakt@daniel-kampert.de
Web: www.daniel-kampert.de https://www.daniel-kampert.de

[-- Attachment #2: Type: text/html, Size: 3473 bytes --]

             reply	other threads:[~2025-02-01 20:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-01 20:46 Daniel Kampert [this message]
2025-02-02 12:21 ` [yocto] installs files in /var/volatile Gyorgy Sarvari
2025-02-02 19:10   ` Daniel Kampert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2084383241.3521981.1738442810341@webmail.strato.de \
    --to=kontakt@daniel-kampert.de \
    --cc=yocto@lists.yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.