<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/poky.git/scripts, branch 1.4_M4</title>
<subtitle>Mirror of git.yoctoproject.org/poky</subtitle>
<id>https://git.enea.com/cgit/linux/poky.git/atom?h=1.4_M4</id>
<link rel='self' href='https://git.enea.com/cgit/linux/poky.git/atom?h=1.4_M4'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/'/>
<updated>2013-02-15T12:17:35+00:00</updated>
<entry>
<title>scripts/bitbake: Remove all instances of paths to a layer's scripts directory.</title>
<updated>2013-02-15T12:17:35+00:00</updated>
<author>
<name>Franklin S. Cooper Jr</name>
<email>fcooper@ti.com</email>
</author>
<published>2013-02-09T17:08:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=a9608dd3e5d32a784c13d2b379d36b9046226172'/>
<id>urn:sha1:a9608dd3e5d32a784c13d2b379d36b9046226172</id>
<content type='text'>
* Currently the assumption is made that only oe-core can include a scripts
  directory.

* However, when other layers create a scripts directory the bitbake script
  freaks out causing a infinite recursive loop until it crashes.

* Simply changing the regular expression to remove all instances of scripts path
  instead of just the first one fixes this problem.

 [Yocto Bug 3872]

(From OE-Core rev: 9b445cc39604223b0cfb21d28f748a86ff4cdf68)

Signed-off-by: Franklin S. Cooper Jr &lt;fcooper@ti.com&gt;
Signed-off-by: Saul Wold &lt;sgw@linux.intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>Python: Add missing dependency "textutils" to "io" package</title>
<updated>2013-02-14T10:46:25+00:00</updated>
<author>
<name>MiLo</name>
<email>milo-software@users.sourceforge.net</email>
</author>
<published>2013-02-14T07:10:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=0be6d35d46bd39bd626b3d47213c04ecea44d1b7'/>
<id>urn:sha1:0be6d35d46bd39bd626b3d47213c04ecea44d1b7</id>
<content type='text'>
Modify the include file and script to generate a missing RDEPENDS.

Install python on target with python-io. Import ssl:

