<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openembedded-core.git/meta/classes/relocatable.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-03-05T18:33:18Z</updated>
<entry>
<title>meta: Replace bb.data.expand(xxx, d) -&gt; d.expand(xxx)</title>
<updated>2012-03-05T18:33:18Z</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2012-03-03T11:21:22Z</published>
<link rel='alternate' type='text/html' href='https://trygvis.io/git/2012/05/openembedded-core.git/commit/?id=065dab7480ea0fae66db4b5a01d09814b1f38e03'/>
<id>urn:sha1:065dab7480ea0fae66db4b5a01d09814b1f38e03</id>
<content type='text'>
sed \
 -e 's:bb.data.\(expand([^,()]*\), *\([^) ]*\) *):\2.\1):g' \
 -i `grep -ril bb.data.expand *`

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&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>relocatable.bbclass: Cover libexecdir</title>
<updated>2010-08-12T13:41:30Z</updated>
<author>
<name>Richard Purdie</name>
<email>rpurdie@linux.intel.com</email>
</author>
<published>2010-08-12T12:24:44Z</published>
<link rel='alternate' type='text/html' href='https://trygvis.io/git/2012/05/openembedded-core.git/commit/?id=a525b27d00087bde0835a2d762ad590329319891'/>
<id>urn:sha1:a525b27d00087bde0835a2d762ad590329319891</id>
<content type='text'>
Signed-off-by: Richard Purdie &lt;rpurdie@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>relocatable.bbclass: reduce the amount of output</title>
<updated>2010-05-24T16:25:28Z</updated>
<author>
<name>Joshua Lock</name>
<email>josh@linux.intel.com</email>
</author>
<published>2010-05-20T15:11:40Z</published>
<link rel='alternate' type='text/html' href='https://trygvis.io/git/2012/05/openembedded-core.git/commit/?id=cd62d697e1c746bad6dd29030f03a36750a1957e'/>
<id>urn:sha1:cd62d697e1c746bad6dd29030f03a36750a1957e</id>
<content type='text'>
Disable the last bb.note call, it's a bit spurious. Only really useful for
debug.

Signed-off-by: Joshua Lock &lt;josh@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>relocatable.bbclass: Normalise the generated path</title>
<updated>2010-04-27T15:58:42Z</updated>
<author>
<name>Joshua Lock</name>
<email>josh@linux.intel.com</email>
</author>
<published>2010-04-22T14:22:38Z</published>
<link rel='alternate' type='text/html' href='https://trygvis.io/git/2012/05/openembedded-core.git/commit/?id=23ff2e08194221abf8f09af25d1be98efe46ffb7'/>
<id>urn:sha1:23ff2e08194221abf8f09af25d1be98efe46ffb7</id>
<content type='text'>
The generated path we create for the binaries RPATH can have a lot of directory
separators in. Use os.path.normpath() to tidy it up and only include the
required directory separators.

This patch is purely to appease my personal sense of niceness...

Signed-off-by: Joshua Lock &lt;josh@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>relocatable.bbclass: Actually skip symlinks</title>
<updated>2010-04-12T14:56:45Z</updated>
<author>
<name>Joshua Lock</name>
<email>josh@linux.intel.com</email>
</author>
<published>2010-04-12T14:56:45Z</published>
<link rel='alternate' type='text/html' href='https://trygvis.io/git/2012/05/openembedded-core.git/commit/?id=d3fbb56c2ffa44e2da15ca4bfa4def35792ab6f7'/>
<id>urn:sha1:d3fbb56c2ffa44e2da15ca4bfa4def35792ab6f7</id>
<content type='text'>
The previous patch to do so was badly merged and didn't actually skip all
symlinks, only ones which where not an absolute path...

Signed-off-by: Joshua Lock &lt;josh@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>relocatable.bbclass: ignore symlinks</title>
<updated>2010-04-08T15:41:24Z</updated>
<author>
<name>Joshua Lock</name>
<email>josh@linux.intel.com</email>
</author>
<published>2010-04-08T15:38:16Z</published>
<link rel='alternate' type='text/html' href='https://trygvis.io/git/2012/05/openembedded-core.git/commit/?id=1ac0a1aebe287296de820b106913a29f0b8944c3'/>
<id>urn:sha1:1ac0a1aebe287296de820b106913a29f0b8944c3</id>
<content type='text'>
If this links to a file created by the package install we already handle it
when we process the sysroot. By ignoring symlinks here we don't cause a build
to fail when the symlink is to somewhere in the host OS.

Signed-off-by: Joshua Lock &lt;josh@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>relocatable.bbclass: Handle files which don't have read/write permissions</title>
<updated>2010-04-08T15:41:24Z</updated>
<author>
<name>Joshua Lock</name>
<email>josh@linux.intel.com</email>
</author>
<published>2010-04-08T15:35:16Z</published>
<link rel='alternate' type='text/html' href='https://trygvis.io/git/2012/05/openembedded-core.git/commit/?id=10b6d140622e56f70dd5f84b66b8580be6f78c68'/>
<id>urn:sha1:10b6d140622e56f70dd5f84b66b8580be6f78c68</id>
<content type='text'>
It's possible to have files in our sysroot which don't have the write (or in
some cases even the read) bit set. Test for these and if they are not set
temporarily set them so that we can chrpath the binaries.

Signed-off-by: Joshua Lock &lt;josh@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>relocatable: Handle directories having subdirectories of binaries</title>
<updated>2010-04-01T10:53:29Z</updated>
<author>
<name>Joshua Lock</name>
<email>josh@linux.intel.com</email>
</author>
<published>2010-04-01T10:42:50Z</published>
<link rel='alternate' type='text/html' href='https://trygvis.io/git/2012/05/openembedded-core.git/commit/?id=b43b80c7605ad12bc6e0e4e0b22d2f256f246f22'/>
<id>urn:sha1:b43b80c7605ad12bc6e0e4e0b22d2f256f246f22</id>
<content type='text'>
Make the processing of directories less naive so that it can handle a directory
with children that are directories. We now scan for and process binaries in all
directories below the scanned paths rather than only the top-level directory.

This patch moves the meat of the post-processing into a separate function which
is fed paths, process_dir (). Then when the function finds a subdirectory of
the passed path which is itself a directory it recursively calls itself.

Signed-off-by: Joshua Lock &lt;josh@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>relocatable.bbclass: we need to process library files too</title>
<updated>2010-03-26T14:24:58Z</updated>
<author>
<name>Joshua Lock</name>
<email>josh@linux.intel.com</email>
</author>
<published>2010-03-26T14:24:58Z</published>
<link rel='alternate' type='text/html' href='https://trygvis.io/git/2012/05/openembedded-core.git/commit/?id=93f357d6572d969c2332a1f5d5b445c91c1e1bd6'/>
<id>urn:sha1:93f357d6572d969c2332a1f5d5b445c91c1e1bd6</id>
<content type='text'>
The .so files we ship also have a RPATH encoded so should be post-processed for
a relocatable RPATH too.

Signed-off-by: Joshua Lock &lt;josh@linux.intel.com&gt;
</content>
</entry>
</feed>
