cpulimit: introduce support for this package
PATCH 1/1 cpulimit: introduce support for this package
* Now, cpulimit recipe is put under recipes-support. Binary will be installed by the recipe under /usr/sbin
# cpulimit -h
Usage: cpulimit [OPTIONS...] TARGET
OPTIONS
-l, --limit=N percentage of cpu allowed from 0 to 100 (required)
-v, --verbose show control statistics
-z, --lazy exit if there is no target process, or if it dies
-i, --include-children limit also the children processes
-h, --help display this help and exit
TARGET must be exactly one of these:
-p, --pid=N pid of the process (implies -z)
-e, --exe=FILE name of the executable program file or path name
COMMAND [ARGS] run this command and limit it (implies -z)
Report bugs to <[email protected]>.
--- meta-oe/recipes-support/cpulimit/cpulimit_0.2.bb | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 meta-oe/recipes-support/cpulimit/cpulimit_0.2.bb
meta-oe/recipes-support/cpulimit/cpulimit_0.2.bb new file +16 -0
@@ -0,0 +1,16 @@ +SUMMARY = "cpulimit is a tool which limits the CPU usage of a process" +HOMEPAGE = "http://cpulimit.sourceforge.net" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://LICENSE;md5=86c1c0d961a437e529db93aa3bb32dc4" +SRCREV ?= "f4d2682804931e7aea02a869137344bb5452a3cd" + +SRC_URI = "git://[email protected]/opsengine/cpulimit.git;protocol=https" + +S = "${WORKDIR}/git" + +inherit autotools + +do_install() { + install -d ${D}${sbindir} + install -m 0755 ${B}/src/${PN} ${D}${sbindir}/ +}
Signature · 1 line
2.7.4
fails to build
https://errors.yoctoproject.org/Errors/Details/232382/
Quoted 54 lines · BOUBAKER Bassem via Openembedded-devel
* Now, cpulimit recipe is put under recipes-support. Binary will be installed by the recipe under
/usr/sbin# cpulimit -h
Usage: cpulimit [OPTIONS...] TARGET
OPTIONS
-l, --limit=N percentage of cpu allowed from 0 to 100 (required)
-v, --verbose show control statistics
-z, --lazy exit if there is no target process, or if it dies
-i, --include-children limit also the children processes
-h, --help display this help and exit
TARGET must be exactly one of these:
-p, --pid=N pid of the process (implies -z)
-e, --exe=FILE name of the executable program file or path name
COMMAND [ARGS] run this command and limit it (implies -z)Report bugs to <[email protected]>.
Signed-off-by Bassem Boubaker <[email protected]>--- meta-oe/recipes-support/cpulimit/cpulimit_0.2.bb | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 meta-oe/recipes-support/cpulimit/cpulimit_0.2.bbmeta-oe/recipes-support/cpulimit/cpulimit_0.2.bb new file +16
-1@@ -0,0 +1,16 @@ +SUMMARY = "cpulimit is a tool which limits the CPU usage of a process" +HOMEPAGE = "http://cpulimit.sourceforge.net" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://LICENSE;md5=86c1c0d961a437e529db93aa3bb32dc4" +SRCREV ?= "f4d2682804931e7aea02a869137344bb5452a3cd" + +SRC_URI = "git://[email protected]/opsengine/cpulimit.git;protocol=https" + +S = "${WORKDIR}/git" + +inherit autotools + +do_install() { + install -d ${D}${sbindir} + install -m 0755 ${B}/src/${PN} ${D}${sbindir}/ +} --2.7.4
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Quoted 1 line · BOUBAKER Bassem via Openembedded-devel
+inherit autotools
Upstream isn't autotools, so don't inherit autotools.
Ross