<feed xmlns='http://www.w3.org/2005/Atom'>
<title>multitech-oe.git/lib, branch org.openembedded.dev</title>
<subtitle>Multi-Tech CoreCDP 1.x OpenEmbedded Tree</subtitle>
<link rel='alternate' type='text/html' href='https://git.multitech.net/cgit/multitech-oe.git/'/>
<entry>
<title>oe/patch.py: Remove series file during Clean()</title>
<updated>2010-09-23T14:51:29+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2010-09-22T20:59:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.multitech.net/cgit/multitech-oe.git/commit/?id=66f27716906ec344a6b9628ed5d0f21a3104718f'/>
<id>66f27716906ec344a6b9628ed5d0f21a3104718f</id>
<content type='text'>
Currently if there is a failed do_patch the series files get appended
so if there were two patches

a.patch
b.patch
and b.patch failed during next run it would append a.patch again
a.patch
b.patch
a.patch

and this would keep growing.

We can remove series file in Clean() because we populate it in Import()
anyway

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
Acked-by: Chris Larson &lt;chris_larson@mentor.com&gt;
Acked-by: Eric Bénard &lt;eric@eukrea.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Currently if there is a failed do_patch the series files get appended
so if there were two patches

a.patch
b.patch
and b.patch failed during next run it would append a.patch again
a.patch
b.patch
a.patch

and this would keep growing.

We can remove series file in Clean() because we populate it in Import()
anyway

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
Acked-by: Chris Larson &lt;chris_larson@mentor.com&gt;
Acked-by: Eric Bénard &lt;eric@eukrea.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>lib/oe/unpack.py: fix uncompressing .gz .bz2 or .xz</title>
<updated>2010-09-06T21:11:26+00:00</updated>
<author>
<name>Eric Bénard</name>
<email>eric@eukrea.com</email>
</author>
<published>2010-09-06T17:23:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.multitech.net/cgit/multitech-oe.git/commit/?id=27c47106edd05d478d09a5d190e7dade5ed21926'/>
<id>27c47106edd05d478d09a5d190e7dade5ed21926</id>
<content type='text'>
* Actually, the uncompressed file is written into the source
path instead of the destination path.
* By also removing the source path, this patch should fix this problem.
* An other fix could be to not uncompress to stdout but let gunzip|bunzip2|
xz uncompress directly to the file.

Signed-off-by: Eric Bénard &lt;eric@eukrea.com&gt;
Acked-by: Frans Meulenbroeks &lt;fransmeulenbroeks@gmail.com&gt;
Acked-by: Chris Larson &lt;chris_larson@mentor.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Actually, the uncompressed file is written into the source
path instead of the destination path.
* By also removing the source path, this patch should fix this problem.
* An other fix could be to not uncompress to stdout but let gunzip|bunzip2|
xz uncompress directly to the file.

Signed-off-by: Eric Bénard &lt;eric@eukrea.com&gt;
Acked-by: Frans Meulenbroeks &lt;fransmeulenbroeks@gmail.com&gt;
Acked-by: Chris Larson &lt;chris_larson@mentor.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>do_unpack, do_patch: shift some responsibility around, clean things up</title>
<updated>2010-09-02T16:19:17+00:00</updated>
<author>
<name>Chris Larson</name>
<email>chris_larson@mentor.com</email>
</author>
<published>2010-09-01T04:52:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.multitech.net/cgit/multitech-oe.git/commit/?id=900cc29b603691eb3a077cb660545ead3715ed54'/>
<id>900cc29b603691eb3a077cb660545ead3715ed54</id>
<content type='text'>
- Consolidate 'is this file a patch' logic
- Move unpack functions from classes into oe.unpack
- Move the unpacking message printing into do_unpack
- Move the destination directory determination into do_unpack
- Use subprocess's ability to pass in PATH and cwd rather than mangling the cmd
- Use shutil.copy2/copytree for ordinary file "unpack"
- Use the existing urldata from bb.fetch.init rather than re-decodeurl'ing the urls
- Make handling of globs in url paths explicit rather than implicit, calling
  oe_unpack on each one, so showing an unpacking message to the user for each
  globbed file, rather than the entirety

