]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
8 years agomatchbox-keyboard: Upgrade to 0.1.1
Jussi Kukkonen [Fri, 15 Jul 2016 12:20:03 +0000 (15:20 +0300)]
matchbox-keyboard: Upgrade to 0.1.1

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agosato-screenshot: Upgrade 0.2 -> 0.3
Jussi Kukkonen [Fri, 15 Jul 2016 12:20:02 +0000 (15:20 +0300)]
sato-screenshot: Upgrade 0.2 -> 0.3

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agomatchbox-panel-2: Upgrade 2.10 -> 2.11
Jussi Kukkonen [Fri, 15 Jul 2016 12:20:01 +0000 (15:20 +0300)]
matchbox-panel-2: Upgrade 2.10 -> 2.11

New release finishes the port from buggy ScalingImage to
ScalingImage2.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolibpng: update to 1.6.23
Maxin B. John [Fri, 15 Jul 2016 12:09:15 +0000 (15:09 +0300)]
libpng: update to 1.6.23

1.6.22 -> 1.6.23

License files changes are due to updates in Copyright date and Version

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolinux-firmware: update to revision cccb6a0da9
Maxin B. John [Fri, 15 Jul 2016 12:09:14 +0000 (15:09 +0300)]
linux-firmware: update to revision cccb6a0da9

Upgrade to revision cccb6a0da9

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agonss: Fix build on mips/clang
Khem Raj [Fri, 15 Jul 2016 10:03:25 +0000 (03:03 -0700)]
nss: Fix build on mips/clang

This issue is also reported here
https://trac.macports.org/ticket/51709
Patch is also from same ticket

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agowic: oe-selftest: build bmap-tools-native
Ed Bartosh [Fri, 15 Jul 2016 06:53:47 +0000 (09:53 +0300)]
wic: oe-selftest: build bmap-tools-native

bmap-tools-native is required to generate .bmap file. Without it
wic fails with this error when run with --bmap option:
    Error: A native program bmaptool required to build
           the image was not found

Added bmap-tools-native to the list of requirements to build
in Wic.setUpLocal method.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agomusl: Fix mips regressions in 1.1.15
Khem Raj [Thu, 14 Jul 2016 15:15:17 +0000 (08:15 -0700)]
musl: Fix mips regressions in 1.1.15

Bobby Bingham (2):
      remove or1k version of sem.h
      remove obsolete gitignore rules

Rich Felker (4):
      remove obsolete and unused gethostbyaddr implementation
      fix asctime day/month names not to vary by locale
      fix regression in tcsetattr on all mips archs
      revert unrelated change that slipped into last commit

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agobinutils: backport fix for TLSDESC relocations with no TLS segment on arch64
Ross Burton [Thu, 14 Jul 2016 18:59:47 +0000 (19:59 +0100)]
binutils: backport fix for TLSDESC relocations with no TLS segment on arch64

As exposed by WebKit on aarch64 hosts, which causes binutils to throw an
internal error.

