<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openembedded-core.git/meta/classes/package.bbclass, branch master</title>
<subtitle></subtitle>
<id>https://trygvis.io/git/2012/05/openembedded-core.git/atom?h=master</id>
<link rel='self' href='https://trygvis.io/git/2012/05/openembedded-core.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://trygvis.io/git/2012/05/openembedded-core.git/'/>
<updated>2012-05-18T14:22:22Z</updated>
<entry>
<title>(libc-)package.bbclass: Added MLPREFIX to locale packages.</title>
<updated>2012-05-18T14:22:22Z</updated>
<author>
<name>Lianhao Lu</name>
<email>lianhao.lu@intel.com</email>
</author>
<published>2012-05-18T14:18:11Z</published>
<link rel='alternate' type='text/html' href='https://trygvis.io/git/2012/05/openembedded-core.git/commit/?id=a52f7cf2cc90d918e3250c410995dcc1f3bfd5ee'/>
<id>urn:sha1:a52f7cf2cc90d918e3250c410995dcc1f3bfd5ee</id>
<content type='text'>
Added multilib prefix to the locale related package names/dependencies.

Signed-off-by: Lianhao Lu &lt;lianhao.lu@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>package.bbclass: Drop dubious use of packages[0] from do_split_packages and do_split_locales</title>
<updated>2012-05-12T10:23:19Z</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2012-05-12T10:10:33Z</published>
<link rel='alternate' type='text/html' href='https://trygvis.io/git/2012/05/openembedded-core.git/commit/?id=5d0144fe6bd1febc2d1e651bbcff891c80f20b88'/>
<id>urn:sha1:5d0144fe6bd1febc2d1e651bbcff891c80f20b88</id>
<content type='text'>
As the comment says, using packages[0] is rather broken and can be incorrect,
as demonstrated by the recent gdk-pixbuf change. Replacing it with PN is
a bit more correct and more likely to do what was originally intended
by this function.

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>package.bbclass: Drop EXPORT_FUNCTIONS use against mapping_rename_hook</title>
<updated>2012-05-11T17:03:26Z</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2012-05-10T08:24:22Z</published>
<link rel='alternate' type='text/html' href='https://trygvis.io/git/2012/05/openembedded-core.git/commit/?id=74daad03ca29a03b0005f7d2b90a0347d5b583a5'/>
<id>urn:sha1:74daad03ca29a03b0005f7d2b90a0347d5b583a5</id>
<content type='text'>
The usage of this function renaming and it being called using
bb.build.exec_func() causes needless indirection loops, confusing log
files and seems generally pointless.

This simplification makes the process much simpler and faster. I can't
come up with a good reason why the export_functions functionality is
needed for this function.

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>package.bbclass: Ensure kernel modules get stripped</title>
<updated>2012-04-22T14:43:01Z</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2012-04-19T12:17:57Z</published>
<link rel='alternate' type='text/html' href='https://trygvis.io/git/2012/05/openembedded-core.git/commit/?id=00b0a5f2f51bb3f88bbb9ae558c2859e3c1c406c'/>
<id>urn:sha1:00b0a5f2f51bb3f88bbb9ae558c2859e3c1c406c</id>
<content type='text'>
Kernel modules are not marked as executable but we do expect to strip them.
This patch adds in missing code to ensure we do this. Without this images
are getting sigificantly bloated in size.

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>"The suite of statements in a function definition executes with a local namespace</title>
<updated>2012-04-11T11:55:22Z</updated>
<author>
<name>Andrei Gherzan</name>
<email>andrei@gherzan.ro</email>
</author>
<published>2012-04-11T11:55:22Z</published>
<link rel='alternate' type='text/html' href='https://trygvis.io/git/2012/05/openembedded-core.git/commit/?id=6d39af4f85220f20bad09b0fdd3ee0a7ec19c12d'/>
<id>urn:sha1:6d39af4f85220f20bad09b0fdd3ee0a7ec19c12d</id>
<content type='text'>
that is different from the global namespace. This means that all variables created
within a function are local to that function. When the suite finishes, these
working variables are discarded."

In this way the needs_ldconfig variable in linux_so never gets True in the statements
below this function. As global statement is generally discouraged, a return value
would be a clean and fast way to solve this issue.

