]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
8 years agodbus: backport stdint.h build fix
Ioan-Adrian Ratiu [Tue, 9 Aug 2016 13:36:49 +0000 (16:36 +0300)]
dbus: backport stdint.h build fix

This patch fixes an error where dbus configure doesn't detect
stdint.h correctly.

Upstream commit 1bfde222 on branches dbus-1.10 and master

Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agobase-files: restrict resize to run on serial consoles only in profile │·
bavery [Tue, 9 Aug 2016 00:20:32 +0000 (17:20 -0700)]
base-files: restrict resize to run on serial consoles only in profile │·

We don't need/wan't to run resize on an ssh connection. It's useless and
it breaks the Eclipse SSH debug connection. So, we added a check.

YOCTO #9362

Signed-off-by: bavery <brian.avery@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolibunwind: Do not use gold for linking
Khem Raj [Mon, 8 Aug 2016 22:51:01 +0000 (15:51 -0700)]
libunwind: Do not use gold for linking

This effectively reverts the commit
3dd233ac0c80393824100c54bb525236f8290fd2

gold now emits errors on copy relocs against
protected symbols what ld.bfd did in past, however
it seems its too conservative.

This does not fix the case for folks who
use gold as default linker, however it
does make bintuls 2.27 work with default
configuration of OE

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agowebkitgtk: Disable gold for mips/mips64
Khem Raj [Mon, 8 Aug 2016 22:51:00 +0000 (15:51 -0700)]
webkitgtk: Disable gold for mips/mips64

with binutils 2.27, mips has got the gold support
but it doesnt work for webkitgtk _yet_ therefore
disable it for now.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoconnman: clean up musl fixes
Ross Burton [Tue, 9 Aug 2016 15:11:44 +0000 (16:11 +0100)]
connman: clean up musl fixes

The upstreamable include fixes have been sent upstream.  The patch set adds
AC_USE_SYSTEM_EXTENSIONS so we don't need to explictly define _GNU_SOURCE
anymore.

Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoconnman: disable version-scripts to fix crashes at startup
Ross Burton [Tue, 9 Aug 2016 11:12:02 +0000 (12:12 +0100)]
connman: disable version-scripts to fix crashes at startup

With binutils 2.27 on at least MIPS, connmand will crash on startup.  This
appears to be due to the symbol visibilty scripts hiding symbols that stdio
looks up at runtime, resulting in it segfaulting.

This certainly appears to be a bug in binutils 2.27 although the problem has
been known about for some time:

https://sourceware.org/bugzilla/show_bug.cgi?id=17908

As the version scripts are only used to hide symbols from plugins we can safely
remove the scripts to work around the problem until binutils is fixed.

Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agooeqa: start() add remaining args SimpleRemoteTarget and QemuTinyRunner
Aníbal Limón [Mon, 8 Aug 2016 20:41:28 +0000 (15:41 -0500)]
oeqa: start() add remaining args SimpleRemoteTarget and QemuTinyRunner

Now Runner's support extra_bootargs for the kernel so add
extra_bootparams to the start() methods to avoid exception.

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agobusybox: Fix busybox-init on non-tty consoles
Stefan Agner [Mon, 8 Aug 2016 05:47:28 +0000 (22:47 -0700)]
busybox: Fix busybox-init on non-tty consoles

When using non-tty consoles (e.g. VirtIO console /dev/hvc0) the
current init system fails with:
process '/sbin/getty 115200 hvc0' (pid 545) exited. Scheduling for restart.
can't open /dev/ttyhvc0: No such file or directory

The first field needs to be a valid device. The BusyBox inittab example
explains as follows:
"<id>: WARNING: This field has a non-traditional meaning for BusyBox init!

The id field is used by BusyBox init to specify the controlling tty for
the specified process to run on.  The contents of this field are
appended to "/dev/" and used as-is."

Signed-off-by: Stefan Agner <stefan@agner.ch>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agouboot-sign: do_concat_dtb(): cd to $B
George McCollister [Mon, 8 Aug 2016 15:29:47 +0000 (10:29 -0500)]
uboot-sign: do_concat_dtb(): cd to $B

Prior to running oe_runmake make sure $B is the cwd. This is required
due to bitbake commit 67a7b8b021badc17d8fdf447c250e79d291e75f7
"build: don't use $B as the default cwd for functions".

Without this change, do_concat_dtb fails with:
| ERROR: oe_runmake failed
| make: *** No targets specified and no makefile found.  Stop.

Signed-off-by: George McCollister <george.mccollister@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agouboot-sign: Handle .rom signing the same as .img
George McCollister [Fri, 15 Jul 2016 21:30:21 +0000 (16:30 -0500)]
uboot-sign: Handle .rom signing the same as .img

Handle u-boot.rom signing (U-Boot as x86 BIOS replacement) the same way
that u-boot.img signing is handled.

Signed-off-by: George McCollister <george.mccollister@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agokernel-fitimage: Add x86 support
George McCollister [Fri, 15 Jul 2016 20:40:54 +0000 (15:40 -0500)]
kernel-fitimage: Add x86 support

For x86, bzImage must be built instead of zImage.

Include setup.bin (which is required to boot the kernel) in the fitimage
and always use a load/boot address of 0x00090000.

For details see:
http://git.denx.de/?p=u-boot.git;a=blob;f=doc/uImage.FIT/x86-fit-boot.txt

