<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/poky.git/meta/classes/relocatable.bbclass, branch hardknott</title>
<subtitle>Mirror of git.yoctoproject.org/poky</subtitle>
<id>https://git.enea.com/cgit/linux/poky.git/atom?h=hardknott</id>
<link rel='self' href='https://git.enea.com/cgit/linux/poky.git/atom?h=hardknott'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/'/>
<updated>2020-06-15T13:53:46+00:00</updated>
<entry>
<title>relocatable.bbclass: Avoid an exception if an empty pkgconfig dir exist</title>
<updated>2020-06-15T13:53:46+00:00</updated>
<author>
<name>Peter Kjellerstedt</name>
<email>pkj@axis.com</email>
</author>
<published>2020-03-20T18:04:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=1332ac291dd4127af5d80fdeee7c1bdd8f5aa129'/>
<id>urn:sha1:1332ac291dd4127af5d80fdeee7c1bdd8f5aa129</id>
<content type='text'>
Rewrite relocatable_native_pcfiles() so that it can handle that any of
the checked pkgconfig directories are empty without causing an
exception.

(From OE-Core rev: f9c5df6dc1c13e9b05ff1b47ad84ad339f6779a4)

Signed-off-by: Peter Kjellerstedt &lt;peter.kjellerstedt@axis.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>relocatable: Make native .pc files relocatable</title>
<updated>2017-01-31T23:47:33+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2017-01-30T23:08:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=e9256edb3399221f62e526ab5cbe3bd475c636c6'/>
<id>urn:sha1:e9256edb3399221f62e526ab5cbe3bd475c636c6</id>
<content type='text'>
The native .pc files currently have hardcoded paths in them meaning each has
to be relocated at final install time. pkg-config has built in functionality
to avoid this, namely the pcfiledir variable.

This function translates .pc files to use the variable meaning further
relocation later is unnecessary.

(From OE-Core rev: a3f4e9ff55c7d9eba175e83eb6c99cf349a74432)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>relocatable.bbclass: split it up, to reuse code</title>
<updated>2012-08-02T14:28:39+00:00</updated>
<author>
<name>Laurentiu Palcu</name>
<email>laurentiu.palcu@intel.com</email>
</author>
<published>2012-07-31T08:49:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=476ced15c244b5a4bb91cef59fdf7e3b5a981576'/>
<id>urn:sha1:476ced15c244b5a4bb91cef59fdf7e3b5a981576</id>
<content type='text'>
Most of the code in relocatable.bbclass will be used for relocating the
SDK binaries. So, create another class chrpath.bbclass that will contain
the core of the relocatable.bbclass, so we can reuse it.

(From OE-Core rev: b50677b1641b201fd69942fd82a360907338234d)

Signed-off-by: Laurentiu Palcu &lt;laurentiu.palcu@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>meta: Replace bb.data.expand(xxx, d) -&gt; d.expand(xxx)</title>
<updated>2012-03-05T18:23:53+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2012-03-03T11:21:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=b1aeaa8b0dcf27ef8dcd87279901c6f5817d9e94'/>
<id>urn:sha1:b1aeaa8b0dcf27ef8dcd87279901c6f5817d9e94</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:51:19+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2011-11-09T15:00:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=c8dee9b92dfd545852ecac8dc2adfc95ac02e957'/>
<id>urn:sha1:c8dee9b92dfd545852ecac8dc2adfc95ac02e957</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 *`

(From OE-Core rev: b22831fd63164c4db9c0b72934d7d734a6585251)

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:30+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>rpurdie@linux.intel.com</email>
</author>
<published>2010-08-12T12:24:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.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:28+00:00</updated>
<author>
<name>Joshua Lock</name>
<email>josh@linux.intel.com</email>
</author>
<published>2010-05-20T15:11:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.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:42+00:00</updated>
<author>
<name>Joshua Lock</name>
<email>josh@linux.intel.com</email>
</author>
<published>2010-04-22T14:22:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.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:45+00:00</updated>
<author>
<name>Joshua Lock</name>
<email>josh@linux.intel.com</email>
</author>
<published>2010-04-12T14:56:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.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:24+00:00</updated>
<author>
<name>Joshua Lock</name>
<email>josh@linux.intel.com</email>
</author>
<published>2010-04-08T15:38:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.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>
</feed>
