]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
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>
8 years agodevtool: reset: allow reset to work if the recipe file has been deleted
Paul Eggleton [Wed, 6 Jul 2016 23:57:11 +0000 (11:57 +1200)]
devtool: reset: allow reset to work if the recipe file has been deleted

We were attempting to open the recipe file unconditionally here - we
need to account for the possibility that the recipe file has been
deleted or moved away by the user.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agodevtool: update-recipe: fix --initial-rev option
Paul Eggleton [Wed, 6 Jul 2016 23:57:10 +0000 (11:57 +1200)]
devtool: update-recipe: fix --initial-rev option

In OE-Core revision 7baf57ad896112cf2258b3e2c2a1f8b756fb39bc I changed
the default update-recipe behaviour to only update patches for commits
that were changed; unfortunately I failed to handle the --initial-rev
option which was broken after that point. Rework how the initial
revision is passed in so that it now operates correctly.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agogtk+3: update 0003-Add-disable-opengl-configure-option.patch
Robert Yang [Wed, 6 Jul 2016 06:06:35 +0000 (23:06 -0700)]
gtk+3: update 0003-Add-disable-opengl-configure-option.patch

The patch contained git style patch like:
| diff --git a/gdk/x11/gdkx.h b/gdk/x11/gdkx-with-gl-context.h
| similarity index 100%
| rename from gdk/x11/gdkx.h
| rename to gdk/x11/gdkx-with-gl-context.h

Which can't be applied by older patch tool such as patch 2.6.1. So
update the patch.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agofile: 5.27 -> 5.28
Robert Yang [Thu, 7 Jul 2016 01:37:06 +0000 (18:37 -0700)]
file: 5.27 -> 5.28

Remove host-file.patch which is already in the source.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agotzcode-native: update to 2016f
Armin Kuster [Thu, 7 Jul 2016 01:35:13 +0000 (18:35 -0700)]
tzcode-native: update to 2016f

changes done in data

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agotzdata: update to 2016f
Armin Kuster [Thu, 7 Jul 2016 01:35:14 +0000 (18:35 -0700)]
tzdata: update to 2016f

 Changes affecting future time stamps

    The Egyptian government changed its mind on short notice, and
    Africa/Cairo will not introduce DST starting 2016-07-07 after all.
    (Thanks to Mina Samuel.)

    Asia/Novosibirsk switches from +06 to +07 on 2016-07-24 at 02:00.
    (Thanks to Stepan Golosunov.)

  Changes to past and future time stamps

    Asia/Novokuznetsk and Asia/Novosibirsk now use numeric time zone
    abbreviations instead of invented ones.

  Changes affecting past time stamps

    Europe/Minsk's 1992-03-29 spring-forward transition was at 02:00 not 00:00.
    (Thanks to Stepan Golosunov.)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agodebianutils: 4.7 -> 4.8
Robert Yang [Thu, 7 Jul 2016 01:37:00 +0000 (18:37 -0700)]
debianutils: 4.7 -> 4.8

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agogmp: 6.1.0 -> 6.1.1
Robert Yang [Thu, 7 Jul 2016 01:37:03 +0000 (18:37 -0700)]
gmp: 6.1.0 -> 6.1.1

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolibpcre: 8.38 -> 8.39
Robert Yang [Thu, 7 Jul 2016 01:37:04 +0000 (18:37 -0700)]
libpcre: 8.38 -> 8.39

* Remove CVE-2016-3191.patch which is already in the source.
* The LIC_FILES_CHKSUM is changed since it has updated the date from
  2015 to 2016, the contents are the same.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agowget: 1.17.1 -> 1.18
Robert Yang [Thu, 7 Jul 2016 01:37:05 +0000 (18:37 -0700)]
wget: 1.17.1 -> 1.18

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agomtd-utils: build also for nativesdk
Jan Remmet [Thu, 7 Jul 2016 14:21:44 +0000 (16:21 +0200)]
mtd-utils: build also for nativesdk

Signed-off-by: Jan Remmet <j.remmet@phytec.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolinux-yocto-dev: Handle performance regression
Richard Purdie [Fri, 8 Jul 2016 17:00:49 +0000 (18:00 +0100)]
linux-yocto-dev: Handle performance regression

After commit 0437a59e3c298d40aaa96af09b80bff8fcbe292d, the linux-yocto-dev
recipe is being parsed every time we run "bitbake -p". This was spotted
on some performance benchmarks and showed up as a performance regression.

We can tweak the recipe to ensure this doesn't happen and that its only
used if selected.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agogcc: CVE-2016-4490
Armin Kuster [Fri, 8 Jul 2016 22:32:33 +0000 (15:32 -0700)]
gcc: CVE-2016-4490

