[oe-commits] [meta-openembedded] branch master-next updated: cpulimit: introduce support for this package
git at git.openembedded.org
git at git.openembedded.org
Sun Mar 10 06:01:01 UTC 2019
This is an automated email from the git hooks/post-receive script.
khem pushed a commit to branch master-next
in repository meta-openembedded.
The following commit(s) were added to refs/heads/master-next by this push:
new af13f5f cpulimit: introduce support for this package
af13f5f is described below
commit af13f5f9e18035e2035a35d4e5bdd38be3d93698
Author: Bassem Boubaker <bassem.boubaker at actia.fr>
AuthorDate: Sat Mar 9 00:44:20 2019 +0000
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 <marlonx80 at hotmail.com>.
Signed-off-by: Bassem Boubaker <bassem.boubaker at actia.fr>
Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
meta-oe/recipes-support/cpulimit/cpulimit_0.2.bb | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/meta-oe/recipes-support/cpulimit/cpulimit_0.2.bb b/meta-oe/recipes-support/cpulimit/cpulimit_0.2.bb
new file mode 100644
index 0000000..2ac82b8
--- /dev/null
+++ b/meta-oe/recipes-support/cpulimit/cpulimit_0.2.bb
@@ -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://git@github.com/opsengine/cpulimit.git;protocol=https"
+
+S = "${WORKDIR}/git"
+
+inherit autotools
+
+do_install() {
+ install -d ${D}${sbindir}
+ install -m 0755 ${B}/src/${PN} ${D}${sbindir}/
+}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list