Signed-off-by: George McCollister <george.mccollister@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agokernel-fitimage: add initramfs support
George McCollister [Thu, 26 May 2016 13:55:16 +0000 (08:55 -0500)]
kernel-fitimage: add initramfs support

If INITRAMFS_IMAGE is set, build an additional fitImage containing the
initramfs. Copy the additional fitImage and the source (*.its) file, used
to create it to DEPLOYDIR. The fitImage containing the initramfs must be
built before do_deploy and after do_install to avoid circular dependencies.

UBOOT_RD_LOADADDRESS - Specifies the load address used by u-boot for the
                       initramfs.
UBOOT_RD_ENTRYPOINT  - Specifies the entry point used by u-boot for the
                       initramfs.

Signed-off-by: George McCollister <george.mccollister@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agokernel-fitimage.bbclass: do_assemble_fitimage(): cd to $B
Andrew Bradford [Thu, 4 Aug 2016 17:40:40 +0000 (13:40 -0400)]
kernel-fitimage.bbclass: do_assemble_fitimage(): cd to $B

Prior to assembling the fitimage, ensure that $B is the cwd due to
bitbake commit 67a7b8b021badc17d8fdf447c250e79d291e75f7 "build: don't
use $B as the default cwd for functions".

Without this change, do_assemble_fitimage() fails like:

Log data follows:
| DEBUG: Executing shell function do_assemble_fitimage
| arm-ka-linux-gnueabi-objcopy: 'vmlinux': No such file
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_assemble_fitimage

Signed-off-by: Andrew Bradford <andrew.bradford@kodakalaris.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolinux-dtb.inc: Support for .dtbo files for dtb overlays
Herve Jourdain [Fri, 29 Jul 2016 22:27:59 +0000 (15:27 -0700)]
linux-dtb.inc: Support for .dtbo files for dtb overlays

Signed-off-by: Herve Jourdain <herve.jourdain@neuf.fr>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agopackagefeed-stability.bbclass: fix multilib + rpm
Robert Yang [Wed, 27 Jul 2016 07:51:10 +0000 (00:51 -0700)]
packagefeed-stability.bbclass: fix multilib + rpm

* Fix multilib + rpm since its multilib package name is special.
* Update SSTATE_DUPWHITELIST to avoid shared location conflicted error.
* Fix message when "not copying", now the messages are:
  Copying packages for recipe <foo>
  Not copying packages for recipe <foo>

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agorunqemu: qemuzynqmp: Add Linux boot support
Alistair Francis [Wed, 15 Jun 2016 20:43:23 +0000 (13:43 -0700)]
runqemu: qemuzynqmp: Add Linux boot support

Add support to direct boot Linux instead of just booting u-boot.

Signed-off-by: Alistair Francis <alistair.francis@xilinx.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agopackage: correct subprocess.Popen.communicate() return values
Vladimir Zapolskiy [Sat, 6 Aug 2016 01:43:29 +0000 (04:43 +0300)]
package: correct subprocess.Popen.communicate() return values

This is a non-functional change, which intends to correct element
names of a tuple returned by Popen.communicate().

Both in python2 and python3 subprocess.Popen.communicate() method
returns a tuple (stdoutdata, stderrdata), thus old assignments and
collateral comments are incorrect from human's point of view, however
formally there is no error in the code.

The change is desired to have to avoid copy-paste errors in future.

Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agochrpath: correct subprocess.Popen.communicate() return values
Vladimir Zapolskiy [Sat, 6 Aug 2016 01:43:28 +0000 (04:43 +0300)]
chrpath: correct subprocess.Popen.communicate() return values

This is a non-functional change, which intends to correct element
names of a tuple returned by Popen.communicate().

Both in python2 and python3 subprocess.Popen.communicate() method
returns a tuple (stdoutdata, stderrdata), thus old assignments and
collateral comments are incorrect from human's point of view, however
formally there is no error in the code.

The change is desired to have to avoid copy-paste errors in future.

Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolicense: improve handling of license files with identical basenames
Markus Lehtonen [Fri, 5 Aug 2016 10:23:52 +0000 (13:23 +0300)]
license: improve handling of license files with identical basenames

Previously, find_license_files() in license.bbclass just blindly assumed
that all different licenses specified in LIC_FILES_CHKSUM have unique
filenames. As a consequence, only the last one of these similarly named
license files was copied and the rest were "lost". This patch changes
the behavior so that all license files get copied. However, if multiple
identically named files are found, they are renamed to <file>.0,
<file>.1 etc.

The patch also changes the handling of NO_GENERIC_LICENSE slightly.
Previously, only basenames of NO_GENERIC_LICENSE and LIC_FILES_CHKSUM
were compared when searching for the correct license file. After this
patch NO_GENERIC_LICENSE must have the full path, matching what is
specified in LIC_FILES_CHKSUM. This is required in order to be able
to handle identical filenames (basenames) consistently. For example, if
you have:
LICENSE = "my-custom-license"
LIC_FILES_CHKSUM = "file://src/LICENCE;md5=d41d8cd98f00b204e9800998ecf8427e"

you must specify:
NO_GENERIC_LICENSE[my-custom-license] = "src/LICENCE"

