]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
8 years agosyslinux.bbclass: Added configurable SYSLINUX_ALLOWOPTIONS variable
Davis, Michael [Wed, 1 Jun 2016 19:02:46 +0000 (19:02 +0000)]
syslinux.bbclass: Added configurable SYSLINUX_ALLOWOPTIONS variable

The new variable allows for images to be created without an
editable boot line in syslinux.  Default behavior remains unchanged.

Signed-off-by: Michael Davis <michael.davis@essvote.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agodistro_check.py: Don't mix tabs and spaces
Jussi Kukkonen [Tue, 31 May 2016 07:17:20 +0000 (10:17 +0300)]
distro_check.py: Don't mix tabs and spaces

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agooeqa/selftest/recipetool.py: Tweak matching of warning line
Leonardo Sandoval [Tue, 31 May 2016 14:24:03 +0000 (09:24 -0500)]
oeqa/selftest/recipetool.py: Tweak matching of warning line

We are observing cases (see below) where the 'WARNING:' prefix is not at the
beginning of a line, so instead of expecting it in the beginning, match it
within the string.

    ======================================================================
    FAIL: test_recipetool_appendfile_patch (oeqa.selftest.recipetool.RecipetoolTests)
    ----------------------------------------------------------------------
    Traceback (most recent call last):
      File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/meta/lib/oeqa/utils/decorators.py", line 109, in wrapped_f
        return func(*args, **kwargs)
      File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/meta/lib/oeqa/selftest/recipetool.py", line 285, in test_recipetool_appendfile_patch
        self.fail('Patch warning not found in output:\n%s' % output)
    AssertionError: Patch warning not found in output:
    Parsing recipes..WARNING: File /etc/selftest-replaceme-patched is added by the patch /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/meta-selftest/recipes-test/recipetool/files/add-file.patch - you may need to remove or replace this patch in order to replace the file.
    NOTE: Writing append file /tmp/recipetoolqaug0kdb4x/recipes-test/recipetool/selftest-recipetool-appendfile.bbappend
    NOTE: Copying /tmp/recipetoolqagci9tita/testfile to /tmp/recipetoolqaug0kdb4x/recipes-test/recipetool/selftest-recipetool-appendfile/testfile
    done.

Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoqemurunner: Use surrogateescape decoding
Richard Purdie [Wed, 1 Jun 2016 12:27:25 +0000 (13:27 +0100)]
qemurunner: Use surrogateescape decoding