Signed-off-by: Chris Larson &lt;chris_larson@mentor.com&gt;
Acked-by: Khem Raj &lt;raj.khem@gmail.com&gt;
Acked-by: Tom Rini &lt;tom_rini@mentor.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Consolidate 'is this file a patch' logic
- Move unpack functions from classes into oe.unpack
- Move the unpacking message printing into do_unpack
- Move the destination directory determination into do_unpack
- Use subprocess's ability to pass in PATH and cwd rather than mangling the cmd
- Use shutil.copy2/copytree for ordinary file "unpack"
- Use the existing urldata from bb.fetch.init rather than re-decodeurl'ing the urls
- Make handling of globs in url paths explicit rather than implicit, calling
  oe_unpack on each one, so showing an unpacking message to the user for each
  globbed file, rather than the entirety

Signed-off-by: Chris Larson &lt;chris_larson@mentor.com&gt;
Acked-by: Khem Raj &lt;raj.khem@gmail.com&gt;
Acked-by: Tom Rini &lt;tom_rini@mentor.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>oe.patch: don't error when the symlink already exists and is correct</title>
<updated>2010-07-26T17:59:36+00:00</updated>
<author>
<name>Evgeniy Dushistov</name>
<email>dushistov@mail.ru</email>
</author>
<published>2010-07-26T16:43:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.multitech.net/cgit/multitech-oe.git/commit/?id=c47c6611be11d3b80f61a75f80187e9398eccbd4'/>
<id>c47c6611be11d3b80f61a75f80187e9398eccbd4</id>
<content type='text'>
Adds oe.path.symlink convenience function.

Signed-off-by: Evgeniy Dushistov &lt;dushistov@mail.ru&gt;
Signed-off-by: Chris Larson &lt;chris_larson@mentor.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Adds oe.path.symlink convenience function.

Signed-off-by: Evgeniy Dushistov &lt;dushistov@mail.ru&gt;
Signed-off-by: Chris Larson &lt;chris_larson@mentor.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>lib/oe/patch.py: Dont import patches but symlink them instead</title>
<updated>2010-06-10T22:35:55+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2010-06-09T14:36:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.multitech.net/cgit/multitech-oe.git/commit/?id=7dc8f297689cdbba9021c2c620bd025ca234c58a'/>
<id>7dc8f297689cdbba9021c2c620bd025ca234c58a</id>
<content type='text'>
* This patch removes the usage of quilt import &lt;patch&gt;
  instead it creasted a symlink to the patch in the patches
  directory and synthesizes the series file which otherwise
  would be done automatically by quilt import.

* This should help a bit in reducing build time as it avoids
  copying of the patch and also other things that quilt import
  would otherwise do.

* Tested by doing minimal-image on qemuarm.

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
Acked-by: Chris Larson &lt;chris_larson@mentor.com&gt;
Acked-by: Roman I Khimov &lt;khimov@altell.ru&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* This patch removes the usage of quilt import &lt;patch&gt;
  instead it creasted a symlink to the patch in the patches
  directory and synthesizes the series file which otherwise
  would be done automatically by quilt import.

* This should help a bit in reducing build time as it avoids
  copying of the patch and also other things that quilt import
  would otherwise do.

* Tested by doing minimal-image on qemuarm.

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
Acked-by: Chris Larson &lt;chris_larson@mentor.com&gt;
Acked-by: Roman I Khimov &lt;khimov@altell.ru&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Add a rm -rf utility function and use it in packaged-staging.bbclass</title>
<updated>2010-06-10T18:35:00+00:00</updated>
<author>
<name>Chris Larson</name>
<email>chris_larson@mentor.com</email>
</author>
<published>2010-06-08T23:14:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.multitech.net/cgit/multitech-oe.git/commit/?id=2959eb8c60df3b7ea1833238f9eac05cdafe1c06'/>
<id>2959eb8c60df3b7ea1833238f9eac05cdafe1c06</id>
<content type='text'>
Signed-off-by: Chris Larson &lt;chris_larson@mentor.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Chris Larson &lt;chris_larson@mentor.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "lib/oe/patch.py: Dont import patches but symlink them instead"</title>
<updated>2010-06-10T01:04:09+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2010-06-10T01:04:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.multitech.net/cgit/multitech-oe.git/commit/?id=bfe9198ddabf08f84c744dcbf82d4a52c295508d'/>
<id>bfe9198ddabf08f84c744dcbf82d4a52c295508d</id>
<content type='text'>
pushed wrong branch. It needs to be reviewed before pushing.

