Jackie Huang 0637f19279 worker-utils: update for stx 5.0
* remove 0001-cpumap_functions.sh-fix-perl-experimental-feature-is.patch
  since it's already in upstream.

Story: 2008952
Task: 42576

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I2d778991858d8cc6069208bd9cd39f1d78fcd0c8
2021-07-23 15:27:38 +08:00

33 lines
928 B
BlitzBasic

DESCRIPTION = "Initial worker node resource reservation and misc. utilities"
SUMMARY = "dynamic MOTD generation"
require utilities-common.inc
SUBPATH0 = "utilities/worker-utils/worker-utils"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
SRC_URI += " \
file://0001-worker-utils-account-for-distro-PATH-differeces.patch;striplevel=4 \
"
RDEPENDS_${PN}_append = " perl systemd python bash"
DEPENDS += " python"
inherit python-dir systemd
DISTRO_FEATURES_BACKFILL_CONSIDERED_remove = "sysvinit"
SYSTEMD_PACKAGES += "${PN}"
SYSTEMD_SERVICE_${PN} = " affine-tasks.service affine-platform.sh.service"
do_configure[noexec] = "1"
do_install() {
oe_runmake install \
BINDIR=${D}/${bindir} \
INITDDIR=${D}/${sysconfdir}/init.d \
GOENABLEDDIR=${D}/${sysconfdir}/goenabled.d \
PLATFORMCONFDIR=${D}/${sysconfdir}/platform \
SYSTEMDDIR=${D}/${systemd_system_unitdir}
}