]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/log
thirdparty/openembedded/openembedded-core-contrib.git
9 years agoxinput-calibrator: add missing dependency for xinput_calibrator_once.sh
Urs Fässler [Mon, 13 Jun 2016 14:46:21 +0000 (16:46 +0200)] 
xinput-calibrator: add missing dependency for xinput_calibrator_once.sh

xinput_calibrator_once.sh uses xrandr to read the resolution but is not in the dependency list.
Busybox is unable to parse the corresponding line, hence depending on bash.

(From OE-Core rev: d2b6e325a00e77e6fbee25f3b46cb73af29f1652)

Signed-off-by: Urs Fässler <urs.fassler@bbv.ch>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolibc-package: ensure glibc-locale package list is deterministic
Ross Burton [Mon, 13 Jun 2016 13:56:08 +0000 (14:56 +0100)] 
libc-package: ensure glibc-locale package list is deterministic

If all locales are being generated then the list used is the keys from a
dictionary.  In Python 3.4 onwards the ordering of a dictionary changes for
every instance, so sort the key list.

(From OE-Core rev: 7f6d7f729df37747be0d2cd2503cddca0184fd1f)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowebkitgtk: do not inherit pythonnative
Alexander Kanavin [Mon, 13 Jun 2016 13:11:25 +0000 (16:11 +0300)] 
webkitgtk: do not inherit pythonnative

Set the path to python 2.x explicitly instead; pythonnative
and python3native classes cannot be used in the same recipe.

(From OE-Core rev: a70f6611baaf6705b85b73feff7babc2494efcbd)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopython3-native Add RPROVIDES python3-importlib-native
Richard Purdie [Mon, 13 Jun 2016 08:11:59 +0000 (09:11 +0100)] 
python3-native Add RPROVIDES python3-importlib-native

'''
WARNING: Nothing RPROVIDES 'python3-importlib-native' (but
virtual:native:/media/build1/poky/meta/recipes-devtools/python/python3-pygobject_3.20.1.bb
RDEPENDS on or otherwise requires it)
'''