Since the stream can contain invalid binary characters (e.g. from
ppc's bootloader) use surrogateescape decoding to ensure we do process
the character stream, else it can hang/timeout.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agodevtool.py: Fix parsing of bitbake-layers' output
Leonardo Sandoval [Tue, 31 May 2016 06:57:45 +0000 (01:57 -0500)]
devtool.py: Fix parsing of bitbake-layers' output

Current parsing was picking wrong targets, leading to the following problem:

AssertionError: Command 'bitbake  Parsing recipes..done. -e' returned non-zero exit status 1:

Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobuildhistory_analysis: Convert stream data (bytes) to strings
Leonardo Sandoval [Wed, 25 May 2016 09:19:34 +0000 (04:19 -0500)]
buildhistory_analysis: Convert stream data (bytes) to strings

The bytes type variables are threat different as strings variables in python3,
so convert bytes to strings. This was found when using the
script buildhistory-diff, where the interpreter was yielding this error

    TypeError: Type str doesn't support the buffer API

Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoselftest/devtool: Compare sets instead of arrays on AssertEqual
Leonardo Sandoval [Wed, 25 May 2016 08:30:47 +0000 (03:30 -0500)]
selftest/devtool: Compare sets instead of arrays on AssertEqual

Sets are safer when comparing internal elements and positions are not
important. This commit avoid errors observed on python3 builds as reported
on the below bugzilla entry.

[YOCTO #9661]

Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoclasses/lib: Complete transition to python3
Richard Purdie [Fri, 20 May 2016 10:57:44 +0000 (11:57 +0100)]
classes/lib: Complete transition to python3

This patch contains all the other misc pieces of the transition to
python3 which didn't make sense to be broken into individual patches.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoscripts: use python3 in shebang
Ed Bartosh [Fri, 20 May 2016 08:57:25 +0000 (11:57 +0300)]
scripts: use python3 in shebang

As most of oe-test cases work for devtool and recipetool
it makes sense to switch both tools to python 3 by
explicitly referring to python3 in their shebangs.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
8 years agoscripts: Fix urlparse imports for python3
Ed Bartosh [Thu, 19 May 2016 09:33:44 +0000 (12:33 +0300)]
scripts: Fix urlparse imports for python3

Used urllib.parse instead of urlparse to make code
working in python 3.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
8 years agoscripts: Rename ConfigParser -> configparser for python3
Ed Bartosh [Thu, 19 May 2016 09:28:12 +0000 (12:28 +0300)]
scripts: Rename ConfigParser -> configparser for python3

The ConfigParser API was renamed to configparser in python 3.
Renamed ConfigParser -> configparser in scripts/ to make the
code working in python 3.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
8 years agoscripts: Fix encoding errors for python3
Ed Bartosh [Wed, 18 May 2016 18:57:23 +0000 (21:57 +0300)]
scripts: Fix encoding errors for python3

Moved call of decode('utf-8') as close as possible to
call of subprocess API to avoid calling it in a lot of
other places.

Decoded binary data to utf-8 where appropriate to fix devtool
and recipetool tests in python 3 environment.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
8 years agoscripts: Replace basestring -> str for python3
Ed Bartosh [Wed, 18 May 2016 18:52:33 +0000 (21:52 +0300)]
scripts: Replace basestring -> str for python3

Python 3 doesn't have basestring type as all string
are unicode strings.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
8 years agoscripts: Fix deprecated dict methods for python3
Ed Bartosh [Wed, 18 May 2016 18:39:44 +0000 (21:39 +0300)]
scripts: Fix deprecated dict methods for python3

Replaced iteritems -> items, itervalues -> values,
iterkeys -> keys or 'in'

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
8 years agoqemurunner: convert data when working with socket
Ed Bartosh [Mon, 16 May 2016 15:40:39 +0000 (18:40 +0300)]
qemurunner: convert data when working with socket

Converted str to bytes before sending to socket.
Converted bytes to str after receiving from socket.

This should fix TypeError: 'str' does not support the buffer interface
for qemurunner.run_serial method.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agowic: encode help text
Ed Bartosh [Mon, 16 May 2016 15:37:26 +0000 (18:37 +0300)]
wic: encode help text

Encoded help text before sending it to pager.communicate as
it expects binary.

[YOCTO #9412]

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agowic: use python3 in shebang
Ed Bartosh [Mon, 16 May 2016 14:49:27 +0000 (17:49 +0300)]
wic: use python3 in shebang

Switched scripts/wic to use python3 as a default
python interpreter.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agosanity: Switch urlparse to urllib.parse
Jeremy Puhlman [Thu, 12 May 2016 22:41:50 +0000 (15:41 -0700)]
sanity: Switch urlparse to urllib.parse

urlparse is replaced with urllib.parse functionality in python3

Signed-off-by: Jeremy Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoclasses/lib: Update xrange -> range for python3
Richard Purdie [Fri, 20 May 2016 10:56:05 +0000 (11:56 +0100)]
classes/lib: Update xrange -> range for python3

xrange() no longer exists in python 3, use range()

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoclasses/lib: Update to explictly create lists where needed
Richard Purdie [Fri, 20 May 2016 10:53:11 +0000 (11:53 +0100)]
classes/lib: Update to explictly create lists where needed

Iterators now return views, not lists in python3. Where we need
lists, handle this explicitly.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoclasses/lib: Update to match python3 iter requirements
Richard Purdie [Fri, 20 May 2016 10:49:34 +0000 (11:49 +0100)]
classes/lib: Update to match python3 iter requirements

python3 standardises its use of iteration operations. Update
the code to match the for python3 requires.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoclasses/lib: Update to use python3 command pipeline decoding
Richard Purdie [Fri, 20 May 2016 10:17:05 +0000 (11:17 +0100)]
classes/lib: Update to use python3 command pipeline decoding

In python3, strings are unicode by default. We need to encode/decode
from command pipelines and other places where we interface with the
real world using the correct locales. This patch updates various
call sites to use the correct encoding/decodings.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoclasses/lib: Convert to use python3 octal syntax
Richard Purdie [Tue, 7 May 2013 10:23:40 +0000 (11:23 +0100)]
classes/lib: Convert to use python3 octal syntax

The syntax for octal values changed in python3, adapt to it.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agooe-buildenv-internal: Update to python3
Richard Purdie [Wed, 1 Jun 2016 12:17:23 +0000 (13:17 +0100)]
oe-buildenv-internal: Update to python3

Check that 'python' is a python v2 since that is what we assume everywhere
and upstream python devs recommend. We can need both python2 and python3
available since we don't control the software we might download and run.

Also check that python 3 is >= 3.4.0, our minimum version for bitbake.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agosanity: Drop setting C locale
Richard Purdie [Wed, 1 Jun 2016 14:03:58 +0000 (15:03 +0100)]
sanity: Drop setting C locale

We really want the en_US locale as per the configuration and
previous patches. Don't set it back to C as things will break
under python3.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoscripts/lnr: update for python3
Allen Wild [Sun, 29 May 2016 18:49:49 +0000 (14:49 -0400)]
scripts/lnr: update for python3

Change shebang line to python3 and add parentheses to print

Signed-off-by: Allen Wild <allenwild93@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoscripts: python3: Use print function
Ed Bartosh [Mon, 30 May 2016 15:14:46 +0000 (18:14 +0300)]
scripts: python3: Use print function

Used print function instead of print statement to make
the code work in python 3.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agosystemd: allow add users as a rootfs postprocess cmd
Stephano Cetola [Tue, 31 May 2016 20:59:54 +0000 (13:59 -0700)]
systemd: allow add users as a rootfs postprocess cmd

Adding all the users / groups to systemd is only available for readonly
file systems. This change allows users to add them to read / write file
systems as well by specifying:

ROOTFS_POSTPROCESS_COMMAND += "systemd_create_users"

Also, add "--shell /sbin/nologin" to each user's add params.

[ YOCTO #9497 ]

Signed-off-by: Stephano Cetola <stephano.cetola@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoopenssl: fix the dangling libcrypto.a symlink
Maxin B. John [Tue, 31 May 2016 15:26:03 +0000 (18:26 +0300)]
openssl: fix the dangling libcrypto.a symlink

Update libcrypto.a symlink to the proper location.

[YOCTO #9523]

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agopackage.bbclass: fix strip and split logic
Stephano Cetola [Thu, 26 May 2016 20:40:37 +0000 (13:40 -0700)]
package.bbclass: fix strip and split logic

In order for strip and split to work together, we need to populate the
data structors if either split OR strip are not inhibited.

Original behaviour:

INHIBIT_PACKAGE_STRIP: no strip, no debug split
INHIBIT_PACKAGE_DEBUG_SPLIT: strip, no split

Behaviour after this patch:

INHIBIT_PACKAGE_STRIP: no strip, debug split
INHIBIT_PACKAGE_DEBUG_SPLIT: strip, no split
BOTH: no strip, no split, DNP data structures

Signed-off-by: Stephano Cetola <stephano.cetola@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoperl-ptest.inc: fix tar call to prevent objcopy failure
Enrico Jorns [Mon, 30 May 2016 13:04:05 +0000 (15:04 +0200)]
perl-ptest.inc: fix tar call to prevent objcopy failure

With tar version 1.29, the tar call used to copy the ptest files will
not work anymore. While the call did not match the man page (but worked)
before, anyway, the latest update of tar seems to have a more strict argument
handling.

With the current version of the tar call, the copying of files still
works with latest tar version, but the excludes will not be handled
properly anymore.
This results in having binaries compiled with host GCC in the package.
When doing the strip_and_split files in do_package() with the target
objcopy, bitbake will fail with this error:

  ERROR: objcopy failed with exit code 256 (cmd was [...])
  [...]
  File format not recognized

Thus, the current argument issues and required changes are:

 * Options must be placed _before_ the pathnames.

 * --exclude must be followd by a '=' in order to work properly

 * 'f' options is for providing an archive file, which is unnecessary in
   this case

Note that this could also be a candidate for backporting.

Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoinsane: return line-feeds to qa.log
Martin Jansa [Mon, 30 May 2016 10:20:28 +0000 (12:20 +0200)]
insane: return line-feeds to qa.log

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobluez5: update to 5.40
Maxin B. John [Mon, 30 May 2016 15:20:23 +0000 (18:20 +0300)]
bluez5: update to 5.40

5.39 -> 5.40

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolibpng: update to 1.6.22
Maxin B. John [Mon, 30 May 2016 15:20:22 +0000 (18:20 +0300)]
libpng: update to 1.6.22

1.6.21 -> 1.6.22

License files updates are not real license changes (updates in Copyright
date and Version)

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agounzip: fix security issues
Edwin Plauchu [Fri, 27 May 2016 20:29:21 +0000 (15:29 -0500)]
unzip: fix security issues

This patch avoids unzip fails to compile with compiler flags which elevate common string formatting issues into an error (-Wformat -Wformat-security -Werror=format-security).

[YOCTO #9551]

Signed-off-by: Edwin Plauchu <edwin.plauchu.camacho@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolibarchive: Upgrade to v3.2.0
Paul Barker [Sat, 28 May 2016 13:26:15 +0000 (14:26 +0100)]
libarchive: Upgrade to v3.2.0

All patches are removed as they are no longer needed. Most were merged into this
release of libarchive. "0001-Set-xattrs-after-setting-times.patch" was dropped
upstream after discussion, see https://github.com/libarchive/libarchive/pull/664.

The COPYING file in libarchive had a couple of minor changes to clarify which
files are under which copyrights but the overall license is unaffected.

Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agopython-numpy: move recipe to own directory
Alexander Kanavin [Thu, 12 May 2016 13:43:36 +0000 (16:43 +0300)]
python-numpy: move recipe to own directory

This is done so that patches can be shared with python3-numpy

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
8 years agopython3: add = to -L linking option only when the path is absolute
Alexander Kanavin [Thu, 12 May 2016 13:40:06 +0000 (16:40 +0300)]
python3: add = to -L linking option only when the path is absolute

Previously it was added also when the path was relative and not
prefixed with ./, which was causing issues with building numpy.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
8 years agopython3-nose: add a recipe
Alexander Kanavin [Wed, 11 May 2016 13:46:04 +0000 (16:46 +0300)]
python3-nose: add a recipe

This is needed for updating piglit to use Python 3.
Python 2 based recipe can be later moved to meta-oe.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
8 years agopython3-mako: add a Python 3 recipe
Alexander Kanavin [Wed, 11 May 2016 13:36:37 +0000 (16:36 +0300)]
python3-mako: add a Python 3 recipe

This will be necessary for transiting piglit to Python 3.
Python 2 recipe should be kept as it is used by mesa (and
gobject-introspection, for now).

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
8 years agocracklib: disable building the python module
Alexander Kanavin [Mon, 9 May 2016 14:17:13 +0000 (17:17 +0300)]
cracklib: disable building the python module

It's tricky to convert to Python 3 and isn't required by anything in
oe-core or meta-oe.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
8 years agosubversion: remove unnecessary python dependency
Alexander Kanavin [Fri, 6 May 2016 15:47:00 +0000 (18:47 +0300)]
subversion: remove unnecessary python dependency

It would be useful if swig was enabled, but it isn't.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
8 years agoqemu: remove runtime python dependency
Alexander Kanavin [Fri, 6 May 2016 15:04:51 +0000 (18:04 +0300)]
qemu: remove runtime python dependency

Nothing seems to require it.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
8 years agogit: remove Python package (to which nothing was packaged)
Alexander Kanavin [Fri, 6 May 2016 15:00:04 +0000 (18:00 +0300)]
git: remove Python package (to which nothing was packaged)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
8 years agopython3: manipulate all of the config*/Makefile files, not just config/Makefile
Alexander Kanavin [Fri, 29 Apr 2016 11:04:43 +0000 (14:04 +0300)]
python3: manipulate all of the config*/Makefile files, not just config/Makefile

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
8 years agoavahi-ui: remove support for building a python module
Alexander Kanavin [Thu, 28 Apr 2016 13:18:59 +0000 (16:18 +0300)]
avahi-ui: remove support for building a python module

It's not used by anything and hasn't been ported to Python 3.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
8 years agosip.bbclass: remove
Alexander Kanavin [Thu, 28 Apr 2016 13:16:48 +0000 (16:16 +0300)]
sip.bbclass: remove

Nothing is requiring it in oe-core or meta-oe.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
8 years agodefault-versions.inc: drop python-related defaults
Alexander Kanavin [Mon, 25 Apr 2016 12:59:23 +0000 (15:59 +0300)]
default-versions.inc: drop python-related defaults

There is only one version of python 2.x provided, so no need
to set a preferred version.
PYTHON_BASEVERSION is now set explicitly in python-dir.bbclass and
python3-dir.bbclass, so fix up a few recipes that relied on it being
set in default-versions.inc without inheriting python-dir.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
8 years agopython3-dir.bbclass: add a separate class for Python 3
Alexander Kanavin [Mon, 25 Apr 2016 12:57:59 +0000 (15:57 +0300)]
python3-dir.bbclass: add a separate class for Python 3

This is much cleaner than sharing python-dir.bbclass between python 2
and 3 classes, and doing confusing overrides in them.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
8 years agodistutils-native-base.bbclass, distutils3-native-base.bbclass: remove
Alexander Kanavin [Mon, 25 Apr 2016 12:52:30 +0000 (15:52 +0300)]
distutils-native-base.bbclass, distutils3-native-base.bbclass: remove

These classes do not seem to be used by anything.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
8 years agopython-native, python3-native: remove the use of exported HOST_SYS and BUILD_SYS...
Alexander Kanavin [Wed, 6 Apr 2016 14:58:36 +0000 (17:58 +0300)]
python-native, python3-native: remove the use of exported HOST_SYS and BUILD_SYS variables

The code that utilized them was superseded by the code (in the same patch!)
that is utilizing STAGING_LIBDIR/STAGING_INCDIR, and wasn't correct in the
first place as HOST_SYS is not necessarily the same as the sysroot directory
name.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
8 years agorecipetool / devtool: set a fixed SRCREV by default when fetching from git
Paul Eggleton [Sun, 29 May 2016 22:21:02 +0000 (10:21 +1200)]
recipetool / devtool: set a fixed SRCREV by default when fetching from git

If fetching source from a git repository, typically within OpenEmbedded
we encourage setting SRCREV to a fixed revision, so change to do that by
default and add a  -a/--autorev option to use "${AUTOREV}" instead.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agorecipetool: create: use ${BP} for subdir for binary packages
Paul Eggleton [Sun, 29 May 2016 22:21:01 +0000 (10:21 +1200)]
recipetool: create: use ${BP} for subdir for binary packages

If we use ${BP} for the subdirectory, the default value of S will work
rather than having to have an ugly value derived from the package
file name in both places. This does mean that we have to assume the
default though (we can't just let the normal logic work because the
value of BP is the default until later on, so the replacement doesn't
work).

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agorecipetool: create: extract variable values from .deb/.ipk/.rpm
Paul Eggleton [Sun, 29 May 2016 22:21:00 +0000 (10:21 +1200)]
recipetool: create: extract variable values from .deb/.ipk/.rpm

Extract the metadata from package files and use it to set variable
values in the recipe (including recipe name and version, LICENSE,
SUMMARY, DESCRIPTION, SECTION and HOMEPAGE). For LICENSE we take care
not to step on any value determined by our license file scan; if there
is one we simply add a comment above the LICENSE setting so the user can
resolve it.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agorecipetool: create: support extracting SUMMARY and HOMEPAGE
Paul Eggleton [Sun, 29 May 2016 22:20:59 +0000 (10:20 +1200)]
recipetool: create: support extracting SUMMARY and HOMEPAGE

Allow plugins to set any variable value through the extravalues dict,
and use this to support extracting SUMMARY and HOMEPAGE values from spec
files included with the source; additionally translate "License:" to a
comment next to the LICENSE field (we have our own logic for setting
LICENSE, but it will often be useful to see what the spec file says if
one is present).

Also use the same mechanism for setting the same variables for node.js
modules; this was already supported but wasn't inserting the settings in
the appropriate place in the file which this will now do.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolib/oe/recipeutils: fix insertion of variable values
Paul Eggleton [Sun, 29 May 2016 22:20:58 +0000 (10:20 +1200)]
lib/oe/recipeutils: fix insertion of variable values

Add some more variables in appropriate places in recipe_progression such
that the patch_recipe_* functions are able to insert variables in the
right place within a recipe.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolib/oe/recipeutils: patch_recipe_lines: allow omitting trailing newlines
Paul Eggleton [Sun, 29 May 2016 22:20:57 +0000 (10:20 +1200)]
lib/oe/recipeutils: patch_recipe_lines: allow omitting trailing newlines

This function was assuming that what you wanted was that output lines
had trailing newline characters. If you're just outputting each line
verbatim to a text file then that's fine, but sometimes you start with
the assumption that the lines don't have trailing newlines; thus we
shouldn't allow for the possibility that the caller doesn't want them
and add a parameter to control it.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolib/oe/recipeutils: split out patch_recipe_lines()
Paul Eggleton [Sun, 29 May 2016 22:20:56 +0000 (10:20 +1200)]
lib/oe/recipeutils: split out patch_recipe_lines()

Split out a function from patch_recipe_file() that takes just the lines
as input so we can edit recipe lines in memory. This will be used within
recipetool to ensure we insert new values in the right place.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolinux-yocto/4.1: fix musb compilation error
Bruce Ashfield [Fri, 27 May 2016 16:18:35 +0000 (12:18 -0400)]
linux-yocto/4.1: fix musb compilation error

We had a partial musb change merged into the 4.1 tree, which resulted in:

  | kernel-source/drivers/usb/musb/musb_dsps.c:
  In function 'dsps_create_musb_pdev':
  | kernel-source/drivers/usb/musb/musb_dsps.c:750:8:
  error: 'struct musb_hdrc_config' has no member named 'maximum_speed'
  |   config->maximum_speed = usb_get_maximum_speed(&parent->dev);
  |         ^~

By backporting commit:

  9b7537642cb6a [usb: musb: set the controller speed based on the config setting]

We get our missing structure field, and we can once again build musb.

[YOCTO: #9680]

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolinux-yocto: only use intel branches for optimized platforms
Bruce Ashfield [Fri, 27 May 2016 14:32:22 +0000 (10:32 -0400)]
linux-yocto: only use intel branches for optimized platforms

Reverting the change that moved common-pc* to the intel staging
branches. This means that genericx86, qemux86*, etc, will continue
to use standard/base.

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolinux-yocto: create intel branches
Bruce Ashfield [Fri, 27 May 2016 14:32:21 +0000 (10:32 -0400)]
linux-yocto: create intel branches

To provide timely support for Intel platforms, without risking
issues with other platforms, we create intel branches from the
common variants.

i.e. We now have standard/intel, which is from standard/base

These branches will be managed like any other in the tree, and
will get common -stable, -rt, bugs and CVE updates.

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolinux-yocto:4.4: broxton backports
Bruce Ashfield [Fri, 27 May 2016 14:32:20 +0000 (10:32 -0400)]
linux-yocto:4.4: broxton backports

Integrating the following mainline backports for better Broxton
support:

Adrian Hunter (3):
      mmc: sdhci: Remove SDHCI_SDR104_NEEDS_TUNING
      mmc: mmc: Attempt to flush cache before reset
      mmc: mmc: Fix partition switch timeout for some eMMCs

Andy Shevchenko (12):
      device property: always check for fwnode type
      device property: rename helper functions
      device property: refactor built-in properties support
      device property: keep single value inplace
      device property: improve readability of macros
      device property: return -EINVAL when property isn't found in ACPI
      device property: Fallback to secondary fwnode if primary misses the property
      mfd: core: propagate device properties to sub devices drivers
      mfd: intel-lpss: Pass HSUART configuration via properties
      device property: avoid allocations of 0 length
      lib/string: introduce match_string() helper
      device property: convert to use match_string() helper

Bamvor Jian Zhang (1):
      gpiolib: do not allow to insert an empty gpiochip

Christophe RICARD (2):
      ACPI: Rename acpi_gsi_get_irq_type to acpi_dev_get_irq_type and export symbol
      ACPI / gpio: Add irq_type when a GPIO is used as an interrupt

Dasaratharaman Chandramouli (1):
      intel_idle: Support for Intel Xeon Phi Processor x200 Product Family

Gwendal Grignou (1):
      mmc: core: Do regular power cycle when lacking eMMC HW reset support

Heikki Krogerus (4):
      device property: helper macros for property entry creation
      device property: the secondary fwnode needs to depend on the primary
      device property: fwnode->secondary may contain ERR_PTR(-ENODEV)
      device property: fix for a case of use-after-free

Len Brown (2):
      intel_idle: Add SKX support
      intel_idle: add BXT support

Linus Walleij (1):
      Revert "gpio: revert get() to non-errorprogating behaviour"

Mika Westerberg (7):
      pwm: lpss: Remove ->free() callback
      pwm: lpss: Rework the sequence of programming PWM_SW_UPDATE
      device property: Take a copy of the property set
      driver core: platform: Add support for built-in device properties
      mfd: intel-lpss: Add support for passing device properties
      mfd: intel-lpss: Pass SDA hold time to I2C host controller driver
      mfd: intel-lpss: Pass I2C configuration via properties on BXT

Qipeng Zha (1):
      pinctrl: intel: make the high level interrupt working

Richard Cochran (10):
      intel_idle: remove useless return from void function.
      intel_idle: Fix a helper function's return value.
      intel_idle: Remove redundant initialization calls.
      intel_idle: Fix deallocation order on the driver exit path.
      intel_idle: Fix dangling registration on error path.
      intel_idle: Avoid a double free of the per-CPU data.
      intel_idle: Setup the timer broadcast only on successful driver load.
      intel_idle: Don't overreact to a cpuidle registration failure.
      intel_idle: Propagate hot plug errors.
      intel_idle: Clean up all registered devices on exit.

Wolfram Sang (1):
      mmc: make MAN_BKOPS_EN message a debug

qipeng.zha (1):
      pwm: lpss: Update PWM setting for Broxton

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 agolayer.conf: Whitelist ca-certificate dependency on openssl
Richard Purdie [Mon, 30 May 2016 14:55:54 +0000 (15:55 +0100)]
layer.conf: Whitelist ca-certificate dependency on openssl

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoca-certificates: Add openssl as a runtime dependency
Otavio Salvador [Fri, 27 May 2016 10:28:31 +0000 (07:28 -0300)]
ca-certificates: Add openssl as a runtime dependency

The update-ca-certificates script uses the c_rehash utility which is
installed by openssl. Add openssl as a runtime dependency to fulfill
the utility requirement.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoinitscripts: check if swapon/swapoff exists before executing them
Ming Liu [Thu, 26 May 2016 21:14:33 +0000 (23:14 +0200)]
initscripts: check if swapon/swapoff exists before executing them

Not all built images contain swapon/swapoff, for instance, it is
configurable with or without them in busybox. So it'd better to check if
they exist or not before executing them.

Redirecting the potential errors to /dev/null is not good enough, which
might suppress the *real* errors.

Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agouboot-sign: rebuild u-boot.img with signed dtb
George McCollister [Thu, 26 May 2016 17:27:56 +0000 (12:27 -0500)]
uboot-sign: rebuild u-boot.img with signed dtb

u-boot-nodtb.img doesn't exist so if UBOOT_SUFFIX = "img" is used
u-boot.img must be rebuilt by running make with
EXT_DTB=${DEPLOYDIR}/${UBOOT_DTB_IMAGE} then the resulting .img file must
be install to the deploy directories.

Signed-off-by: George McCollister <george.mccollister@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agou-boot: replace old-style shell syntax with the modern one
Andrew Shadura [Thu, 26 May 2016 15:13:10 +0000 (17:13 +0200)]
u-boot: replace old-style shell syntax with the modern one

Use "-n" operation instead of comparing with an "x"-ed empty string,
use $(...) notation instead of the deprecated backticks.

Signed-off-by: Andrew Shadura <andrew.shadura@collabora.co.uk>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoxcb-proto: remove stale git recipe and now redundant .inc
Ross Burton [Thu, 26 May 2016 16:05:26 +0000 (17:05 +0100)]
xcb-proto: remove stale git recipe and now redundant .inc

Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolibxcb: upgrade to 1.12
Ross Burton [Thu, 26 May 2016 15:59:28 +0000 (16:59 +0100)]
libxcb: upgrade to 1.12

Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoxcb-proto: upgrade to 1.12
Ross Burton [Thu, 26 May 2016 15:59:11 +0000 (16:59 +0100)]
xcb-proto: upgrade to 1.12

Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolibsecret: upgrade to 0.18.5
Alexander Kanavin [Thu, 26 May 2016 14:00:52 +0000 (17:00 +0300)]
libsecret: upgrade to 0.18.5

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoliburcu: upgrade to 0.9.2
Alexander Kanavin [Thu, 26 May 2016 14:00:51 +0000 (17:00 +0300)]
liburcu: upgrade to 0.9.2

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agogcr: upgrade to 3.20.0
Alexander Kanavin [Thu, 26 May 2016 14:00:50 +0000 (17:00 +0300)]
gcr: upgrade to 3.20.0

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agobabeltrace: upgrade to 1.3.2
Alexander Kanavin [Thu, 26 May 2016 14:00:49 +0000 (17:00 +0300)]
babeltrace: upgrade to 1.3.2

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agomsmtp: upgrade to 1.6.4
Alexander Kanavin [Thu, 26 May 2016 14:00:48 +0000 (17:00 +0300)]
msmtp: upgrade to 1.6.4

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agogobject-introspection.bbclass: disable introspection for -native and -nativesdk recipes
Alexander Kanavin [Thu, 26 May 2016 14:00:47 +0000 (17:00 +0300)]
gobject-introspection.bbclass: disable introspection for -native and -nativesdk recipes

It is not necessary for those targets, adds to the build time, and pulls
in the unneeded qemu-native dependency.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolib/oe/package_manager.py: Add pkgpath to dict returned by package_info
Mariano Lopez [Tue, 24 May 2016 12:44:16 +0000 (12:44 +0000)]
lib/oe/package_manager.py: Add pkgpath to dict returned by package_info

Having the package path with all the other package info allows to
reuse more code and have this information outside the package manager,
without additional processing.

[YOCTO #8536]

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agooetest.py: Add support to copy unextracted packages for runtime testing
Mariano Lopez [Tue, 24 May 2016 12:44:15 +0000 (12:44 +0000)]
oetest.py: Add support to copy unextracted packages for runtime testing

Sometimes is needed to have a package without extraction when
running a test. This patch adds the functionality.

[YOCTO #8536]

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agooetest.py: Add extract_packages() to RuntimeTestContext class
Mariano Lopez [Tue, 24 May 2016 12:44:14 +0000 (12:44 +0000)]
oetest.py: Add extract_packages() to RuntimeTestContext class

This new method extracts the content of package (RPM, DEB, or IPK)
to a directory inside of WORKDIR. The extraction is needed for later
install in the DUTs without using a package manager.

[YOCTO #8694]

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agooetest.py: Add json file support to specify packages needed in runtime tests
Mariano Lopez [Tue, 24 May 2016 12:44:13 +0000 (12:44 +0000)]
oetest.py: Add json file support to specify packages needed in runtime tests

This adds the functionality to use a json file to
specify the packages needed for a particular test.

The content of the json file is a dictionary with
dictionaries inside, using the test name as the hash.

The json file must have the same name as the class
module name and must be in the same path.

[YOCTO #7850]

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoxmlto: xmlto needs tail to run
Roy Li [Thu, 26 May 2016 09:17:19 +0000 (17:17 +0800)]
xmlto: xmlto needs tail to run

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolibgpg-error: Upgrade 1.21 -> 1.22
Jussi Kukkonen [Wed, 25 May 2016 06:38:47 +0000 (09:38 +0300)]
libgpg-error: Upgrade 1.21 -> 1.22

License checksum changes are not license changes.
Remove a patch that's in upstream now.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agognupg.org-hosted recipes: Change SRC_URI to https site
Jussi Kukkonen [Wed, 25 May 2016 06:40:26 +0000 (09:40 +0300)]
gnupg.org-hosted recipes: Change SRC_URI to https site

https version seems more reliable and in an informal test fetching
all gnupg recipes now takes <20% of the time it used to.

Define GNUPG_MIRROR in bitbake.conf so future tweaks to this are
easier. Replace some slower mirrors with the official ftp site
and another from gnupg.org mirror list.

Set UPSTREAM_CHECK_URI in all recipes that need it to
"https://gnupg.org/download/index.html" as the directory listings
are not up-to-date.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolibevdev: Upgrade 1.4.6 -> 1.5.1
Jussi Kukkonen [Tue, 24 May 2016 13:39:22 +0000 (16:39 +0300)]
libevdev: Upgrade 1.4.6 -> 1.5.1

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agogtk+: Upgrade 2.24.29 -> 2.24.30
Jussi Kukkonen [Tue, 24 May 2016 07:05:00 +0000 (10:05 +0300)]
gtk+: Upgrade 2.24.29 -> 2.24.30

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoclutter-gst-3.0: Upgrade 3.0.16 -> 3.0.18
Jussi Kukkonen [Tue, 24 May 2016 06:50:05 +0000 (09:50 +0300)]
clutter-gst-3.0: Upgrade 3.0.16 -> 3.0.18

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoclutter-1.0: Upgrade 1.24.2 -> 1.26.0
Jussi Kukkonen [Tue, 24 May 2016 06:36:35 +0000 (09:36 +0300)]
clutter-1.0: Upgrade 1.24.2 -> 1.26.0

Remove a backported patch.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agocoreutils: revert upstream commit causing havoc with ls output
Paul Gortmaker [Wed, 25 May 2016 14:10:08 +0000 (10:10 -0400)]
coreutils: revert upstream commit causing havoc with ls output

A recent commit causes ls to have the following behaviour:

   meta-overc:~$ mkdir abc
   meta-overc:~$ cd abc
   meta-overc:~/abc$ touch  aaaa bbbb 'filename with spaces'
   meta-overc:~/abc$ ls
   aaaa  bbbb  'filename with spaces'
   meta-overc:~/abc$

Note the appearance of quotation marks.  This new behaviour was
introduced as "opt-out" and not "opt-in", and further, the opt-out
suggestion causes other breakage.  More details can be found here:

  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=813164

Several large distros are reverting the change, for practical
considerations as per what can be seen above for Debian.

Here we do the same; I've marked the patch as upstream submitted
since there have been enough people vocally annoyed by this change
that it seems implausible that the coreutils team is unaware of it.

Hopefully this change here is just temporary and the coreutils team
will put the default back to the old way it was based on feedback
similar to what is recorded in the above Debian bug.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agowic: bootimg-efi: include startup.nsh if it's available
Christopher Larson [Wed, 25 May 2016 20:31:52 +0000 (13:31 -0700)]
wic: bootimg-efi: include startup.nsh if it's available

We want the system to boot on its own, rather than the user having to manually
input the correct file at the EFI prompt.

[YOCTO #9556]

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agogummiboot.bbclass: also write startup.nsh for non-iso
Christopher Larson [Wed, 25 May 2016 20:31:51 +0000 (13:31 -0700)]
gummiboot.bbclass: also write startup.nsh for non-iso

wic will be needing this for its bootimg-efi plugin.

[YOCTO #9556]

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agogrub-efi.bbclass: also write startup.nsh for non-iso
Christopher Larson [Wed, 25 May 2016 20:31:50 +0000 (13:31 -0700)]
grub-efi.bbclass: also write startup.nsh for non-iso

wic will be needing this for its bootimg-efi plugin.

[YOCTO #9556]

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolinux-firmware: update to git rev 80d463be82
Maxin B. John [Wed, 25 May 2016 14:07:40 +0000 (17:07 +0300)]
linux-firmware: update to git rev 80d463be82

- change in amdgpu firmware copyright year
- change in radeon firmware copyright year

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolibpam: update to 1.3.0
Maxin B. John [Wed, 25 May 2016 14:07:39 +0000 (17:07 +0300)]
libpam: update to 1.3.0

1.2.1 -> 1.3.0

Remove upstreamed patch:
        a) pam-no-innetgr.patch

Refreshed the following patches for 1.3.0:
        a) crypt_configure.patch
        b) pam-unix-nullok-secure.patch

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agodropbear: Remove incorrect SFTPSERVER_PATH from CFLAGS
Dominic Sacré [Wed, 25 May 2016 11:13:44 +0000 (13:13 +0200)]
dropbear: Remove incorrect SFTPSERVER_PATH from CFLAGS

Openssh now installs the sftp-server binary as /usr/libexec/sftp-server,
whereas the dropbear recipe assumes a different path.
Dropbear uses the correct path by default, so it's no longer necessary
to override SFTPSERVER_PATH via CFLAGS.

This fixes SFTP access to systems using dropbear as the SSH server.

Signed-off-by: Dominic Sacré <dominic.sacre@gmx.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agodocbook-xsl-stylesheets: Upgrade 1.78.1 -> 1.79.1
Jussi Kukkonen [Wed, 25 May 2016 10:10:39 +0000 (13:10 +0300)]
docbook-xsl-stylesheets: Upgrade 1.78.1 -> 1.79.1

* Use $PV at appropriate places in do_install
* Install some new files, avoid installing 25M of java archives
* License checksum change is just copyright years changing
* Fix the URI delegation file (that prevents fetches from
  http://docbook.sourceforge.net/ during build) to refer to a
  non-versioned directory

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agokernel: Make symbol link to vmlinuz in boot directory
He Zhe [Wed, 25 May 2016 08:47:17 +0000 (04:47 -0400)]
kernel: Make symbol link to vmlinuz in boot directory

Rename do_kernel_link_vmlinux to do_kernel_link_images and make a
symbol link to vmlinuz(if exists) for reference in arch/$arch/boot
directory.

Signen-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agokernel: Add KERNEL_IMAGETYPES to build multi types kernel at one time
He Zhe [Wed, 25 May 2016 08:47:16 +0000 (04:47 -0400)]
kernel: Add KERNEL_IMAGETYPES to build multi types kernel at one time

Add KERNEL_IMAGETYPES to support building packaging and installing
multi types of kernel images, such as zImage uImage, at one time.

KERNEL_IMAGETYPE and KERNEL_ALT_IMAGETYPE work as before.

Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agocpio: Add native variant
Mariano Lopez [Tue, 24 May 2016 12:44:18 +0000 (12:44 +0000)]
cpio: Add native variant

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agooeqa/utils/package_manager.py: Add get_package_manager()
Mariano Lopez [Tue, 24 May 2016 12:44:12 +0000 (12:44 +0000)]
oeqa/utils/package_manager.py: Add get_package_manager()

This new file just contain one function to return an OE package
manager, this depends in the current packaging method.

[YOCTO #8694]

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agooetest.py: Move getTests() outside loadTests() method
Mariano Lopez [Tue, 24 May 2016 12:44:11 +0000 (12:44 +0000)]
oetest.py: Move getTests() outside loadTests() method

The method getTests() can be useful to all the class,
not just to loadTests().

[YOCTO #8694]

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>