<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openembedded-core.git/meta/classes/patch.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-04-24T14:51:35Z</updated>
<entry>
<title>quilt: move empty quiltrc to native sysconfdir</title>
<updated>2012-04-24T14:51:35Z</updated>
<author>
<name>Saul Wold</name>
<email>sgw@linux.intel.com</email>
</author>
<published>2012-04-19T22:11:01Z</published>
<link rel='alternate' type='text/html' href='https://trygvis.io/git/2012/05/openembedded-core.git/commit/?id=1af73900cea82e63fb0f94e6f057144f723146ec'/>
<id>urn:sha1:1af73900cea82e63fb0f94e6f057144f723146ec</id>
<content type='text'>
patch.bbclass orignally pointed at /usr/bin/quiltrc for an empty
version to ensure that no user setting were picked up, change this
to /etc/quiltrc in the Native sysroot since we now have a native
sysconfdir.

Make sure that the quiltrc is actually installed in the Native
sysconfdir, not the target, so fix this after the recipe split.

Signed-off-by: Saul Wold &lt;sgw@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>classes/patch: optionally return non-patch sources</title>
<updated>2012-02-03T16:51:30Z</updated>
<author>
<name>Bruce Ashfield</name>
<email>bruce.ashfield@windriver.com</email>
</author>
<published>2012-02-01T18:55:41Z</published>
<link rel='alternate' type='text/html' href='https://trygvis.io/git/2012/05/openembedded-core.git/commit/?id=41e92923a0b2fe047ecaa9f9ffb564d6069f784f'/>
<id>urn:sha1:41e92923a0b2fe047ecaa9f9ffb564d6069f784f</id>
<content type='text'>
commit:

  patch.bbclass: abstract out logic that determines patches to apply

gives the ability for other clases to emit series files for use outside
of a build system, or even within the build system. There are sometimes
elements on the SRC_URI that while not directly applicable to patching,
can be related to patching the package. For example, the yocto kernel
class would like to know about these other source items on the SRC_URI
to locate out of tree kernel features.

This change keeps the default behaviour of returning patches, but adds the
ability to request that non-patch results be returned.  Additional filtering
within the non-patch category, is left up to the caller of the routine.

Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@windriver.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>classes/patch: avoid backtrace when patch does not apply</title>
<updated>2012-01-19T14:32:04Z</updated>
<author>
<name>Paul Eggleton</name>
<email>paul.eggleton@linux.intel.com</email>
</author>
<published>2012-01-19T13:59:15Z</published>
<link rel='alternate' type='text/html' href='https://trygvis.io/git/2012/05/openembedded-core.git/commit/?id=ce6c80a1e68c2af0b4b5fa27582ad9c9f119e5c1'/>
<id>urn:sha1:ce6c80a1e68c2af0b4b5fa27582ad9c9f119e5c1</id>
<content type='text'>
We don't need to see a Python stack backtrace when a patch does not
apply, just the error output from patch, so trap these kinds of errors
and ensure that we display the message and fail the task and nothing
else.

