Commit Graph

12 Commits

Author SHA1 Message Date
Konrad Scherer a975c8205c pigz: Add pigz to buildtools tarball
When using the tar executable in the buildtools, tar will execute
gzip. If this happens before zlib-native is built, then the gzip
on the host will be used and can fail if the libz in the buildtools
is not compatible. Adding pigz to the build tools avoids this host
contamination.

(From OE-Core master rev: af6424e8c2bf3a938fddabc669c0956d68964ed0)

(From OE-Core rev: dd9945dd510d6e7764721bec5573591a0ad69ba4)

Signed-off-by: Konrad Scherer <Konrad.Scherer@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-12-12 17:00:05 +00:00
Richard Purdie 5745e45b18 buildtools-tarball: Add python-pkgutil
This is needed by some recently added automated QA tests so we should add it
to the buildtools tarball.

(From OE-Core rev: 7d93288117e7054472d8a01dde0b38bc0ff98c27)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-08-29 00:23:20 +01:00
Chen Qi 2fd2c606f6 buildtools-tarball: do not export OECORE_NATIVE_SYSROOT
When building a qemu image inside the environment created by the
buildtools-tarball, the qemu image cannot be started, as the runqemu
script uses the tunctl binary which cannot be found inside the sysroot
directory of the buildtools-tarball.

The buildtools-tarball is inherently a tool set instead of a fully
functional SDK, so leaving the OECORE_NATIVE_SYSROOT variable in the
environment will mess things up.

However, we do need a line of 'OECORE_NATIVE_SYSROOT=xxx' in the environment
setup script so that the SDK can be extracted and relocated correctly.
Thus, instead of exporting OECORE_NATIVE_SYSROOT, we use a comment here.

[YOCTO #4939]

(From OE-Core rev: d4a4c764a844a7e61f866af9361f139684037336)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-08-06 12:39:53 +01:00
Saul Wold f582398852 buildtools-tarball: testimage needs the mmap python-module
The new testimage class needs the mmap python-module in the buildtools-tarball
on machines that use the tarball to provide the correct version of python.

(From OE-Core rev: 0b3574481cb8204513001570f5fa3cc8f50ba510)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-07-18 21:23:46 +01:00
Paul Eggleton bb065931f6 buildtools-tarball: add python-git
python-git is needed by buildhistory-diff and the OE layer index update
script, and on machines where buildtools-tarball is necessary given we
are providing python we must provide this module as well.

Fixes [YOCTO #4747].

(From OE-Core rev: d9bf76b4fafc0ddcb19bf393e5e22678e49367b3)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-07-02 22:23:43 +01:00
Mark Hatle 051eb15093 buildtools-tarball: Add nativesdk-make
Recently it was discovered that many Fedora hosts have a broken version of
make 3.82.  Add make to the buildtools-tarball, as well ad modify make to
support building a special nativesdk version.

(From OE-Core rev: ea972fc4ce2268f01be6beeafd27dd949d800f9d)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-25 17:44:59 +01:00
Mark Hatle eea24c6545 buildtools-tarball: Change the way the SDK is sanitized
The previous method of shrinking down the scale of the environment-setup
file would not work properly when the target is configured with multilibs.

In addition, the configured machine name and similar settings could leak
into the SDK naming.  This was resolved by clearing the SDK generated
files and generating our own custom files.

Note, the name of the environment-setup now is suffixed with the SDK_SYS.

(From OE-Core rev: 778cd8d2110ef2db5ff4ae4f0b55c52a8f1ea334)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-25 17:44:58 +01:00
Richard Purdie 534c4d0f1e buildtools-tarball: Add nativesdk-ncurses-terminfo-base
We've been seeing issues where some TERM values don't work well with the
tarball. These show up as escape codes coming from simple python calls such
as printing the python version. Adding the terminfo goes part way to addressing
the problem, the remainder is ensuring the relocation code correctly searches
the right path for it (which will be in a follow on patch).

(From OE-Core rev: 697e64c98affc4e0d8aa4828e74331c918b23a0e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-14 12:47:53 +01:00
Saul Wold 35ea19860b buildtools-tarball: add difflib and pprint python modules
Needed for the unittest part of bitbake-selftest can work correctly.

(From OE-Core rev: fe744381e8844ad17dcc6e036650a442dbc9575d)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-11 21:53:50 +01:00
Richard Purdie 74d3a1a6c9 buildtools-tarball: Add json, unittest and compression python module packages
We need unittest so bitbake-selftest can work, tarfile from the compression module
for opkg-utils and json for webkit builds.

(From OE-Core rev: bbcb7329ca4340dbd3d529567dc6b605347e3368)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-10 16:40:02 +01:00
Richard Purdie 2b2b3e8c34 python-external-tarball: Improve DESCRIPTION/SUMMARY
Improve the DESCRIPTION for the recipe and add a SUMMMARY.

(From OE-Core rev: ecdccd0c19c1d27aee43a3cca8e4467f270d7f9c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-07 16:54:55 +01:00
Richard Purdie 58feddba96 python-external-tarball: Modernise and rename
The external-python-tarball was intended to provide python for those users who
didn't have python 2.6. It has been unloved for a while so this refreshes
it a bit. Specifically:

* Include git and tar since these can have version issues on some systems
* Rename to buildtools-tarball to better reflect its purpose
* Remove the site-config file from the tarball, its pointless
* Prune down the environment file to just cover PATH and OECORE_NATIVE
  (which is needed to correctly install the tarball)
* Add missing grp module (used by do_package) from the unixadmin package

(From OE-Core rev: c8de009e96930709efe8f6aa4e65dd04a48081f2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-07 16:48:30 +01:00