]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
8 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)
'''

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 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.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 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.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 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.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 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.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
8 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.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 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.

Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 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

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 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

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 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}"

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 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.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 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

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 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

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 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

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 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

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

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 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.

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

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 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

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 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.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 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

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 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.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 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

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 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.

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

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 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.

Signed-off-by: Jianxun Zhang <jianxun.zhang@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 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 ]

Signed-off-by: Ross Burton <ross.burton@intel.com>
8 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]

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 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

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 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.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 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

Signed-off-by: André Draszik <adraszik@tycoint.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 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.

Signed-off-by: André Draszik <adraszik@tycoint.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 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.

Signed-off-by: André Draszik <adraszik@tycoint.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 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.

Signed-off-by: André Draszik <adraszik@tycoint.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 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.

Signed-off-by: André Draszik <adraszik@tycoint.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 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]

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 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.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 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.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 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.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 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.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 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

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 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.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 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

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 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.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 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.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 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.

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 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]

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 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.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 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

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 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.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 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

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 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}

Signed-off-by: Alexander D. Kanevskiy <kad@kad.name>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 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

Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 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

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 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

Signed-off-by: Dmitriy Falko <d.falko.work@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 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

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 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

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 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

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 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

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 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

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 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

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 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

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 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.

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 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

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

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 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.

Signed-off-by: Alistair Francis <alistair.francis@xilinx.com>
Reported-by: Arno <star@gmx.li>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 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.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 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 ]

Signed-off-by: Ross Burton <ross.burton@intel.com>
8 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]

Signed-off-by: Bill Randle <william.c.randle@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 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]

Signed-off-by: Bill Randle <william.c.randle@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 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]

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

Signed-off-by: Alistair Francis <alistair.francis@xilinx.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 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.

Signed-off-by: Zhenbo Gao <zhenbo.gao@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 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]

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 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]

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 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)

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 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)

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 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)

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 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)

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 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]

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 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]

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 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]

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 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.

Signed-off-by: Tanu Kaskinen <tanuk@iki.fi>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 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).

Signed-off-by: Tanu Kaskinen <tanuk@iki.fi>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 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.

Signed-off-by: Tanu Kaskinen <tanuk@iki.fi>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 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.

Signed-off-by: Tanu Kaskinen <tanuk@iki.fi>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 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

Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 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]

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agogobject-introspection: move to Python 3
Alexander Kanavin [Mon, 6 Jun 2016 13:11:38 +0000 (16:11 +0300)]
gobject-introspection: move to Python 3

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agodb: add RECIPE_NO_UPDATE_REASON
Maxin B. John [Mon, 6 Jun 2016 09:13:41 +0000 (12:13 +0300)]
db: add RECIPE_NO_UPDATE_REASON

db-6.2.23 does not work with RPM-5.x due to changes in locking semantics

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolinux-yocto/4.4: mmc backports
Bruce Ashfield [Mon, 6 Jun 2016 08:15:29 +0000 (04:15 -0400)]
linux-yocto/4.4: mmc backports

Backporting the following mcc commits to the 4.4 repo. These fix issues
being seen on broxton based boads:

  1f3e98df094c mmc: core: Add a facility to "pause" re-tuning
  b27fcd162327 mmc: block: Pause re-tuning while switched to the RPMB partition
  9aa07b4e274e mmc: block: Always switch back to main area after RPMB access

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoyocto-bsps: add i2c definitions to beaglebone
Bruce Ashfield [Mon, 6 Jun 2016 08:15:28 +0000 (04:15 -0400)]
yocto-bsps: add i2c definitions to beaglebone

Importing i2c dtsi support from linux-omap. This enables the
busses for future development and application support.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolinux-yocto/4.4: bump to v4.4.12
Bruce Ashfield [Mon, 6 Jun 2016 08:15:27 +0000 (04:15 -0400)]
linux-yocto/4.4: bump to v4.4.12

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agometa: Drop swabber
Richard Purdie [Mon, 6 Jun 2016 11:08:56 +0000 (12:08 +0100)]
meta: Drop swabber

swabber hasn't been used in years and never did work well in the first
place. Remove its recipes, class and configuration.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolib/oe/package_manager: adapt for Python 3
Ross Burton [Sun, 5 Jun 2016 21:52:42 +0000 (22:52 +0100)]
lib/oe/package_manager: adapt for Python 3

string.rstrip() doesn't exist in Python 3, so use the .rstrip method on the
object itself instead.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolibarchive: respect disable-acl configuration option
Maxin B. John [Sun, 5 Jun 2016 21:12:03 +0000 (00:12 +0300)]
libarchive: respect disable-acl configuration option

Update configure.ac to properly handle --disable-acl option

[YOCTO #9668]

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoimage-buildinfo: Update to python3 syntax
Richard Purdie [Sun, 5 Jun 2016 07:18:41 +0000 (08:18 +0100)]
image-buildinfo: Update to python3 syntax

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolibarchive: Add PACKAGECONFIG for lz4 to ensure determinism
Richard Purdie [Sat, 4 Jun 2016 08:04:26 +0000 (09:04 +0100)]
libarchive: Add PACKAGECONFIG for lz4 to ensure determinism

This avoids:

WARNING: opkg-1_0.3.1-r0 do_package_qa: QA Issue: libopkg rdepends on lz4, but it isn't a build dependency, missing lz4 in DEPENDS or PACKAGECONFIG? [build-deps]

and ERROR:

build-appliance-image-15.0.0-r0 do_rootfs: Unable to install packages. Command '/home/pokybuild/yocto-autobuilder/yocto-worker/build-appliance/build/build/tmp/sysroots/x86_64-linux/usr/bin/smart --log-level=warning --data-dir=/home/pokybuild/yocto-autobuilder/yocto-worker/build-appliance/build/build/tmp/work/qemux86_64-poky-linux/build-appliance-image/15.0.0-r0/rootfs/var/lib/smart install -y packagegroup-core-boot@qemux86_64 packagegroup-core-ssh-openssh@all psplash@core2_64 kernel-dev@qemux86_64 packagegroup-core-x11-base@all kernel-devsrc@qemux86_64 smartpm@core2_64 packagegroup-self-hosted@all rpm@core2_64 locale-base-en-us@core2_64 locale-base-en-gb@core2_64' returned 1:
Loading cache...
Updating cache...               ######################################## [100%]

Computing transaction...error: Can't install libopkg1-1:0.3.1-r0.0@core2_64: no package provides lz4 >= 131+git0+d86dc9167

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agodpkg: Upgrade to 1.18.7
Aníbal Limón [Thu, 26 May 2016 21:18:45 +0000 (16:18 -0500)]
dpkg: Upgrade to 1.18.7

Rebased patches:

0003-Our-pre-postinsts-expect-D-to-be-set-when-running-in.patch
add_armeb_triplet_entry.patchadd_armeb_triplet_entry.patch

Patches removed already in upstream:

[1] 0001-When-running-do_package_write_deb-we-have-trees-of-h.patch
[2] fix-abs-redefine.patch

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
[1] https://anonscm.debian.org/cgit/dpkg/dpkg.git/commit/dpkg-deb/build.c?id=7a91341446851cd3594a8b752823b8c1f26d652a
[2] https://anonscm.debian.org/cgit/dpkg/dpkg.git/commit/lib/dpkg/i18n.h?id=ecd4baa091619cbbdd70043129dd992573580371
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoofono: update to 1.18
Maxin B. John [Fri, 3 Jun 2016 08:25:55 +0000 (11:25 +0300)]
ofono: update to 1.18

1.17 -> 1.18

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>