(From OE-Core rev: 3f7359d9ff64785f8e7237f0187547c5e70f47d1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopython-ptyprocess: Extend to cover nativesdk
Richard Purdie [Mon, 13 Jun 2016 08:11:31 +0000 (09:11 +0100)] 
python-ptyprocess: Extend to cover nativesdk

'''
WARNING: Nothing RPROVIDES 'nativesdk-python-ptyprocess' (but
virtual:nativesdk:/media/build1/poky/meta/recipes-devtools/python/python-pexpect_4.1.0.bb
RDEPENDS on or otherwise requires it)
'''

(From OE-Core rev: 76de50fa96de306d8168bdc4c3820a8c6ab257d2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agotestexport-tarball: Add default value for TEST_EXPORT_SDK_PACKAGES
Richard Purdie [Mon, 13 Jun 2016 08:11:00 +0000 (09:11 +0100)] 
testexport-tarball: Add default value for TEST_EXPORT_SDK_PACKAGES

Otherwise we see parsing failures in the default configuration:

'''
Nothing RPROVIDES '${TEST_EXPORT_SDK_PACKAGES}' (but
/media/build1/poky/meta/recipes-core/meta/testexport-tarball.bb
RDEPENDS on or otherwise requires it)
'''

(From OE-Core rev: 79aa2d34590660c788e0a6c56ef1bb1a5dda5119)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoscripts: ensure not specifying subcommand shows help text
Paul Eggleton [Mon, 13 Jun 2016 04:43:41 +0000 (16:43 +1200)] 
scripts: ensure not specifying subcommand shows help text

With Python 2, argparse subparsers behaviour in Python 2 was to print
the usage information if the subparsers argument wasn't specified.
However, with Python 3.2.3 and later a subparsers argument is not
required by default, leading to errors when no arguments are specified:

  AttributeError: 'Namespace' object has no attribute 'func'

Restore the previous desired behaviour of showing the help text for
devtool, recipetool and the devtool-stress script by setting
subparsers.required to True.

(From OE-Core rev: d36fdea1a7f32d97187e0e9e6d701ae8fa304e8f)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agodevtool: reset: allow specifying multiple recipes
Paul Eggleton [Mon, 13 Jun 2016 04:43:40 +0000 (16:43 +1200)] 
devtool: reset: allow specifying multiple recipes

Allow specifying more than one recipe on the devtool reset command line.

Also tweak the help text slightly.

(From OE-Core rev: ad92ed8e4f7f48a3d212962531d596b36f6b284f)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agodevtool: tweak README in created workspace layer
Paul Eggleton [Mon, 13 Jun 2016 04:43:39 +0000 (16:43 +1200)] 
devtool: tweak README in created workspace layer

Clarify slightly the intended usage of the workspace layer.

(From OE-Core rev: d9f3af6f4e6d3df30b411bbcc3c2b6f7f62c52ad)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopython-mako: rm -df -> rmdir
Robert Yang [Wed, 8 Jun 2016 02:30:42 +0000 (02:30 +0000)] 
python-mako: rm -df -> rmdir

The old rm (e.g., Ubuntu 12.04's) doesn't has -d option, use rmdir to
make it work. BTW., the "-f" option in rm -df doesn't make any sense.

(From OE-Core rev: 0a78e2051e6e735e3a47a8d46d150f5e62ba505c)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agostaging: Add BB_SETSCENE_VERIFY_FUNCTION2 for bitbake runqueue changes
Richard Purdie [Sun, 12 Jun 2016 22:57:53 +0000 (23:57 +0100)] 
staging: Add BB_SETSCENE_VERIFY_FUNCTION2 for bitbake runqueue changes

We're about to rewrite the data structures in taskdata/runqueue in bitbake
and we 'leaked' knowledge about those structures to this single function.

Add a 'v2' function definition for use with the newer bitbake, the older
one can remain for compatibility for a while, then be removed. The function
is comparatively simple and rarely changes.

(From OE-Core rev: 2a6f88d51414993d18096f7f0dc27c0b862240bc)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobinutils: fix the incorrect assembling for ppc wait instruction
Zhenhua Luo [Sun, 12 Jun 2016 09:02:34 +0000 (17:02 +0800)] 
binutils: fix the incorrect assembling for ppc wait instruction

The wait mnemonic for ppc targets is incorrectly assembled into 0x7c00003c due
to duplicated address definition with waitasec instruction. The issue causes
kernel boot calltrace for ppc targets when wait instruction is executed.

(From OE-Core rev: 9764de92d5673d0f629555723321c933db015fe0)

Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agostrace: 4.11 -> 4.12
Robert Yang [Sun, 12 Jun 2016 08:25:13 +0000 (01:25 -0700)] 
strace: 4.11 -> 4.12

* Remove backported patches:
0001-Move-gcc-compat-macros-to-gcc_compat.h.patch
0001-arc-metag-nios2-or1k-tile-fix-build.patch
0001-scm_rights-fd.test-rewrite-without-fork.patch
0001-tests-introduce-libtests.patch
0001-tests-scm_rights.c-use-libtests.patch

* Update update-gawk-paths.patch

(From OE-Core rev: 53b3d06d24ad711241fe706d100d888a06669d57)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agotcl: 8.6.4 -> 8.6.5
Robert Yang [Sun, 12 Jun 2016 08:25:12 +0000 (01:25 -0700)] 
tcl: 8.6.4 -> 8.6.5

(From OE-Core rev: 0d388ca6775318143f62be9310fa2583fc84320f)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolibcap: 2.24 -> 2.25
Robert Yang [Sun, 12 Jun 2016 08:25:11 +0000 (01:25 -0700)] 
libcap: 2.24 -> 2.25

And fixed do_install:
SBINDIR="${D}${sbindir}" -> SBINDIR="${sbindir}"

(From OE-Core rev: 0ffcb59b700981a00c0e93e33cae5f720dc9a82b)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolibbsd: 0.8.2 -> 0.8.3
Robert Yang [Sun, 12 Jun 2016 08:25:10 +0000 (01:25 -0700)] 
libbsd: 0.8.2 -> 0.8.3

The LIC_FILES_CHKSUM changed because a word changes: http -> https.

(From OE-Core rev: 15f70441476b485dab2959113ec52c322e0db49a)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoe2fsprogs: 1.42.99+1.43+git -> 1.43
Robert Yang [Sun, 12 Jun 2016 08:25:08 +0000 (01:25 -0700)] 
e2fsprogs: 1.42.99+1.43+git -> 1.43

* Removed patches already in the source:
  - Revert-mke2fs-enable-the-metadata_csum-and-64bit-fea.patch
  - xattr_ordering.patch

* COPYING -> NOTICE, the md5sum is the same.

* e2fsprogs_git.bb -> e2fsprogs_1.43..bb

(From OE-Core rev: e0531174119bff21e9014b95ed1bbd0e1c01af26)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agomake: 4.1 -> 4.2
Robert Yang [Sun, 12 Jun 2016 08:25:07 +0000 (01:25 -0700)] 
make: 4.1 -> 4.2

Remove backport patch 0001-main.c-main-SV-43434-Handle-NULL-returns-from-ttynam.patch

(From OE-Core rev: 3ff14b3fb23746139e359e34f80dfaea6722a0cf)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogit: 2.8.2 -> 2.8.4
Robert Yang [Sun, 12 Jun 2016 08:25:06 +0000 (01:25 -0700)] 
git: 2.8.2 -> 2.8.4

(From OE-Core rev: 1d55b4d66f1fb82662b0be8f525a68798da23d01)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agomklibs-native: 0.1.40 -> 0.1.41
Robert Yang [Sun, 12 Jun 2016 08:25:05 +0000 (01:25 -0700)] 
mklibs-native: 0.1.40 -> 0.1.41

(From OE-Core rev: 562e336c36f78b4a20a135a2b8e2805ceaecee3e)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agofile: 5.25 -> 5.27
Robert Yang [Sun, 12 Jun 2016 08:25:04 +0000 (01:25 -0700)] 
file: 5.25 -> 5.27

(From OE-Core rev: 44a5da0e4ab49d49a2192b84a53cc1e726907f14)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoautogen-native: 5.18.6 -> 5.18.10
Robert Yang [Sun, 12 Jun 2016 08:25:03 +0000 (01:25 -0700)] 
autogen-native: 5.18.6 -> 5.18.10

Removed redirect-output-dir.patch, there is no /tmp/mklibsrc-log.tx, so
the patch is not needed any more.

(From OE-Core rev: bb5c0e91063f705c5e1ce319b4742e06f6aa4c97)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoresolvconf: upgrade to 1.79
Chen Qi [Sun, 12 Jun 2016 02:21:07 +0000 (10:21 +0800)] 
resolvconf: upgrade to 1.79

(From OE-Core rev: 439bee0777fb570858979acfbe20e9829f86412b)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopciutils: upgrade to 3.5.1
Chen Qi [Sun, 12 Jun 2016 02:21:06 +0000 (10:21 +0800)] 
pciutils: upgrade to 3.5.1

(From OE-Core rev: c1ac61317d6cab49fe67c394dbffdacb977e2cd2)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agotar: upgrade to 1.29
Chen Qi [Sun, 12 Jun 2016 02:21:05 +0000 (10:21 +0800)] 
tar: upgrade to 1.29

Refresh remove-gets.patch for the latest version.

(From OE-Core rev: 8504817a5707df0f26a3049846532bfa4890f329)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agocurl: upgrade to 7.49.1
Chen Qi [Sun, 12 Jun 2016 02:21:04 +0000 (10:21 +0800)] 
curl: upgrade to 7.49.1

(From OE-Core rev: 53761f4f2d4b8463bf9f996a87ee0dc61e21a2d0)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobyacc: upgrade to 20160324
Chen Qi [Sun, 12 Jun 2016 02:21:03 +0000 (10:21 +0800)] 
byacc: upgrade to 20160324

The license checksum is changed, but license type remains the same.

(From OE-Core rev: 6bc378f6a7526d39029854899a55cb22cef48c03)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosudo: upgrade to 1.8.16
Chen Qi [Sun, 12 Jun 2016 02:21:01 +0000 (10:21 +0800)] 
sudo: upgrade to 1.8.16

(From OE-Core rev: cab69cc57aba3b228cccae650f8b06dcf7d388af)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosysstat: upgrade to 11.3.4
Chen Qi [Sun, 12 Jun 2016 02:21:00 +0000 (10:21 +0800)] 
sysstat: upgrade to 11.3.4

The license checksum is changed but the license remains the same.

(From OE-Core rev: 01990eb1c868710cd4fb7b52057cd2eb1713c595)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogrep: upgrade to 2.25
Chen Qi [Sun, 12 Jun 2016 02:20:59 +0000 (10:20 +0800)] 
grep: upgrade to 2.25

(From OE-Core rev: 155588a2b825c371610f3c4af190f8c41522dfa0)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosystemd-boot: Set COMPATIBLE_HOST in recipe
Jianxun Zhang [Sat, 11 Jun 2016 01:04:47 +0000 (18:04 -0700)] 
systemd-boot: Set COMPATIBLE_HOST in recipe

We apply the same setting in the existing gummiboot to
COMPATIBLE_HOST, so that it properly stops build for
unsupported architectures.

(From OE-Core rev: 91403a81dc0555b5da89166520f868d9be5f91be)

Signed-off-by: Jianxun Zhang <jianxun.zhang@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: cooker.py: fix warn() -> warning()
Robert Yang [Sun, 12 Jun 2016 08:45:00 +0000 (01:45 -0700)] 
bitbake: cooker.py: fix warn() -> warning()

Fixed:
DeprecationWarning: The 'warn' method is deprecated, use 'warning' instead

(Bitbake rev: a3f464d202dafef4538e66c008cdecb7b8709ed1)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: data_smart/utils: Add 'd' to the context used for better_eval in python...
Richard Purdie [Thu, 9 Jun 2016 21:33:33 +0000 (22:33 +0100)] 
bitbake: data_smart/utils: Add 'd' to the context used for better_eval in python expansion

If a line like:

foo=${@' '.join([d.getVar('D', True) + x for x in (' '.join([d.getVar('FILES_bash-' + p, True) or '' for p in ['lib', 'dev', 'staticdev', 'doc', 'locale', 'ptest']])).split()])}

is added to a function like do_install, it fails with Exception name 'd'
is not defined. This is due to a change of behaviour in python 3 compared
to python 2. Generator expressions, dict comprehensions  and set comprehensions
are executed in a new scope but list comprehensions in python 2.x are not. In
python 3 they all use a new scope.

To allow these kinds of expressions to work, the easiest approach is
to add 'd' to the global context. To do this, an extra optional parameter
is added to better_eval and we use that to add 'd'.

(Bitbake rev: 8f74881037bb01013d3d439dc0c269909a198c1c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoscripts/lib/bsp/engine.py: Added missing parentheses to string formatting
Humberto Ibarra [Thu, 9 Jun 2016 17:07:39 +0000 (12:07 -0500)] 
scripts/lib/bsp/engine.py: Added missing parentheses to string formatting

Commit ab75075e7941c8c2ec429c180976702cd311c978 broke the string formatting
for multiple arguments. Since parentheses were removed the formatting considers
only first argument instead of all of them. Fixed parentheses on the formatting.

[YOCTO #9723]

(From meta-yocto rev: d6d641d5b4bb0c8b9acd5cd1341a4a3214bff086)

Signed-off-by: Humberto Ibarra <humberto.ibarra.lopez@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoscripts/lib/bsp/kernel.py: python3: use explicit relative imports
Humberto Ibarra [Thu, 9 Jun 2016 17:07:38 +0000 (12:07 -0500)] 
scripts/lib/bsp/kernel.py: python3: use explicit relative imports

Have to convert implicit relative imports to explicit imports since
implicit relative imports are not supported on python3.

[YOCTO #9723]

(From meta-yocto rev: 89cecc603d229768428f3cb68d21235dee80efda)

Signed-off-by: Humberto Ibarra <humberto.ibarra.lopez@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoscripts/lib/bsp/engine.py: Rename raw_input commands to input
Humberto Ibarra [Thu, 9 Jun 2016 17:07:37 +0000 (12:07 -0500)] 
scripts/lib/bsp/engine.py: Rename raw_input commands to input

According to https://docs.python.org/3/whatsnew/3.0.html python3
renamed 'raw_input' to 'input'. Making the appropiate changes for
this.

[YOCTO #9723]

(From meta-yocto rev: 76efeeeac7fb30b44ee7057b3b3d1fd84329dae1)

Signed-off-by: Humberto Ibarra <humberto.ibarra.lopez@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoscripts/yocto-bsp: Fixed typo in parameter that was causing exception
Humberto Ibarra [Thu, 9 Jun 2016 16:01:40 +0000 (11:01 -0500)] 
scripts/yocto-bsp: Fixed typo in parameter that was causing exception

There is a typo in the logging parameters, "filname" is being used instead
of "filename". This didn't cause issues before since python 2 didn't
validate unused parameters but with python >= 3.4.3 an exception is
thrown. This patch fixes this parameter name.

[Yocto #9736]

(From meta-yocto rev: aae5c2c39f64be87152b2e5470b50681c0f54670)

Signed-off-by: Humberto Ibarra <humberto.ibarra.lopez@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosystemtap: add build dependency on ncurses
Ross Burton [Fri, 10 Jun 2016 16:55:12 +0000 (17:55 +0100)] 
systemtap: add build dependency on ncurses

systemtap has a floating dependency on ncurses but as bash is a RDEPENDS the
build-rdeps sanity test doesn't fire due to a limitation of the test.

Add an explicit dependency on ncurses to ensure the build is deterministic.

[ YOCTO #9709 ]

(From OE-Core rev: 2fdd2c1434e7c741b8048145bd460c68bea7ee53)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agooe/distro_check.py: Fixes for python3
Aníbal Limón [Fri, 10 Jun 2016 15:12:10 +0000 (10:12 -0500)] 
oe/distro_check.py: Fixes for python3

create_socket: Use urllib because urllib2 is now urllib in python3
and proxies as argument are deprecated so export them in the environ
instead.

get_links_from_url: Change usage of sgmllib for parsing HTML because
is deprecated in python 3, use instead bs4 that is already imported
in the bitbake tree.

[YOCTO #9744]

(From OE-Core rev: ee26ecf58277560459dd01992bb3f486f92c1531)

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agouseradd-staticids.bbclass: Avoid FutureWarning about split()
Peter Kjellerstedt [Fri, 10 Jun 2016 15:46:11 +0000 (17:46 +0200)] 
useradd-staticids.bbclass: Avoid FutureWarning about split()

This avoids the following warning with Python 3.5:

  /usr/lib64/python3.5/re.py:203: FutureWarning: split() requires a
  non-empty pattern

(From OE-Core rev: a7a783c30cc58008f0e070dad39d40038e0a5eb5)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agouseradd-staticids.bbclass: Make sure opened files are closed
Peter Kjellerstedt [Fri, 10 Jun 2016 15:46:10 +0000 (17:46 +0200)] 
useradd-staticids.bbclass: Make sure opened files are closed

This avoids warnings about unclosed files with Python 3.

(From OE-Core rev: 77adf8341694b76cf58b7a31dda18b85b3eb87a2)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agomips: add tunes for (some) 24K cores
André Draszik [Fri, 10 Jun 2016 15:12:39 +0000 (16:12 +0100)] 
mips: add tunes for (some) 24K cores

- add 24kc big and little endian, which is based on mips32r2 w/o FPU
- add 24kec which is 24kc + DSP
- both can have the MIPS16e ASE enabled in their tunes

(From OE-Core rev: cccd8b09523d8f0c1df97d08181737681db13f37)

Signed-off-by: André Draszik <adraszik@tycoint.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agomips: add a tune for using MIPS16e ASE instructions
André Draszik [Fri, 10 Jun 2016 15:12:38 +0000 (16:12 +0100)] 
mips: add a tune for using MIPS16e ASE instructions

The MIPS16e instruction set still has to be enabled by setting
MIPS_INSTRUCTION_SET = 'mips16e'
in e.g. distro.conf and can be disabled on a per-recipe basis as
needed.

This is a similar approach as is available on ARM for Thumb support.

Note that contrary to the ARM Thumb support in OE, we do add a new
OVERRIDE (mips16e), as there are some recipes in OE that need to be
compiled slightly differently if mips16e mode is requested.

(From OE-Core rev: e9d8b02a42eb08802e202770409cb5378b79b281)

Signed-off-by: André Draszik <adraszik@tycoint.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agouclibc: never build with SSP
André Draszik [Fri, 10 Jun 2016 15:12:13 +0000 (16:12 +0100)] 
uclibc: never build with SSP

This doesn't work, as the initial gcc that is used for compiling
uclibc doesn't have support for SSP yet (since that will only
be available once uclibc has been compiled). Since during that
same compilation step uclibc is trying to build its own utils
those are failing to compile with SSP enabled as the
initial gcc doesn't have access to the required libraries,
yet.

We never used to set UCLIBC_BUILD_SSP in the past, this was
only changed as part of the upgrade to uclibc-ng in
commit 63bdadc (uclibc: Switch to using uclibc-ng), so here
we now simply restore the previous behaviour.

Note that we still enable SSP support inside uclibc for
everybody else to use, though.

(From OE-Core rev: 0d4857090c5dd0d940dca6ea90afc66a4007cd88)

Signed-off-by: André Draszik <adraszik@tycoint.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agouclibc: no need for CONFIG_MIPS_ISA_xxx config options
André Draszik [Fri, 10 Jun 2016 15:12:12 +0000 (16:12 +0100)] 
uclibc: no need for CONFIG_MIPS_ISA_xxx config options

The config option for the mips ISA have been completely removed
from uclibc-ng. uclibc doesn't add gcc options based on those
config options anymore. Hence we don't need to create them here
either.

(From OE-Core rev: d84af5532dca8e2d488da08a5f5dfe6d63aca773)

Signed-off-by: André Draszik <adraszik@tycoint.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoimage/image_types.bbclass: fix fatal error during cpio debugfs creation
André Draszik [Fri, 10 Jun 2016 15:11:38 +0000 (16:11 +0100)] 
image/image_types.bbclass: fix fatal error during cpio debugfs creation

If /init is just a symlink to /sbin/init, debugfs creation
fails with the following error:

ERROR: Error: The image creation script '<...>/debugfs.create_image.cpio' returned 1:
touch: cannot touch '<...>/cpio_append/init': Permission denied
WARNING: exit code 1 from a shell command.

ERROR: Function failed: do_rootfs

The reason is that IMAGE_CMD_cpio() is run twice on the same
WORKDIR. The first run creates a symlink in WORKDIR/cpio_append/init
to point to /sbin/init, while the 2nd run then tries to 'touch'
that link, which will fail, of course since /sbin/init is not
usually writable by non-root users.

Fix this by providing knowledge to the IMAGE_CMD_xxx() scripts
with regards to the fact that they are being executed in the
context of debugfs creation. The IMAGE_CMD_cpio() can now be
intelligent in the sense that it can avoid all additional symlink
handling during the debugfs run. The symlinks do not need to
be part of the debugfs, so we can skip that part altogether
in that case.

(From OE-Core rev: 659ae1d7df28115429f6f31450fad6d1f86e3031)

Signed-off-by: André Draszik <adraszik@tycoint.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolibjpeg-turbo: update to 1.5.0
Maxin B. John [Fri, 10 Jun 2016 08:32:20 +0000 (11:32 +0300)] 
libjpeg-turbo: update to 1.5.0

1. LIC_FILES_CHKSUM updates only involves changes in Copyright holders.
   LICENSE remains the same.

2. libjpeg-turbo don't have non-floating point ABI support in MIPS.
   Provide a work around for that.

3. Provide a workaround if Altivec unit is not present in PPC

4. Rename the recipe to fix upstream version check

[YOCTO #9606]

(From OE-Core rev: 46708da7a69ce4d4b0709abe6b694d7f0bd4deb5)

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agognutls: update 3.4.9 -> 3.4.11
Andre McCurdy [Fri, 15 Apr 2016 23:59:54 +0000 (16:59 -0700)] 
gnutls: update 3.4.9 -> 3.4.11

* Version 3.4.10 (released 2016-03-03)

** libgnutls: Eliminated issues preventing buffers more than 2^32 bytes
   to be used with hashing functions.

** libgnutls: Corrected leaks and other issues in gnutls_x509_crt_list_import().

** libgnutls: Fixes in DSA key handling for PKCS #11. Report and patches
   by Jan Vcelak.

** libgnutls: Several fixes to prevent relying on undefined behavior of C
   (found with libubsan).

* Version 3.4.11 (released 2016-04-11)

** libgnutls: Fixes in gnutls_record_get/set_state() with DTLS. Reported
   by Fridolin Pokorny.

** libgnutls: Fixes in DSA key generation under PKCS #11. Report and patches
   by Jan Vcelak.

** libgnutls: Corrected behavior of ALPN extension parsing during session
   resumption. Report and patches by Yuriy M. Kaminskiy.

** libgnutls: Corrected regression (since 3.4.0) in gnutls_server_name_set()
   which caused it not to accept non-null-terminated hostnames. Reported
   by Tim Ruehsen.

** libgnutls: Corrected printing of the IP Adress name constraints.

** ocsptool: use HTTP/1.0 for requests. This avoids issue with servers
   serving chunk encoding which ocsptool doesn't support. Reported by Thomas
   Klute.

** certtool: do not require a CA for OCSP signing tag. This follows the
   recommendations in RFC6960 in 4.2.2.2 which allow a CA to delegate OCSP
   signing to another certificate without requiring it to be a CA. Reported
   by Thomas Klute.

(From OE-Core rev: a41d0ba222b5f0542cb39fe0dcaae1b72cd47e35)

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoweston: Fix bug causing the xwayland package to always be included
Tom Hochstein [Thu, 9 Jun 2016 23:09:19 +0000 (18:09 -0500)] 
weston: Fix bug causing the xwayland package to always be included

The xwayland package was always being built due to its inclusion in
PACKAGE_BEFORE_PN. The effect was masked by making the RDEPENDS conditional.

Now we make the PACKAGE_BEFORE_PN inclusion conditional and restore
the xwayland RDEPENDS to unconditional.

(From OE-Core rev: 918ef140dbcfb8dd6e5774a1ce57162de814661c)

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoadwaita-icon-theme: Split symbolic icons into 2 packages
Jussi Kukkonen [Fri, 6 May 2016 12:28:10 +0000 (15:28 +0300)] 
adwaita-icon-theme: Split symbolic icons into 2 packages

Symbolic icons are tiny but there's a lot of them and they actually
take multiple times their apparent size on a typical filesystem.

Split the symbolic icons: adwaita-icon-theme-symbolic contains the
icon sizes that seem to be typically used by GTK+ and applications
(16x16 & 24x24). Other sizes are in adwaita-icon-theme-symbolic-hires.

(From OE-Core rev: 2d09c909d06dd330c3a801bf3685e1534d685ca1)

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogtk+3: Add RRECOMMENDS to match gtk+
Jussi Kukkonen [Fri, 6 May 2016 07:51:38 +0000 (10:51 +0300)] 
gtk+3: Add RRECOMMENDS to match gtk+

Rrecommend a similar set of packages as the gtk+ recipe.

Most importantly this actually makes icons render even when other
packages do not drag in the relevant gdkpixbuf loaders.

(From OE-Core rev: 0c686118fa74745571ff4ce6786fd415d39dbeb9)

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogtk-immodules-cache: Support both GTKs at same time
Jussi Kukkonen [Wed, 27 Apr 2016 12:43:33 +0000 (15:43 +0300)] 
gtk-immodules-cache: Support both GTKs at same time

(From OE-Core rev: 0cb5016283a80b04a41d37e332bb324a203e2ef8)

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agodistcc: Disable GTK UI by default
Jussi Kukkonen [Wed, 27 Apr 2016 08:49:32 +0000 (11:49 +0300)] 
distcc: Disable GTK UI by default

In the effort to drop GTK+2 from typical images, disable distcc GUI
by default. distccmon-text is still available.

(From OE-Core rev: d21edfa50aa1d3f4db35903545242888223768b6)

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agooh-puzzles: Remove as we're using puzzles now
Jussi Kukkonen [Tue, 26 Apr 2016 21:08:55 +0000 (00:08 +0300)] 
oh-puzzles: Remove as we're using puzzles now

(From OE-Core rev: 8f930c67bf8acc39876fe29b368e5bcc15289e2b)

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopackagegroup-core-x11-sato: Use puzzles instead of oh-puzzles
Jussi Kukkonen [Tue, 26 Apr 2016 21:01:27 +0000 (00:01 +0300)] 
packagegroup-core-x11-sato: Use puzzles instead of oh-puzzles

puzzles has Gtk+3 support, let's use that instead of the
oh fork.

(From OE-Core rev: 2e313b8bade66da62b3823f82444ae3b30005022)

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agognome-themes-standard: Add new GTK+2 theme
Jussi Kukkonen [Mon, 29 Feb 2016 11:57:22 +0000 (13:57 +0200)] 
gnome-themes-standard: Add new GTK+2 theme

This is useful as it matches the default GTK+3 theme well.
Only the Adwaita theme currently gets installed.

(From OE-Core rev: aabfce5c31dd2faff54d293c5c237346b748a184)

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agonpm.bbclass: avoid str/byte conversion problems for PKGV and SUMMARY
Patrick Ohly [Fri, 10 Jun 2016 08:04:51 +0000 (10:04 +0200)] 
npm.bbclass: avoid str/byte conversion problems for PKGV and SUMMARY

In Python3, str.encode() returns byte strings, which later are not
converted back to strings automatically, leading to "TypeError: Can't
convert 'bytes' object to str implicitly" in code which reads PKGV and
SUMMARY and expects to find strings there.

The npm.bbclass must use values for d.setVar() that meet that
expectation, and thus the redundant (and in Python3, harmful)
.encode() gets removed.

(From OE-Core rev: 241e094bcd9212204350f9855257474908f82a3c)

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobuildhistory-diff: suggest correct version of PythonGit
Ed Bartosh [Fri, 10 Jun 2016 07:43:52 +0000 (10:43 +0300)] 
buildhistory-diff: suggest correct version of PythonGit

If buildhistory-diff can't import git module it throws error
message suggesting to install it.

Due to the move to Python 3 the suggested package name and
version became outdated.

Changed package name to python3-git and version to >= 0.3.4
as GitPython supports Python 3 starting from 0.3.4.

[YOCTO #9741]

(From OE-Core rev: 0632c3e69070e340218c1c1c835b2343cd143d8d)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoweston-init: Don't change XDG_RUNTIME_DIR if it already exists
Tom Hochstein [Thu, 9 Jun 2016 19:27:06 +0000 (14:27 -0500)] 
weston-init: Don't change XDG_RUNTIME_DIR if it already exists

In the case that XDG_RUNTIME_DIR already exists, the mkdir --parents
at least does nothing, but the chmod could overwrite the desired
file mode settings.

(From OE-Core rev: 9f539d03138817b7b740ed1895000704e4a475d0)

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoweston-init: Use bitbake path variable
Tom Hochstein [Thu, 9 Jun 2016 19:27:05 +0000 (14:27 -0500)] 
weston-init: Use bitbake path variable

(From OE-Core rev: 537afef2209bef327a28234207d1ef7e4e596a6e)

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agox11-common: Fix XDG_RUNTIME_DIR typo
Tom Hochstein [Thu, 9 Jun 2016 19:27:04 +0000 (14:27 -0500)] 
x11-common: Fix XDG_RUNTIME_DIR typo

Fix the if-statement that had misspelled XDG_RUNTIME_DIR.
Also fix whitespace.

(From OE-Core rev: 8db2be8b246362aff9931a31882fa3bab0043419)

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopython: Several recipes needed SRC_URI updating
Alejandro Hernandez [Thu, 9 Jun 2016 17:00:06 +0000 (17:00 +0000)] 
python: Several recipes needed SRC_URI updating

Most python recipes download its source from pypi.python.org,
but they changed the way theyre storing the source code, so
we need to use pythonhosted instead, see:
https://bitbucket.org/pypa/pypi/issues/438/backwards-compatible-un-hashed-package

(From OE-Core rev: 08de9032e870966947b937a1226dd860e0bd71cf)

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agooe-pkgdata-util: new option to provide full info for binary package(s)
Alexander D. Kanevskiy [Wed, 8 Jun 2016 15:07:43 +0000 (18:07 +0300)] 
oe-pkgdata-util: new option to provide full info for binary package(s)

New option can be used for displaying full information about binary
package(s), including name, full version, recipe name, recipe full
version and package size.

This information can be useful inside custom buildhistory class
to produce detailed image manifest for further analysis.

List of packages can be specified as command line arguments or can
be read from file (e.g. from existing image manifest).

Warning: In case of image manifest is used as input outside of build
process, be aware that pkgdata might change since the time image
was built.

Output format:
{PKG} [PKGE:]{PKGV}[-{PKGR}] {PN} [PE:]{PV}[-{PR}] {PKGSIZE}

(From OE-Core rev: bc0cdaa927124150a6c38cd47977ee4da8dd440e)

Signed-off-by: Alexander D. Kanevskiy <kad@kad.name>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolib/oe/terminal.py: decode bytes variable before rstrip/split
Leonardo Sandoval [Thu, 9 Jun 2016 12:53:06 +0000 (07:53 -0500)] 
lib/oe/terminal.py: decode bytes variable before rstrip/split

On python 3, bytes variable types must be decoded if these are intended to be
used as strings, otherwise we get the following error exception:

    TypeError: Type str doesn't support the buffer API

(From OE-Core rev: b950539c911b7945d652b05616164828e711ac7f)

Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopython3-pygobject: Upgrade from 3.18.2 to 3.20.1
Alejandro Hernandez [Wed, 8 Jun 2016 19:23:29 +0000 (19:23 +0000)] 
python3-pygobject: Upgrade from 3.18.2 to 3.20.1

(From OE-Core rev: 991174af2dd3905b8d11022a8ff05b2df90ad8d3)

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoavahi: add extra path to GIR_EXTRA_LIBS_PATH
Dmitriy Falko [Thu, 9 Jun 2016 08:35:33 +0000 (11:35 +0300)] 
avahi: add extra path to GIR_EXTRA_LIBS_PATH

(From OE-Core rev: 2c904fa47e1b020f9b004cd54fe39e47bfdf7879)

Signed-off-by: Dmitriy Falko <d.falko.work@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopython3-pygobject: only check for even upstream versions
Alexander Kanavin [Thu, 9 Jun 2016 09:42:48 +0000 (12:42 +0300)] 
python3-pygobject: only check for even upstream versions

(From OE-Core rev: f658b62beb28e668137521a1801c04fd4bded9e6)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobash-completion: fix upstream version check
Alexander Kanavin [Thu, 9 Jun 2016 09:42:47 +0000 (12:42 +0300)] 
bash-completion: fix upstream version check

(From OE-Core rev: 8093cc5649b8a827f9ebb70858cfc1d0f9f264b2)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopython-numpy: Upgrade from 1.10.4 to 1.11.0
Alejandro Hernandez [Wed, 8 Jun 2016 05:56:11 +0000 (05:56 +0000)] 
python-numpy: Upgrade from 1.10.4 to 1.11.0

Upgrades python-numpy and python3-numpy to 1.11.0,
Drops using distutils class, to use setuptools class instead,
this fixes a problem where after compilation the package was created
as an egg, see YOCTO #8673
Fixes source location for both packages and also adds a new patch
to fix the shebang on the f2py script, see YOCTO #9729

(From OE-Core rev: dd756bb8fdff676dba312e38ebc90c4c89dfe855)

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopython3-pip: Upgrade from 8.0.0 to 8.1.2
Alejandro Hernandez [Wed, 8 Jun 2016 05:56:15 +0000 (05:56 +0000)] 
python3-pip: Upgrade from 8.0.0 to 8.1.2

(From OE-Core rev: e2e248919e31029ece26ec0f1383690ce410aa24)

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopython-scons: Upgrade from 2.4.1 to 2.5.0
Alejandro Hernandez [Wed, 8 Jun 2016 05:56:14 +0000 (05:56 +0000)] 
python-scons: Upgrade from 2.4.1 to 2.5.0

Upgrades both python-scons and python-scons-native to 2.5.0,
also fixes a runtime dependency issue when calling scons

(From OE-Core rev: 3782164546aca84011940811c411e09601fbe399)

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopython-pexpect: Upgrade from 4.0.1 to 4.1.0
Alejandro Hernandez [Wed, 8 Jun 2016 05:56:12 +0000 (05:56 +0000)] 
python-pexpect: Upgrade from 4.0.1 to 4.1.0

Fixes source location, uses setuptools instead of distutils
Adds python-ptyprocess package, since it is now a runtime
dependency for python-pexpect

(From OE-Core rev: 8e29f954613fbc2eb274fc7e3da1d516353c4683)

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopython-mako: Upgrade python-mako and python3-mako to 1.0.4
Alejandro Hernandez [Wed, 8 Jun 2016 05:56:10 +0000 (05:56 +0000)] 
python-mako: Upgrade python-mako and python3-mako to 1.0.4

(From OE-Core rev: 84d54d198f6445ddd3c86d8ad6833f0d40a35ffd)

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopython-git: Upgrade from 1.0.2 to 2.0.5
Alejandro Hernandez [Wed, 8 Jun 2016 05:56:09 +0000 (05:56 +0000)] 
python-git: Upgrade from 1.0.2 to 2.0.5

Move checksums into the relevant recipes as currently python-git and python3-git
are at different versions - RB.

(From OE-Core rev: b7c00d3290ea99547f04ae2bcb4c8dcb969888c0)

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopython-setuptools: Upgrade to 22.0.5
Alejandro Hernandez [Wed, 8 Jun 2016 05:56:08 +0000 (05:56 +0000)] 
python-setuptools: Upgrade to 22.0.5

Source location changed on pypi, this must be changed on all other recipes as well,
License also changed to MIT

(From OE-Core rev: bb2ecb102f30d5165c4e47adadfe5d052c6a06ce)

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoeudev: upgrade to 3.2
Alejandro Hernandez [Wed, 8 Jun 2016 05:56:07 +0000 (05:56 +0000)] 
eudev: upgrade to 3.2

(From OE-Core rev: 8ca00c9e25335121129f26480ed229dacde0a7c8)

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agorunqemu-internal: Update the qemuzynq boot options
Alistair Francis [Tue, 7 Jun 2016 18:33:37 +0000 (11:33 -0700)] 
runqemu-internal: Update the qemuzynq boot options

The current qemuzynq options were causing QEMU to exit instead of
booting as the QEMU Zynq-7000 machine does not have virtio or
display devices.

(From OE-Core rev: e76f62a862a895147a89cea2519679aad337a679)

Signed-off-by: Alistair Francis <alistair.francis@xilinx.com>
Reported-by: Arno <star@gmx.li>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowebkitgtk: disable gobject-introspection on mips64
Chen Qi [Mon, 30 May 2016 07:45:07 +0000 (15:45 +0800)] 
webkitgtk: disable gobject-introspection on mips64

Disable gobject-introspection on mips64 to avoid do_compile failure.

(From OE-Core rev: 4a5ba5c2a193c9c0a6a8cc84bdfb166b7add42fa)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopackagegroup-self-hosted: port to Python 3
Ross Burton [Tue, 7 Jun 2016 15:50:09 +0000 (16:50 +0100)] 
packagegroup-self-hosted: port to Python 3

A self-hosting packagegroup needs to ship Python 3 for bitbake, not Python 2.

Remove python-compiler as it was a standard module in Py2 and removed in Py3.

Remove python-misc as it is pulled in via python3-modules.

Remove python-rpm as it is only required by Smart, and if smart is installed
then python-rpm will be too.

[ YOCTO #9713 ]

(From OE-Core rev: ee627d7a833e0d85f691729c4d2f774516a8f425)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoperl: fix several perl test failures
Bill Randle [Sat, 4 Jun 2016 22:45:03 +0000 (15:45 -0700)] 
perl: fix several perl test failures

Several ExtUtils-MakeMaker tests fail when cross-compiled and run on
the target machine. Backport an upstream patch to fix the issues. Also
update the customized.dat hash file for the files modified by this patch
and other existing patches so the porting/customized.t test passes.

[YOCTO #8656]

(From OE-Core rev: bf1160a62d758b0148856482cb7b3f6fed63a0c2)

Signed-off-by: Bill Randle <william.c.randle@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoperl: some perl tests require libssp
Bill Randle [Sat, 4 Jun 2016 22:45:02 +0000 (15:45 -0700)] 
perl: some perl tests require libssp

Add libssp to the list of dependencies when building with perl-ptest
as some tests require it.

[YOCTO #8656]

(From OE-Core rev: 9ea1d6474c5cd3546d1cad7c0f02a1ee8b3c76bb)

Signed-off-by: Bill Randle <william.c.randle@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoperl: set proper perl subversion number in config files
Bill Randle [Sat, 4 Jun 2016 22:45:01 +0000 (15:45 -0700)] 
perl: set proper perl subversion number in config files

During the upgrade from Perl 5.22.0 to 5.22.1 in commit
f4c9908eae1ae3dcc38877abe2d5fbeb46851dd4 the config.sh file was hand edited
to change the subversion numbers. However, the edit was not entirely
correct. As a result the Perl version test failed. Set the correct
version strings.

[YOCTO #8656]

(From OE-Core rev: 6e06fec1ca71979e361d8a6e35ef4ec442e71881)

Signed-off-by: Bill Randle <william.c.randle@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agorunqemu: Add suport for qemuzynqmp
Alistair Francis [Thu, 12 May 2016 21:37:39 +0000 (14:37 -0700)] 
runqemu: Add suport for qemuzynqmp

(From OE-Core rev: d2a7c1db9bff6ae3844e3d017e94f29d1501bf57)

Signed-off-by: Alistair Francis <alistair.francis@xilinx.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopackagegroup-self-hosted.bb: remove unsuitable network related dependence
Zhenbo Gao [Thu, 26 May 2016 06:40:09 +0000 (14:40 +0800)] 
packagegroup-self-hosted.bb: remove unsuitable network related dependence

self-hosted should not include any network related dependence, the image that
pulls in this packagegroup should handle any networking requirements.

(From OE-Core rev: 29ebe67fcc49b317bbb24871d8285494c1a29d9a)

Signed-off-by: Zhenbo Gao <zhenbo.gao@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: lib/bb/main.py: Fix use of BBPOSTCONF and BBPRECONF
Mariano Lopez [Tue, 7 Jun 2016 12:27:39 +0000 (12:27 +0000)] 
bitbake: lib/bb/main.py: Fix use of BBPOSTCONF and BBPRECONF

The functionality of BBPOSTCONF and BBPRECONF was added in
commit 21b314d4d1e5b8fbeb4cc57006f0a110f0b3aa8f but there
was a typo in the variable name that raises an exception
in bitbake.

[YOCTO #9235]

(Bitbake rev: 6d1379c8818400e5cdc442e6142f08a110fd5b95)

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agooe-pkgdata-util: fix AttributeError
Ed Bartosh [Tue, 7 Jun 2016 11:59:13 +0000 (14:59 +0300)] 
oe-pkgdata-util: fix AttributeError

The default arparse behaviour in Python 2 and early versions of Python 3
was to print usage message if no subcommands provided by user.
In Python >= 3.2.3 subparser has to have attribute 'required' set to
True to behave similar way.

By default subparser.required attribute is set to False, usage message is
not printed and code continues to be executed.

oe-pkgdata-util code raises AttributeError exception in
this case:
    AttributeError: 'Namespace' object has no attribute 'func'

Fixed this by setting subparser.required to True.

[YOCTO #9711]

(From OE-Core rev: 207dba5b6eb04c1ae2081bac06724b3b6a198cb3)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoselftest/testexport.py: Add test test_testexport_basic
Mariano Lopez [Mon, 6 Jun 2016 10:28:04 +0000 (10:28 +0000)] 
selftest/testexport.py: Add test test_testexport_basic

Exported tests is not been tested right now and it get
broken very easily with import errors from bitbake.

This adds a new test in order to verify in the CI if
the testexport gets broken.

[YOCTO #8384]

(From OE-Core rev: b6e0a762f8a17ee323cef02934f9a624faf706ed)

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agotestexport.bbclass: Create tarballs for easy release
Mariano Lopez [Mon, 6 Jun 2016 09:15:54 +0000 (09:15 +0000)] 
testexport.bbclass: Create tarballs for easy release

This create tarballs in the testexport directory in order
to make easier to distribute the test in another systems.

There are three tarballs, one for the metadata that is not
arch dependant, another for packages needed by the DUT
(this depends of target MACHINE), and the last one for the
SDK needed by the systems that perform the tests.

This also create only the tarballs that are needed.

[YOCTO #8481]

(From OE-Core rev: f8a0456e100b07a966cc24a78f197400c5a2ccab)

(From OE-Core rev: a91a603676b088abcb648cc558c33da6292b9be6)

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agotestexport.bbclass: Add support for testexport-tarball
Mariano Lopez [Mon, 6 Jun 2016 07:15:44 +0000 (07:15 +0000)] 
testexport.bbclass: Add support for testexport-tarball

Add support to export the SDK tarball needed when a test
system doesn't have the required software to perform runtime
tests.

The support is when exporting the test and when running
the test on a remote system. The user of this feature just
need to set TEST_EXPORT_SDK_ENABLED to "1" and declare
the sdk packages in TEST_EXPORT_SDK_PACKAGES.

[YOCTO #7850]

(From OE-Core rev: a6041f81b81baa7564e4c712fc88de2b997e52e4)

(From OE-Core rev: 05e6c89f0f71311f8bd32cdb86a2deb789c58035)

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agotestexport-tarball.bb: Add recipe
Mariano Lopez [Mon, 6 Jun 2016 07:15:43 +0000 (07:15 +0000)] 
testexport-tarball.bb: Add recipe

This new recipe is used when exporting runtime test outside
packages that won't be installed in the testing system but
are required for the runtime testing.

This new recipe is almost identical to buildtools-tarball,
but is able to define the SDK packages in local.conf.

[YOCTO #7850]

(From OE-Core rev: fbcd1f9ed6144a76ff6a556d23af30f04c39bfa0)

(From OE-Core rev: d787cd34da1cba52f5ecf68b7f55aa5550ed5e71)

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agotestimage.bbclass: Make dependency of cpio when using RPMs
Mariano Lopez [Mon, 6 Jun 2016 07:15:42 +0000 (07:15 +0000)] 
testimage.bbclass: Make dependency of cpio when using RPMs

Exctraction of RPMs needs cpio, not all distros include cpio by
default, so we need to build it.

[YOCTO #8694]

(From OE-Core rev: 95cd427b3887b087533fba11c67ef9bc173f9aa5)

(From OE-Core rev: 5a4c73bd3f2bbba2ad5413367fa7ca2f625ffdd7)

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agooetest.py: Add install/uninstall functionality for DUTs
Mariano Lopez [Mon, 6 Jun 2016 07:15:41 +0000 (07:15 +0000)] 
oetest.py: Add install/uninstall functionality for DUTs

Add the functionality to install/unistall packages in the
DUTs without the use of the package manager. This is possible
with the extraction introduced in package manager class.

testimage and testexport bbclasses has been modified in order
to support this new feature.

[YOCTO #8694]

(From OE-Core rev: b7111d9e9d64d21f57729d1ac1865aea6e54cc8b)

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolib/oeqa/otest.py: Fix import tests from other layers with python3
Mariano Lopez [Mon, 6 Jun 2016 07:15:40 +0000 (07:15 +0000)] 
lib/oeqa/otest.py: Fix import tests from other layers with python3

In python3 the functionality to import modules has been changed and
this broke the capability to add runtime tests from other layers.

This commit returns this capability to testimage and testexport.

[YOCTO #9705]

(From OE-Core rev: a26f23d3ce8f7e9f59dbc9bf27516377fd7a0a6d)

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agooe/lib/pacakge_manager.py: Update missing pipeline decoding
Mariano Lopez [Mon, 6 Jun 2016 07:15:39 +0000 (07:15 +0000)] 
oe/lib/pacakge_manager.py: Update missing pipeline decoding

Adds decoding needed by some commands output later used as
strings.

[YOCTO #9702]

(From OE-Core rev: 0440b5ace411c61f802376d4e1c9eac93e72d65f)

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoalsa-plugins: 1.1.0 -> 1.1.1
Tanu Kaskinen [Mon, 6 Jun 2016 16:55:58 +0000 (19:55 +0300)] 
alsa-plugins: 1.1.0 -> 1.1.1

Changelog: http://alsa-project.org/main/index.php/Changes_v1.1.0_v1.1.1

Removed upstreamed patch
0001-pph-include-config.h-from-rate_speexrate.c.patch.

(From OE-Core rev: 8369070cf6d40732ae9d0e34c2cb2e17669cec11)

Signed-off-by: Tanu Kaskinen <tanuk@iki.fi>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoalsa-utils: 1.1.0 -> 1.1.1
Tanu Kaskinen [Mon, 6 Jun 2016 16:55:57 +0000 (19:55 +0300)] 
alsa-utils: 1.1.0 -> 1.1.1

Changelog:
http://alsa-project.org/main/index.php/Changes_v1.1.0_v1.1.1

alsabat has now a "standalone" mode, in which analysis with libfftw is
not needed. Therefore, it's now possible to enable alsabat without
fftw. However, there's no way to explicitly tell the configure script
to enable alsabat, but disable fftw. Without support for explicit
request to disable fftw, fftw would become a floating dependency,
which is why the recipe still only supports the "disable alsabat" and
"enable alsabat with fftw" options.

Dropped 0001-alsabat-rename-to-avoid-naming-conflict.patch (it's
included in the new release).

(From OE-Core rev: f54d2d640b0169d9d3f55fd6eeed1c09e849223b)

Signed-off-by: Tanu Kaskinen <tanuk@iki.fi>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoalsa-lib: 1.1.0 -> 1.1.1
Tanu Kaskinen [Mon, 6 Jun 2016 16:55:56 +0000 (19:55 +0300)] 
alsa-lib: 1.1.0 -> 1.1.1

Release notes:
http://alsa-project.org/main/index.php/Changes_v1.1.0_v1.1.1

Dropped upstreamed patch
0001-topology-Add-missing-include-sys-stat.h.patch.

Updated "Upstream-Status" of accepted patch
0001-pcm_plugin-fix-appl-pointer-not-correct-when-mmap_co.patch.

Rebased avoid-including-sys-poll.h-directly.patch.

(From OE-Core rev: 3693f243a639351083eb29fb1a14916d0ff5990d)

Signed-off-by: Tanu Kaskinen <tanuk@iki.fi>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoalsa: update BUGTRACKER links
Tanu Kaskinen [Mon, 6 Jun 2016 16:55:55 +0000 (19:55 +0300)] 
alsa: update BUGTRACKER links

The old bug tracker is defunct.

(From OE-Core rev: 2190658fa8d7e391df61aa3f2253cfae1ca2b5df)

Signed-off-by: Tanu Kaskinen <tanuk@iki.fi>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoopkg-utils: update SRCREV
Alejandro del Castillo [Mon, 6 Jun 2016 16:08:52 +0000 (11:08 -0500)] 
opkg-utils: update SRCREV

Drop patches now included in newer SRCREV. Update HOMEPAGE and PV
version to better align with opkg. Current revision include:

* Python 3 compatibility
* Improved error handling

(From OE-Core rev: 4b0b43f473ef12631daa577cdba39906f7d67cab)

Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agorm_work: exclude all kernel recipes
Martin Jansa [Mon, 6 Jun 2016 13:31:07 +0000 (15:31 +0200)] 
rm_work: exclude all kernel recipes

* otherwise kernel is rebuilt every single time and often it fails when
  building external modules

[YOCTO #9352]

(From OE-Core rev: 9d23daf03ece06185224f869e9b7f73789689c2d)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>