Python 2.7.3 (default, Feb  9 2013, 16:04:35)
[GCC 4.7.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
&gt;&gt;&gt; import ssl
Traceback (most recent call last):
  File "&lt;stdin&gt;", line 1, in &lt;module&gt;
  File "/usr/lib/python2.7/ssl.py", line 58, in &lt;module&gt;
ImportError: No module named textwrap

Installing python-textutils solves the issue.

(From OE-Core rev: 900ae881c3483eea36aa0be456b93f92980f4924)

Signed-off-by: MiLo &lt;milo-software@users.sourceforge.net&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>scripts/qemuimage-testlib: Use wide option to ps calls</title>
<updated>2013-02-13T16:52:30+00:00</updated>
<author>
<name>Michael Halstead</name>
<email>michael@yoctoproject.org</email>
</author>
<published>2013-02-13T16:31:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=7ed7eae8788447a5aeebe694a5c7c43949d58f15'/>
<id>urn:sha1:7ed7eae8788447a5aeebe694a5c7c43949d58f15</id>
<content type='text'>
Forcing ps to display unlimited column width allows the qemu IP address to
be discovered during sanity testing when the command line is extremely long.

This seems to fix the sanity testing problem on AB05 which was recently updated
to OpenSUSE 12.2. I'm not sure what about qemu or process listing is different
on that distribution but this simpile fix seems to work and my help on other
distro's as well.

(From OE-Core rev: 4cea35cc4e4ed8e68cd117825b1dd4ef1be768c2)

Signed-off-by: Michael Halstead &lt;michael@yoctoproject.org&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>Add separate directory for postinstall intercepts</title>
<updated>2013-02-13T16:52:28+00:00</updated>
<author>
<name>Laurentiu Palcu</name>
<email>laurentiu.palcu@intel.com</email>
</author>
<published>2013-02-12T16:12:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=7306dbea6d5ea95624f89bb247b742392be20046'/>
<id>urn:sha1:7306dbea6d5ea95624f89bb247b742392be20046</id>
<content type='text'>
The scripts/postinst-intercepts will contain all postinstall hooks that
we need to run after all packages have been installed.

If one wants to install such a postinst hook, all it needs to do is put
the hook in this directory and, from the package postinstall scriptlet,
call:
	postinst_intercept &lt;hook_name&gt; &lt;package_name&gt; &lt;var1=...&gt; ...

This will, practically, add the package_name in the list of packages
that need the hook to run and, also, set any variables that would be
needed in the hook. For example, variables like ${libdir}, ${bindir},
etc. that might depend on distribution can be passed on to the script in
this way.

(From OE-Core rev: 0ef538d75c2f3921a2fcbe6ca1deed5525b276cc)

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>relocate_sdk.py: allow relocate_sdk.py to work with python 2.4.x</title>
<updated>2013-02-12T13:11:22+00:00</updated>
<author>
<name>Jason Wessel</name>
<email>jason.wessel@windriver.com</email>
</author>
<published>2013-02-12T11:08:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=c160a982551f5d6186081daa8fa20682fd7fae17'/>
<id>urn:sha1:c160a982551f5d6186081daa8fa20682fd7fae17</id>
<content type='text'>
Avoid the chicken / egg problem of an SDK that provides a working
python but requires that version of python to extract itself.  The
RHEL 5.x systems and some other enterprise Linux systems ship with
python 2.4.x as the default python.  We need to at least be able to
extract work executables even if we never use the the host provided
python again.

(From OE-Core rev: e1d42db8749b0b965ddc6cfba4f3b93ee96ed4f4)

Signed-off-by: Jason Wessel &lt;jason.wessel@windriver.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>relocate_sdk.py: Fix corruption of sdk binaries</title>
<updated>2013-02-12T13:11:21+00:00</updated>
<author>
<name>Jason Wessel</name>
<email>jason.wessel@windriver.com</email>
</author>
<published>2013-02-12T11:08:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=3eb70c067cf37a63501345a85e417540776e8b1d'/>
<id>urn:sha1:3eb70c067cf37a63501345a85e417540776e8b1d</id>
<content type='text'>
There are two cases of corruption that the relocate_sdk.py was not correctly
dealing with.

1) SDK Extras should be left alone
   Extra external binaries included in an SDK that were linked against the
   host's version of /usr/lib/ld-so.so should not get a relocation applied.
   In the case that was discovered these were LSB compliant binaries that
   already worked on many hosts.

2) If the interp section is too small generate an error
   In the case of the qemu user code, it was using its own .ld file
   to link the executables which overrides the default in the nativesdk
   binutils.  This generated host executables which had a interp section
   that was too small to relocate.

   Now the relocate_sdk.py will print an error and continue on such that
   the error can be fixed by a developer without having to do the
   difficult task of debugging why it is crashing or not loading correctly.

(From OE-Core rev: 3752a9c6d772b39bbe04d62ef4d3527b4c7198c1)

Signed-off-by: Jason Wessel &lt;jason.wessel@windriver.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>oe-git-proxy*: Remove previous git proxy solutions</title>
<updated>2013-02-11T22:54:04+00:00</updated>
<author>
<name>Darren Hart</name>
<email>dvhart@linux.intel.com</email>
</author>
<published>2013-02-08T22:27:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=2df83a53ba68f57eb7caa7d11a8873ed97b583b4'/>
<id>urn:sha1:2df83a53ba68f57eb7caa7d11a8873ed97b583b4</id>
<content type='text'>
The new oe-git-proxy should address all git proxying needs, remove
the previous scripts.

V2: Separate the removal of the old scripts into their own patch

(From OE-Core rev: 75738ac47b9ca11daa94820c9c5f829937397da7)

