<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/poky.git/meta/classes/utils.bbclass, branch yocto-4.0.12</title>
<subtitle>Mirror of git.yoctoproject.org/poky</subtitle>
<id>https://git.enea.com/cgit/linux/poky.git/atom?h=yocto-4.0.12</id>
<link rel='self' href='https://git.enea.com/cgit/linux/poky.git/atom?h=yocto-4.0.12'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/'/>
<updated>2021-09-07T20:54:11+00:00</updated>
<entry>
<title>utils: Drop obsolete oe_machinstall function</title>
<updated>2021-09-07T20:54:11+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2021-09-06T08:57:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=23d95eb65604bc05a730a461bafe26594bbe5e46'/>
<id>urn:sha1:23d95eb65604bc05a730a461bafe26594bbe5e46</id>
<content type='text'>
This function does something similar to the bitbake fetcher file search
paths and is an old remnant of how this could have once been handled. There
are no users in OE-Core and we'd always prefer the fetcher to handle this now
as it handles signatures correctly. The direct OVERRIDES reference would
likely break any user of the function. Remove it to be safe and ensure it
isn't being used anywhere.

(From OE-Core rev: d49ba0243e3d28672d16cd02753eb7e85d91bbab)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>utils: Drop unused variable staging_install from oe_libinstall</title>
<updated>2021-09-07T20:54:11+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2021-09-06T08:55:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=8914bc77b4381793ee3b144b22b1f46215a37d31'/>
<id>urn:sha1:8914bc77b4381793ee3b144b22b1f46215a37d31</id>
<content type='text'>
Remove unused variable/code.

(From OE-Core rev: 76ade5a2a55eda2975dfa5d6a30ac4cb74421567)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>utils: Reduce the number of calls to the "dirname" command</title>
<updated>2021-08-22T21:21:47+00:00</updated>
<author>
<name>Oleksandr Popovych</name>
<email>opopovyc@cisco.com</email>
</author>
<published>2021-08-20T12:41:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=a0268e0d4ff6ac123a581b006af96fc9aa3dcf96'/>
<id>urn:sha1:a0268e0d4ff6ac123a581b006af96fc9aa3dcf96</id>
<content type='text'>
utils.bbclass contains create_cmdline_wrapper() function that
creates wrapper script with additional arguments for any passed
"$cmd" command, and uses several calls to "dirname".

Because "dirname" is an external command, in cases of lots of
calls to wrapped "$cmd", each call of "dirname" will incur
significant overhead.

There are three same calls to "dirname": one for saving it`s
output to "realdir" variable, and other two in "exec" command.
So last two "dirname" calls can be replaced with cached value
from "realdir" variable.

(From OE-Core rev: 4b9cf2c80fd14386e0b88a2e6c40a9fa3f1ae0f7)

Signed-off-by: Oleksandr Popovych &lt;opopovyc@cisco.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>utils: Drop is_machine_specific()/machine_paths()</title>
<updated>2020-05-05T12:19:55+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2020-05-04T15:52:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=e568c8ec2af7157cfb7faa5fd8778a2e991f3d45'/>
<id>urn:sha1:e568c8ec2af7157cfb7faa5fd8778a2e991f3d45</id>
<content type='text'>
There appear to be no users of these in OE-Core and their functionality
is questionable at best too. Probably safest to remove them entirely
at this point.

(From OE-Core rev: 03c5cfd7611c88ce82d16619a49e3ea9fa7385d8)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>utils: Drop FILESPATHPKG usage</title>
<updated>2020-05-05T12:19:55+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2020-05-04T15:48:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=2457c6c8860faaf1a2e68b03db98272f424bbe1f'/>
<id>urn:sha1:2457c6c8860faaf1a2e68b03db98272f424bbe1f</id>
<content type='text'>
Nothing in OE-Core uses this and its been deprecated for some time. Remove
the last reference to it.

(From OE-Core rev: 5b27c2f58fa45a55199c08ef219e3b41a09d2fe4)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>utils: Fix create_wrapper</title>
<updated>2019-03-06T23:12:27+00:00</updated>
<author>
<name>Achille Fouilleul</name>
<email>achille.fouilleul@gadz.org</email>
</author>
<published>2019-03-06T15:32:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=739c9a69cacc499cab0a4f98de16170b56983305'/>
<id>urn:sha1:739c9a69cacc499cab0a4f98de16170b56983305</id>
<content type='text'>
Wrappers generated by create_wrapper do not work properly:
python, for example, looks at argv[0] to know if it is
running from a virtualenv. Because the wrapper replaces
argv[0] with python's canonical path, python cannot tell
whether it has been invoked directly or from a virtualenv
symlink.

This change makes the wrapper pass the original argv[0] down
to the real command.

(From OE-Core rev: 791e5bfcb449024f295a4f8f507c1012cff76f9d)

Signed-off-by: Achille Fouilleul &lt;achille.fouilleul@gadz.org&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>utils.bbclass: fix KeyError exception</title>
<updated>2018-08-24T06:53:14+00:00</updated>
<author>
<name>Chen Qi</name>
<email>Qi.Chen@windriver.com</email>
</author>
<published>2018-08-24T03:46:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=34ec08dc283590a25215689f41379412a6293668'/>
<id>urn:sha1:34ec08dc283590a25215689f41379412a6293668</id>
<content type='text'>
The following statement was accidently removed. Add it back.

  values['ml'] = ['']

This patch fixes the following error.

  Exception: KeyError: 'ml'

(From OE-Core rev: 0791c4d39edbedaa493a9fc6aa6e7415f14980bb)

Signed-off-by: Chen Qi &lt;Qi.Chen@windriver.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>utils: Fix patch merging error</title>
<updated>2018-08-23T16:58:59+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2018-08-23T11:54:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=00b360c75bfcdc7f2b51ebd07e294b9912de9ded'/>
<id>urn:sha1:00b360c75bfcdc7f2b51ebd07e294b9912de9ded</id>
<content type='text'>
The previous patch has duplicate split calls and one needs to be removed
to avoid failures

(From OE-Core rev: 02c8d048cbab38a48f698504d0f5e912d3d24a36)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>utils: Rely on get_multilib_datastore() to get the original datastore</title>
<updated>2018-08-23T16:58:59+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2018-08-22T17:01:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=99d40ac0920760ec3b8d2dc5ab1ceaa89096ae29'/>
<id>urn:sha1:99d40ac0920760ec3b8d2dc5ab1ceaa89096ae29</id>
<content type='text'>
get_multilib_datastore() should be able to handle the original datastore
correctly now so rely upon this rather than custom coding.

(From OE-Core rev: 2ae85af480066e252fca01f3005ecac2ff37a8d4)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>classes/utils: Improve all_multilib_tune_values</title>
<updated>2018-07-02T20:37:47+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2018-07-02T08:59:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=29353297b508881451b8e97f7d1db2eadaa653f6'/>
<id>urn:sha1:29353297b508881451b8e97f7d1db2eadaa653f6</id>
<content type='text'>
Currently there is duplication in the code, we can clean this up
by extending the multilib variants list.

This code also currently fails its its called from an existing multilib
context since its assumes the data store passed in is the non-multilib
case. When building an image, say lib32-core-image-sato, this leads to
incorrect PATH values.

To fix this, we also request a data store for the "" variant allowing
this corner case to be fixed and for the function to correctly return
values for each multilib even when a multilib is already selected.

(From OE-Core rev: cc1c481560b81c223170230430308c7e2f08c812)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
</feed>
