<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/meta-openembedded.git/meta-oe/recipes-support/cpulimit/cpulimit_0.2.bb, branch whinlatter</title>
<subtitle>Mirror of git.openembedded.org/meta-openembedded</subtitle>
<id>https://git.enea.com/cgit/linux/meta-openembedded.git/atom?h=whinlatter</id>
<link rel='self' href='https://git.enea.com/cgit/linux/meta-openembedded.git/atom?h=whinlatter'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/'/>
<updated>2025-06-25T13:44:52+00:00</updated>
<entry>
<title>meta-openembedded/all: adapt to UNPACKDIR changes</title>
<updated>2025-06-25T13:44:52+00:00</updated>
<author>
<name>Alexander Kanavin</name>
<email>alex@linutronix.de</email>
</author>
<published>2025-06-20T14:06:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=fc78d37ff0ce9e0d60455465851dbe4e86d7a8b3'/>
<id>urn:sha1:fc78d37ff0ce9e0d60455465851dbe4e86d7a8b3</id>
<content type='text'>
Please see
https://git.yoctoproject.org/poky/commit/?id=4dd321f8b83afecd962393101b2a6861275b5265
for what changes are needed, and sed commands that can be used to make them en masse.

I've verified that bitbake -c patch world works with these, but did not run a world
build; the majority of recipes shouldn't need further fixups, but if there are
some that still fall out, they can be fixed in followups.

Signed-off-by: Alexander Kanavin &lt;alex@linutronix.de&gt;
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>cpulimit: fix build with gcc-15</title>
<updated>2025-03-26T14:37:50+00:00</updated>
<author>
<name>mark.yang</name>
<email>mark.yang@lge.com</email>
</author>
<published>2025-03-26T07:34:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=1de4965018c57bba9b3040b6704c65ecc0cbd77c'/>
<id>urn:sha1:1de4965018c57bba9b3040b6704c65ecc0cbd77c</id>
<content type='text'>
* to fix: Error occurs in gcc 15.0.1 environment.
busy.c: In function 'main':
busy.c:20:58: error: passing argument 3 of 'pthread_create' from incompatible pointer type [-Wincompatible-pointer-types]
   20 |                 if ((ret = pthread_create(&amp;thread, NULL, loop, NULL)) != 0)
      |                                                          ^~~~
      |                                                          |
      |                                                          void * (*)(void)
In file included from busy.c:3:
recipe-sysroot/usr/include/pthread.h:204:36: note: expected 'void * (*)(void *)' but argument is of type 'void * (*)(void)'
  204 |                            void *(*__start_routine) (void *),
      |                            ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
busy.c:6:7: note: 'loop' declared here
    6 | void *loop()
      |       ^~~~

Signed-off-by: mark.yang &lt;mark.yang@lge.com&gt;
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>cpulimit: add DESCRIPTION field</title>
<updated>2023-10-26T16:02:04+00:00</updated>
<author>
<name>Gianfranco Costamagna</name>
<email>costamagna.gianfranco@gmail.com</email>
</author>
<published>2023-10-26T10:49:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=29b5633993955d5cb8024b17130d646db82adb7e'/>
<id>urn:sha1:29b5633993955d5cb8024b17130d646db82adb7e</id>
<content type='text'>
Signed-off-by: Gianfranco Costamagna &lt;costamagnagianfranco@yahoo.it&gt;
Signed-off-by: Gianfranco Costamagna &lt;locutusofborg@debian.org&gt;
Signed-off-by: Federico Briata &lt;federicobriata@gmail.com&gt;
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>cpulimit: fix do_install with multilib</title>
<updated>2023-05-04T04:24:55+00:00</updated>
<author>
<name>Martin Jansa</name>
<email>martin.jansa@gmail.com</email>
</author>
<published>2023-05-03T20:08:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=099476a72f4f931376c13e575a5acf32ce1db978'/>
<id>urn:sha1:099476a72f4f931376c13e575a5acf32ce1db978</id>
<content type='text'>
* fixes:
  DEBUG: Executing shell function do_install
  install: cannot stat 'TOPDIR/.../lib32-cpulimit/0.2-r0/git/src/lib32-cpulimit': No such file or directory
  WARNING: exit code 1 from a shell command.

* drop strange 'g...@' from SRC_URI

Signed-off-by: Martin Jansa &lt;Martin.Jansa@gmail.com&gt;
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>cpulimit: Define -D_GNU_SOURCE</title>
<updated>2022-08-23T16:55:28+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2022-08-23T06:20:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=ff62a99e18c7d755546f38a883d3821694355495'/>
<id>urn:sha1:ff62a99e18c7d755546f38a883d3821694355495</id>
<content type='text'>
This define is needed for getting memrchr() declaration

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>cpulimit: introduce support for this package</title>
<updated>2022-05-02T07:48:27+00:00</updated>
<author>
<name>Portia</name>
<email>stephensportia@gmail.com</email>
</author>
<published>2022-05-01T03:45:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=bc4448f4619b436ee0f66e2bdd37d42d65f75656'/>
<id>urn:sha1:bc4448f4619b436ee0f66e2bdd37d42d65f75656</id>
<content type='text'>
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 &lt;marlon...@hotmail.com&gt;.

Signed-off-by: Bassem Boubaker &lt;bassem.boubaker@actia.fr&gt;
[ Changes by Portia
 - Fix build issue, deprecated and missing includes
 - Add branch to git repo in SRC_URI
 - Update LICENSE to GPL-2.0-or-later
]
Signed-off-by: Portia &lt;stephensportia@gmail.com&gt;
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
</feed>