This reverts commit 428c2de6d27dd49274b9884c3123b053c42af0ce.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
pushed wrong branch. It needs to be reviewed before pushing.

This reverts commit 428c2de6d27dd49274b9884c3123b053c42af0ce.
</pre>
</div>
</content>
</entry>
<entry>
<title>lib/oe/patch.py: Dont import patches but symlink them instead</title>
<updated>2010-06-10T00:34:19+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2010-06-10T00:30:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.multitech.net/cgit/multitech-oe.git/commit/?id=428c2de6d27dd49274b9884c3123b053c42af0ce'/>
<id>428c2de6d27dd49274b9884c3123b053c42af0ce</id>
<content type='text'>
* This patch removes the usage of quilt import &lt;patch&gt;
  instead it creasted a symlink to the patch in the patches
  directory and synthesizes the series file which otherwise
  would be done automatically by quilt import.

* This should help a bit in reducing build time as it avoids
  copying of the patch and also other things that quilt import
  would otherwise do.

* Tested by doing minimal-image on qemuarm.

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* This patch removes the usage of quilt import &lt;patch&gt;
  instead it creasted a symlink to the patch in the patches
  directory and synthesizes the series file which otherwise
  would be done automatically by quilt import.

* This should help a bit in reducing build time as it avoids
  copying of the patch and also other things that quilt import
  would otherwise do.

* Tested by doing minimal-image on qemuarm.

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>oe.utils: added param_bool() method</title>
<updated>2010-05-27T19:56:46+00:00</updated>
<author>
<name>Enrico Scholz</name>
<email>enrico.scholz@sigma-chemnitz.de</email>
</author>
<published>2010-05-27T02:41:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.multitech.net/cgit/multitech-oe.git/commit/?id=0d270547fdb047fb2bcc1f69d6ba1f440c78578a'/>
<id>0d270547fdb047fb2bcc1f69d6ba1f440c78578a</id>
<content type='text'>
This new function works like dict's get() method but converts the
returned value to a boolean.

It is to be used to interpret e.g. 'apply=yes' parameters in SRC_URI.

Moved from base.bbclass into lib/oe/utils.py -kergoth

Signed-off-by: Enrico Scholz &lt;enrico.scholz@sigma-chemnitz.de&gt;
Signed-off-by: Chris Larson &lt;chris_larson@mentor.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This new function works like dict's get() method but converts the
returned value to a boolean.

It is to be used to interpret e.g. 'apply=yes' parameters in SRC_URI.

Moved from base.bbclass into lib/oe/utils.py -kergoth

Signed-off-by: Enrico Scholz &lt;enrico.scholz@sigma-chemnitz.de&gt;
Signed-off-by: Chris Larson &lt;chris_larson@mentor.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>oe.patch: kill long standing annoying messages from the non-quilt patch application</title>
<updated>2010-05-24T03:46:59+00:00</updated>
<author>
<name>Chris Larson</name>
<email>chris_larson@mentor.com</email>
</author>
<published>2010-05-24T03:45:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.multitech.net/cgit/multitech-oe.git/commit/?id=1a2a620b19398a80b6f3286c7dc8dd3161f8f01f'/>
<id>1a2a620b19398a80b6f3286c7dc8dd3161f8f01f</id>
<content type='text'>
Signed-off-by: Chris Larson &lt;chris_larson@mentor.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Chris Larson &lt;chris_larson@mentor.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
