Files
meta-openembedded/meta-oe/recipes-support/driverctl/driverctl_0.115.bb
T
Martin Jansa 079cd908fc driverctl: fix installed-vs-shipped
* introduced in upgrade to 0.115 version:
  https://git.openembedded.org/meta-openembedded/commit/?id=1f2c2ebcbcf5944225462f530e0d56b20f1b4630

* fixes:
ERROR: driverctl-0.115-r0 do_package: QA Issue: driverctl: Files/directories were installed but not shipped in any package:
  /usr/lib/systemd
  /usr/lib/systemd/system
  /usr/lib/systemd/system/driverctl@.service
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
driverctl: 3 installed and not shipped files. [installed-vs-shipped]

  when systemd_system_unitdir isn't subdirectory of libdir, e.g. with multilib using:
  export libdir="/usr/lib64"
  export systemd_system_unitdir="/usr/lib/systemd/system"

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-12-29 09:04:23 -08:00

27 lines
605 B
BlitzBasic

SUMMARY = "driverctl is a device driver control utility for Linux"
LICENSE = "LGPL-2.1-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
REQUIRED_DISTRO_FEATURES = "systemd"
DEPENDS = "systemd"
RDEPENDS:${PN} += "bash bash-completion"
SRC_URI = "git://gitlab.com/driverctl/driverctl.git;branch=master;protocol=https"
SRCREV = "2ba60536eb20ca0a6a751bd8b6501dba84ec45d3"
S = "${WORKDIR}/git"
inherit pkgconfig systemd features_check
do_install () {
oe_runmake install DESTDIR=${D}
}
FILES:${PN} += " \
${libdir} \
${datadir} \
${systemd_system_unitdir} \
"