All of lore.kernel.org
 help / color / mirror / Atom feed
* installs files in /var/volatile
@ 2025-02-01 20:46 Daniel Kampert
  2025-02-02 12:21 ` [yocto] " Gyorgy Sarvari
  0 siblings, 1 reply; 3+ messages in thread
From: Daniel Kampert @ 2025-02-01 20:46 UTC (permalink / raw)
  To: yocto@lists.yoctoproject.org

[-- 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 --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-02-02 19:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-01 20:46 installs files in /var/volatile Daniel Kampert
2025-02-02 12:21 ` [yocto] " Gyorgy Sarvari
2025-02-02 19:10   ` Daniel Kampert

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.