Fixes [YOCTO #1143]

Signed-off-by: Paul Eggleton &lt;paul.eggleton@linux.intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>patch.bbclass: Ensure the DATE and SRCDATE variable exclusions apply to the correct function</title>
<updated>2012-01-13T16:56:20Z</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2012-01-13T16:23:26Z</published>
<link rel='alternate' type='text/html' href='https://trygvis.io/git/2012/05/openembedded-core.git/commit/?id=bd047935305c872b565f30b46c94b7077e5fb3a2'/>
<id>urn:sha1:bd047935305c872b565f30b46c94b7077e5fb3a2</id>
<content type='text'>
People have noticed that sstate is now getting invalidated very readily. The
issue is that the code using these variables was factored into a new function
but the variable exclusion was not. This patch moves the variable exclusion
to the correct place allowing the sstate checksums to work correctly.

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>patch.bbclass: abstract out logic that determines patches to apply</title>
<updated>2012-01-03T04:26:24Z</updated>
<author>
<name>Christopher Larson</name>
<email>chris_larson@mentor.com</email>
</author>
<published>2011-12-27T17:27:39Z</published>
<link rel='alternate' type='text/html' href='https://trygvis.io/git/2012/05/openembedded-core.git/commit/?id=290c7239c21e477bb78b88d92a5b8a7de9142310'/>
<id>urn:sha1:290c7239c21e477bb78b88d92a5b8a7de9142310</id>
<content type='text'>
This is needed by the copyleft_compliance class, so it can emit series files
for the patches, which greatly increases their usefulness to a user trying to
reconstruct the sources outside of OE.

Signed-off-by: Christopher Larson &lt;chris_larson@mentor.com&gt;
</content>
</entry>
<entry>
<title>patch.bbclass: Add PATCHRESOLVE to excluded vars for generating sstate-cache</title>
<updated>2011-11-24T22:09:20Z</updated>
<author>
<name>Matthew McClintock</name>
<email>msm@freescale.com</email>
</author>
<published>2011-11-17T22:42:47Z</published>
<link rel='alternate' type='text/html' href='https://trygvis.io/git/2012/05/openembedded-core.git/commit/?id=b64cbe0b511de8d8943ce34cbb4901239d9f0cb0'/>
<id>urn:sha1:b64cbe0b511de8d8943ce34cbb4901239d9f0cb0</id>
<content type='text'>
The method of resolving the patch should not effect the sstate-cache
signature.

Signed-off-by: Matthew McClintock &lt;msm@freescale.com&gt;
</content>
</entry>
<entry>
<title>Convert to use direct access to the data store (instead of bb.data.*Var*())</title>
<updated>2011-11-10T11:35:32Z</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2011-11-09T15:00:01Z</published>
<link rel='alternate' type='text/html' href='https://trygvis.io/git/2012/05/openembedded-core.git/commit/?id=b22831fd63164c4db9c0b72934d7d734a6585251'/>
<id>urn:sha1:b22831fd63164c4db9c0b72934d7d734a6585251</id>
<content type='text'>
This is the result of running the following over the metadata:

sed \
-e 's:bb.data.\(setVar([^,()]*,[^,()]*\), *\([^ )]*\) *):\2.\1):g' \
-e 's:bb.data.\(setVarFlag([^,()]*,[^,()]*,[^,()]*\), *\([^) ]*\) *):\2.\1):g' \
-e 's:bb.data.\(getVar([^,()]*\), *\([^(), ]*\) *,\([^)]*\)):\2.\1,\3):g' \
-e 's:bb.data.\(getVarFlag([^,()]*,[^,()]*\), *\([^(), ]*\) *,\([^)]*\)):\2.\1,\3):g' \
-e 's:bb.data.\(getVarFlag([^,()]*,[^,()]*\), *\([^() ]*\) *):\2.\1):g' \
-e 's:bb.data.\(getVar([^,()]*\), *\([^) ]*\) *):\2.\1):g' \
-i `grep -ril bb.data *`

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>patch: Convert to use oe_terminal</title>
<updated>2011-11-04T17:04:32Z</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2011-11-03T22:00:55Z</published>
<link rel='alternate' type='text/html' href='https://trygvis.io/git/2012/05/openembedded-core.git/commit/?id=9e0a21dda24f285a1c4878488e887485a749f3f2'/>
<id>urn:sha1:9e0a21dda24f285a1c4878488e887485a749f3f2</id>
<content type='text'>
Unfortunately we can't access oe_terminal directly from patch.py
so we have to pass in the correct terminal function pointer.

[YOCTO #1587]

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>patch.bbclass: allow importing patches into other dirs</title>
<updated>2011-04-04T12:57:14Z</updated>
<author>
<name>Tom Rini</name>
<email>tom_rini@mentor.com</email>
</author>
<published>2011-03-31T17:45:57Z</published>
<link rel='alternate' type='text/html' href='https://trygvis.io/git/2012/05/openembedded-core.git/commit/?id=01e4609ee8441c8212725fd062782313caae0708'/>
<id>urn:sha1:01e4609ee8441c8212725fd062782313caae0708</id>
<content type='text'>
This is taken from openembedded.master:
commit 9d0d70da60ca8ef278916f442125d41161846f38
Author: Chris Larson &lt;chris_larson@mentor.com&gt;
Date:   Mon Aug 23 13:03:55 2010 -0400

    patch: allow importing patches into other dirs

    Use the 'patchdir' flag.  If relative, it's assumed to be relative to ${S}.
    It creates a patchset class per patch directory, so for quilt this results i
    multiple .pc/patches directories to manage each of the patchsets.

    Signed-off-by: Chris Larson &lt;chris_larson@mentor.com&gt;

Signed-off-by: Tom Rini &lt;tom_rini@mentor.com&gt;
</content>
</entry>
<entry>
<title>meta/classes: Update classes to use new fetcher API</title>
<updated>2011-02-07T09:06:37Z</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2011-02-04T13:20:28Z</published>
<link rel='alternate' type='text/html' href='https://trygvis.io/git/2012/05/openembedded-core.git/commit/?id=984e90f4d71d866580131c4927b0a77baf1bb9bd'/>
<id>urn:sha1:984e90f4d71d866580131c4927b0a77baf1bb9bd</id>
<content type='text'>
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
</feed>
