summaryrefslogtreecommitdiffstats
path: root/recipes-enea/partrt/partrt_1.1.bb
blob: 4509002b8d77990d6263b4be6f7df7a22e130aa1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
SUMMARY = "CPU partitioning tool"
DESCRIPTION = "partrt is a tool for dividing a SMP Linux system into a real time domain and a non-real time domain."
SECTION = "utils"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://LICENSE;md5=b52bab7a403562f36be803f11489f1a4"

RDEPENDS_${PN} = "bash bitcalc"
RDEPENDS_${PN}-ptest += "python3"

SRC_URI = "git://github.com/OpenEneaLinux/rt-tools.git;branch=master \
           file://run-ptest \
           "

SRCREV = "a96dcc47f327a990afaf75911183b1631367609c"

inherit ptest

S = "${WORKDIR}/git"

do_install() {
        install -m 0755 -D ${S}/partrt/partrt ${D}${bindir}/partrt
}

do_install_ptest() {
        install ${S}/partrt/test/test_partition.py ${D}${PTEST_PATH}
        sed -i s/target/${MACHINE}/ ${D}${PTEST_PATH}/run-ptest
}