[YOCTO #2205]

RP: Added logic to ensure the value doesn't get overwritten once set
Signed-off-by: Andrei Gherzan &lt;andrei@gherzan.ro&gt;---
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>Various typoes fixed, all comments or output strings.</title>
<updated>2012-03-26T11:04:52Z</updated>
<author>
<name>Robert P. J. Day</name>
<email>rpjday@crashcourse.ca</email>
</author>
<published>2012-03-25T11:46:15Z</published>
<link rel='alternate' type='text/html' href='https://trygvis.io/git/2012/05/openembedded-core.git/commit/?id=17e981a857a51b0bec08c929e8539d36d83874b6'/>
<id>urn:sha1:17e981a857a51b0bec08c929e8539d36d83874b6</id>
<content type='text'>
Typoes fixed: "enviroment", "editted", "spliting", "scheulder".

Signed-off-by: Robert P. J. Day &lt;rpjday@crashcourse.ca&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>INCOMPATIBLE_LICENSE: support for spdx and pkg licenses</title>
<updated>2012-03-25T10:08:38Z</updated>
<author>
<name>Elizabeth Flanagan</name>
<email>elizabeth.flanagan@intel.com</email>
</author>
<published>2012-03-23T23:51:42Z</published>
<link rel='alternate' type='text/html' href='https://trygvis.io/git/2012/05/openembedded-core.git/commit/?id=a8d7246f7b13ef2636c325263c8bfa22552d7a57'/>
<id>urn:sha1:a8d7246f7b13ef2636c325263c8bfa22552d7a57</id>
<content type='text'>
This adds a few things to the incompatible license functionality

1. INCOMPATIBLE_LICENSE was unable to distinguish any variation
within LICENSE (e.g. GPLv3 v. GPLv3.0). This now utilizes the
SPDXLICENSEMAP of the license indicated as INCOMPATIBLE_LICENSE

2. Given a recipe where the main LICENSE was incompatible but
a package of the recipe was compatible, the entire recipe would
be excluded. This allows us some finer grained control over what
exactly gets excluded.

Signed-off-by: Elizabeth Flanagan &lt;elizabeth.flanagan@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>package.bbclass: do not split debug pkg when no debugsources.list</title>
<updated>2012-03-14T13:14:27Z</updated>
<author>
<name>Robert Yang</name>
<email>liezhi.yang@windriver.com</email>
</author>
<published>2012-03-14T07:16:03Z</published>
<link rel='alternate' type='text/html' href='https://trygvis.io/git/2012/05/openembedded-core.git/commit/?id=f88e3f420b4e95ab5ba4a075df8ed65b817f8b45'/>
<id>urn:sha1:f88e3f420b4e95ab5ba4a075df8ed65b817f8b45</id>
<content type='text'>
We don't have to split the debug pkg if it is null (No debugsources.list
since the find-debuginfo.sh would not generate it for the null pkg).

Serval pkg's debug pkg is null, and there were a few errors: (53 pkgs
had such errors in a core-image-sato build):

log.do_package:sort: open failed: debugsources.list: No such file or directory

[YOCTO #2076]

Signed-off-by: Robert Yang &lt;liezhi.yang@windriver.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>package.bbclass: sort dynamically generated packages</title>
<updated>2012-03-13T11:44:46Z</updated>
<author>
<name>Andreas Oberritter</name>
<email>obi@opendreambox.org</email>
</author>
<published>2012-03-09T21:34:40Z</published>
<link rel='alternate' type='text/html' href='https://trygvis.io/git/2012/05/openembedded-core.git/commit/?id=76f46391239d3e123cfde900c52ca12ac73fd84f'/>
<id>urn:sha1:76f46391239d3e123cfde900c52ca12ac73fd84f</id>
<content type='text'>
* do_split_packages and package_do_split_locales dynamically add
  packages in order of appearance of os.walk() or os.listdir().
  This order varies between multiple build hosts (and probably
  also between successive builds).
* Sort the list of dynamically added packages, to get a consistent
  and reproducible order.
* This reduces the diffs in buildhistory and improves
  comparability between builds.

Signed-off-by: Andreas Oberritter &lt;obi@opendreambox.org&gt;
</content>
</entry>
<entry>
<title>package.bbclass: Drop python depends from rpmdeps</title>
<updated>2012-03-11T18:26:21Z</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2012-03-11T18:26:15Z</published>
<link rel='alternate' type='text/html' href='https://trygvis.io/git/2012/05/openembedded-core.git/commit/?id=5c8ad2638baac0501cecf38f8d3e8467d56afb8a'/>
<id>urn:sha1:5c8ad2638baac0501cecf38f8d3e8467d56afb8a</id>
<content type='text'>
This python depends is added by rpmdeps every time it finds a python
script. This is not necessary since we handle this in otherways. It
also breaks things like nativesdk since the dependency is not renamed.
The easiest solution is just to ignore this dependency.

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