]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
8 years agometa: remove True option to getVar calls
Joshua Lock [Wed, 14 Dec 2016 21:13:04 +0000 (21:13 +0000)]
meta: remove True option to getVar calls

getVar() now defaults to expanding by default, thus remove the True
option from getVar() calls with a regex search and replace.

Search made with the following regex: getVar ?\(( ?[^,()]*), True\)

Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agovalgrind: make ld-XXX.so strlen intercept optional
Jackie Huang [Wed, 14 Dec 2016 02:26:13 +0000 (10:26 +0800)]
valgrind: make ld-XXX.so strlen intercept optional

Hack: Depending on how glibc was compiled (e.g. optimised
for size or built with _FORTIFY_SOURCE enabled) the strlen
symbol might not be found in ld-XXX.so. Therefore although
we should still try to intercept it, don't make it mandatory
to do so.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agobuildhistory-diff: report directory renames
Ed Bartosh [Mon, 28 Nov 2016 17:28:03 +0000 (19:28 +0200)]
buildhistory-diff: report directory renames

The script detects directory renaming if two different
directories with the same set of files are added and removed.

[YOCTO #10691]

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agouninative: rebuild uninative for gcc 4.8 and 4.9
Ed Bartosh [Tue, 13 Dec 2016 23:55:04 +0000 (01:55 +0200)]
uninative: rebuild uninative for gcc 4.8 and 4.9

Some c++ libraries fail to build if uninative is built
with gcc 5.x and host gcc version is either 4.8 or 4.9.

The issue should be solved by making separate uninative sstate
directory structure sstate-cache/universal-<gcc version> for host gcc
versions 4.8 and 4.9. This causes rebuilds of uninative if host gcc
is either 4.8 or 4.9 and it doesn't match gcc version used to build
uninative.

[YOCTO #10441]

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agosystemd: disable 'libdir' QA check
Mark Asselstine [Mon, 12 Dec 2016 19:36:48 +0000 (14:36 -0500)]
systemd: disable 'libdir' QA check

When building systemd with multilib support enabled in your build you
will get the following QA warnings (if the 'libdir' QA check is
enabled.)

WARNING: systemd-1_232-r0 do_package_qa: QA Issue: systemd-dbg: found \
 library in wrong location: /lib/systemd/.debug/libsystemd-shared-232.so
systemd: found library in wrong location: /lib/systemd/libsystemd-shared.so
systemd: found library in wrong location: /lib/systemd/libsystemd-shared-232.so [libdir]

Since systemd 231 upstream has included an 'internal' library which
they explicitly place in the application specific /lib/systemd
directory. You can see some of the discussion about this placement
here https://github.com/systemd/systemd/issues/3810

This placement is being picked up by the QA checker since when
multilibs are enabled it expects all libraries to be in lib32 or
lib64. Since the systemd and systemd-dbg packages don't contain any
other libraries we can respect the upstream placement and skip this QA
check for these packages. Unfortunately the QA mechanism doesn't allow
us to specify individual files so this approach is the best we can do.

Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolibxml2: Fix more NULL pointer derefs
Andrej Valek [Mon, 12 Dec 2016 13:20:21 +0000 (14:20 +0100)]
libxml2: Fix more NULL pointer derefs

The NULL pointer dereferencing could produced some
security problems.
This is a preventive security fix.

Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolibxml2: fix CVE-2016-4658 Disallow namespace nodes in XPointer points and ranges
Andrej Valek [Mon, 12 Dec 2016 13:20:20 +0000 (14:20 +0100)]
libxml2: fix CVE-2016-4658 Disallow namespace nodes in XPointer points and ranges

Namespace nodes must be copied to avoid use-after-free errors.
But they don't necessarily have a physical representation in a
document, so simply disallow them in XPointer ranges.

Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolibxml2: Necessary changes before fixing CVE-2016-5131
Andrej Valek [Mon, 12 Dec 2016 13:20:19 +0000 (14:20 +0100)]
libxml2: Necessary changes before fixing CVE-2016-5131

xpath:
 - Check for errors after evaluating first operand.
 - Add sanity check for empty stack.
 - Include comparation in changes from xmlXPathCmpNodesExt to xmlXPathCmpNodes

Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agopostinst: Add a test case to verify postinst scripts behavior
Jose Perez Carranza [Tue, 6 Dec 2016 17:29:01 +0000 (11:29 -0600)]
postinst: Add a test case to verify postinst scripts behavior

Add test case that verify behavior of postinst scripts at
roofts time and when is delayed to the first boot directly
on the target.

Signed-off-by: Jose Perez Carranza <jose.perez.carranza@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoselftest: Test needed to verify postinst order
Francisco Pedraza [Thu, 24 Nov 2016 21:54:53 +0000 (15:54 -0600)]
selftest: Test needed to verify postinst order

It verifies the following:

1. Compile a minimal image.
2. The compiled image will add the layer with the recipe postinst,
previously created at:
"meta-selftest/recipes-test"
3. Run QEMU.
4. Validate the task execution order.
[YOCTO #5319]

Signed-off-by: Francisco Pedraza <francisco.j.pedraza.gonzalez@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoscripts/runqemu: Allow to use qemu from host.
Mariano Lopez [Tue, 22 Nov 2016 17:31:53 +0000 (11:31 -0600)]
scripts/runqemu: Allow to use qemu from host.

This will add support to use qemu from the running host,
with this is possible to put qemu-native in ASSUME_PROVIDED
variable.

By default it will try to get qemu from the build sysroot,
and only if it fails will try to use the host's qemu.

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agosysvinit-inittab: fix getty device removal
Leonardo Sandoval [Tue, 29 Nov 2016 21:56:52 +0000 (15:56 -0600)]
sysvinit-inittab: fix getty device removal

getty devices were not being removed in some cases because device name
was not at the end of the line, for example a ttyS1 device:

S1:12345:respawn:/bin/start_getty 115200 ttyS1 vt102

Removing this limitation allows sed to remove any line containing
the device.

Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agosqlite: build position-independent code
Ross Burton [Thu, 1 Dec 2016 14:56:23 +0000 (14:56 +0000)]
sqlite: build position-independent code

pseudo links against this and uses PIC, so some toolchain combinations will
refuse to link against sqlite unless it is also PIC.

Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agobusybox: allow libiproute to handle table ids larger than 255
Lukasz Nowak [Tue, 13 Dec 2016 16:19:28 +0000 (16:19 +0000)]
busybox: allow libiproute to handle table ids larger than 255

These changes are required for compatibility with ConnMan, which by default
uses table ids greater than 255.

Signed-off-by: Lukasz Nowak <lnowak@tycoint.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agooeqa: move lib/oe tests to oe-selftest
Ross Burton [Tue, 13 Dec 2016 16:31:02 +0000 (16:31 +0000)]
oeqa: move lib/oe tests to oe-selftest

These tests don't get ran often (as demonstrated by the fact that some were not
ported to Python 3), so move them to oeqa/selftest so they get executed
frequently and can be extended easily.

[ YOCTO #7376 ]

Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolibsdl2: fix build on wayland(-dev)less hosts
Andreas Müller [Tue, 6 Dec 2016 00:19:21 +0000 (01:19 +0100)]
libsdl2: fix build on wayland(-dev)less hosts

* add sysroot prefix to wayland core protocols
* do not use pkg-config to find wayland-scanner

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolibsdl2: add wayland-protocols and -native to to depends of PACKAGECONFIG[wayland]
Andreas Müller [Tue, 6 Dec 2016 00:19:20 +0000 (01:19 +0100)]
libsdl2: add wayland-protocols and -native to to depends of PACKAGECONFIG[wayland]

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolibsdl2: add EXTRA_OECONF[vardepsexclude] = "MACHINE"
Andreas Müller [Tue, 6 Dec 2016 00:19:19 +0000 (01:19 +0100)]
libsdl2: add EXTRA_OECONF[vardepsexclude] = "MACHINE"

fixes Martin's MACHINE checksum test [1]

[1] http://lists.openembedded.org/pipermail/openembedded-core/2016-November/129464.html

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoextrausers.bbclass: Use PACKAGE_INSTALL instead of IMAGE_INSTALL
Jackie Huang [Tue, 13 Dec 2016 08:24:48 +0000 (16:24 +0800)]
extrausers.bbclass: Use PACKAGE_INSTALL instead of IMAGE_INSTALL

The initramfs image recipes changed to use PACKAGE_INSTALL
so they will not be affected by IMAGE_INSTALL, and will cause
error when inherit extrausers:

| ERROR: core-image-minimal-initramfs-1.0-r0 do_rootfs:
  core-image-minimal-initramfs: usermod command did not succeed.

So use PACKAGE_INSTALL as well in extrausers.bbclass to fix it.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoselftest: buildoptions: skip read-only-image test depending on distro
Leonardo Sandoval [Fri, 18 Nov 2016 17:53:22 +0000 (11:53 -0600)]
selftest: buildoptions: skip read-only-image test depending on distro

Poky-tiny cannot build core-image-sato, so skip test (read-only-image)
in this case.

Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoselftest: bblayers: remove linux kernel checks for show-recipes check
Leonardo Sandoval [Fri, 18 Nov 2016 18:38:03 +0000 (12:38 -0600)]
selftest: bblayers: remove linux kernel checks for show-recipes check

Preferred kernel recipes depends on the distro, so remove the kernel
checks to avoid failures on non-poky distros and make the test
distro agnostic.

Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoselftest: bbtests: use minimal image so all distros can execute it
Leonardo Sandoval [Fri, 18 Nov 2016 17:37:53 +0000 (11:37 -0600)]
selftest: bbtests: use minimal image so all distros can execute it

poky-tiny distro cannot build full-cmdline image, so use an image
(core-image-minimal) that can be built in all distros.

Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoselftest: base: new object member to store the DISTRO value
Leonardo Sandoval [Fri, 18 Nov 2016 17:27:19 +0000 (11:27 -0600)]
selftest: base: new object member to store the DISTRO value

Instead of quering it multiple times, query once and use it on
test method skip checks. Also, rename current distro sstate object
member to a more meaninful name.

Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agooeqa/utils/commands.py: Fix get_bb_vars() when called without arguments
Mariano Lopez [Wed, 14 Dec 2016 07:45:21 +0000 (07:45 +0000)]
oeqa/utils/commands.py: Fix get_bb_vars() when called without arguments

Commit 9d55e9d489cd78be592fb9b4d6484f9060c62fdd broke calling get_bb_vars()
when called without arguments. This fix this issue.

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agooe-selftest: add basic tinfoil tests
Paul Eggleton [Tue, 13 Dec 2016 07:09:46 +0000 (20:09 +1300)]
oe-selftest: add basic tinfoil tests

Add some tests to verify that the new tinfoil API is operating
correctly.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agooe-selftest: devtool: improve test_devtool_modify slightly
Paul Eggleton [Tue, 13 Dec 2016 07:09:45 +0000 (20:09 +1300)]
oe-selftest: devtool: improve test_devtool_modify slightly

* Check that man .in file actually gets modified, since sed -i doesn't
  fail if it it doesn't
* Use a variable for man file path

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agodevtool: prevent BBHandledException from showing traceback
Paul Eggleton [Tue, 13 Dec 2016 07:09:44 +0000 (20:09 +1300)]
devtool: prevent BBHandledException from showing traceback

If we don't catch this then attempting to run devtool in non-memres mode
when bitbake is already running will produce a traceback instead of just
an error message.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agodevtool: extract: disable basehash mismatch errors
Paul Eggleton [Tue, 13 Dec 2016 07:09:43 +0000 (20:09 +1300)]
devtool: extract: disable basehash mismatch errors

Using the setVariable commands here followed by buildFile will result in
"basehash mismatch" errors, and that's expected since we are deviating
*at runtime* from what was previously seen by changing these variable
values. Set BB_HASH_IGNORE_MISMATCH to turn off the errors.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolib/oe/recipeutils: drop parse_recipe_simple()
Paul Eggleton [Tue, 13 Dec 2016 07:09:42 +0000 (20:09 +1300)]
lib/oe/recipeutils: drop parse_recipe_simple()

This was intended to be used with tinfoil, but tinfoil now has its own
parse_recipe() method to do this which works properly in the memres
case.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agodevtool: fix extraction of source to work in memres mode
Paul Eggleton [Tue, 13 Dec 2016 07:09:41 +0000 (20:09 +1300)]
devtool: fix extraction of source to work in memres mode

Extracting the source for a recipe (as used by devtool's extract, modify
and upgrade subcommands) requires us to run do_fetch, do_unpack,
do_patch and any tasks that the recipe has inserted inbetween, and do so
with a modified datastore primarily so that we can redirect WORKDIR and
STAMPS_DIR in order to have the files written out to a place of our
choosing and avoid stamping the tasks as having executed in a real build
context respectively. However, this all gets much more difficult when in
memres mode since we can't call internal functions such as
bb.build.exec_func() directly - instead we need to execute the tasks on
the server. To do this we use the buildFile command which already exists
for the purpose of supporting bitbake -b, and setVariable commands to
set up the appropriate datastore.

(I did look at passing the modified datastore to the buildFile command
instead of using setVar() on the main datastore, however its use of
databuilder makes that very difficult, and we'd also need a different
method of getting the changes in the datastore over to the worker as
well.)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agorecipetool: add OE lib path
Paul Eggleton [Tue, 13 Dec 2016 07:09:40 +0000 (20:09 +1300)]
recipetool: add OE lib path

The autotools code imports oe.package; we weren't experiencing a problem
with this probably due to OE itself adding that path previously.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoclasses/patch: move several functions to oe.patch
Paul Eggleton [Tue, 13 Dec 2016 07:09:39 +0000 (20:09 +1300)]
classes/patch: move several functions to oe.patch

Move patch_path(), src_patches() and should_apply() to oe.patch, making
them easier to call from elsewhere (particularly across the
UI/server boundary).

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoclasses/patch: move in logic to commit for additional tasks
Paul Eggleton [Tue, 13 Dec 2016 07:09:38 +0000 (20:09 +1300)]
classes/patch: move in logic to commit for additional tasks

If PATCHTOOL is "git", and PATCH_COMMIT_FUNCTIONS is set to "1", for
additional tasks between do_unpack and do_patch, make a git commit. This
logic was previously implemented in devtool itself, but it makes more
sense for it to be implemented in the patch class since that's where the
rest of the logic is for this (or in lib/oe/patch.py). It also makes
it possible for this to work with tinfoil2.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoclasses/base: fix license file checksumming when source not under TMPDIR
Paul Eggleton [Tue, 13 Dec 2016 07:09:37 +0000 (20:09 +1300)]
classes/base: fix license file checksumming when source not under TMPDIR

With the changes to the code for extracting source for a recipe, we are
properly executing the tasks for a recipe, which means their stamps (and
therefore signatures) are important. When running devtool extract on
the lsof recipe I noticed that do_fetch and do_unpack were executing a
second time when we called for do_patch, and this turned out to be
because LIC_FILES_CHKSUM in that recipe contains an entry which
is an absolute path (has ${S} at the start). Normally this wouldn't be
an issue since S is under TMPDIR and thus the existing code would ignore
it, however devtool's extraction code extracts to a temporary directory
which is not under TMPDIR; the result was the path to this file was not
being ignored and the second time around when the license file had been
extracted it was incorporated into the signature. We don't want this, so
explicitly exclude S as well as B and WORKDIR for good measure.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agodevtool / recipetool: use tinfoil parsing API
Paul Eggleton [Tue, 13 Dec 2016 07:09:36 +0000 (20:09 +1300)]
devtool / recipetool: use tinfoil parsing API

Use Tinfoil.parse_recipe_file() and Tinfoil.parse_recipe() instead of
the recipeutils equivalents, and replace any local duplicate
implementations. This not only tidies up the code but also allows these
calls to work in memres mode.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agooe-selftest: use tinfoil.parse_recipe()
Paul Eggleton [Tue, 13 Dec 2016 07:09:35 +0000 (20:09 +1300)]
oe-selftest: use tinfoil.parse_recipe()

Use tinfoil.parse_recipe() in order to allow oe-selftest to be used in
memres mode.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agooe-selftest: make tinfoil quiet when using to start QEMU
Paul Eggleton [Tue, 13 Dec 2016 07:09:34 +0000 (20:09 +1300)]
oe-selftest: make tinfoil quiet when using to start QEMU

We don't need to see the parsing/cache loading message in the
oe-selftest output, so use the newly added quiet option to disable it.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolib/oe/recipeutils: use cooker function instead of bb.providers
Paul Eggleton [Tue, 13 Dec 2016 07:09:33 +0000 (20:09 +1300)]
lib/oe/recipeutils: use cooker function instead of bb.providers

We now have a function in cooker itself that can do this lookup;
additionally, the rewritten tinfoil's cooker adapter has its own
implementation that can work remotely, so if we use it then this
function can work in that scenario as well.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agodevtool: package: don't try to initialise tinfoil twice
Paul Eggleton [Wed, 14 Dec 2016 08:49:50 +0000 (21:49 +1300)]
devtool: package: don't try to initialise tinfoil twice

setup_tinfoil() already calls prepare(), we don't need to call it again
ourselves and doing so with tinfoil2 results in "ERROR: Only one copy of
bitbake should be run against a build directory". Calling prepare()
twice should probably still be allowed, so that ought to be fixed
separately, but in the mean time this code is still wrong so fix it
here.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoclasses/image: suppress log_check mechanism for warnings/errors logged through BitBake
Paul Eggleton [Mon, 12 Dec 2016 22:05:06 +0000 (11:05 +1300)]
classes/image: suppress log_check mechanism for warnings/errors logged through BitBake

If you printed a warning through bb.warn() / bbwarn or an error through
bb.error() / bberror, this was also being picked up by our log_check
mechanism that was designed to pick up warnings and errors printed by
other programs used during do_rootfs. This meant you saw not only the
warning or error itself, you saw it a second time through log_check,
which is a bit ugly. Use the just-added BB_TASK_LOGGER to access the
logger and add a handler that we can use to find out if any warning or
error we find in the logs is one we should ignore as it has already been
printed.

Fixes [YOCTO #8223].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolib/oe/rootfs: fix log_check warnings being printed twice with RPM packaging
Paul Eggleton [Mon, 12 Dec 2016 22:05:05 +0000 (11:05 +1300)]
lib/oe/rootfs: fix log_check warnings being printed twice with RPM packaging

We were calling _log_check() in the RPM-specific rootfs class as well as
in the base class; this is unnecessary and resulted in any errors/warnings
generated during the actual package installation time triggering two warnings
instead of one. Drop the call from RpmRootfs._create() to fix this.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agooe-pkgdata-util: Make read-value handle override variables
Ola x Nilsson [Mon, 12 Dec 2016 16:19:29 +0000 (17:19 +0100)]
oe-pkgdata-util: Make read-value handle override variables

Some variables in pkgdata files have a package-name override.  When
the bare variable can not be found, try with the override-variant.

PKGSIZE is one such variable, and already had special code to handle this.

Test included.

Signed-off-by: Ola x Nilsson <ola.x.nilsson@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolibpcap: Disable exposed bits of WinPCAP remote capture support
Fabio Berton [Tue, 22 Nov 2016 18:15:59 +0000 (16:15 -0200)]
libpcap: Disable exposed bits of WinPCAP remote capture support

Disable bits of remote capture support inherited from the WinPCAP merge
which cause applications to fails to build if they define HAVE_REMOTE.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoxf86-input-libinput: Upgrade 0.22 -> 0.23
Jussi Kukkonen [Mon, 12 Dec 2016 10:11:49 +0000 (12:11 +0200)]
xf86-input-libinput: Upgrade 0.22 -> 0.23

Bug fixes + libinput now supports tablets (but wacom driver is
used instead if it is installed).

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoxf86-video-vmware: Upgrade 13.1.0 -> 13.2.1
Jussi Kukkonen [Mon, 12 Dec 2016 10:11:48 +0000 (12:11 +0200)]
xf86-video-vmware: Upgrade 13.1.0 -> 13.2.1

Bug fixes, ABI 23 support.
Rebase the add-option-for-vmwgfx patch.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoxf86-video-omap: Upgrade 0.4.4 -> 0.4.5
Jussi Kukkonen [Mon, 12 Dec 2016 10:11:47 +0000 (12:11 +0200)]
xf86-video-omap: Upgrade 0.4.4 -> 0.4.5

Support ABI 23.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoxf86-input-synaptics: Remove git recipe
Jussi Kukkonen [Mon, 12 Dec 2016 10:11:46 +0000 (12:11 +0200)]
xf86-input-synaptics: Remove git recipe

Last source revision is from 8 years ago.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoxf86-input-synaptics: Upgrade 1.8.3 -> 1.9.0
Jussi Kukkonen [Mon, 12 Dec 2016 10:11:45 +0000 (12:11 +0200)]
xf86-input-synaptics: Upgrade 1.8.3 -> 1.9.0

Bug fixes, new hw support, support for XINPUT ABI 23.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoxf86-input-mouse: Remove git recipe
Jussi Kukkonen [Mon, 12 Dec 2016 10:11:44 +0000 (12:11 +0200)]
xf86-input-mouse: Remove git recipe

Last used revision is from 8 years ago.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoxf86-input-mouse: Upgrade 1.9.1 -> 1.9.2
Jussi Kukkonen [Mon, 12 Dec 2016 10:11:43 +0000 (12:11 +0200)]
xf86-input-mouse: Upgrade 1.9.1 -> 1.9.2

Tiny update with ABI 23/24 support.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoxf86-input-keyboard: Remove git recipe
Jussi Kukkonen [Mon, 12 Dec 2016 10:11:42 +0000 (12:11 +0200)]
xf86-input-keyboard: Remove git recipe

Last used revision was from 8 years ago.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoxf86-input-keyboard: Upgrade 1.8.1 -> 1.9.0
Jussi Kukkonen [Mon, 12 Dec 2016 10:11:41 +0000 (12:11 +0200)]
xf86-input-keyboard: Upgrade 1.8.1 -> 1.9.0

Small update with ABI 23 support.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoxf86-input-evdev: Upgrade 2.10.3 -> 2.10.4
Jussi Kukkonen [Mon, 12 Dec 2016 10:11:40 +0000 (12:11 +0200)]
xf86-input-evdev: Upgrade 2.10.3 -> 2.10.4

Tiny update to XINPUT ABI 24.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoxserver-xorg: Upgrade 1.18.4 -> 1.19.0
Jussi Kukkonen [Mon, 12 Dec 2016 10:11:39 +0000 (12:11 +0200)]
xserver-xorg: Upgrade 1.18.4 -> 1.19.0

* xserver depends on xfont2 now.
* xwayland support requires wayland-scanner: Add patch to find
  wayland-scanner and protocol files while cross-compiling.
* patch MONOTONIC_CLOCK check so it works when cross-compiling
  (otherwise we always end with no monotonic clock and xwayland
  compile fails)
* Add vardepsexclude for MACHINE to ensure consistent hashes (RB)

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolibxfont2: Add recipe
Jussi Kukkonen [Mon, 12 Dec 2016 10:11:38 +0000 (12:11 +0200)]
libxfont2: Add recipe

This is the same old libxfont but with a new API.
xserver-xorg 1.19 depends on libxfont2.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agogcr: add missing dependencies for vapi
Jackie Huang [Mon, 12 Dec 2016 05:22:14 +0000 (13:22 +0800)]
gcr: add missing dependencies for vapi

According to the vapi_DEPS definition:
gcr-3.vapi depends on gck-1.vapi,
gcr-ui-3.vapi depends on gck-1.vapi and gcr-3.vapi

But these dependencies are missing for the make targets,
so it will fail when build in parallel:
error: Package `gck-1' not found in specified Vala API directories or GObject-Introspection GIR directories
error: Package `gcr-3' not found in specified Vala API directories or GObject-Introspection GIR directories

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolibtiff: Update to 4.0.7
Armin Kuster [Sat, 10 Dec 2016 17:38:43 +0000 (09:38 -0800)]
libtiff: Update to 4.0.7

Major changes:
The libtiff tools bmp2tiff, gif2tiff, ras2tiff, sgi2tiff, sgisv, and ycbcr are completely removed from the distribution, used for demos.

CVEs fixed:
CVE-2016-9297
CVE-2016-9448
CVE-2016-9273
CVE-2014-8127
CVE-2016-3658
CVE-2016-5875
CVE-2016-5652
CVE-2016-3632

plus more that are not identified in the changelog.

removed patches integrated into update.
more info: http://libtiff.maptools.org/v4.0.7.html

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoparselogs.py: Don't clog QA with Joule errors
California Sullivan [Sat, 10 Dec 2016 01:00:27 +0000 (17:00 -0800)]
parselogs.py: Don't clog QA with Joule errors

The Joule is very new hardware and there is ongoing kernel and firmware
work to fix these issues, which will be available in future kernel and
firmware releases. In the meantime, don't clog QA reports.

[YOCTO #10611]

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agokernel-yocto: explicitly trap subcommand errors
Bruce Ashfield [Fri, 9 Dec 2016 19:28:00 +0000 (14:28 -0500)]
kernel-yocto: explicitly trap subcommand errors

To trap errors and halt processing, do_kernel_metadata was recently
switched to exit on any non zero return code. While the concept is
sound, there are subcommands that have legitimate non-zero return
codes.

Instead of removing set +e, we'll explicitly check the return code
of the commands that can error, and throw a bbfatal to alert the
user.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolinux-yocto/4.8: update to -rt7
Bruce Ashfield [Fri, 9 Dec 2016 19:27:59 +0000 (14:27 -0500)]
linux-yocto/4.8: update to -rt7

Updating to the latest 4.8-rt

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoglibc: Enable backtrace from abort on ARM
Yuanjie Huang [Fri, 9 Dec 2016 17:49:34 +0000 (11:49 -0600)]
glibc: Enable backtrace from abort on ARM

ARM stack frames for abort and raise were limited to the the actual
abort and raise call, such as:

Obtained 4 stack frames.
./test-app(print_trace+0x1c) [0x10a08]
./test-app() [0x10b3c]
/lib/libc.so.6(__default_sa_restorer+0) [0x4adae1e0]
/lib/libc.so.6(gsignal+0xa0) [0x4adacf74]

This is not terribly useful when trying to figure out what function
may have called called the abort, especially when using pthreads.

After the change the trace would now look like:

Obtained 8 stack frames.
./test-app(print_trace+0x1c) [0x10a08]
./test-app() [0x10b3c]
/lib/libc.so.6(__default_sa_restorer+0) [0x4befe1e0]
/lib/libc.so.6(gsignal+0xa0) [0x4befcf74]
/lib/libc.so.6(abort+0x134) [0x4befe358]
./test-app(dummy_function+0x50) [0x10adc]
./test-app(main+0xd4) [0x10c24]
/lib/libc.so.6(__libc_start_main+0x114) [0x4bee7a58]

Signed-off-by: Yuanjie Huang <yuanjie.huang@windriver.com>
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agooe-buildenv-internal: show usage output
Ed Bartosh [Fri, 9 Dec 2016 17:26:48 +0000 (19:26 +0200)]
oe-buildenv-internal: show usage output

Show usage text if script is not sourced.
Tested in bash, zsh and dash.

[YOCTO #10751]

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agosystemd: Backport cgroup fix from 233 to 232
Jason Wessel [Fri, 9 Dec 2016 17:16:20 +0000 (09:16 -0800)]
systemd: Backport cgroup fix from 233 to 232

There is a critical regression in the default behavior with systemd
232 which prevents lxc, docker, and opencontainers from working
properly out of the box.  The change was already committed to the
systemd 233 code stream.

The failure looks like what is shown below.

% lxc-start -n container -F
lxc-start: cgfsng.c: parse_hierarchies: 825 Failed to find current cgroup for controller 'name=systemd'
lxc-start: cgfsng.c: all_controllers_found: 431 no systemd controller mountpoint found
lxc-start: start.c: lxc_spawn: 1082 failed initializing cgroup support
lxc-start: start.c: __lxc_start: 1332 failed to spawn 'container'
lxc-start: lxc_start.c: main: 344 The container failed to start.
lxc-start: lxc_start.c: main: 348 Additional information can be obtained by setting the --logfile and --logpriority options.

Commit 843d5baf6aad6c53fc00ea8d95d83209a4f92de1 from the systemd git
has been backported and can be dropped in a future uprev.

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agooe-find-native-sysroot: create usage output
Ed Bartosh [Fri, 9 Dec 2016 16:04:26 +0000 (18:04 +0200)]
oe-find-native-sysroot: create usage output

Created usage output for oe-find-native-sysroot script.

[YOCTO #10751]

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agooe-git-proxy: create usage output
Ed Bartosh [Fri, 9 Dec 2016 15:40:10 +0000 (17:40 +0200)]
oe-git-proxy: create usage output

Created usage output for oe-git-proxy script.

[YOCTO #10751]

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agooepydevshell-internal.py: standardize usage output
Ed Bartosh [Fri, 9 Dec 2016 15:02:30 +0000 (17:02 +0200)]
oepydevshell-internal.py: standardize usage output

Made usage output of oepydevshell-internal.py to look
similar to the output of other oe scripts.

[YOCTO #10751]

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agooe-setup-builddir: create usage output
Ed Bartosh [Fri, 9 Dec 2016 14:32:08 +0000 (16:32 +0200)]
oe-setup-builddir: create usage output

Created usage output for oe-setup-builddir script.

[YOCTO #10751]

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agooe-setup-rpmrepo: standardize usage output
Ed Bartosh [Fri, 9 Dec 2016 14:19:05 +0000 (16:19 +0200)]
oe-setup-rpmrepo: standardize usage output

Made usage output of oe-setup-rpmrepo to look similar to the
output of other oe scripts.

[YOCTO #10751]

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agogstreamer-vaapi-1.0: check for "opengl" feature
Ismo Puustinen [Fri, 9 Dec 2016 02:58:01 +0000 (18:58 -0800)]
gstreamer-vaapi-1.0: check for "opengl" feature

If "opengl" distro feature is not set, libva recipe is skipped. Since
missing libva breaks gstreamer-vaapi-1.0 build, the same check has to be
done in gstreamer-vaapi-1.0 recipe too.

Signed-off-by: Ismo Puustinen <ismo.puustinen@intel.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agopuzzles: Upgrade and fix with clang
Khem Raj [Fri, 9 Dec 2016 02:57:59 +0000 (18:57 -0800)]
puzzles: Upgrade and fix with clang

Delete upstreamed patches

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agogstreamer1.0-vaapi: Import from meta-intel
Khem Raj [Fri, 9 Dec 2016 02:57:58 +0000 (18:57 -0800)]
gstreamer1.0-vaapi: Import from meta-intel

Update to 1.10.1 at the same time

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agogstreamer1.0-rtsp-server: Add libcheck to deps
Khem Raj [Fri, 9 Dec 2016 02:57:57 +0000 (18:57 -0800)]
gstreamer1.0-rtsp-server: Add libcheck to deps

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agogstreamer1.0-plugins-bad: Define and use WAYLAND_PROTOCOLS_SYSROOT_DIR for output...
Khem Raj [Fri, 9 Dec 2016 02:57:56 +0000 (18:57 -0800)]
gstreamer1.0-plugins-bad: Define and use WAYLAND_PROTOCOLS_SYSROOT_DIR for output of pkg-config

When configure pokes for wayland-protocols isntallations it ended up
using the ones from host, which is because it did not account for sysroot
prefix

Remove MACHINE from variable reference tracking to avoid unnessary rebuilds for different machine
with same arch

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agosystemd-boot: Use PV in recipe name
Khem Raj [Fri, 9 Dec 2016 02:57:55 +0000 (18:57 -0800)]
systemd-boot: Use PV in recipe name

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agogstreamer1.0: Upgrade to 1.10.1
Khem Raj [Fri, 9 Dec 2016 02:57:54 +0000 (18:57 -0800)]
gstreamer1.0: Upgrade to 1.10.1

Remove backported patches and upstreamed ones
Drop --disable-trace its no more in 1.10.x

Add packageconfig option for kms, keep it disabled by default
in bad plugins recipe

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agorm_work: add do_write_qemuboot_conf to task list
Ross Burton [Fri, 9 Dec 2016 17:17:37 +0000 (17:17 +0000)]
rm_work: add do_write_qemuboot_conf to task list

We need to add do_write_qemuboot_conf to the list of tasks to be wiped as
otherwise the second time an image is built it will fail.

[ YOCTO #10758 ]

Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agobuildstats.py: skip collecting unavailable /proc data
Patrick Ohly [Fri, 9 Dec 2016 08:40:20 +0000 (09:40 +0100)]
buildstats.py: skip collecting unavailable /proc data

Some virtualized environments like Linux-VServer do not have the
entries under /proc that the new system usage sampling expected,
leading to an exception when trying to open the files.

Now the presence of these files is checked once before enabling the
corresponding data collection. When a file is missing, the
corresponding log file is not written either and pybootchart will not
draw the chart that normally displays the data.

Errors while reading or writing of data samples is intentionally still
a fatal error, because that points towards a bigger problem that
should not be ignored.

Reported-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolibva: check for "opengl" feature
Ismo Puustinen [Fri, 9 Dec 2016 02:58:00 +0000 (18:58 -0800)]
libva: check for "opengl" feature

In case "opengl" is missing from DISTRO_FEATURES, libva fails to satisfy
its dependencies. The dependency check is done by BitBake when
meta-world-pkgdata gathers information about all available packages
during image builds, even if libva isn't included in the build. This
patch makes libva recipe be skipped if the "opengl" DISTRO_FEATURE isn't
found.

Signed-off-by: Ismo Puustinen <ismo.puustinen@intel.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoUse weak assignment for SERIAL_CONSOLES in qemu configuration files
Chen Qi [Fri, 9 Dec 2016 07:43:03 +0000 (15:43 +0800)]
Use weak assignment for SERIAL_CONSOLES in qemu configuration files

Use weak assignment for SERIAL_CONSOLES in qemu configuration files so that
the value could serve as a default value and could be easily overridden in
configuration files like local.conf.

When using the default value for SERIAL_CONSOLES in qemux86-64,we would have
annoying messages on console complaining about respawning getty on ttyS1.
Although the value is set by purpose, at least we need to provide an easy way
to override it.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoarchiver: don't change directory when generating tarball
Ross Burton [Thu, 8 Dec 2016 21:29:57 +0000 (21:29 +0000)]
archiver: don't change directory when generating tarball

There's no need to chdir() as tarfile.add() can be told what name to use in the
archive.

Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agooe-trim-schemas: create usage output
Ed Bartosh [Thu, 8 Dec 2016 16:56:49 +0000 (18:56 +0200)]
oe-trim-schemas: create usage output

Created usage output for oe-trim-schemas script.

[YOCTO #10751]

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agooe-run-native: standardize usage output
Ed Bartosh [Thu, 8 Dec 2016 15:27:23 +0000 (17:27 +0200)]
oe-run-native: standardize usage output

Made usage output of oe-run-native to look similar to the
output of other oe scripts.

[YOCTO #10751]

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agorecipetool: Load plugins in a well defined order
Ola x Nilsson [Tue, 25 Oct 2016 11:03:35 +0000 (13:03 +0200)]
recipetool: Load plugins in a well defined order

To allow recipetool plugins in one layer to shadow another in a well
defined way, first search BBPATH/lib/recipetool directories and then
scripts/lib/recipetool and load only the first found.

The previous search and load loop would load all found plugins with the
ones found later replacing any found before.

Signed-off-by: Ola x Nilsson <ola.x.nilsson@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agodevtool: Load plugins in a well defined order
Ola x Nilsson [Tue, 25 Oct 2016 11:03:34 +0000 (13:03 +0200)]
devtool: Load plugins in a well defined order

To allow devtool plugins in one layer to shadow another in a well
defined way, first search BBPATH/lib/devtool directories and then
scripts/lib/devool and load only the first found.

The previous search and load loop would load all found plugins with the
ones found later replacing any found before.

Signed-off-by: Ola x Nilsson <ola.x.nilsson@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agorecipetool: selftest: Add test for recipetool plugin loading
Ola x Nilsson [Tue, 25 Oct 2016 11:03:33 +0000 (13:03 +0200)]
recipetool: selftest: Add test for recipetool plugin loading

Test that recipetool plugins are loaded in a well defined order.

Signed-off-by: Ola x Nilsson <ola.x.nilsson@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agodevtool: selftest: add test for devtool plugin loading
Ola x Nilsson [Tue, 25 Oct 2016 11:03:32 +0000 (13:03 +0200)]
devtool: selftest: add test for devtool plugin loading

Test that devtool plugins are loaded in a well defined order.

Signed-off-by: Ola x Nilsson <ola.x.nilsson@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agocups: 2.1.4 -> 2.2.1
Huang Qiyu [Wed, 7 Dec 2016 18:16:51 +0000 (10:16 -0800)]
cups: 2.1.4 -> 2.2.1

Upgrade cups from 2.1.4 to 2.2.1.

License checksum changes are not related to license changes.

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agogrub2: fix some quirks and div by zero
Awais Belal [Thu, 8 Dec 2016 14:09:39 +0000 (19:09 +0500)]
grub2: fix some quirks and div by zero

Rather than erroring out on a single attempt while
terminating EFI services, make a few retries because
such quirks are found in a few implementations.
Also fix a div by zero issue in the same framework
which causes an infinite reboot on the target.
Both patches included here are backports.

Signed-off-by: Awais Belal <awais_belal@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agowic: rename command line option -p -> -s
Ed Bartosh [Thu, 8 Dec 2016 13:19:55 +0000 (15:19 +0200)]
wic: rename command line option -p -> -s

Short variant of wic command line option --skip-build-check
is incorretly named -p. It's named -s in wic help and Yocto
documentation.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agomatchbox-wm: Upgrade 1.2.1 -> 1.2.2
Jussi Kukkonen [Thu, 8 Dec 2016 11:05:25 +0000 (13:05 +0200)]
matchbox-wm: Upgrade 1.2.1 -> 1.2.2

Fixes [YOCTO #10635]: _NET_CURRENT_DESKTOP returns empty value.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agowic: Create a logical partition only when it is really mandatory
Alessio Igor Bogani [Wed, 7 Dec 2016 14:00:57 +0000 (15:00 +0100)]
wic: Create a logical partition only when it is really mandatory

Don't worth bother with logical partition on MBR partition type (aka
msdos) if disk image generated by wic should have 4 partitions.

Signed-off-by: Alessio Igor Bogani <alessio.bogani@elettra.eu>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoslang: 2.3.0 -> 2.3.1
Huang Qiyu [Thu, 8 Dec 2016 13:31:29 +0000 (05:31 -0800)]
slang: 2.3.0 -> 2.3.1

1)Upgrade slang from 2.3.0 to 2.3.1.
2)Delete 0001-Fix-error-conflicting-types-for-posix_close.patch, since it is integrated upstream.

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agompfr: 3.1.4 -> 3.1.5
Huang Qiyu [Thu, 8 Dec 2016 13:17:33 +0000 (05:17 -0800)]
mpfr: 3.1.4 -> 3.1.5

Upgrade mpfr from 3.1.4 to 3.1.5.

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolibnotify : 0.7.6 -> 0.7.7
Huang Qiyu [Thu, 8 Dec 2016 09:22:18 +0000 (01:22 -0800)]
libnotify : 0.7.6 -> 0.7.7

Upgrade libnotify from 0.7.6 to 0.7.7.

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoxkeyboard-config: 2.18 -> 2.19
Zheng Ruoqin [Thu, 8 Dec 2016 01:25:56 +0000 (09:25 +0800)]
xkeyboard-config: 2.18 -> 2.19

Upgrade xkeyboard-config from 2.18 to 2.19

Signed-off-by: zhengruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoRevert "webkitgtk: drop patch 0001-WebKitMacros-Append-to-I-and-not-to-isystem.patch"
Carlos Alberto Lopez Perez [Wed, 7 Dec 2016 20:17:07 +0000 (21:17 +0100)]
Revert "webkitgtk: drop patch 0001-WebKitMacros-Append-to-I-and-not-to-isystem.patch"

This reverts commit 812c52f654c1bccca033163100055e3a8b8cda6e.

Upstream fixed the issue with GCC. But the build still fails with Clang.
Therefore reintroduce this patch until a better solution is found.
Upstream bug: https://bugs.webkit.org/show_bug.cgi?id=161697

Signed-off-by: Carlos Alberto Lopez Perez <clopez@igalia.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolibarchive: fix ALTERNATIVE_PRIORITY to avoid conflict
Chen Qi [Wed, 7 Dec 2016 01:45:37 +0000 (09:45 +0800)]
libarchive: fix ALTERNATIVE_PRIORITY to avoid conflict

'tar' utility from tar and bsdtar has the same alternative priority.
'cpio' utility from cpio and bsdcpio has the same alternative priority.

Lower the ALTERNATIVE_PRIORITY to avoid conflict.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoinitscripts: populate-volatile: improve config file parsing
Mans Rullgard [Thu, 1 Dec 2016 12:30:34 +0000 (12:30 +0000)]
initscripts: populate-volatile: improve config file parsing

This improves the config file parsing to permit blank lines and
comments following an entry or preceeded by whitespace.

Signed-off-by: Mans Rullgard <mans@mansr.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agomesa: update to 13.0.2
Andreas Müller [Tue, 6 Dec 2016 00:19:17 +0000 (01:19 +0100)]
mesa: update to 13.0.2

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agooe-selftest: Add option to submit test result to a git repository.
Mariano Lopez [Thu, 17 Nov 2016 12:18:52 +0000 (12:18 +0000)]
oe-selftest: Add option to submit test result to a git repository.

This new option allows to commit the result to a git repository,
along with the results it will add a metadata file for information
of the current selftest run, such as: hostname, machine, distro,
distro version, host version, and layers.

This implementation will have a branch per different hostname,
testing branch, and machine.

To use this feature use:

oe-selftest <options> --repository <repository_link>

[YOCTO #9954]

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