Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -4,32 +4,30 @@ DESCRIPTION = "Userspace Resource Manager(URM) is a lightweight userspace \
daemon that monitors system resources and enforces policies using \
Linux kernel interfaces such as cgroups and sysfs."

LICENSE = "BSD-3-Clause-Clear"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=2998c54c288b081076c9af987bdf4838"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=9701d0ef17353f1d05d7b74c8712ebbd"

SRC_URI = "git://github.com/qualcomm/userspace-resource-manager.git;protocol=https;branch=main;tag=v${PV}"
SRCREV = "58375d896a828e47504b2770131a8357e1341dd1"
SRCREV = "21380f4c0150d2df2eef2e1e45338fbe9438a1a4"

inherit cmake pkgconfig systemd

DEPENDS += "libyaml"

PACKAGECONFIG ??= "\
classifier \
extensions \
${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'state-detector systemd', '', d)} \
tests \
"

PACKAGECONFIG[classifier] = "-DBUILD_CLASSIFIER=ON,-DBUILD_CLASSIFIER=OFF"
PACKAGECONFIG[extensions] = "-DBUILD_EXTENSIONS=ON,-DBUILD_EXTENSIONS=OFF"
Comment thread
lumag marked this conversation as resolved.
PACKAGECONFIG[state-detector] = "-DBUILD_STATE_DETECTOR=ON,-DBUILD_STATE_DETECTOR=OFF"
PACKAGECONFIG[systemd] = ",,systemd"
PACKAGECONFIG[tests] = "-DBUILD_TESTS=ON,-DBUILD_TESTS=OFF"

SYSTEMD_SERVICE:${PN} = "urm.service"
FILES:${PN}-dev += " \
${libdir}/urm/libUrmTestPlugin.so \
${libdir}/urm/libUrmTestPlugin.so \
${libdir}/urm/libUrmPlugin.so \
"

Expand All @@ -38,13 +36,14 @@ FILES:${PN} += "${sysconfdir}/urm/*"
PACKAGE_BEFORE_PN += "${PN}-extensions"
FILES:${PN}-extensions += " \
${sysconfdir}/urm/target/* \
${sysconfdir}/urm/initscripts/post_boot/* \
${libexecdir}/urm/initscripts/post_boot/* \
${libdir}/urm/libUrmPlugin.so* \
"

PACKAGE_BEFORE_PN += "${PN}-tests"
FILES:${PN}-tests += " \
${sysconfdir}/urm/tests/* \
${datadir}/urm/tests/configs/* \
${datadir}/urm/tests/nodes/* \
${bindir}/UrmComponentTests \
${bindir}/UrmIntegrationTests \
${libdir}/libRestuneTestUtils.so* \
Expand Down
Loading