[YOCTO #9663]

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
8 years agosysvinit-inittab_2.88dsf.bb: Allow aliasing with SERIAL_CONSOLES_CHECK
California Sullivan [Thu, 4 Aug 2016 02:36:36 +0000 (19:36 -0700)]
sysvinit-inittab_2.88dsf.bb: Allow aliasing with SERIAL_CONSOLES_CHECK

With some hardware the name of the device node and the name in
/proc/console differ. This causes SERIAL_CONSOLES_CHECK to not enable
working consoles in these cases. This patch changes SERIAL_CONSOLES_CHECK
to have an optional alias for the checked consoles. The new format is:

<device>:<alias to check(optional)>

Fixes [YOCTO #9440].

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agobuildhistory: output package variables in a repeatable order
Ross Burton [Mon, 8 Aug 2016 13:01:45 +0000 (14:01 +0100)]
buildhistory: output package variables in a repeatable order

This code was outputting variables by iterating a dictionary.  In Py2 this
always results in the same iteration order but with Py3 the order changes every
execution, which resulted in buildhistory having to store diffs where fields
were simply re-ordered.

Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agonettle: update LICENSE info for version 2.7.1
Maxin B. John [Mon, 8 Aug 2016 11:13:08 +0000 (14:13 +0300)]
nettle: update LICENSE info for version 2.7.1

LICENSE_${PN} shouldn't contain anything that is not specified in LICENSE.

[YOCTO #10075]

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agogst-player: update the callback for delete-event
Maxin B. John [Mon, 8 Aug 2016 11:13:06 +0000 (14:13 +0300)]
gst-player: update the callback for delete-event

provide similar behaviour for Media Player's quit and close callback
functions.

[YOCTO #10045]

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agodpkg: Avoid automatic target architecture detection
Alexandre Belloni [Mon, 8 Aug 2016 09:56:09 +0000 (11:56 +0200)]
dpkg: Avoid automatic target architecture detection

dpkg is using a script (dpkg-architecture.pl) to detect the target
architecture automatically.
Unfortunately, it is using the cross compiler prefix to do the detection
and for ARM, oe-core is using <vendor>-linux-gnueabi for toolchains with
and without call-convention hard. The script then always detects
'armel' and never gets 'armhf' for call-convention hard.

This solves:
dpkg: error processing archive evtest_1.32+0+b8343ec112-r0_armhf.deb (--install):
 package architecture (armhf) does not match system (armel)
 Errors were encountered while processing:
 evtest_1.32+0+b8343ec112-r0_armhf.deb

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoca-certificates: remove -- separator
Maciej Borzecki [Mon, 8 Aug 2016 08:11:24 +0000 (10:11 +0200)]
ca-certificates: remove -- separator

Options and directory separator -- slipped past the patch removing
Debianims, thus resulting in failures on hosts running Fedora.

Signed-off-by: Maciej Borzecki <maciej.borzecki@rndity.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoworld-broken: Add libunwind for musl/arm
Khem Raj [Mon, 8 Aug 2016 06:47:58 +0000 (23:47 -0700)]
world-broken: Add libunwind for musl/arm

gcc and libunwind race and when libunwind wins
results are build fails for gcc as described
this is only seen on musl/arm since on musl
/usr/include is search before gcc fixed headers
and unwind.h is in fixed headers. So it works
ok on glibc but not on musl due to reversed search
order.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agostrace: Fix build with mips/mips64 on musl
Khem Raj [Mon, 8 Aug 2016 06:47:57 +0000 (23:47 -0700)]
strace: Fix build with mips/mips64 on musl

SIGEMT doesnt exist on musl

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agooeqa/utils/httpserver.py: HTTPServer enable thread connection handling
Aníbal Limón [Fri, 5 Aug 2016 20:30:30 +0000 (15:30 -0500)]
oeqa/utils/httpserver.py: HTTPServer enable thread connection handling

HTTPServer now supports multiple connections using Python threads.

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoquilt/acl/attc/sed: Fix use of tar's --exclude option for tar >= 1.29
Mariano Lopez [Fri, 5 Aug 2016 11:25:20 +0000 (11:25 +0000)]
quilt/acl/attc/sed: Fix use of tar's --exclude option for tar >= 1.29

Starting from tar 1.29 the --exclude option won't work
anymore if is not used before the path. There are some
recipes that copy the ptest using tar and --exclude
option. This fixes these for OE-Core recipes.

[YOCTO #9763]

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoalsa-utils: fix installed-vs-shipped for bat
Stefan Müller-Klieser [Fri, 5 Aug 2016 14:27:16 +0000 (16:27 +0200)]
alsa-utils: fix installed-vs-shipped for bat

The bat PACKAGECONFIG does not install the test script correctly. Fix
this by following the packaging used for the other bash scripts. While
at it, fix some tabs.

Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoopenssl: fix add missing `make depend` command before `make` library
Andrej Valek [Fri, 5 Aug 2016 11:16:33 +0000 (13:16 +0200)]
openssl: fix add missing `make depend` command before `make` library

Settings from EXTRA_OECONF like en/disable no-ssl3, are transferred
only into DEPFLAGS. It means that settings have no effect on output files.
DEPFLAGS will be transferred into output files with make depend command.

https://wiki.openssl.org/index.php/Compilation_and_Installation#Dependencies

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 agoterminal: Add sleep in pid-monitor loop
Jacob Kroon [Thu, 4 Aug 2016 22:04:26 +0000 (00:04 +0200)]
terminal: Add sleep in pid-monitor loop

Monitoring the process started by gnome-terminal was
spinning in a busy-loop. Insert some sleeping so that
we don't eat all the cpu.

Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoconsolekit: don't ship /var/log/ConsoleKit
Ross Burton [Fri, 5 Aug 2016 16:09:34 +0000 (17:09 +0100)]
consolekit: don't ship /var/log/ConsoleKit

This directory is created on demand, and won't be visible if /var/log is a
tmpfs, so don't bother shipping it.

Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agopackage.bbclass: warn about files under symlinked directories
Markus Lehtonen [Thu, 4 Aug 2016 09:02:12 +0000 (12:02 +0300)]
package.bbclass: warn about files under symlinked directories

[YOCTO #9827]

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agopackage.bbclass: better handling of middle-path dir symlinks
Markus Lehtonen [Thu, 4 Aug 2016 09:02:11 +0000 (12:02 +0300)]
package.bbclass: better handling of middle-path dir symlinks

For example in a directory structure like this
    .
    ├── symlink -> foo/bar
    └── foo
        └── bar
            └── file
'file' could be referenced by specifying e.g. 'foo/bar/file' or
'symlink/file'.  In cases like this populate_packages() might crash if
the file was referenced (in FILES) via the symlinked directory. The
outcome depends on how the user defined FILES_pn.  This patch should
make the function behave more consistently. It looks for files which are
referenced via symlinked directories and handles them separately,
failing if their parent directory is a non-existent path. For example,
defining FILES_{PN} = "symlink/file" causes a build failure because
symlinks target 'foo/bar' is not included at all.

[YOCTO #9827]

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoutil-linux: make prlimit a separate package
Pascal Bach [Thu, 4 Aug 2016 13:28:46 +0000 (15:28 +0200)]
util-linux: make prlimit a separate package

Busybox doesn't provide a similar tool so having it in
a separate package allows to us it in addition to busybox without having
to include all of util-linux.

Before it was part of the top level util-linux package.
Now it is a separate package util-linux-prlimit but the top level package
still RRECOMMENDS it so for most users nothing should change.

Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolzo: update ptest output format
mingli.yu@windriver.com [Wed, 3 Aug 2016 09:22:57 +0000 (17:22 +0800)]
lzo: update ptest output format

The output format was updated to match yocto ptest rules:
<result>: <testname>
where the result can be PASS, FAIL, or SKIP, and the testname
can be any identifying string.

Signed-off-by: Li Wang <li.wang@windriver.com>
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agooeqa/selftest: disable report-error class when builds are expected to fail
Ross Burton [Thu, 4 Aug 2016 16:04:51 +0000 (17:04 +0100)]
oeqa/selftest: disable report-error class when builds are expected to fail

Some invocations of bitbake are expected to fail, so we don't want to report the
errors to errors.yoctoproject.org.  Also rewrite the messages in
test_invalid_patch so they reflect reality.

[ YOCTO #10052 ]

Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agopseudo: Add nobody user and group
Davis, Michael [Wed, 3 Aug 2016 21:26:57 +0000 (21:26 +0000)]
pseudo: Add nobody user and group

Nodejs expects the user and group nobody to exist on global install commands.
The target build works as base-passwd contained it, however the fallback passwd did not.
This broke the SDK if nodejs was included.

Signed-off-by: Michael Davis <michael.davis@essvote.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agopython3: Upgrade from 3.5.1 to 3.5.2
Alejandro Hernandez [Wed, 3 Aug 2016 18:49:44 +0000 (18:49 +0000)]
python3: Upgrade from 3.5.1 to 3.5.2

LICENSE did not change, only dates were changed

Upstream:
 - use_packed_importlib.patch
 - CVE-2016-5636.patch

Other patches were rebased on python3-natives patch

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agopython3-native: Upgrade from 3.5.1 to 3.5.2
Alejandro Hernandez [Wed, 3 Aug 2016 18:49:43 +0000 (18:49 +0000)]
python3-native: Upgrade from 3.5.1 to 3.5.2

LICENSE did not change, only dates were changed

Rebases:
 - 000-cross-compile.patch
 - python-3.3-multilib.patch

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agopython: upgrade from 2.7.11 to 2.7.12
Alejandro Hernandez [Wed, 3 Aug 2016 18:49:42 +0000 (18:49 +0000)]
python: upgrade from 2.7.11 to 2.7.12

LICENSE did not change, only dates were changed

Rebases:
 - multilib.patch
 - 01-use-proper-tools-for-cross-build.patch

Upstream:
 - avoid_parallel_make_races_on_pgen.patch
 - CVE-2016-5636.patch

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agopython-native: Upgrade from 2.7.11 to 2.7.12
Alejandro Hernandez [Wed, 3 Aug 2016 18:49:41 +0000 (18:49 +0000)]
python-native: Upgrade from 2.7.11 to 2.7.12

LICENSE did not change, only dates changed.

Rebases:
 - debug.patch
 - multilib.patch

Upstream:
 - avoid_parallel_make_races_on_pgen.patch

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agopython-smartpm_git.bb: Add patch for debugging random errors
Mariano Lopez [Wed, 3 Aug 2016 13:21:30 +0000 (13:21 +0000)]
python-smartpm_git.bb: Add patch for debugging random errors

This will add a patch to debug random errors seen in the
autobuilders, it won't solve the errors, but will give us
a better idea of what is happening.

[YOCTO #8383]

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolibevent: update ptests fail condition
Catalin Enache [Wed, 3 Aug 2016 12:42:54 +0000 (15:42 +0300)]
libevent: update ptests fail condition

If exit status is 0 test is succesfull.

Signed-off-by: Catalin Enache <catalin.enache@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agopackage.bbclass: remove unneeded chmod() and chown()
Robert Yang [Wed, 3 Aug 2016 08:37:53 +0000 (01:37 -0700)]
package.bbclass: remove unneeded chmod() and chown()

* The mode and owner info are saved in inode, hardlink won't change them,
so remove unneeded chmod() and chown().

* This can avoid the problem that when do_package re-run, the file's mode
maybe different if it is 0444 (changed to 0644 when re-run), this is
caused by pseudo adds 'w' on real file, and doesn't track linked source
when hard link, Peter and Mark may fix pseudo, but the removed code is not
needed, which can avoid the problem.

* To reproduce the problem, for example, version.c from gzip's ${B}:
1) bitbake gzip
2) Edit rpm-native or package.bbclass to make do_package re-run.
3) bitbake gzip
After the first build, build/version.c in gzip-dbg is 0444, but after
the second build, it will be 0644, this because do_package does:
$ ln ${B}/version.c gzip-dbg/version.c,
$ chmod 0444 gzip-dbg/version.c (it runs chmod 0644 on the real filesystem)
And in the second build, the gzip-dbg/version.c will be removed and
created again, so that stat() can't get 0444 but 0644 since
${B}/version.c is not tracked by pseudo.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolibgcrypt: upgrade to 1.7.2
Fan Xin [Wed, 3 Aug 2016 07:53:17 +0000 (16:53 +0900)]
libgcrypt: upgrade to 1.7.2

Signed-off-by: Fan Xin <fan.xin@jp.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoprocps: upgrade to 3.3.12
Fan Xin [Wed, 3 Aug 2016 07:41:31 +0000 (16:41 +0900)]
procps: upgrade to 3.3.12

Signed-off-by: Fan Xin <fan.xin@jp.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agocurl: upgrade to 7.50.0
Fan Xin [Wed, 3 Aug 2016 06:16:40 +0000 (15:16 +0900)]
curl: upgrade to 7.50.0

Signed-off-by: Fan Xin <fan.xin@jp.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agokernel.bbclass: add lzop dependency
Trevor Woerner [Mon, 1 Aug 2016 12:32:53 +0000 (08:32 -0400)]
kernel.bbclass: add lzop dependency

If the initramfs image is type lzo, then a native lzop is needed.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agopiglit: fix build failure with gold linker
Maxin B. John [Mon, 1 Aug 2016 15:34:49 +0000 (18:34 +0300)]
piglit: fix build failure with gold linker

When we use gold linker while DISTRO set to "nodistro", piglit build
fails with the following error:

| ../../../../lib/libpiglitutil_gl.so.0: error: undefined reference to
'dlsym'
| ../../../../lib/libpiglitutil_gl.so.0: error: undefined reference to
'dlerror'
| ../../../../lib/libpiglitutil_gl.so.0: error: undefined reference to
'dlopen'
| collect2: error: ld returned 1 exit status

Fix it by providing '-ldl' to LDFLAGS.

[YOCTO #9851]

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agomatchbox-panel-2: remove dangling patch
Stefan Müller-Klieser [Thu, 4 Aug 2016 13:27:54 +0000 (15:27 +0200)]
matchbox-panel-2: remove dangling patch

Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agomatchbox-desktop: remove dangling patch
Stefan Müller-Klieser [Thu, 4 Aug 2016 13:27:53 +0000 (15:27 +0200)]
matchbox-desktop: remove dangling patch

Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoalsa-utils: remove dangling patch
Stefan Müller-Klieser [Thu, 4 Aug 2016 13:27:52 +0000 (15:27 +0200)]
alsa-utils: remove dangling patch

Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agopython-numpy: remove dangling patch
Stefan Müller-Klieser [Thu, 4 Aug 2016 13:27:51 +0000 (15:27 +0200)]
python-numpy: remove dangling patch

Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoguile: remove dangling patch
Stefan Müller-Klieser [Thu, 4 Aug 2016 13:27:50 +0000 (15:27 +0200)]
guile: remove dangling patch

Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoopenssl: remove dangling patch
Stefan Müller-Klieser [Thu, 4 Aug 2016 13:27:49 +0000 (15:27 +0200)]
openssl: remove dangling patch

Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agogstreamer1.0-plugins-bad: remove two dangling patches
Stefan Müller-Klieser [Thu, 4 Aug 2016 13:27:48 +0000 (15:27 +0200)]
gstreamer1.0-plugins-bad: remove two dangling patches

Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoautotools.bbclass: remove intltool.m4 from ${S}
Ross Burton [Fri, 5 Aug 2016 15:17:10 +0000 (16:17 +0100)]
autotools.bbclass: remove intltool.m4 from ${S}

We need to ensure that builds use our intltool.m4 as there is a bug in
upstream's macros when the host doesn't have XML::Parser installed.

So generalise the m4 pruning logic that we already have from gettext and add
intltool.m4.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoautotools: move aclocal-copy to WORKDIR
Ross Burton [Fri, 5 Aug 2016 15:17:09 +0000 (16:17 +0100)]
autotools: move aclocal-copy to WORKDIR

To save time move the temporary copy of the autoconf macros, aclocal-copy, from
${B} to ${WORKDIR}.  This ensures that it can't conflict with anything in ${S}
and means the pruning code doesn't need to know about it.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agointltool: bump serial for aclocal --install
Ross Burton [Fri, 5 Aug 2016 15:17:08 +0000 (16:17 +0100)]
intltool: bump serial for aclocal --install

We modify this macro and need it to be used over local copies in tarballs.  It
appears that aclocal doesn't quite want to do the right thing just yet but
increase the version just in case it does in the future.

Upstream typically increments by one, and autoconf handles point versions fine,
so bump it by 0.1.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoyocto-uninative: bump to uninative tarball version 1.2
Ross Burton [Fri, 5 Aug 2016 15:17:07 +0000 (16:17 +0100)]
yocto-uninative: bump to uninative tarball version 1.2

This new uninative version includes fixes to use the host locales.

[ YOCTO #9994 ]

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agometa/classes: fix bb.build.FuncFailed typos
Jonathan Liu [Sun, 7 Aug 2016 08:34:28 +0000 (18:34 +1000)]
meta/classes: fix bb.build.FuncFailed typos

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobinutils: Bump to 2.27
Khem Raj [Sun, 7 Aug 2016 00:41:23 +0000 (17:41 -0700)]
binutils: Bump to 2.27

Signed-off-by: Khem Raj <raj.khem@gmail.com>
8 years agoapt: Fix build in musl it was break due to upgrade to 1.2.12
Aníbal Limón [Fri, 5 Aug 2016 21:42:48 +0000 (16:42 -0500)]
apt: Fix build in musl it was break due to upgrade to 1.2.12

methods/connect.cc: Musl doesn't support AI_IDN flag in netdb.h
header so define it manually.
apt-pkg/contrib/srvrec.h: Add explicity include of sys/types.h
to avoid errors in types u_int_SIZE.

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
8 years agoglibc: Switch to 2.24 release branch
Khem Raj [Fri, 5 Aug 2016 16:36:52 +0000 (09:36 -0700)]
glibc: Switch to 2.24 release branch

glibc 2.24 is released now
https://www.sourceware.org/ml/libc-alpha/2016-08/msg00212.html

Signed-off-by: Khem Raj <raj.khem@gmail.com>
8 years agoRevert "packagegroup-core-x11-base.bb: replace pointercal with pointercal-xinput"
Richard Purdie [Thu, 4 Aug 2016 19:54:57 +0000 (20:54 +0100)]
Revert "packagegroup-core-x11-base.bb: replace pointercal with pointercal-xinput"

This reverts commit a93c45fa77eb7ea31b91d5bad3c64634bd1476ee until we merge
the rest of the pointercal patches.

8 years agobase.bbclass wipe ${S} before unpacking source
Markus Lehtonen [Tue, 22 Mar 2016 16:47:00 +0000 (18:47 +0200)]
base.bbclass wipe ${S} before unpacking source

Make sure that we have a pristine source tree after do_unpack.

[YOCTO #9064]

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
8 years agopackagegroup-core-x11-base.bb: replace pointercal with pointercal-xinput
Maxin B. John [Tue, 12 Jul 2016 14:07:41 +0000 (17:07 +0300)]
packagegroup-core-x11-base.bb: replace pointercal with pointercal-xinput

Replace pointercal with pointercal-xinput since we removed pointercal recipe.

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agodpkg: put start-stop-daemon into a separate package
Joe Slater [Mon, 1 Aug 2016 21:59:43 +0000 (14:59 -0700)]
dpkg: put start-stop-daemon into a separate package

This is useful for supplying start-stop-daemon to
images that do not include busybox.

Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoperf: enable man pages for 'help' functionality
Dengke Du [Wed, 27 Jul 2016 05:02:03 +0000 (01:02 -0400)]
perf: enable man pages for 'help' functionality

When using 'perf help <subcommand>', it can't find 'man' command and pages for
perf.
The perf man pages depends on the xmlto-native and asciidoc-native, so we just
need to add the two packages to the DEPENDS variable and add 'man'to
RDEPENDS_perf-doc.

Signed-off-by: Dengke Du <dengke.du@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agocreate-pull-request: set subject automatically for cover latter
Robert Yang [Tue, 19 Apr 2016 02:16:03 +0000 (19:16 -0700)]
create-pull-request: set subject automatically for cover latter

Set cover letter's subject automatically as the patch's subject when
there is only one patch.

[YOCTO #9410]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agocreate-pull-request: read remote from env var CPR_CONTRIB_REMOTE
Robert Yang [Mon, 18 Apr 2016 09:33:15 +0000 (02:33 -0700)]
create-pull-request: read remote from env var CPR_CONTRIB_REMOTE

So that we don't have specify "-u <contrib>" everytime, and
CPR_CONTRIB_REMOTE can be overrided by -u.

[YOCTO #9409]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agocreate-pull-request: add option -a to auto push
Robert Yang [Wed, 20 Apr 2016 00:30:03 +0000 (17:30 -0700)]
create-pull-request: add option -a to auto push

Before this patch, we need two steps to create PULL:
* Step 1, create branch:
  $ git push <contrib> <local_branch>:<remote_branch>
* Step 2, create PULL:
  $ create-pull-request -u <contrib> -l <local_branch> -b <remote_branch> -r <local_branch>~<n>

We can see that the args used in step 1 are in step 2, so we can use
"create-pull-request -a" or set CPR_CONTRIB_AUTO_PUSH in to create the
branch to simplify the steps.

[YOCTO #9408]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agocronie: upgrade to 1.5.1
Alejandro Hernandez [Tue, 2 Aug 2016 15:08:36 +0000 (15:08 +0000)]
cronie: upgrade to 1.5.1

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoAsciidoc: add it
Dengke Du [Wed, 27 Jul 2016 05:02:02 +0000 (01:02 -0400)]
Asciidoc: add it

In order to enable perf man pages for basic 'help' functionality,
it needs to produce man pages for perf, which depends on the xmlto
and asciidoc tools.
So add the asciidoc recipe to help produce man pages for perf and
other commands.

Signed-off-by: Dengke Du <dengke.du@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoaugeas: remove from oe-core
Ross Burton [Tue, 2 Aug 2016 13:05:11 +0000 (14:05 +0100)]
augeas: remove from oe-core

Nothing in oe-core uses this, so it's been moved to meta-oe.

Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agotcl: 8.6.5 -> 8.6.6
Robert Yang [Tue, 2 Aug 2016 08:51:29 +0000 (01:51 -0700)]
tcl: 8.6.5 -> 8.6.6

Updated no_packages.patch.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agostrace: 4.12 -> 4.13
Robert Yang [Tue, 2 Aug 2016 08:51:28 +0000 (01:51 -0700)]
strace: 4.12 -> 4.13

Updated Makefile-ptest.patch

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolibcap-ng: 0.7.7 -> 0.7.8
Robert Yang [Tue, 2 Aug 2016 08:51:27 +0000 (01:51 -0700)]
libcap-ng: 0.7.7 -> 0.7.8

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agogrub2.inc: run autogen.sh before configure
mingli.yu@windriver.com [Tue, 2 Aug 2016 06:38:10 +0000 (14:38 +0800)]
grub2.inc: run autogen.sh before configure

* When adding new source files from upstream the autogen.sh
  script needs to be run
* Rework grub2-remove-sparc64-setup-from-x86-builds.patch
  to remove the grub-setup helper program grub-sparc64-setup
  in Makefile.util.def instead of the previous Makefile.util.am
  to avoid the update for Makefile.util.am in do_patch phase is
  overwritten by the autogen.sh in do_configure phase

Signed-off-by: Catalin Enache <catalin.enache@windriver.com>
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agooeqa/utils/sshcontrol.py: Allows to copy symlinks to target
Mariano Lopez [Tue, 26 Jul 2016 09:38:57 +0000 (09:38 +0000)]
oeqa/utils/sshcontrol.py: Allows to copy symlinks to target

Currently when copying a symlink to the target it will fail
throwing an exception. This will recreate symlinks from the
system performing the tests to the device under tests.

[YOCTO #9932]

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agooeqa/oetest.py: Allow to export packages using symlinks
Mariano Lopez [Tue, 26 Jul 2016 09:38:56 +0000 (09:38 +0000)]
oeqa/oetest.py: Allow to export packages using symlinks

Currently packages that contains symlinks can't be extracted
and exported. This allows to export extracted such packages.

A nice side effect is improved readability.

[YOCTO #9932]

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agooetest.py: Remove check for __init__.py
Mariano Lopez [Thu, 21 Jul 2016 16:34:39 +0000 (16:34 +0000)]
oetest.py: Remove check for __init__.py

When using "auto" in TEST_SUITES there is a check
for __init__.py in the <layer>/lib/oeqa/runtime/
directory in all the layers in BBLAYERS.

This check was needed because the way that python 2
import the modules, now that bitbake uses python 3
there is no need these __init__.py files, moreover
these files won't allow to import tests from other
layers.

This patch removes the check.

[YOCTO #9996]

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agooetest.py: Add command line parameter support for tag in testexport
Mariano Lopez [Mon, 4 Jul 2016 12:23:16 +0000 (12:23 +0000)]
oetest.py: Add command line parameter support for tag in testexport

This allows to use a command line argument to change the
tag used to filter test instead of rebuilding the tests.

[YOCTO #8532]

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agobitbake.conf: set READELF for cross compilation
Jeremy Puhlman [Mon, 1 Aug 2016 16:02:55 +0000 (09:02 -0700)]
bitbake.conf: set READELF for cross compilation

In the case of using an external toolchain that supports multilib
compilation with a single binary, TARGET_PREFIX is the same for both main
and multilib abis. Without READELF exported, python3 assumes it is
either the readelf for ${BUILD_SYS}-readelf. Exporting cross readelf
fixes the build issue.

checking LDLIBRARY... libpython$(LDVERSION).so
checking for i586-montavistamllib32-linux-ranlib...
x86_64-montavista-linux-ranlib
checking for i586-montavistamllib32-linux-ar...
x86_64-montavista-linux-ar
checking for i586-montavistamllib32-linux-readelf... no
checking for readelf... readelf
configure: WARNING: using cross tools not prefixed with host triplet

Signed-off-by: Jeremy Puhlman <jpuhlman@mvista.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoFix random python backtrace in mutlilib handling code.
Jeremy Puhlman [Mon, 1 Aug 2016 16:02:54 +0000 (09:02 -0700)]
Fix random python backtrace in mutlilib handling code.

newval is not defined in all cases. Set to None and check if it is set.

  File
"/local/foo/builds/x86/layers/openembedded-core/meta/classes/multilib_global.bbclass",
line 90, in preferred_ml_updates(d=<bb.data_smart.DataSmart object at
0xf6fd528c>):
                 if not d.getVar(newname, False):
    >                d.setVar(newname, localdata.expand(newval))
             # Avoid future variable key expansion
UnboundLocalError: local variable 'newval' referenced before assignment

Signed-off-by: Jeremy Puhlman <jpuhlman@mvista.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoselftest/runtime-test.py: Add test for testexport SDK feature
Mariano Lopez [Mon, 1 Aug 2016 08:16:33 +0000 (08:16 +0000)]
selftest/runtime-test.py: Add test for testexport SDK feature

This adds test_testexport_sdk() to test the SDK feature
of testexport in the CI in order to avoid breaking it.

[YOCTO #9765]

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agodhcp: dhcrelay.service cannot start successfully
Dai Caiyun [Fri, 22 Apr 2016 09:18:31 +0000 (12:18 +0300)]
dhcp: dhcrelay.service cannot start successfully

Modify dhcrelay.service to avoid it start failed.

Signed-off-by: Dai Caiyun <daicy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agometa: add more missing patch tags
Ross Burton [Mon, 1 Aug 2016 15:43:48 +0000 (16:43 +0100)]
meta: add more missing patch tags

Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agocml1: fix tasks after default [dirs] changed
Ross Burton [Thu, 28 Jul 2016 19:37:04 +0000 (20:37 +0100)]
cml1: fix tasks after default [dirs] changed

These tasks relied upon [dirs] being ${B} by default.  As the functions are not
simple, add back [dirs] so they work again.

[ YOCTO #10027 ]

Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agobitbake.conf/toolchain-scripts.bbclass: Remove debug prefix mappings in SDK
Jacob Kroon [Thu, 28 Jul 2016 10:56:06 +0000 (12:56 +0200)]
bitbake.conf/toolchain-scripts.bbclass: Remove debug prefix mappings in SDK

CFLAGS/CXXFLAGS in the SDK environment script adds debug-prefix mappings
that include staging area/work directories. Remove them since the SDK
shouldn't be aware of them.

Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agopseudo: update git recipe to include xattr perf fix
Joshua Lock [Mon, 1 Aug 2016 11:00:27 +0000 (12:00 +0100)]
pseudo: update git recipe to include xattr perf fix

Update the SRCREV to 2 commits beyond the 1.8.1 tag (to the current
HEAD) in order to include a fix for the xattr performance regression
[YOCTO #9929].

Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agopseudo: backport patch to fix xattr performance
Joshua Lock [Mon, 1 Aug 2016 11:00:26 +0000 (12:00 +0100)]
pseudo: backport patch to fix xattr performance

In the 1.8 series of pseudo extended attribute handling was reworked
to be a property of inodes, not paths, and as a product fixed extended
attribute semantics on hardlinks. Unfortunately this rework introduced
a slow path around file deletion.

Add a patch for use by the pseudo 1.8.1 recipe which backports a fix
for this regression from the master branch of pseudo.

[YOCTO #9929]

Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agomesa: Fix build when cross compiling with clang
Khem Raj [Sat, 30 Jul 2016 04:50:46 +0000 (21:50 -0700)]
mesa: Fix build when cross compiling with clang

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agogstreamer1.0-plugins-bad: Backport GstGLMemoryEGL implementation
Khem Raj [Sat, 30 Jul 2016 00:58:16 +0000 (17:58 -0700)]
gstreamer1.0-plugins-bad: Backport GstGLMemoryEGL implementation

Backports fix for
https://bugzilla.gnome.org/show_bug.cgi?id=760916

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agogdb: Cache gnu gettext config vars for musl builds
Khem Raj [Fri, 29 Jul 2016 22:28:01 +0000 (15:28 -0700)]
gdb: Cache gnu gettext config vars for musl builds

intl is used in gdb as well and we run the configure for
it when running do compile. So we need to insert these
caching of variables to extra oe_make

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoffmpeg: Upgrade to 3.1.1
Khem Raj [Fri, 29 Jul 2016 22:28:00 +0000 (15:28 -0700)]
ffmpeg: Upgrade to 3.1.1

Fix build on mips64 while on it.
It was failing for mips64 with 3.1 too

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoapt: Upgrade to 1.2.12
Aníbal Limón [Fri, 29 Jul 2016 19:53:01 +0000 (14:53 -0500)]
apt: Upgrade to 1.2.12

Test was made building core-image-sato with package_deb on qemux86 and
qemuarm then run for two of them testimage and install packages with
apt-get using PACKAGE_FEED_URI's configuration.

Now apt support drop priviligies for install packages using a sandbox
with _apt user, the useradd class was inherit and configured to install
_apt user and group.

Rebased patches:

- 0001-Revert-always-run-dpkg-configure-a-at-the-end-of-our.patch
        - 0001-fix-the-gcc-version-check.patch
- 0001-remove-Wsuggest-attribute-from-CFLAGS.patch
- disable-test.patch
- no-curl.patch

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agogroff_1.18.1.4: fix narrowing conversion error
Hongxu Jia [Fri, 29 Jul 2016 07:47:41 +0000 (03:47 -0400)]
groff_1.18.1.4: fix narrowing conversion error

While gcc6 used, build old groff (for anti-GPLv3 reasons) failed:
.....
|groff-1.18.1.4/src/devices/grolbp/charset.h:69:1: error: narrowing
conversion of '130' from 'int' to 'char' inside { } [-Wnarrowing]
......

In upstream git://git.savannah.gnu.org/groff.git,
the following commit fix the issue, but the license is GPLV3,
we could not backport it to the old groff which license is GPLV2.
...
commit d180038ae0da19655bc2760ae2043efa0550a76c
Author: Werner LEMBERG <wl@gnu.org>
Date:   Wed Apr 16 21:11:07 2003 +0000
    * src/devices/grolbp/charset.h (symset): Use `unsigned char'.
...

We use another different way to fix the issue.

[YOCTO #9896]

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>