[ YOCTO #9509 ]

Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoclasses/license.bbclass: don't set [dirs] and [cleandirs]
Ross Burton [Thu, 7 Jul 2016 13:34:18 +0000 (14:34 +0100)]
classes/license.bbclass: don't set [dirs] and [cleandirs]

There's no need to set these as the restore from sstate will create the
directories as required.

Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoglibc: use the host locale archive in nativesdk builds
Ross Burton [Wed, 6 Jul 2016 09:54:29 +0000 (10:54 +0100)]
glibc: use the host locale archive in nativesdk builds

The nativesdk libc when used by buildtools has a hard requirement on supporting
a UTF-8 locale because Python 3 needs a UTF-8 locale.  However we currently only
ship the C locale, which means that Python attempts to lookup the user's locale
(for example, en_NZ.UTF-8) in the locale archive under it's prefix it fails and
falls back to C.  This the results in Python using ASCII instead of UTF-8 for
file encoding, and bitbake breaks.

Th obvious solution would be to ship all locales, but this would add
approximately 250MB to the size of the buildtools tarball (which is currently
around 30MB).  Generating a binary locale archive reduces this down to 100MB,
but this is still a drastic increase in footprint.  If we ship a subset of
locales in the tarball then there will be users whose locale isn't in the
tarball, and they'll have to change their locale to an "approved" one, which
isn't the best of messages to send to new users.

The alternative is to tell the nativesdk libc that the locale archive isn't
under it own prefix but is in fact at /usr/lib/locale/locale-archive, so the
buildtools libc uses the host locale archive. The locale archive format appears
to be at least fairly stable: our glibc 2.24 can read the locale archive
generated by glibc 2.17 (Centos 7).

[ YOCTO #9775 ]

Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoperl: fix CVE-2016-2381
Kai Kang [Thu, 14 Jul 2016 08:53:08 +0000 (16:53 +0800)]
perl: fix CVE-2016-2381

Backport patch to fix CVE-2016-2381 from perl upstream:

http://perl5.git.perl.org/perl.git/commitdiff/ae37b791a73a9e78dedb89fb2429d2628cf58076

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoopkg: upgrade to v0.3.3
Alejandro del Castillo [Wed, 13 Jul 2016 21:05:34 +0000 (16:05 -0500)]
opkg: upgrade to v0.3.3

Bug fix release to address two regressions:

*  Fix build breakage when using configure option --enable-sha256
*  Do not remove packages if removal operation is not valid due to
   installed dependents

Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agodevtool: add finish subcommand
Paul Eggleton [Wed, 13 Jul 2016 21:04:25 +0000 (09:04 +1200)]
devtool: add finish subcommand

Add a subcommand which will "finish" the work on a recipe. This is
effectively the same as update-recipe followed by reset, except that the
destination layer is required and it will do the right thing depending
on the situation - if the recipe file itself is in the workspace (e.g.
as a result of devtool add), the recipe file and any associated files
will be moved to the destination layer; or if the destination layer is
the one containing the original recipe, the recipe will be overwritten;
otherwise a bbappend will be created to apply the changes. In all cases
the layer path can be loosely specified - it could be a layer name, or
a partial path into a recipe. In the case of upgrades, devtool finish
will also take care of deleting the old recipe.

This avoids the user having to figure out the correct actions when
they're done - they just do "devtool finish recipename layername" and
it saves their work and then removes the recipe from the workspace.

Addresses [YOCTO #8594].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agodevtool: upgrade: record original recipe files
Paul Eggleton [Wed, 13 Jul 2016 21:04:24 +0000 (09:04 +1200)]
devtool: upgrade: record original recipe files

This provides us with the information we need to remove the original
version recipe and associated files when running "devtool finish" after
"devtool upgrade".

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agodevtool: update-recipe: refactor to allow calling separately
Paul Eggleton [Wed, 13 Jul 2016 21:04:23 +0000 (09:04 +1200)]
devtool: update-recipe: refactor to allow calling separately

This will be called by "devtool finish" to allow it to update the recipe
or create the bbappend depending on the destination.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agodevtool: reset: refactor to allow calling separately
Paul Eggleton [Wed, 13 Jul 2016 21:04:22 +0000 (09:04 +1200)]
devtool: reset: refactor to allow calling separately

This will be called by "devtool finish" to allow it to reset the recipe
at the end.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolib/oe/recipeutils: fix a few issues in find_layerdir()
Paul Eggleton [Wed, 13 Jul 2016 21:04:21 +0000 (09:04 +1200)]
lib/oe/recipeutils: fix a few issues in find_layerdir()

* Allow the function to be called with the base layer path (in which
  case it will just return the same path)
* Ensure that the function doesn't recurse indefinitely if it's called
  on a file that's not inside a layer
* Correct the doc comment for accuracy

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agodevtool: update-recipe: don't copy local files that haven't changed
Paul Eggleton [Wed, 13 Jul 2016 21:04:20 +0000 (09:04 +1200)]
devtool: update-recipe: don't copy local files that haven't changed

If there are files in the oe-local-files directory which are identical
to the original version, then we shouldn't be copying them to the
destination layer. This is particularly important when using the -a
option to create a bbappend.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agodevtool: update-recipe: find and use existing files directories
Paul Eggleton [Wed, 13 Jul 2016 21:04:19 +0000 (09:04 +1200)]
devtool: update-recipe: find and use existing files directories

devtool update-recipe was defaulting to the ${BPN} named directory when
adding patches next to a recipe, but that meant if you already had files
in a ${BP} named directory (i.e. name and version) or "files" then you'd
end up with two directories next to the recipe, which is usually not
what you want. To avoid this, look through FILESPATH and take the first
one that's the same level or one level down from the recipe and already
exists, if any.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agobash: fix string format errors when enabling security flags
Ross Burton [Thu, 14 Jul 2016 09:21:51 +0000 (10:21 +0100)]
bash: fix string format errors when enabling security flags

If security_flags.inc is included then bash 3.2.48 fails to build:

| ../bash-3.2.48/print_cmd.c:1152:3: error: format not a string literal and no format arguments [-Werror=format-security]
|    cprintf (indentation_string);

Backport a patch from upstream to solve this.

Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agobash: ensure LDFLAGS is passed when building ptest
Ross Burton [Thu, 14 Jul 2016 09:07:17 +0000 (10:07 +0100)]
bash: ensure LDFLAGS is passed when building ptest

Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolibevdev: Upgrade 1.5.1 -> 1.5.2
Jussi Kukkonen [Wed, 13 Jul 2016 12:54:09 +0000 (15:54 +0300)]
libevdev: Upgrade 1.5.1 -> 1.5.2

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolibrsvg: Upgrade 2.40.15 -> 2.40.16
Jussi Kukkonen [Wed, 13 Jul 2016 12:54:08 +0000 (15:54 +0300)]
librsvg: Upgrade 2.40.15 -> 2.40.16

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolibgpg-error: Upgrade 1.22 -> 1.23
Jussi Kukkonen [Wed, 13 Jul 2016 12:54:07 +0000 (15:54 +0300)]
libgpg-error: Upgrade 1.22 -> 1.23

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agofreetype: Upgrade 2.6.3 -> 2.6.5
Jussi Kukkonen [Wed, 13 Jul 2016 12:54:06 +0000 (15:54 +0300)]
freetype: Upgrade 2.6.3 -> 2.6.5

A new supposedly superior subpixel hinting mode was added and made
default in 2.6.4 but 2.6.5 reverts the default to "no hinting".

License checksum changes because of a copyright symbol change.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agofontconfig: Upgrade 2.11.95 -> 2.12.0
Jussi Kukkonen [Wed, 13 Jul 2016 12:54:05 +0000 (15:54 +0300)]
fontconfig: Upgrade 2.11.95 -> 2.12.0

License unchanged, just moved by a few lines.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agocairo: Remove unnecessary UPSTREAM_CHECK_REGEX
Jussi Kukkonen [Wed, 13 Jul 2016 12:54:04 +0000 (15:54 +0300)]
cairo: Remove unnecessary UPSTREAM_CHECK_REGEX

This overwrites the regex set by upstream-version-is-even.bbclass.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoexpat: Upgrade 2.1.1 -> 2.2.0
Jussi Kukkonen [Wed, 13 Jul 2016 12:54:03 +0000 (15:54 +0300)]
expat: Upgrade 2.1.1 -> 2.2.0

Remove a patch that is no longer needed.
License checksum changes because of a copyright year change.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agopackagegroup-core-tools-testapps: remove Piglit temporarily
Ross Burton [Mon, 18 Jul 2016 08:34:53 +0000 (09:34 +0100)]
packagegroup-core-tools-testapps: remove Piglit temporarily

Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agopiglit: Upgrade version, use python3
Jussi Kukkonen [Wed, 13 Jul 2016 17:00:33 +0000 (20:00 +0300)]
piglit: Upgrade version, use python3

* Remove backported patch
* Update dependencies to use python3 modules, add depencies added
  in the new version
* Install only stripped binaries to keep size down
* Fix bash-completion install location

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agooe/lib/package: handle shlibs files disappearing
Ross Burton [Wed, 13 Jul 2016 14:34:53 +0000 (15:34 +0100)]
oe/lib/package: handle shlibs files disappearing

During a parallel build it's possible for unrelated shlib files to be removed if
the recipe they came from is about to be rebuilt.  They can't be involved in the
dependency chains as otherwise they wouldn't be removed, so just silently handle
files disappearing.

[ YOCTO #8555 ]

Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agobitbake.conf: use ${prefix} to define exec_prefix
Ross Burton [Wed, 13 Jul 2016 12:45:02 +0000 (13:45 +0100)]
bitbake.conf: use ${prefix} to define exec_prefix

This was simply changing prefix will relocate everything which is generally the
intention, whilst still allowing the variables to be set independently.

Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoutils/qemurunner.py: QemuRunner.start() add support for specify extra kernel cmdline
Aníbal Limón [Tue, 12 Jul 2016 21:29:49 +0000 (16:29 -0500)]
utils/qemurunner.py: QemuRunner.start() add support for specify extra kernel cmdline

Add ability to specify extra_bootargs (kernel cmdline) in order to enable systemd
debug log in images that enables systemd init.

[YOCTO #9299]

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agosite: Move rsync_cv_HAVE_C99_VSNPRINTF to common-linux
Khem Raj [Wed, 13 Jul 2016 06:38:50 +0000 (23:38 -0700)]
site: Move rsync_cv_HAVE_C99_VSNPRINTF to common-linux

If we do not cache is then configure in distcc will try
to compute it using AC_TRY_RUN which will give some result
on x86-64 host when target is x86-64 but it generally is wrong
for cross compilation. We therefore cache it for all linux
targets.

This issue is highlighted by clang when compiling distcc
where it figures that its cross compiling and therefore triggers
it to include its own implementation of snprintf() which does
not go well with clang, gcc compiles it fine thats why we
never saw the problem thus far.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agonss: Fix build with clang
Khem Raj [Wed, 13 Jul 2016 06:38:49 +0000 (23:38 -0700)]
nss: Fix build with clang

Add a patch to disable a clang specific warning
and avoid passing clang options to gcc when we have
cross compiler is clang but host compiler is gcc
We do not need to use target cflags when building
native pieces and hence avoid the inter-mixing of
compiler options

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agopython-six: Add to oe-core
Jussi Kukkonen [Tue, 12 Jul 2016 11:14:51 +0000 (14:14 +0300)]
python-six: Add to oe-core

Recipes are moved from meta-openembedded/meta-python

Changes compared to meta-python version:
* Modified to not inherit pypi
* Fix python-io dependency for python3
* Support native, nativesdk
* Do not install .egg

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agopython3: update manifest RDEPENDS for importlib and compression packages
Derek Straka [Mon, 11 Jul 2016 18:05:22 +0000 (14:05 -0400)]
python3: update manifest RDEPENDS for importlib and compression packages

zipfile.py has dependencies on importlib, threading, and shell
importlib has a dependency on lang
operator and contextlib added to the lang package instead of falling into misc

Signed-off-by: Derek Straka <derek@asterius.io>
8 years agodb: Use cross libtool
Khem Raj [Tue, 12 Jul 2016 17:10:17 +0000 (10:10 -0700)]
db: Use cross libtool

Reintroduce the use of cross-libtool when building the target package
this fails otherwise with clang

| ./libtool --mode=execute true db_printlog
| /usr/lib/libstdc++.so: file not recognized: File format not recognized
| clang-3.9: error: linker command failed with exit code 1 (use -v to see invocation)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoinitramfs-framework: make rootfs module optional
Patrick Ohly [Tue, 12 Jul 2016 13:24:26 +0000 (15:24 +0200)]
initramfs-framework: make rootfs module optional

It still gets installed by default via RRECOMMENDS without having to update
users of the framework (because without it, the framework is incomplete),
but that recommendation can be overridden on a per-image basis.

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agotestimage.bbclass: INHERIT -> IMAGE_CLASSES
Robert Yang [Tue, 12 Jul 2016 12:04:02 +0000 (05:04 -0700)]
testimage.bbclass: INHERIT -> IMAGE_CLASSES

Use IMAGE_CLASSES which is only seen by image recipe.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agowic: mountpoint is an optional argument
Maciej Borzecki [Tue, 12 Jul 2016 11:37:25 +0000 (13:37 +0200)]
wic: mountpoint is an optional argument

According to wic documentation partition mount point is an optional
argument. Skipping mount point also makes sense in certain
configurations when one needs to specify a partition that is not mounted
by the running system, such as a recovery or a mirror partition (in dual
rootfs setups).

Signed-off-by: Maciej Borzecki <maciej.borzecki@rndity.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoreport-error: replace build paths with markers not whitespace
Ross Burton [Tue, 12 Jul 2016 09:23:18 +0000 (10:23 +0100)]
report-error: replace build paths with markers not whitespace

To remove potentially personal information and reduce irrelevant noise when
searching for similar reports the error reporting class removes ${TOPDIR} from
the logs.  Whilst this is valid intention, the replacement of ' ' results in
potentially confusing logs as it appears that builds are happening in /tmp, or
whitespace can appear in places where it isn't allowed which can look like a
bug.

Solve both of these by replacing the value of TOPDIR with the literal string
TOPDIR.

Also replace TMPDIR after TOPDIR, as it's not uncommon to have TMPDIR somewhere
other than directly under TOPDIR.

Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agorpm: remove CVS-based recipe
Ross Burton [Tue, 12 Jul 2016 07:54:38 +0000 (08:54 +0100)]
rpm: remove CVS-based recipe

This recipe doesn't really get used or maintained, and as the sole recipe in
oe-core that uses the CVS fetcher it's removal means we don't need to list CVS
as a host dependency.

Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agorecipes-sato: fix upstream version check
Alexander Kanavin [Mon, 11 Jul 2016 14:33:53 +0000 (17:33 +0300)]
recipes-sato: 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: fix upstream version check
Alexander Kanavin [Mon, 11 Jul 2016 14:33:52 +0000 (17:33 +0300)]
python-numpy: 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-scons: fix upstream version check
Alexander Kanavin [Mon, 11 Jul 2016 14:33:51 +0000 (17:33 +0300)]
python-scons: 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 agoepiphany: update to 3.20.3
Alexander Kanavin [Mon, 11 Jul 2016 14:33:50 +0000 (17:33 +0300)]
epiphany: update to 3.20.3

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolibwnck3: upgrade to 3.20.1
Alexander Kanavin [Mon, 11 Jul 2016 14:33:49 +0000 (17:33 +0300)]
libwnck3: upgrade to 3.20.1

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agodesktop-file-utils-native: update to 0.23
Alexander Kanavin [Mon, 11 Jul 2016 14:33:48 +0000 (17:33 +0300)]
desktop-file-utils-native: update to 0.23

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agobash-completion: update to 2.3
Alexander Kanavin [Mon, 11 Jul 2016 14:33:47 +0000 (17:33 +0300)]
bash-completion: update to 2.3

Drop files that are no longer present upstream.
Package cmake modules.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agowic: clone gummiboot wks for systemd-boot
Jianxun Zhang [Fri, 8 Jul 2016 17:44:30 +0000 (10:44 -0700)]
wic: clone gummiboot wks for systemd-boot

This wks is just a copy of gummiboot wks with bootloader
changed to systemd-boot. A very basic boot test on a X86
target is done with a direct-boot image generated by:

wic create mksystemd-bootdisk -e core-image-minimal

Because we plan to replace gummiboot with systemd-boot at any
time in the future, we summarize history (as much as I can) of
the current gummiboot wks before it's gone:

-----------------------------------------------------------------
commit 7d4bb40905fab38fb3db1d0e17afbc803622f00c
Author: Ed Bartosh <ed.bartosh@linux.intel.com>
Date:   Wed Sep 2 13:58:02 2015 +0300

    wic: get rid of scripts/lib/image

    Moved content of scripts/lib/image/ to scripts/lib/wic as
    one directory with the same name as a tool is self-explanatory
    and less confusing than two.

    (From OE-Core rev: 5dc02d572794298b3362378cea3d7da654456c44)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
commit 77561e719181d58289687373eebadce764f838a7
Author: Ed Bartosh <ed.bartosh@linux.intel.com>
Date:   Wed Sep 2 13:58:01 2015 +0300

    wic: use ext4 in canned .wks files

    Latest kernel doesn't have ext3 compiled in. Wic images produced
    from canned .wks can't boot because of that. Switching to ext4
    fixes this issue.

    (From OE-Core rev: d281a65a81f369fc8d75023b8f911ce4106969c1)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
commit 072657ce98414afdd6f68941847e21fc5ce496c7
Author: Tom Zanussi <tom.zanussi@linux.intel.com>
Date:   Mon Aug 11 20:35:41 2014 -0500

    wic: Add mkgummidisk kickstart file

    This is the same as mkefidisk but uses gummiboot instead of grub-efi.

    (From OE-Core rev: 5979409ebfab0bb07b3c2b2fcf14a722c441f07b)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-----------------------------------------------------------------

Signed-off-by: Jianxun Zhang <jianxun.zhang@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agowic: add systemd-boot option in EFI boot image plugin
Jianxun Zhang [Fri, 8 Jul 2016 17:44:29 +0000 (10:44 -0700)]
wic: add systemd-boot option in EFI boot image plugin

The new systemd-boot enabled in OE is the old gummiboot
merged into systemd project. Our intention is to replace
gummiboot with systemd-boot in OE once every feature based
on gummiboot is supported with systemd-boot.

Before we can purge gummiboot, we temporarily keep both of
the two bootloaders supported.

Patch doesn't do replacement for every "gummi" occurrence.
We think cleaning can be done in background after we disable
people to use gummiboot, so we just keep change small and
safe this time.

Signed-off-by: Jianxun Zhang <jianxun.zhang@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agogcc-cross: default linker hash style to sysv
Christopher Larson [Thu, 7 Jul 2016 21:08:33 +0000 (14:08 -0700)]
gcc-cross: default linker hash style to sysv

We explicitly set the hash style to gnu in our LDFLAGS. Setting the default to
this in the toolchain, while convenient, actually hides bugs, as a failure to
obey LDFLAGS isn't noticed. By removing this, it's not dissimilar to how we
poison the sysroot -- rather than relying on the default, notice right away if
somoeone isn't obeying the needed flags.

This will result in a failure to obey LDFLAGS causing a GNU_HASH QA failure,
which is what's often seen with external toolchains. This brings us all on the
same page, and makes sure a failure to obey LDFLAGS is seen early.

This is limited to cross, to retain ease of use for SDKs.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agogstreamer1.0-plugins-bad: Fix little rectangel appears at the center when use squeeze...
Yuqing Zhu [Mon, 4 Jul 2016 05:46:33 +0000 (13:46 +0800)]
gstreamer1.0-plugins-bad: Fix little rectangel appears at the center when use squeeze and tunnel effects

Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agogstreamer1.0-plugins-bad: Use the newer texture() function in glcolorconvert
Yuqing Zhu [Mon, 4 Jul 2016 05:46:32 +0000 (13:46 +0800)]
gstreamer1.0-plugins-bad: Use the newer texture() function in glcolorconvert

GLES3 deprecates texture2D() and it does not work at all
in newer versions than 3.3. The new function can fix it.

Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agogstreamer1.0-plugins-bad: Add glBindFragDataLocation in glshader
Yuqing Zhu [Mon, 4 Jul 2016 05:46:31 +0000 (13:46 +0800)]
gstreamer1.0-plugins-bad: Add glBindFragDataLocation in glshader

There are some cases where it's needed for
binding in/out variables in shaders.

Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agogstreamer1.0-plugins-bad: Don't use the predefined variable name in glcolorconvert
Yuqing Zhu [Mon, 4 Jul 2016 05:46:30 +0000 (13:46 +0800)]
gstreamer1.0-plugins-bad: Don't use the predefined variable name in glcolorconvert

Using 'sample' as a variable name is an error in GLES3.

Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agogstreamer1.0-plugins-bad: Implement multiple render targets for GLES3
Yuqing Zhu [Mon, 4 Jul 2016 05:46:29 +0000 (13:46 +0800)]
gstreamer1.0-plugins-bad: Implement multiple render targets for GLES3

There are numerous slight differences required between Desktop GL and GLES3 for
multiple render targets. Need to realize it.

Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agogstreamer1.0-plugins-bad: Enable gldeinterlace on OpenGL ES
Yuqing Zhu [Tue, 5 Jul 2016 09:29:08 +0000 (17:29 +0800)]
gstreamer1.0-plugins-bad: Enable gldeinterlace on OpenGL ES

Enable gldeinterlace on OpenGL ES to improve performance.

Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agogettext_0.16.1: remove useless files to avoid sysroot conflicts
Chen Qi [Thu, 7 Jul 2016 09:45:35 +0000 (17:45 +0800)]
gettext_0.16.1: remove useless files to avoid sysroot conflicts

Do as the 0.19.6 version do, remove these files to avoid sysroot conflicts
with gettext-native-minimal.

[YOCTO #9890]

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agogit: 2.8.4 -> 2.9.0
Robert Yang [Thu, 7 Jul 2016 01:37:02 +0000 (18:37 -0700)]
git: 2.8.4 -> 2.9.0

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agosstate.bbclass: make PV to depend on PV variable value
Ed Bartosh [Mon, 11 Jul 2016 09:43:09 +0000 (12:43 +0300)]
sstate.bbclass: make PV to depend on PV variable value

Currently PV is defined in meta/conf/bitbake.conf as a python
expression: "${@bb.parse.BBHandler.vars_from_file(d.getVar('FILE',
False),d)[1] or '1.0'}". As FILE is whitelisted it causes PV to
not depend on it. This causes sstate code to not detect that
PV changes when recipe filename changes.

Making PV to explicitly depend on PV variable value overrides default
behaviour. Instead of depending on python expression bitbake depends
on evaluated value of PV variable, which should fix the above
mentioned issue.

[YOCTO #9806]

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agov86d: Accept aarch64 as build host
Khem Raj [Sat, 9 Jul 2016 23:27:17 +0000 (16:27 -0700)]
v86d: Accept aarch64 as build host

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolibunwind: Port to ppc/musl
Khem Raj [Sat, 9 Jul 2016 08:00:53 +0000 (01:00 -0700)]
libunwind: Port to ppc/musl

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agowebkitgtk: Fix build on ppc with musl
Khem Raj [Sat, 9 Jul 2016 08:00:52 +0000 (01:00 -0700)]
webkitgtk: Fix build on ppc with musl

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agopython{3}-numpy: Predefine of sizeof off_t on mips/mipsel/ppc
Khem Raj [Fri, 8 Jul 2016 23:03:43 +0000 (16:03 -0700)]
python{3}-numpy: Predefine of sizeof off_t on mips/mipsel/ppc

Fixes below errors as seen on musl

| In file included from numpy/core/include/numpy/ndarraytypes.h:4:0,
|                  from numpy/core/include/numpy/ndarrayobject.h:18,
|                  from numpy/core/include/numpy/arrayobject.h:4,
|                  from numpy/core/src/multiarray/compiled_base.c:7:
| numpy/core/include/numpy/npy_common.h:167:10: error: #error Unsupported size for type off_t
|          #error Unsupported size for type off_t
|           ^~~~~
| In file included from numpy/core/include/numpy/ndarraytypes.h:4:0,
|                  from numpy/core/include/numpy/ndarrayobject.h:18,
|                  from numpy/core/include/numpy/arrayobject.h:4,
|                  from numpy/core/src/multiarray/compiled_base.c:7:
| numpy/core/include/numpy/npy_common.h:167:10: error: #error Unsupported size for type off_t
|          #error Unsupported size for type off_t
|           ^~~~~

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolinux-yocto: Enable debug/printk.scc KERNEL_FEATURE on qemuall machines.
Aníbal Limón [Fri, 8 Jul 2016 17:35:46 +0000 (12:35 -0500)]
linux-yocto: Enable debug/printk.scc KERNEL_FEATURE on qemuall machines.

We are experimenting some issues in the Autobuilder infraestructure
possible due to high I/O loads, in order to provide more information
about intervals of times in printk enable by default debug/printk.scc
on qemu development images.

[YOCTO #9299]

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agonativesdk-packagegroup-sdk-host: Add wayland-scanner to the SDK native toolchain
Tom Hochstein [Thu, 7 Jul 2016 23:24:51 +0000 (18:24 -0500)]
nativesdk-packagegroup-sdk-host: Add wayland-scanner to the SDK native toolchain

The build tool wayland-scanner was missing from the native toolchain
of the Yocto Project SDK build.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoneard: upgrade to 0.16
Maxin B. John [Thu, 7 Jul 2016 15:13:03 +0000 (18:13 +0300)]
neard: upgrade to 0.16

0.15 -> 0.16

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolibidn: add license per package
Joe Slater [Tue, 5 Jul 2016 18:22:17 +0000 (11:22 -0700)]
libidn: add license per package

The idn package is GPLv3 and the rest is LGPLv2.1+ or LGPLv3.

Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoimage_types.bbclass: support template .wks.in files for wic
Christopher Larson [Fri, 1 Jul 2016 21:27:09 +0000 (14:27 -0700)]
image_types.bbclass: support template .wks.in files for wic

These files are treated as the contents of a bitbake variable, so usual
bitbake variable references are supported. I considered using another
templating mechanism, for example the one used by yocto-layer, but then we'd
end up largely mapping metadata variables to template fields anyway, which is
a pointless indirection. Let bitbake expand the variables directly instead.

This feature lets us, for example, reference ${APPEND} in --append, and avoid
hardcoding the serial console tty in the wks file, and let the user's changes
to APPEND affect wic the way they do the other image construction mechanisms.

The template is read in and set in a variable at parse time, so changes to the
variables referenced by the template will result in rebuilding the image.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoimage_types.bbclass: add intermediate var for WKS_FILE_CHECKSUM
Christopher Larson [Fri, 1 Jul 2016 21:27:08 +0000 (14:27 -0700)]
image_types.bbclass: add intermediate var for WKS_FILE_CHECKSUM

This is a bit nicer to work with, and easier to override.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoRevert "core-image-sato: add gtk+ for M1"
Ross Burton [Tue, 21 Jun 2016 14:34:28 +0000 (15:34 +0100)]
Revert "core-image-sato: add gtk+ for M1"

We added gtk+ to core-image-sato for M1 solely because the SDK self test was
building an application (sudoku) that links to GTK+ 2.

Now that sukoku has been replaced with galculator this workaround can be
removed.

This reverts commit 282d5f7f8573551b94c6b610370db15665cf4bdf.

Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoremove sukoku
Ross Burton [Fri, 1 Jul 2016 09:51:07 +0000 (10:51 +0100)]
remove sukoku

8 years agotestimage: swap sudoku for galculator
Ross Burton [Tue, 5 Jul 2016 09:18:47 +0000 (10:18 +0100)]
testimage: swap sudoku for galculator

Also delete the removal of suduko for qemumips, as galculator builds fine on
that hardware now.

Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agooeqa/sdk: remove buildsudoku test
Ross Burton [Tue, 21 Jun 2016 14:37:52 +0000 (15:37 +0100)]
oeqa/sdk: remove buildsudoku test

This application needs GTK+ 2 which we're trying to move away from for Sato
images.

Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolinux-yocto/4.1: pinctrl backports
Bruce Ashfield [Wed, 13 Jul 2016 01:12:44 +0000 (21:12 -0400)]
linux-yocto/4.1: pinctrl backports

Integrating the following mainline commits:

  pinctrl: make pinctrl_register() return proper error code
  pinctrl: Remove .owner field
  pinctrl: mediatek: add pinctrl/GPIO/EINT driver for mt8127
  pinctrl: mediatek: Add Pinctrl/GPIO driver for mt6397.
  pinctrl: add imx7d support
  pinctrl: sirf: add sirf atlas7 pinctrl and gpio support
  pinctrl: Add Pistachio SoC pin control driver
  pinctrl: lpc18xx: add the missing group function map
  pinctrl: lpc18xx: create pin cap lookup helper
  pinctrl: add lpc18xx pinctrl driver

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
8 years agolinux-yocto: powerclamp and gpio configuration changes
Bruce Ashfield [Mon, 11 Jul 2016 16:28:08 +0000 (12:28 -0400)]
linux-yocto: powerclamp and gpio configuration changes

Integrating the following commits to tweak the default configuration
for powerclamp and gpio:

   features/thermal: make INTEL_POWERCLAMP driver built as module
   gpio: disable Intel PMIC gpio

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
8 years agolinux-yocto/4.4: pwm and mei updates
Bruce Ashfield [Fri, 8 Jul 2016 16:41:46 +0000 (12:41 -0400)]
linux-yocto/4.4: pwm and mei updates

Backporting upstream mei changes, and two pwm changes from
Mika Westerberg's pwm-4.4 branch:

  pwm: lpss: Prevent on_time_div overflow on lower frequencies
  pwm: lpss: fix base_unit calculation for PWM frequency
  mei: don't use wake_up_interruptible for wr_ctrl
  mei: fix waiting for wr_ctrl for corner cases.
  mei: don't clean control queues on notify request timeout
  mei: drop global me_client_index
  mei: do not pin module if cldrv->probe() failed
  mei: bus: use scnprintf in *_show
  mei: fix format string in debug prints
  mei: fix double freeing of a cb during link reset
  mei: wd: drop AGAIN the watchdog code from the core mei driver
  mei: split amthif client init from end of clients enumeration
  mei: hbm: send immediate reply flag in enum request
  mei: bus: run rescan on me_clients list change
  mei: drop reserved host client ids
  mei: hbm: warn about fw-initiated disconnect
  mei: fixed address clients for the new platforms
  mei: fill file pointer in read cb for fixed address client
  mei: discard replies from unconnected fixed address clients
  mei: clean write queues and wake waiters on disconnect
  mei: wake blocked write on link reset
  mei: drop superfluous closing bracket from write traces
  mei: bus: fix notification event delivery
  mei: bus: fix RX event scheduling
  mei: amthif: interrupt reader on link reset
  mei: amthif: use rx_wait queue also for amthif client
  mei: amthif: drop parameter validation from mei_amthif_write
  mei: amthif: replace amthif_rd_complete_list with rd_completed
  mei: amthif: allow only one request at a time
  mei: rename variable names 'file_object' to fp
  mei: constify struct file pointer
  mei: amthif: don't drop read packets on timeout
  mei: amthif: don't copy from an empty buffer
  mei: call stop on failed char device register
  mei: fix possible integer overflow issue
  mei: debugfs: allow hbm features list dump in earlier stages
  mei: debugfs: adjust active clients print buffer
  mei: trace pci configuration space io
  watchdog: mei_wdt: re-register device on event
  watchdog: mei_wdt: register wd device only if required
  mei: bus: whitelist the watchdog client
  watchdog: mei_wdt: add status debugfs entry
  watchdog: mei_wdt: implement MEI iAMT watchdog driver
  mei: wd: drop the watchdog code from the core mei driver
  mei: drop nfc leftovers from the mei driver
  mei: always copy the read buffer if data is ready
  mei: prevent queuing new flow control credit.
  mei: bus: remove redundant uuid string in debug messages

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Eric Ernst <eric.ernst@intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
8 years agolinux-yocto/4.4: update to v4.4.14
Bruce Ashfield [Thu, 7 Jul 2016 18:39:09 +0000 (14:39 -0400)]
linux-yocto/4.4: update to v4.4.14

Updating the korg -stable release.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolinux-yocto/4.1: update to 4.1.27
Bruce Ashfield [Thu, 7 Jul 2016 18:39:08 +0000 (14:39 -0400)]
linux-yocto/4.1: update to 4.1.27

Integrating the korg -stable release.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolinux-yocto/config: mei, gpio and usb type c
Bruce Ashfield [Thu, 7 Jul 2016 18:39:07 +0000 (14:39 -0400)]
linux-yocto/config: mei, gpio and usb type c

Merging the following configuration changes into the 4.1 and
4.4 linux-yocto kernel meta data:

  mei.cfg: mei driver is no longer in staging
  bsp/intel-common: add keyboard-gpio to intel-common-drivers
  features/thermal: Enable Intel PMIC thermal feature
  broxton: Enable USB Type C feature for broxton

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolinux-yocto/4.4: cpumask: Export cpumask_any_but()
Bruce Ashfield [Thu, 7 Jul 2016 18:39:06 +0000 (14:39 -0400)]
linux-yocto/4.4: cpumask: Export cpumask_any_but()

Backporting a mainline commit to Intel uncore can be completely
modular.

Signed-off-by: Nilesh Bacchewar <nilesh.bacchewar@intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolinux-yocto/4.1/4.1: mei, usb and extcon changes
Bruce Ashfield [Thu, 7 Jul 2016 18:39:05 +0000 (14:39 -0400)]
linux-yocto/4.1/4.1: mei, usb and extcon changes

Backporting the following mainline changes to the 4.1 and 4.4
kernels:

  device property: Avoid potential dereferences of invalid pointers
  device property: convert to use match_string() helper
  lib/string: introduce match_string() helper
  device property: fix for a case of use-after-free
  device property: fwnode->secondary may contain ERR_PTR(-ENODEV)
  xhci: harden xhci_find_next_ext_cap against device removal
  xhci: rework xhci extended capability list parsing functions
  xhci: parse xhci protocol speed ID list for usb 3.1 usage
  extcon: Redefine the unique id of supported external connectors without 'enum extcon' type
  extcon: Remove optional print_name() function pointer of extcon_dev
  extcon: Update the prototype of extcon_register_notifier() with enum extcon
  extcon: Use capital letter for the name of external connectors
  extcon: Use the unique id for external connector instead of string
  extcon: Remove the optional name of extcon device
  extcon: adc-jack: Remove the unneeded num_cables field
  extcon: Alter MHL-TA cable name to TA cable name
  extcon: Unify the dock device names on max8997/77693
  extcon: Unify the jig cable names on rt8973 and max14577/77693/77843
  extcon: Fix the checkpatch warning and minor coding style issue
  extcon: Add extcon_get_edev_name() API to get the extcon device name
  extcon: Modify the device name as extcon[X] for sysfs
  extcon: Add manufactor name of each extcon device

And the following config change:

  mei.cfg: Add CONFIG_INTEL_MEI_TXE=m

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolinux-yocto/4.1/4.4: x86, power and usb-c mainline backports
Bruce Ashfield [Thu, 7 Jul 2016 18:39:04 +0000 (14:39 -0400)]
linux-yocto/4.1/4.4: x86, power and usb-c mainline backports

Updating the 4.1 and 4.4 kernels with mainlin backports for platform/feature
support.

Also updating the kernel meta data to configure and use those new features.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agotoaster.bbclass: only scan files-in-image.txt if it exists
Elliot Smith [Tue, 12 Jul 2016 22:54:28 +0000 (15:54 -0700)]
toaster.bbclass: only scan files-in-image.txt if it exists

We can reach the method in toaster.bbclass which tries to read from
the files-in-image.txt file via a build which doesn't create that
file (e.g. "bitbake core-image-minimal -c rootfs"). This causes
the build to fail with an exception.

Check that this file exists before trying to read from it.

[YOCTO #9784]

Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: bavery <brian.avery@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agotoaster.bbclass: remove directory scan logic for detecting artifacts
Elliot Smith [Tue, 12 Jul 2016 22:54:27 +0000 (15:54 -0700)]
toaster.bbclass: remove directory scan logic for detecting artifacts

toaster.bbclass does a scan of the image deploy and SDK directories
when a build finishes. However, this brings no benefit and could be
better managed and made easier to modify if moved to toasterui and
carried out when the BuildCompleted event occurs.

Remove the image scan code from toaster.bbclass, prior to moving it
to toasterui and buildinfohelper.

Also remove the license manifest update code, as this can also be
done from toasterui.

The postfuncs for do_populate_sdk are retained, but no longer
do the directory scan for SDK artifacts. Instead, they fire
an event with the value of the TOOLCHAIN_OUTPUTNAME variable,
as this is only accessible at the point when the do_populate_sdk
and do_populate_sdk_ext tasks are run. The value of this can then
be used by buildinfohelper to find the SDK artifacts produced by a
target.

[YOCTO #9002]

Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: bavery <brian.avery@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agouseradd-staticids: use map() instead of imap()
George McCollister [Tue, 12 Jul 2016 19:10:54 +0000 (14:10 -0500)]
useradd-staticids: use map() instead of imap()

In Python3 the itertools module's imap function has been migrated to the
globalname space as map(). Calling itertools.imap() will fail because it
no longer exists.

Signed-off-by: George McCollister <george.mccollister@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agopython3: Add compression to python3-shell dependencies
Jussi Kukkonen [Thu, 7 Jul 2016 15:39:31 +0000 (18:39 +0300)]
python3: Add compression to python3-shell dependencies

python3-shell needs python3-compression for tarfile.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agopython3-native: Add "io" to rprovides
Jussi Kukkonen [Thu, 7 Jul 2016 15:39:33 +0000 (18:39 +0300)]
python3-native: Add "io" to rprovides

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agopython3: Add dependencies for python3-misc
Jussi Kukkonen [Thu, 7 Jul 2016 15:39:32 +0000 (18:39 +0300)]
python3: Add dependencies for python3-misc

http.server requires email.parser. argparse requires
codecs and textutils.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agobuildstats-summary: round the floating point percentage
Christopher Larson [Fri, 1 Jul 2016 20:42:30 +0000 (13:42 -0700)]
buildstats-summary: round the floating point percentage

This was rounded in python 2, but python 3 changed the default behavior of /.
We could switch to the same behavior as previous by switching to // rather
than /, but there's value in keeping at least one decimal point, to avoid the
misleading case where it says 0% but the reuse is non-zero.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolib/oe/patch: handle encoding differences in patch files
Paul Eggleton [Wed, 6 Jul 2016 23:57:09 +0000 (11:57 +1200)]
lib/oe/patch: handle encoding differences in patch files

With Python 3, the encoding of a file is significant; several recipes in
OE-Core have patches which are not fully utf-8 decodable e.g. man,
lrzsz, and gstreamer1.0-libav, leading to errors when using devtool's
modify, upgrade or extract subcommands on these recipes. To work around
this, try reading the patch file as utf-8 first and if that fails try
latin-1 before giving up.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agorecipetool: create: support specifying a file as the local source
Paul Eggleton [Wed, 6 Jul 2016 23:57:08 +0000 (11:57 +1200)]
recipetool: create: support specifying a file as the local source

It is currently possible to specify a file (e.g. a tarball) on the local
disk as the source, but you have to know to put file:// in front of it.
There's really no need to force users to jump through that hoop if they
really want to do this so check if the specified source is a file and
prefix it with file:// if that's the case.

Also ensure the same works for "devtool add" at the same time.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agorecipetool: create: fix handling of github URLs
Paul Eggleton [Wed, 6 Jul 2016 23:57:07 +0000 (11:57 +1200)]
recipetool: create: fix handling of github URLs

For a while now, Github hasn't been advertising a specific repository
URL since cloning the web URL with git works. Armed with this knowledge
and fully expecting people to just paste the github URL, we need to
handle this situation specially. If it looks like a github URL to the
root of a repository then treat it as a git repository instead of a
normal https URL to be fetched by the wget fetcher.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agograph-tool: convert to python3
Maxin B. John [Thu, 7 Jul 2016 15:13:04 +0000 (18:13 +0300)]
graph-tool: convert to python3

move graph-tool to python3

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoscripts/contrib/devtool-stress: exclude more recipes by default
Paul Eggleton [Wed, 6 Jul 2016 23:57:12 +0000 (11:57 +1200)]
scripts/contrib/devtool-stress: exclude more recipes by default

These recipes can't be used with devtool because they can't be unpacked
in the normal way.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoscripts/contrib/devtool-stress: skip incompatible recipes
Paul Eggleton [Sun, 10 Jul 2016 23:07:57 +0000 (11:07 +1200)]
scripts/contrib/devtool-stress: skip incompatible recipes

If devtool returns exit code 4 then record the recipes as "skipped"
rather than "failed" - these are recipes we know cannot work (usually
because they don't provide any source).

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agodevtool: return specific exit code for incompatible recipes
Paul Eggleton [Sun, 10 Jul 2016 23:07:56 +0000 (11:07 +1200)]
devtool: return specific exit code for incompatible recipes

Certain recipes cannot be used with devtool extract / modify / upgrade -
usually because they don't provide any source. Return a specific exit
code (4) so that scripts such as scripts/contrib/devtool-stress.py know
the difference between this and a genuine failure.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>