From: Khem Raj <raj.khem@gmail.com>
To: BOUBAKER Bassem <bassem.boubaker@actia.fr>
Cc: "openembedded-devel@lists.openembedded.org"
<openembedded-devel@lists.openembedded.org>
Subject: Re: [meta-oe][PATCH v2] cpulimit: introduce support for this package
Date: Thu, 14 Mar 2019 07:23:40 -0700 [thread overview]
Message-ID: <CAMKF1soLu4w=V1N4q_VFiU3oywZGGz=FWWWao31g7_hHaW87Nw@mail.gmail.com> (raw)
In-Reply-To: <20190311202038.GB15019@bboubake>
musl build fails.
https://errors.yoctoproject.org/Errors/Details/232895/
On Mon, Mar 11, 2019 at 10:30 PM BOUBAKER Bassem via
Openembedded-devel <openembedded-devel@lists.openembedded.org> wrote:
>
> On Monday 11 Mar 2019 à 21:11:36 (+0100), BOUBAKER Bassem wrote:
> > * 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@hotmail.com>.
> >
> > Signed-off-by: Bassem Boubaker <bassem.boubaker@actia.fr>
> > ---
> > meta-oe/recipes-support/cpulimit/cpulimit_0.2.bb | 19 +++++++++++++++++++
> > 1 file changed, 19 insertions(+)
> > create mode 100644 meta-oe/recipes-support/cpulimit/cpulimit_0.2.bb
> >
> > 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..8eaa928
> > --- /dev/null
> > +++ b/meta-oe/recipes-support/cpulimit/cpulimit_0.2.bb
> > @@ -0,0 +1,19 @@
> > +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"
> > +
> > +do_compile() {
> > + oe_runmake all
> > +}
> > +do_install() {
> > + install -d ${D}${sbindir}
> > + install -m 0755 ${B}/src/${PN} ${D}${sbindir}/
> > +}
> > +
> > +CFLAGS += "${LDFLAGS}"
>
> oooups didn't see it. will be fixed
> > \ No newline at end of file
>
> > --
> > 2.7.4
> >
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
prev parent reply other threads:[~2019-03-14 14:24 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-11 20:11 [meta-oe][PATCH v2] cpulimit: introduce support for this package BOUBAKER Bassem
2019-03-11 20:20 ` BOUBAKER Bassem
2019-03-14 14:23 ` Khem Raj [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAMKF1soLu4w=V1N4q_VFiU3oywZGGz=FWWWao31g7_hHaW87Nw@mail.gmail.com' \
--to=raj.khem@gmail.com \
--cc=bassem.boubaker@actia.fr \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.