Signed-off-by: Darren Hart &lt;dvhart@linux.intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>oe-git-proxy: Use socat instead of BSD nc</title>
<updated>2013-02-11T22:54:04+00:00</updated>
<author>
<name>Darren Hart</name>
<email>dvhart@linux.intel.com</email>
</author>
<published>2013-02-08T22:27:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=9902eb341a31ad3e42ab857793914e09caec81c7'/>
<id>urn:sha1:9902eb341a31ad3e42ab857793914e09caec81c7</id>
<content type='text'>
BSD nc was commonly available on the current distros until Fedora 18
appears to have dropped it. socat appears to be a reasonable replacement
with availability on Fedora and Ubuntu and going back some time as well.

Update the script to use the socat syntax.
Simplify the logic a bit by using exec for the no-proxy-needed cases.

(From OE-Core rev: 795b1ea370b8a1d9152c171a50e80bd0b4b8dc60)

Signed-off-by: Darren Hart &lt;dvhart@linux.intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>oe-git-proxy: Add a new comprehensive git proxy script</title>
<updated>2013-02-11T22:54:04+00:00</updated>
<author>
<name>Darren Hart</name>
<email>dvhart@linux.intel.com</email>
</author>
<published>2013-02-08T22:27:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=0c988bfbb295c3f1e21ad30fab56c9d9fd7513c1'/>
<id>urn:sha1:0c988bfbb295c3f1e21ad30fab56c9d9fd7513c1</id>
<content type='text'>
oe-git-proxy.sh is a simple tool to be used via GIT_PROXY_COMMAND. It
uses BSD netcat to make SOCKS5 or HTTPS proxy connections. It uses
ALL_PROXY to determine the proxy server, protocol, and port. It uses
NO_PROXY to skip using the proxy for a comma delimited list of hosts,
host globs (*.example.com), IPs, or CIDR masks (192.168.1.0/24). It is
known to work with both bash and dash shells.

V2: Implement recommendations by Enrico Scholz:
    o Use exec for the nc calls
    o Use "$@" instead of $* to avoid quoting issues inherent with $*
    o Use bash explicitly and simplify some of the string manipulations
    Also:
    o Drop the .sh in the name per Otavio Salvador
    o Remove a stray debug statement

V3: Implement recommendations by Otavio Salvador
    o GPL license blurb
    o Fix minor typo in comment block

(From OE-Core rev: 62867f56da0e0904f0108f113324c2432659fbac)

Signed-off-by: Darren Hart &lt;dvhart@linux.intel.com&gt;
Cc: Enrico Scholz &lt;enrico.scholz@sigma-chemnitz.de&gt;
Cc: Otavio Salvador &lt;otavio@ossystems.com.br&gt;

git-proxy cleanup

Signed-off-by: Darren Hart &lt;dvhart@linux.intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>oe-buildenv-internal: Add upper and lower case proxy vars to BB_ENV_EXTRAWHITE</title>
<updated>2013-02-11T22:54:03+00:00</updated>
<author>
<name>Darren Hart</name>
<email>dvhart@linux.intel.com</email>
</author>
<published>2013-02-08T22:27:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=ebc4a61b2c53c0015769d2eb2b6d921932b116ea'/>
<id>urn:sha1:ebc4a61b2c53c0015769d2eb2b6d921932b116ea</id>
<content type='text'>
Applications are inconsistent in their use of upper and lower case proxy
variables. Curl, for example, specifies NO_PROXY (not no_proxy) in the
man page (changed in 2009 [1]). Avoid proxy issues by ensuring both the
upper and lower case versions of each proxy variable are available in
the environment for the fetcher commands.

Add FTPS_PROXY and ftps_proxy to the list as well.

1. http://curl.haxx.se/mail/tracker-2009-04/0012.html

(From OE-Core rev: 684c6512850ceb108e52af634be98eaacb8351e1)

Signed-off-by: Darren Hart &lt;dvhart@linux.intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
</feed>