v2: add missing .inc changes
    add YP bug # to patch

[Yocto #9632]

not in 6.1.1 so back porting.

Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agogcc-runtime: add SUMMARY values
Paul Eggleton [Wed, 6 Jul 2016 23:48:35 +0000 (11:48 +1200)]
gcc-runtime: add SUMMARY values

It's useful to know what the various libraries are that get produced by
gcc-runtime, as well as to have a specific SUMMARY for the recipe.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agogcc: add runtime packages to RRECOMMENDS
Paul Eggleton [Wed, 6 Jul 2016 23:48:34 +0000 (11:48 +1200)]
gcc: add runtime packages to RRECOMMENDS

In order to use certain features of gcc, you need the corresponding
runtime library. It seems to me that these ought to be installed by
default when installing the compiler since they are required if certain
command line options are used, so add them to RRECOMMENDS. I used
RRECOMMENDS since some of these packages may or may not exist depending
on architecture and build options; additionally it makes it possible to
use BAD_RECOMMENDATIONS if you really want to exclude them.

The impact of this isn't too bad in the context of an image providing
on-target compilation - about a 30MB increase in size for an image
containing gcc and g++.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolibgcc: remove duplicate configure options
Andre McCurdy [Fri, 1 Jul 2016 21:41:18 +0000 (14:41 -0700)]
libgcc: remove duplicate configure options

The original fix [1] was made redundant by the followup [2].

 [1] http://git.openembedded.org/openembedded-core/commit/?id=d774bb2d10f2c05900f87dcc53f073433ca02121
 [2] http://git.openembedded.org/openembedded-core/commit/?id=d7799a17d5e802db3f8d16bdc824aae81538e675

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoglibc: add more Imagination Meta relocation to elf.h
Ross Burton [Mon, 11 Jul 2016 21:03:38 +0000 (22:03 +0100)]
glibc: add more Imagination Meta relocation to elf.h

glibc master added the EM_METAG tag but didn't add the relocation defines.
However the kernel tooling only checks for EM_METAG when defining its own values
so scripts/recordmcount ends up using R_META_* symbols without their definition.

Whilst the kernel can and should be fixed, this breaks all users of recordmcount
so patch elf.h to add the values.

Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoglibc: Upgrade to latest tip of master
Khem Raj [Thu, 7 Jul 2016 18:08:27 +0000 (11:08 -0700)]
glibc: Upgrade to latest tip of master

- libc-package.bbclass: Do not use --old-style
  This option has been dropped from latest glibc

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agobinutils: Upgrade to 2.26.1
Khem Raj [Thu, 7 Jul 2016 18:08:29 +0000 (11:08 -0700)]
binutils: Upgrade to 2.26.1

Delete upstreamed patch

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agomusl: Update to v1.1.15 release
Khem Raj [Thu, 7 Jul 2016 18:08:28 +0000 (11:08 -0700)]
musl: Update to v1.1.15 release

here is shortlog of changes
http://git.musl-libc.org/cgit/musl/commit/?id=faf69b9a73d09fafcbe4fd3007b8d8724293d8e1

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agotune-ppce500mc.inc: pass -mcpu=e500mc for ppce500mc kernel compile
Zhenhua Luo [Tue, 28 Jun 2016 07:25:07 +0000 (15:25 +0800)]
tune-ppce500mc.inc: pass -mcpu=e500mc for ppce500mc kernel compile

Currently the -mcpu parameter is not passed to cross gcc when assembling
kernel .S file, the implicit -mcpu option that defaults to the latest
server cpu might casuse incorrect assembling.

A existent case is that wait instruction of ppce500mc is incorrectly assembled
to power9 version with default -mcpu setting, accordingly kernel boot calltrace
happend when wait instruction is executed on ppce500mc targets.

Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoclasses/libc-package: remove pointless copying when running localedef
Ross Burton [Tue, 5 Jul 2016 16:41:24 +0000 (17:41 +0100)]
classes/libc-package: remove pointless copying when running localedef

localedef handles attempts to read/write the archive in parallel correctly by
creating the file atomically, gracefully handling racing to create, and has
exclusive locks when writing.  Therefore I can't see any purpose to copying the
archive to /tmp and back again when manipulating it.

Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolibc-package: remove obsolete do_configure_prepend
Ross Burton [Tue, 5 Jul 2016 16:30:33 +0000 (17:30 +0100)]
libc-package: remove obsolete do_configure_prepend

This fragment dates from when this class was used for more than just glibc
locale packaging, and as glibc-locale disables do_configure it can't have been
executed.

Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agomove directfb from oe-core
Maxin B. John [Fri, 1 Jul 2016 11:13:11 +0000 (14:13 +0300)]
move directfb from oe-core

Remove the directfb recipe as we are moving directfb out of oe-core

[YOCTO #8489]

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agobuildoptions.py: remove directfb image build test
Maxin B. John [Fri, 1 Jul 2016 11:13:10 +0000 (14:13 +0300)]
buildoptions.py: remove directfb image build test

removing this test since we move directfb out of oe-core

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agodistro_alias.inc: remove directfb related references
Maxin B. John [Fri, 1 Jul 2016 11:13:09 +0000 (14:13 +0300)]
distro_alias.inc: remove directfb related references

remove directfb related references from distro_alias.inc as part of
moving directfb from oe-core

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoremove core-image-directfb.bb
Maxin B. John [Fri, 1 Jul 2016 11:13:07 +0000 (14:13 +0300)]
remove core-image-directfb.bb

remove core-image-directfb.bb as part of moving directfb
from oe-core

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoremove packagegroup-core-directfb.bb
Maxin B. John [Fri, 1 Jul 2016 11:13:06 +0000 (14:13 +0300)]
remove packagegroup-core-directfb.bb

remove packagegroup-core-directfb.bb as part of moving directfb
from oe-core

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agodb: use S/B more idiomatically
Ross Burton [Tue, 23 Feb 2016 14:05:35 +0000 (14:05 +0000)]
db: use S/B more idiomatically

Instead of setting S to a directory inside the tarball and B to another
directory inside the tarball, use the default value of S and set
AUTOTOOLS_SCRIPT_PATH to the right path to find configure.  Update the patches
so they still apply, and clean up the recipe slightly.

Because something is not quite right regarding quilt and patching, add a PR bump
to the recipes to ensure that a clean work directory is used: for some reason
rebuilds will rarely fail to patch correctly.

Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolibsolv: upgrade to 0.6.22
Maxin B. John [Mon, 4 Jul 2016 14:16:03 +0000 (17:16 +0300)]
libsolv: upgrade to 0.6.22

Update to version 0.6.22 and rename the recipe accordingly.

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoscreen: upgrade to 4.4.0
Maxin B. John [Mon, 4 Jul 2016 13:02:04 +0000 (16:02 +0300)]
screen: upgrade to 4.4.0

Removed the following backported patch:
 * 0001-fix-for-multijob-build.patch
 * 0001-Fix-stack-overflow-due-to-too-deep-recursion.patch

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolibatomic-ops: upgrade to 7.4.4
Maxin B. John [Mon, 4 Jul 2016 13:02:03 +0000 (16:02 +0300)]
libatomic-ops: upgrade to 7.4.4

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoethtool: upgrade to 4.6
Maxin B. John [Mon, 4 Jul 2016 13:02:02 +0000 (16:02 +0300)]
ethtool: upgrade to 4.6

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agovala: update to 0.32.1
Alexander Kanavin [Tue, 28 Jun 2016 08:06:20 +0000 (11:06 +0300)]
vala: update to 0.32.1

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agonss: update to 3.24
Alexander Kanavin [Tue, 28 Jun 2016 08:06:19 +0000 (11:06 +0300)]
nss: update to 3.24

Drop merged 0001-Fix-build-failure-on-opensuse-13.1.patch

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agompg123: update to 1.23.5
Alexander Kanavin [Tue, 28 Jun 2016 08:06:18 +0000 (11:06 +0300)]
mpg123: update to 1.23.5

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agobtrfs-tools: update to 4.6.1
Alexander Kanavin [Tue, 28 Jun 2016 08:06:17 +0000 (11:06 +0300)]
btrfs-tools: update to 4.6.1

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agognutls: update to 3.5.1
Alexander Kanavin [Tue, 28 Jun 2016 08:06:16 +0000 (11:06 +0300)]
gnutls: update to 3.5.1

Remove no longer supported --disable-crywrap option.
Add a checksum for the LICENSE file with licensing overview.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agobabeltrace: update to 1.4.0
Alexander Kanavin [Tue, 28 Jun 2016 08:06:14 +0000 (11:06 +0300)]
babeltrace: update to 1.4.0

Switch to using tarballs for upstream releases.

Drop merged patches.

Add a --disable-debug-info parameter to ./configure, as it otherwise
attempts to execute a small test binary. If this (new) feature is truly needed,
we can set up a qemu wrapper later, or patch autoconf macros.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolibarchive: update to 3.2.1
Alexander Kanavin [Tue, 28 Jun 2016 08:06:13 +0000 (11:06 +0300)]
libarchive: update to 3.2.1

Drop merged 0001-configure.ac-check-acl-libacl.h-and-sys-acl.h-based-.patch

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoffmpeg: update to 3.1
Alexander Kanavin [Tue, 28 Jun 2016 08:06:12 +0000 (11:06 +0300)]
ffmpeg: update to 3.1

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agobdwgc: update to 7.4.4
Alexander Kanavin [Tue, 28 Jun 2016 08:06:11 +0000 (11:06 +0300)]
bdwgc: update to 7.4.4

Drop 0001-fix-build-with-musl.patch, the problem is fixed upstream.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoterminal: Drop gnome-terminal --disable-factory workarounds
Richard Purdie [Wed, 6 Jul 2016 16:21:59 +0000 (17:21 +0100)]
terminal: Drop gnome-terminal --disable-factory workarounds

With the new pid monitoring code we have for recent versions of
gnome-terminal we can just drop the --disable-factory code now since
the other solution handles this case as well.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoterminal: Fix gnome-terminal to work with recent versions
Richard Purdie [Wed, 6 Jul 2016 16:08:57 +0000 (17:08 +0100)]
terminal: Fix gnome-terminal to work with recent versions

Currently gnome-terminal just returns straight away, opening a terminal in a new
separate process we have no insight into. For patch resolution, this leads to
spawning many different terminal windows, for pydevshell, it just flashes a window
up and then closes.

We need to block until the command completes but gnome-terminal gives us no way
to do this. We therefore write the pid to a file using a "phonehome" wrapper
script, then monitor the pid until it exits.

[YOCTO #7254]
(also fixing do_devpyshell)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agopseudo: Upgrade to 1.8.1
Richard Purdie [Tue, 5 Jul 2016 12:18:31 +0000 (13:18 +0100)]
pseudo: Upgrade to 1.8.1

* Drop patches where the changes exist upstream
* Fetch from git as no tarball is available for 1.8.1
* Move common code to pseudo.inc
* Update patchset in git recipe

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agooe-selftest: drop test_prepare_unexpected
Paul Eggleton [Thu, 7 Jul 2016 21:17:32 +0000 (09:17 +1200)]
oe-selftest: drop test_prepare_unexpected

This test refers to a function that no longer exists after the eSDK
install double execution of bitbake has been removed, and since
test_prepare_unexpected is the only test in this module, drop the
entire module. We can easily resurrect it if we have unit tests to add
in the future.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agooeqa/selftest/bbtests: Fix failing test after progress changes
Richard Purdie [Fri, 8 Jul 2016 08:49:01 +0000 (09:49 +0100)]
oeqa/selftest/bbtests: Fix failing test after progress changes

The progress patches change the output slightly, update the test to
deal with this.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agooeqa/runtime/systemd: fix typo in skipUnlessPassed decorator
Ross Burton [Wed, 6 Jul 2016 15:29:15 +0000 (16:29 +0100)]
oeqa/runtime/systemd: fix typo in skipUnlessPassed decorator

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoservice: obey CFLAGS, LDFLAGS
Christopher Larson [Fri, 1 Jul 2016 20:49:09 +0000 (13:49 -0700)]
service: obey CFLAGS, LDFLAGS

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoinitramfs-framework: Add support for PartUUIDs
Igor Stoppa [Fri, 1 Jul 2016 13:53:52 +0000 (15:53 +0200)]
initramfs-framework: Add support for PartUUIDs

The rootfs can be addressed also by referring to the PartUUID
value from the GPT.
This patch enables such type of reference.

Signed-off-by: Igor Stoppa <igor.stoppa@intel.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoinitramfs-framework: add retry loop for slow boot devices (like USB)
Patrick Ohly [Fri, 1 Jul 2016 13:53:51 +0000 (15:53 +0200)]
initramfs-framework: add retry loop for slow boot devices (like USB)

On some hardware platforms (Gigabyte, qemu), detection of USB devices
by the kernel is slow enough such that it happens only after the first
attempt to mount the rootfs. We need to keep trying for a while
(default: 5s seconds, controlled by roottimeout=<seconds>) and sleep
between each attempt (default: one second, rootdelay=<seconds>).

This change intentionally splits finding the rootfs (in the new
"rootfs") and switching to it ("finish"). That is needed to keep udev
running while waiting for the rootfs, because it shuts down before
"finish" starts. It is also the direction that was discussed on the OE
mailing list for future changes to initramfs-framework (like
supporting a "live CD" module, which would replace or further augment
mounting of the rootfs).

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolib/oe/path: remove oe.path.check_output
Ross Burton [Fri, 1 Jul 2016 15:58:39 +0000 (16:58 +0100)]
lib/oe/path: remove oe.path.check_output

This was a copy-and-paste of subprocess.check_output() from when we supported
Python <2.7, so simply delete it and use subprocess.check_output() instead.

Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoscripts: Fixed typo in parameter that was causing exception
Humberto Ibarra [Fri, 1 Jul 2016 15:37:24 +0000 (10:37 -0500)]
scripts: Fixed typo in parameter that was causing exception

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

[YOCTO #9834]

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agort-tests: move ptest to python3
Maxin B. John [Fri, 1 Jul 2016 08:39:02 +0000 (11:39 +0300)]
rt-tests: move ptest to python3

convert python2 based ptest of rt-tests package to python3

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agogcc: remove GCC 4.9
Ross Burton [Fri, 1 Jul 2016 12:28:26 +0000 (13:28 +0100)]
gcc: remove GCC 4.9

Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agogcc: remove unused patch
Ross Burton [Fri, 1 Jul 2016 12:27:34 +0000 (13:27 +0100)]
gcc: remove unused patch

Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agogcc-5.4: Fix hang with mmusl option on cmdline
Khem Raj [Thu, 30 Jun 2016 02:57:56 +0000 (19:57 -0700)]
gcc-5.4: Fix hang with mmusl option on cmdline

When using -m32 -mmusl options in this order, gcc hangs
in parsing the options decode_cmdline_options_to_array()
the reason is that we have broken the link when adding
mmusl options, the order of specifying libc was not kept
in order as a result it was unable to contruct the array
correctly and ended in parse hang.

We fix the options to specify the order properly.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agopulseaudio: Disable unit tests
Davis, Michael [Thu, 30 Jun 2016 14:18:21 +0000 (14:18 +0000)]
pulseaudio: Disable unit tests

Signed-off-by: Michael Davis <michael.davis@essvote.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agosocat: remove the hardcoded shifting offset
Zhenhua Luo [Thu, 30 Jun 2016 10:22:29 +0000 (18:22 +0800)]
socat: remove the hardcoded shifting offset

The hardcoded shifting offset causes the following runtime error:
| socat: xioinitialize.c:41: xioinitialize: Assertion `3 <<
| opt_crdly.arg3 == 00030000' failed.

Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agorunqemu: Avoid duplicating custom QEMU options for AArch64
Otavio Salvador [Wed, 29 Jun 2016 20:08:11 +0000 (17:08 -0300)]
runqemu: Avoid duplicating custom QEMU options for AArch64

When detecting the second serial options we shouldn't append the
custom QEMU options otherwise we will end duplicating those.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolibpfm4: fix compile error
Kai Kang [Wed, 29 Jun 2016 08:08:45 +0000 (16:08 +0800)]
libpfm4: fix compile error

It fails to compile libpfm4 with misleading-indentation error:

| syst_count.c:346:3: error: this 'for' clause does not guard...  [-Werror=misleading-indentation]
|   for(c=cmin ; c < cmax; c++)
|      ^~~

Add clauses to fix it.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoclasses/populate_sdk_ext: exclude initramfs images from locked signatures
Paul Eggleton [Wed, 29 Jun 2016 03:13:52 +0000 (15:13 +1200)]
classes/populate_sdk_ext: exclude initramfs images from locked signatures

Tasks for image recipes cannot be locked - there's nothing to restore
from shared state to cover them and as a result, if you had "live" in
IMAGE_FSTYPES the build would fail with "taskhash mismatch" errors for
do_rootfs and do_image_complete for the initramfs image recipe, since it
had to try to run those. We should probably catch that issue earlier in
the build and produce a proper error, but for now at least exclude these
signatures from the locked-sigs.inc file so that extensible SDK
installers built when IMAGE_FSTYPES includes "live". (It turned out we
already had code to find other image tasks in the task list in order to
generate the list of install targets.)

Follow-up fix for [YOCTO #9826].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoclasses/populate_sdk_ext: ensure tasks to build the image are included
Paul Eggleton [Wed, 29 Jun 2016 03:13:51 +0000 (15:13 +1200)]
classes/populate_sdk_ext: ensure tasks to build the image are included

If you build an extensible SDK for an image and IMAGE_FSTYPES includes
"live" then the extensible SDK will fail to install with a bunch of
unexpected task execution errors, matching the missing items required to
build the live image. The issue was we were still depending on do_rootfs
rather than do_image_complete. The fix was slightly more complicated
than just changing the task name as do_image_complete's dependencies are
in the form of dependencies on tasks within the same recipe (represented
in the "deps" varflag rather than the "depends" varflag).

Fixes [YOCTO #9826].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agorecipetool: create: drop unused convert_pkginfo() function
Paul Eggleton [Wed, 29 Jun 2016 03:12:04 +0000 (15:12 +1200)]
recipetool: create: drop unused convert_pkginfo() function

Code cleanup, no functional changes - this code was never used.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agorecipetool: create: avoid decoding errors with Python 3
Paul Eggleton [Wed, 29 Jun 2016 03:12:03 +0000 (15:12 +1200)]
recipetool: create: avoid decoding errors with Python 3

We're opening source files with the default encoding (utf-8) but we
can't necessarily be sure that they are UTF-8 clean - for example,
recipetool create ftp://mama.indstate.edu/linux/tree/tree-1.7.0.tgz
prior to this patch resulted in a UnicodeDecodeError. Use the
"surrogateescape" mode to avoid this.

Fixes [YOCTO #9822].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoautogen-native: fix script error when processing libguile
Zhenbo Gao [Tue, 5 Jul 2016 08:25:15 +0000 (16:25 +0800)]
autogen-native: fix script error when processing libguile

do_configure for autogen-native would fail if build directory path
contains '-I' characters, which is caused by the unsuitable sed script
when processing libguile.

Error log:
[snip]
checking for GUILE... yes
awk: fatal: cannot open file `/buildarea1/poky/build /libguile/version.h' for reading (No such file or directory)
configure: error: in `/buildarea1/poky/build-Ice/tmp/work/x86_64-linux/autogen-native/5.18.10-r0/build':
configure: error: cannot determine Guile version
[snip]

Signed-off-by: Zhenbo Gao <zhenbo.gao@windriver.com>
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agol3afpad: add check for GTK3DISTROFEATURES
Joe Slater [Tue, 28 Jun 2016 20:53:21 +0000 (13:53 -0700)]
l3afpad: add check for GTK3DISTROFEATURES

We want world builds without GTK3DISTROFEATURES to work.

Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agogettext: fix for low-version recipe
Chen Qi [Mon, 4 Jul 2016 06:41:15 +0000 (14:41 +0800)]
gettext: fix for low-version recipe

Make gettext-native in 0.16.1 recipe provides virtual/gettext-native like
what gettext-native in 0.19.6 recipe does. Otherwise we would fail to start
to do a world build if gettext and gettext-native are set to the low version.
Error message is like below.

  ERROR: Multiple versions of gettext-native are due to be built

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolibidn: add patch to build w/ -Wformat-security
André Draszik [Tue, 28 Jun 2016 11:53:15 +0000 (12:53 +0100)]
libidn: add patch to build w/ -Wformat-security

While the file in question is a command line utility
only, let's be clean and still fix it.

Signed-off-by: André Draszik <adraszik@tycoint.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agometa: update patch metadata
Ross Burton [Mon, 27 Jun 2016 19:59:19 +0000 (20:59 +0100)]
meta: update patch metadata

Enforce the correct tag names across all of oe-core for consistency.

Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agorun-postinsts: Correct comment misspelling, "rpm-posinsts".
Robert P. J. Day [Tue, 5 Jul 2016 12:34:43 +0000 (08:34 -0400)]
run-postinsts: Correct comment misspelling, "rpm-posinsts".

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agooepydevshell-internal: python3: encode/decode pty content
Ed Bartosh [Mon, 4 Jul 2016 22:08:15 +0000 (01:08 +0300)]
oepydevshell-internal: python3: encode/decode pty content

As /dev/pty opened in binary mode its content has to
be decoded when reading from it and encoded when writing to it.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agodevpyshell: python3: flush stdout explicitly
Ed Bartosh [Mon, 4 Jul 2016 22:08:14 +0000 (01:08 +0300)]
devpyshell: python3: flush stdout explicitly

Opening text stream in unbuffered mode raises the following
exception In Python 3:
    ValueError: can't have unbuffered text I/O

Fixed by leaving std* streams in text mode and flushing
stdout explicitly.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agodevshell.bbclass: fix double unbuffering
Ed Bartosh [Mon, 4 Jul 2016 22:08:13 +0000 (01:08 +0300)]
devshell.bbclass: fix double unbuffering

stdout is already unbuffered in bitbake code. Attempt to
do it again in devshell.bbclass causes this crash when
running devpyshell:
  File "scripts/oepydevshell-internal.py", line 29, in <module>
      pty = open(sys.argv[1], "w+b", 0)
  IOError: [Errno 13] Permission denied: '/dev/pts/6'

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agopseudo: drop recipe for old 1.6.7 version
Joshua Lock [Tue, 5 Jul 2016 12:18:30 +0000 (13:18 +0100)]
pseudo: drop recipe for old 1.6.7 version

Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoclasses/cmake: enable progress for do_compile
Paul Eggleton [Thu, 23 Jun 2016 12:06:58 +0000 (00:06 +1200)]
classes/cmake: enable progress for do_compile

cmake outputs percentage complete as part of its compilation process, so
we can enable BitBake's new progress scanning for do_compile here.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoclasses/populate_sdk_ext: eliminate double execution on install
Paul Eggleton [Thu, 23 Jun 2016 12:07:03 +0000 (00:07 +1200)]
classes/populate_sdk_ext: eliminate double execution on install

Use the new BB_SETSCENE_ENFORCE functionality to avoid having to run
bitbake twice on installing the extensible SDK - we can now do it all in
one invocation which not only takes less time, but we should also get
more meaningful errors for some types of failure, in particular where
downloading from an sstate mirror fails.

One result of this change is that you get the errors printed on the
console during normal output rather than this going to the
preparing_build_system.log file first. In OE-Core revision
227d2cbf9e0b8c35fa6644e3d72e0699db9607fa, we changed to always print the
contents of preparing_build_system.log on failure, but now at least the
error contents of that log is duplicated. Besides, I intentionally
didn't print out the contents of that log during normal usage because
it's quite verbose - the bug that we were attempting to fix was about
not getting this information when seeing failures in the automated
tests, thus I've moved printing the log to the test handling code
instead.

Part of the implementation of [YOCTO #9367].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agotoolchain-shar-extract.sh: allow TERM through into SDK installer env
Paul Eggleton [Thu, 23 Jun 2016 12:07:06 +0000 (00:07 +1200)]
toolchain-shar-extract.sh: allow TERM through into SDK installer env

In order to show the task progress during the extensible SDK
installation, knotty needs to know it is using a terminal it can
support the "interactive" mode on (i.e. ncurses can be used), which
means it needs access to the TERM variable value, so allow that
through into the cleaned environment within the SDK installation
script.

Part of the implementation for [YOCTO #9613].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolib/oe/sstatesig: print locked sigs file message only when explicitly called
Paul Eggleton [Thu, 23 Jun 2016 12:07:04 +0000 (00:07 +1200)]
lib/oe/sstatesig: print locked sigs file message only when explicitly called

If we're building the extensible SDK we don't need to see the "Writing
locked sigs" message; it's only necessary when the user explicitly runs
bitbake -S none <target>.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoclasses/testsdk: print output correctly on failure
Paul Eggleton [Thu, 23 Jun 2016 12:07:02 +0000 (00:07 +1200)]
classes/testsdk: print output correctly on failure

With Python 3 we get a bytes object from the command output and not a
string, which gives some ugly formatting for error messages unless you
decode it first.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoclasses/sstate: add a mode to error if sstate package unavailable
Paul Eggleton [Thu, 23 Jun 2016 12:07:01 +0000 (00:07 +1200)]
classes/sstate: add a mode to error if sstate package unavailable

If BB_SETSCENE_ENFORCE is set to "1" and an sstate package fails to
download outside of the whitelist specified by
BB_SETSCENE_ENFORCE_WHITELIST, then fail immediately so you can tell
that the problem was caused by failing to restore the task from sstate.

Part of the implementation of [YOCTO #9367].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoclasses/sstate: show progress during sstate object availability check
Paul Eggleton [Thu, 23 Jun 2016 12:07:00 +0000 (00:07 +1200)]
classes/sstate: show progress during sstate object availability check

Show progress through bitbake's standard terminal UI when checking for
shared state object availability, since this can take some time if there
are a large number of tasks to be executed and/or the network connection
is slow.

Part of the implementation for [YOCTO #5853].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoclasses/image: implement progress support for do_rootfs
Paul Eggleton [Thu, 23 Jun 2016 12:06:59 +0000 (00:06 +1200)]
classes/image: implement progress support for do_rootfs

Use the new task progress functionality to report progress during
do_rootfs. This is a little coarse and ideally we would have some
progress within the installation section, but it's better than
nothing.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobitbake.conf: whitelist progress varflag
Paul Eggleton [Thu, 23 Jun 2016 12:06:57 +0000 (00:06 +1200)]
bitbake.conf: whitelist progress varflag

We don't want the value of this varflag in any signatures since it's
only there for the purpose of aiding display of task execution.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolocal.conf.sample.extended: drop RPM4 example
Paul Eggleton [Wed, 29 Jun 2016 03:09:16 +0000 (15:09 +1200)]
local.conf.sample.extended: drop RPM4 example

We don't have RPM4 support anymore, so there's no point including this.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolib/oeqa: add Galculator to SDK and runtime tests
Ross Burton [Tue, 21 Jun 2016 14:33:11 +0000 (15:33 +0100)]
lib/oeqa: add Galculator to SDK and runtime tests

This is a GTK+3 application, so we don't need to ship GTK+ 2 in Sato just for
the SDK test suite.

[ YOCTO #9780 ]

Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agooeqa/runtime/syslog: remove redundant skipUnlessPassed
Ross Burton [Wed, 22 Jun 2016 12:02:53 +0000 (13:02 +0100)]
oeqa/runtime/syslog: remove redundant skipUnlessPassed

The test test_syslog_help doesn't exist, so skipping unless it passed just
produced a warning.

Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agotoolchain-scripts: add sysroot/usr/share/pkgconfig to PKG_CONFIG_PATH
Ross Burton [Thu, 30 Jun 2016 12:08:43 +0000 (13:08 +0100)]
toolchain-scripts: add sysroot/usr/share/pkgconfig to PKG_CONFIG_PATH

Otherwise architecture-independent pkg-config files such as wayland-protocols
won't be found in the SDK.

Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agooeqa/utils/commands: fix single-character variable matching in get_bb_vars()
Ross Burton [Wed, 29 Jun 2016 10:58:18 +0000 (11:58 +0100)]
oeqa/utils/commands: fix single-character variable matching in get_bb_vars()

Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolinux-yocto: bxt and input configuration changes
Bruce Ashfield [Tue, 28 Jun 2016 02:36:43 +0000 (22:36 -0400)]
linux-yocto: bxt and input configuration changes

Merging the following two configuration changes:

  Author: Rebecca Chang Swee Fun <rebecca.swee.fun.chang@intel.com>
  Date:   Mon Jun 27 15:11:04 2016 +0800

    broxton: set CONFIG_GPIO_GENERIC_PLATFORM instead of CONFIG_GPIO_GENERIC

    CONFIG_GPIO_GENERIC option is tristate, this will ensure we
    enable by selecting CONFIG_GPIO_GENERIC_PLATFORM.

    This addresses the following message:

    Value requested for CONFIG_GPIO_GENERIC not in final ".config"
    Requested value: "CONFIG_GPIO_GENERIC=y"
    Actual value set: ""

Signed-off-by: Rebecca Chang Swee Fun <rebecca.swee.fun.chang@intel.com>
  Author: California Sullivan <california.l.sullivan@intel.com>
  Date:   Mon Jun 27 17:15:53 2016 -0700

    features/input: Add keyboard-gpio feature

    This feature adds keyboard-gpio support to the kernel. We also add a
    specific implementation by default. More can be added as necessary.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolinux-yocto/4.x: vfat feature cleanup
Bruce Ashfield [Fri, 24 Jun 2016 21:00:56 +0000 (17:00 -0400)]
linux-yocto/4.x: vfat feature cleanup

From Tom:

  This is a small patchset for yocto-4.4 that removes open-coded VFAT_FS
  and enables defaults that should be enabled along with it.

Signed-off-by: Tom Zanussi <tom.zanussi@linux.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.4: tpm, telemetry, acpi and cpuid changes
Bruce Ashfield [Fri, 24 Jun 2016 20:56:30 +0000 (16:56 -0400)]
linux-yocto/4.1/4.4: tpm, telemetry, acpi and cpuid changes

Backporting mainline and development commits to for various subystems.

linux-yocto: 4.4:
  ae6a527d93f i2c: add support for ACPI reconfigure notifications
  f2422e12af53 acpi: add support for ACPI reconfiguration notifiers
  bc87718fdb56 acpi: fix enumeration (visited) flags for bus rescans

linux-yocto: 4.1:
  9f166e918f63 platform:x86 decouple telemetry driver from the optional IPC resources
  adfc21c1f156 tpm: update PPI documentation to address the location change.
  661b0190e412 x86 tsc: enumerate BXT tsc_khz via CPUID
  78be69fa9d15 x86 tsc: enumerate SKL cpu_khz and tsc_khz via CPUID

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Yu, Ong Hock <ong.hock.yu@intel.com>
Signed-off-by: Yong, Jonathan <jonathan.yong@intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoscripts/contrib: introduce build-perf-test-wrapper.sh
Markus Lehtonen [Tue, 26 Apr 2016 12:51:20 +0000 (15:51 +0300)]
scripts/contrib: introduce build-perf-test-wrapper.sh

A shell script wrapper around oe-build-perf-test script. The purpose of
this wrapper is to act as a executor script, making it possible to run
the tests with a single command. The wrapper script initializes the
build environment, runs oe-build-perf-test and archives the results.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agooe-build-perf-test: add --out-dir command line argument
Markus Lehtonen [Mon, 9 May 2016 14:27:35 +0000 (17:27 +0300)]
oe-build-perf-test: add --out-dir command line argument

The new option defines the output directory for the test result data.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>