Files
Jean-Marc BOUCHE fd53a86d2c rtkit: missing files/directories in package
Fix the following error when building the recipe:
  Files/directories were installed but not shipped in any package:
  /lib
  /lib/systemd
  /lib/systemd/system
  /lib/systemd/system/rtkit-daemon.service

Signed-off-by: Jean-Marc BOUCHE <jean-marc.bouche@foss.st.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-09 09:52:14 -08:00

24 lines
749 B
BlitzBasic

DESCRIPTION = "REALTIMEKIT Realtime Policy and Watchdog Daemon"
LICENSE = "GPL-3.0-only & BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=a8e768468b658b3ed44971b53d4a6716"
SRC_URI = "git://github.com/heftig/rtkit.git;protocol=https;branch=master"
SRCREV = "b9169402fe5e82d20efb754509eb0b191f214599"
S = "${WORKDIR}/git"
inherit meson pkgconfig features_check useradd
REQUIRED_DISTRO_FEATURES = "polkit"
DEPENDS = "dbus libcap polkit xxd-native"
PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"
PACKAGECONFIG[systemd] = ",,systemd"
USERADD_PACKAGES = "${PN}"
USERADD_PARAM:${PN} = "--system --no-create-home --user-group --shell /bin/nologin rtkit"
FILES:${PN} += "${libdir} ${datadir} ${systemd_system_unitdir}"