]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
9 years agotune-octeon.inc: add BASE_LIB settings
Dmitry Eremin-Solenikov [Thu, 20 Aug 2015 15:56:04 +0000 (18:56 +0300)]
tune-octeon.inc: add BASE_LIB settings

Provide BASE_LIB settings for octeon* tunes that follow the practice of
mips64/mips64-n32 tunes (lib64 for N64 ABI, lib32 for N32 ABI).

(From OE-Core rev: 2b52312174e52886b0a978ece41f66b4fb455604)

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agotune-octeon.inc: correct packaging suffix
Dmitry Eremin-Solenikov [Thu, 20 Aug 2015 15:56:03 +0000 (18:56 +0300)]
tune-octeon.inc: correct packaging suffix

Octeon II/III binaries can contain instructions that are not compatible
with MIPS64 processors. Thus Octeon II/III packages should go to
separate directories. Set MIPSPKGSFX_VARIANT_tune-* to Octeon-specific
values and update PACKAGE_EXTRA_ARCHS_tune-* accordingly.

(From OE-Core rev: 69798449a8c1049728674dd352cf828063974cd0)

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agooprofile: 1.0.0 -> 1.1.0
Robert Yang [Thu, 20 Aug 2015 06:48:10 +0000 (23:48 -0700)]
oprofile: 1.0.0 -> 1.1.0

* Remove backport patch filemode-fix.patch.
* Update --with-kernel=${STAGING_DIR_HOST}/${prefix} to find kernel
  headers (linux/*.h) to fix the error:
| checking kernel supports perf_events... unknown -- perf_event.h not found
| ERROR: You requested to build oprofile with '--with-kernel=/buildarea/lyang1/test_f2/tmp/work-shared/qemux86/kernel-source',
| but headers were not accessible at the given location.
| Be sure you have run the following command from within your kernel source tree:
|      make headers_install INSTALL_HDR_PATH=<kernel-hdrs-install-dir>
| Then pass <kernel-hdrs-install-dir> to oprofile's '--with-kernel' configure option.
| configure: error: Unable to build oprofile. Exiting.

(From OE-Core rev: b2200152deef0aec3cd8fe55bb73d6e8fccfe159)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agognu-efi: 3.0.2 -> 3.0.3
Robert Yang [Thu, 20 Aug 2015 06:19:28 +0000 (23:19 -0700)]
gnu-efi: 3.0.2 -> 3.0.3

(From OE-Core rev: c731ecab0a6cb31198ec8270dc9381b14964dd3c)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agognupg: 2.1.6 -> 2.1.7
Robert Yang [Thu, 20 Aug 2015 06:04:48 +0000 (23:04 -0700)]
gnupg: 2.1.6 -> 2.1.7

(From OE-Core rev: 78b159bf753c43c78bb0f283add7d447b96e08f1)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoqemu-native: Enable temporary debug info as default.
Aníbal Limón [Fri, 28 Aug 2015 20:12:32 +0000 (15:12 -0500)]
qemu-native: Enable temporary debug info as default.

We recently enable backtrace print rev[1] for address
qemu_cpu_kick_thread() issue but without debug information
isn't useful.

[YOCTO #8143]

[1] 73a876e4ff04ebbbcd3bde62efe02146ab601e25

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosystemd: Increase devices timeout in QEMU machines to avoid failures on serial-getty
Aníbal Limón [Fri, 28 Aug 2015 16:15:01 +0000 (11:15 -0500)]
systemd: Increase devices timeout in QEMU machines to avoid failures on serial-getty

Systemd serial-getty is failing because dev-tty ends with timeout, systemd
uses a default timeout of 90 secs that it's reached on AB's production environment
due to high I/O loads (nfs).

When use QEMU is used without KVM support, the machine code is executed by TCG
(software code execution) that is dependent on devices layer and causes locks
 between TCG/Devices increasing the machine code execution time [1].

QEMU don't support configuration of device timeout always uses a default one that is
90 secs, so the next patch increases the device timeout to 240 secs [2] in order give
enough time to get devices ready. It ONLY applies on QEMU machines.

[YOCTO #8141]

[1] http://blog.vmsplice.net/2011/03/qemu-internals-overall-architecture-and.html
[2] https://bugzilla.yoctoproject.org/show_bug.cgi?id=8141#c10

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogcc-source: exlude from world
Randy MacLeod [Fri, 28 Aug 2015 03:09:47 +0000 (23:09 -0400)]
gcc-source: exlude from world

Exclude all versions of gcc-source from world builds so that:
   bitbake -c <stage> world
will work. gcc-source deletes most bitbake build stages
since it is a source-only package.

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoEmpty image: filesystem allocation
Alex Franco [Wed, 26 Aug 2015 21:57:35 +0000 (16:57 -0500)]
Empty image: filesystem allocation

Increase sparse image block size when ROOTFS_SIZE is smaller than
the minimum needed for ext4 to fit into it.

[YOCTO #7664]

Signed-off-by: Alex Franco <alejandro.franco@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoEmpty image: package list splitting and iteration
Alex Franco [Wed, 26 Aug 2015 21:57:34 +0000 (16:57 -0500)]
Empty image: package list splitting and iteration

A few short fixes to splitting/iteration done over package lists
in license.bbclass, package_manager.py and rootfs.py.

[YOCTO #7664]

Signed-off-by: Alex Franco <alejandro.franco@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agooeqa/runtime/multilib: fix and improve multilib test
Ross Burton [Fri, 28 Aug 2015 23:43:13 +0000 (00:43 +0100)]
oeqa/runtime/multilib: fix and improve multilib test

Replace the previous shell magic with a Python function to parse the readelf
output, and fix the package names to include the lib32- prefix.

[ YOCTO #8219 ]

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoqemuarm64.conf: Make the second serial console /dev/hvc0
Randy Witt [Fri, 28 Aug 2015 02:42:43 +0000 (19:42 -0700)]
qemuarm64.conf: Make the second serial console /dev/hvc0

Since the qemu for aarch64 must use a virtual console for the second
serial port rather than emulating actual hardware, make sure the correct
device is specified so that a tty is actually started.

Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosysvinit-inittab: Run ttys on ttys that don't have tty in the name
Randy Witt [Fri, 28 Aug 2015 02:40:18 +0000 (19:40 -0700)]
sysvinit-inittab: Run ttys on ttys that don't have tty in the name

On qemuarm64 the second serial port in SERIAL_CONSOLES will be hvc0.
Since that doesn't have tty in the name, a correct label didn't get
added to inittab.

This change makes both names with tty and without work.

Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobind: remove dependency on bind in bind-dev
Ross Burton [Thu, 27 Aug 2015 15:58:52 +0000 (16:58 +0100)]
bind: remove dependency on bind in bind-dev

bind doesn't ship shared libraries only static libraries, so the default
dependency on PN from PN-dev is pointless and means that an image with bind-dev
installed (via dhcp-dev's automatic dependency) ends up with named installed and
started on boot which is rarely intended.

If and when we ship bind's shared libraries we should ensure that the libraries
go into a separate package.

Also remove an old comment about --enable-exportlib which isn't supported by
configure anymore.

[ YOCTO #8216 ]

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoqemurunner: Don't loop on EWOULDBLOCK in logging thread.
Randy Witt [Thu, 27 Aug 2015 09:04:10 +0000 (02:04 -0700)]
qemurunner: Don't loop on EWOULDBLOCK in logging thread.

EAGAIN/EWOULDBLOCK can be followed by no data. So don't tight loop
waiting for data.

Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agorunqemu-internal: Make sure tcpserial is always last
Randy Witt [Wed, 26 Aug 2015 22:15:34 +0000 (15:15 -0700)]
runqemu-internal: Make sure tcpserial is always last

If this is not the case, sometimes the additional tcpserial will be
enumerated as ttyS0, which is not what we want. Because then it would be
the console, and qemurunner would not log things properly.

Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoruntime/syslog.py: fix syslog test crash
Costin Constantin [Wed, 26 Aug 2015 12:54:21 +0000 (15:54 +0300)]
runtime/syslog.py: fix syslog test crash

This patch fixes the ability to correctly identify syslog's package
name for the built image. It is derived from modifying oeqa/oetest.py
for [YOCTO #8170]

Signed-off-by: Costin Constantin <costin.c.constantin@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agooeqa/oetest.py: add better package search for hasPackage()
Costin Constantin [Fri, 21 Aug 2015 11:37:49 +0000 (14:37 +0300)]
oeqa/oetest.py: add better package search for hasPackage()

Modified hasPackage() to split the content of pacakage manifest file
in containing lines and search at the begining of each line the
existance of the needed pkg.

[YOCTO #8170]

Signed-off-by: Costin Constantin <costin.c.constantin@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoqemurunner: In the logging thread retry on EAGAIN, EWOULDBLOCK
Randy Witt [Wed, 26 Aug 2015 07:15:15 +0000 (00:15 -0700)]
qemurunner: In the logging thread retry on EAGAIN, EWOULDBLOCK

On a nonblocking socket an exception can be generated for the EAGAIN
and EWOULDBLOCK errnos. Since these aren't actually errors make sure to
retry rather than bailing out.

Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolibnotify: update to version 0.7.6
Alexander Kanavin [Wed, 10 Jun 2015 12:39:18 +0000 (15:39 +0300)]
libnotify: update to version 0.7.6

New webkit requires at least version 0.7

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoqemurunner: Shut down logging thread successfully when test fails
Randy Witt [Tue, 25 Aug 2015 20:58:47 +0000 (13:58 -0700)]
qemurunner: Shut down logging thread successfully when test fails

Before this change on a test failure an exception would be generated due
to runqemu being killed before the logging thread which was on the other
end of the socket.

The exception was actually correct saying there was no data on a socket
marked readable, but this was because the qemu process was killed before
the listener thread.

Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolayer.conf: Increase layer version to 6
Richard Purdie [Tue, 25 Aug 2015 09:28:39 +0000 (10:28 +0100)]
layer.conf: Increase layer version to 6

This means we can use this as a test to enable certain autobuilder tests
such as testsdk.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agorunqemu: Add a tcpserial option
Randy Witt [Mon, 24 Aug 2015 07:25:03 +0000 (00:25 -0700)]
runqemu: Add a tcpserial option

The option was added so that the qemurunner could start a second tcp
serial port without adding machine conditional logic to qemurunner.

The issue that made this necessary was that when "virt" is passed to
qemu-system-aarch64, the normal mechanism for specifying a tcp serial
port does not work. This is because the hardware for the "virt" machine
is hardcoded in the device tree blob and the addition devices must be
virtio devices.

So runqemu can specify virtio for qemuarm64 whereas it seems all other
qemu machines work with the "-serial tcp*" option.

Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoqemurunner: Use two serial ports and log console with a thread
Randy Witt [Thu, 20 Aug 2015 20:01:25 +0000 (13:01 -0700)]
qemurunner: Use two serial ports and log console with a thread

qemu can freeze and stop responding if the socket buffer connected to a tcp
serial connection fills up. This happens of course when the reader of
the serial data doesn't actually read it.

This happened in the qemurunner code, because after checking for the
"login:" sentinel, data was never again read from the serial connection.

This patch solves the potential freeze by adding a thread to continuously
read the data from the console and log it. So it also will give a full log
of the console, rather than just up to the login prompt.

To simplify this patch, another serial port was also added to use for the
sole purpose of watching for the sentinel as well as being the interactive
serial port. This will also prevent the possibility of lots of debug
data on the console preventing the sentinel value from being seen due to
interleaved text.

Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoqemurunner: Make create_socket() return data and use exceptions
Randy Witt [Thu, 20 Aug 2015 17:55:17 +0000 (10:55 -0700)]
qemurunner: Make create_socket() return data and use exceptions

So that create_socket() can be called more than once to create sockets,
it now returns the socket and port rather than setting class variables
directly.

create_socket() now only uses exceptions for errors, not the return
value from the function.

Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoqemurunner.py: Move some class variables that should only be local
Randy Witt [Tue, 18 Aug 2015 23:44:25 +0000 (16:44 -0700)]
qemurunner.py: Move some class variables that should only be local

The bootlog and qemusock variables were set in the class as part of the
create_socket() routine. However those variables are never used outside
of the same function and thus serve no purpose as class variables.

This initializes those variables near where they are used.

Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolibcap-ng: add package 0.7.7
Wenzong Fan [Fri, 21 Aug 2015 05:38:59 +0000 (01:38 -0400)]
libcap-ng: add package 0.7.7

Pull package from meta-oe to oe-core:
meta-oe commit: bce4dba5546480c8e43c6442959ac7d0a4ef32f6

The libcap-ng library is intended to make programming with posix
capabilities much easier than the traditional libcap library.

It's not a replacement to libcap, it provides different library
(libcap-ng.so) while packages explicitly look for libcap.so. It
could be used by qemu, util-linux, libvirt, audit ...

With adding it to oe-core, the copies from following layers could
be removed:

* meta-oe, meta-selinux, meta-security-framework ...

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoswig: add package 3.0.6
Wenzong Fan [Fri, 21 Aug 2015 05:38:58 +0000 (01:38 -0400)]
swig: add package 3.0.6

Ackage from meta-oe to oe-core:
meta-oe commit: 9cc54e10efa5ca70d9980f833a8e5a310e5ad21d

It's required for libcap-ng to build python bindings.

With adding it to oe-core, the copies from following layers could
be removed:

* meta-oe, meta-selinux, meta-intel-iot-middleware ...

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoxf86-video-intel: enable xvmc feature by default and fix dependency
Reinette Chatre [Thu, 20 Aug 2015 21:34:33 +0000 (14:34 -0700)]
xf86-video-intel: enable xvmc feature by default and fix dependency

XvMC extends the X Video extension (Xv) and enables hardware rendered
motion compensation support. In a test build enabling this feature
increased the size of the xf86-video-intel package from 1386841 to
1847154 bytes.

When we enable the xvmc feature in xf86-video-intel we see the
following QA issue reported:
QA Issue: xf86-video-intel rdepends on xcb-util, but it isn't
a build dependency?

We fix this by ensuring the build dependencies are set correctly when
the xvmc feature is enabled.

Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agopackage_rpm.bbclass : escape "%" in files and directories name
Sébastien Mennetrier [Wed, 20 May 2015 14:48:19 +0000 (16:48 +0200)]
package_rpm.bbclass : escape "%" in files and directories name

The rpm process replace all the "%name" in the spec file by the name of
the package. So, if the package is composed of some files or directories
named "%name...", the rpm package process failed.

Replace all "%" present in files or directories names by "%%%%%%%%" to
correctly escape "%" due to the number of times that % is treated as an
escape character.  Jeff Johnson says this is the Right Thing To Do.

[ YOCTO #5397 ]

Signed-off-by: Sébastien Mennetrier <smennetrier@voxtok.com>
Signed-off-by: Michaël Burtin <mburtin@voxtok.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agopackagegroup-qt*-toolchain-target: fix hard dependency on phonon library
Paul Eggleton [Thu, 20 Aug 2015 08:10:16 +0000 (09:10 +0100)]
packagegroup-qt*-toolchain-target: fix hard dependency on phonon library

Having disabled phonon by default in Qt4 we need to ensure this
packagegroup is still buildable when it's not available.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoservice: tweak example recipe
Paul Eggleton [Wed, 5 Aug 2015 08:42:07 +0000 (09:42 +0100)]
service: tweak example recipe

* Drop PR = "r0"
* Reorder lines so that packaging definitions are at the end

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agohello-mod: drop PV and PR
Paul Eggleton [Wed, 5 Aug 2015 08:41:08 +0000 (09:41 +0100)]
hello-mod: drop PV and PR

* PR = "r0" is the default, no need to set it (and most people won't
  need to set it anyway with the PR service)
* PV = "0.1" is already set by virtue of 0.1 being in the filename

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agooe-selftest: replace assertTrue(False, ...) with fail(...)
Paul Eggleton [Wed, 5 Aug 2015 13:37:13 +0000 (14:37 +0100)]
oe-selftest: replace assertTrue(False, ...) with fail(...)

I'd somehow missed the existence of fail() when I wrote these. It's
preferable here so you don't get the somewhat useless "false is not
true" message in the case of failure.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoclasses/insane: fix QA check message referring to nativesdk
Paul Eggleton [Mon, 8 Jun 2015 09:35:35 +0000 (10:35 +0100)]
classes/insane: fix QA check message referring to nativesdk

nativesdk has been a prefix rather than a suffix for some time now.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoscripts/create-recipe: drop
Paul Eggleton [Thu, 23 Jul 2015 13:56:02 +0000 (14:56 +0100)]
scripts/create-recipe: drop

We have "recipetool create" (or "devtool add" which wraps it) instead
which works pretty well now, is written in Python and thus can call
into BitBake/OE code easily, and can do things that create-recipe can't;
any future improvements should go into recipetool and therefore I think
we'd rather people used it instead.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoman-pages: update to 4.02
Maxin B. John [Thu, 20 Aug 2015 11:11:27 +0000 (13:11 +0200)]
man-pages: update to 4.02

4.01 -> 4.02

Signed-off-by: Maxin B. John <maxin.john@enea.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolsbinitscripts: Upgrade 9.63 -> 9.64
Jussi Kukkonen [Thu, 20 Aug 2015 11:39:19 +0000 (14:39 +0300)]
lsbinitscripts: Upgrade 9.63 -> 9.64

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolsof: Upgrade 4.88 -> 4.89
Jussi Kukkonen [Thu, 20 Aug 2015 11:39:18 +0000 (14:39 +0300)]
lsof: Upgrade 4.88 -> 4.89

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogstreamer1.0-plugins-*: Remove unused GSTREAMER_1_0_ORC variable
Carlos Rafael Giani [Thu, 20 Aug 2015 12:54:50 +0000 (14:54 +0200)]
gstreamer1.0-plugins-*: Remove unused GSTREAMER_1_0_ORC variable

Nobody sets this. The orc packageconfig already does everything we need.

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogstreamer1.0-plugins: Ensure the native OE orcc is used
Carlos Rafael Giani [Thu, 20 Aug 2015 12:54:49 +0000 (14:54 +0200)]
gstreamer1.0-plugins: Ensure the native OE orcc is used

Without this, gstreamer configure scripts may choose the host orcc instead

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoiso-codes: add a recipe from meta-oe
Alexander Kanavin [Wed, 10 Jun 2015 12:40:51 +0000 (15:40 +0300)]
iso-codes: add a recipe from meta-oe

iso-codes is a dependency of epiphany

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoglib: add a warning suppression patch to glib
Alexander Kanavin [Fri, 12 Jun 2015 16:11:57 +0000 (19:11 +0300)]
glib: add a warning suppression patch to glib

Otherwise QA check will fail.
Some schemas in gsettings-desktop-schemas (such as proxy and locale)
are still using deprecated paths, as of 3.16.1. This causes warning
messages, and meta/lib/oe/rootfs.py complaints about them.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoclasses/cmake: add arch conversion routine
Alexander Kanavin [Wed, 29 Jul 2015 11:57:14 +0000 (14:57 +0300)]
classes/cmake: add arch conversion routine

cmake expects target architecture strings in the format of uname(2),
which do not always match TARGET_ARCH (e.g. powerpc vs ppc).

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoharfbuzz: enable icu feature
Alexander Kanavin [Mon, 15 Jun 2015 13:46:35 +0000 (16:46 +0300)]
harfbuzz: enable icu feature

This is required to build latest webkitgtk

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoclasses/gnomebase: change tarball compression to xz
Alexander Kanavin [Wed, 10 Jun 2015 12:39:40 +0000 (15:39 +0300)]
classes/gnomebase: change tarball compression to xz

Upstream, xz has been the only format for some time now, so let's
make it the default and adjust recipes that package old stuff.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoperl: Undefine finitel for uclibc
Yen-Chin Lee [Wed, 19 Aug 2015 05:54:03 +0000 (05:54 +0000)]
perl: Undefine finitel for uclibc

finitel is not implemented in uclibc and since its not posix, it wont be
implemented in future too.

Fixes perl 5.22 build error

perl/5.22.0-r0/perl-5.22.0/sv.c:12135: undefined reference to `finitel'
 | collect2: error: ld returned 1 exit status

Signed-off-by: Yen-Chin Lee <coldnew.tw@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agokernel-arch: Force BFD kernel when using gcc for linking
Khem Raj [Wed, 19 Aug 2015 17:44:56 +0000 (10:44 -0700)]
kernel-arch: Force BFD kernel when using gcc for linking

We redefine LD to point to ld.bfd when building kernel, which works in
most cases since kbuild system calls out for bare LD most of the time,
however some of newer kernels e.g. 4.1+ have some code added which can
call gcc directly to do the linking job e.g. arm vdso code

This causes build failures when we have configured the default cross
toolchain to use gold linker as default. Errors like

BFD: arch/arm/vdso/vdso.so: Not enough room for program headers, try
linking with -N
| arm-angstrom-linux-gnueabi-objcopy:arch/arm/vdso/vdso.so[.hash]: Bad
value

start happening.

With this patch we force gcc to choose bfd linker as well

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolibinput: Upgrade 0.18.0 -> 0.21.0
Jussi Kukkonen [Wed, 19 Aug 2015 14:06:48 +0000 (17:06 +0300)]
libinput: Upgrade 0.18.0 -> 0.21.0

Include a workaround patch suggested by upstream when using
kernel 4.1.x.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agowic: Test creation of iso image
Mihaly Varga [Thu, 6 Aug 2015 17:04:52 +0000 (20:04 +0300)]
wic: Test creation of iso image

Added new wic testcase, for testing the creation of the hybrid iso
image with isoimage-isohybrid plugin.

Signed-off-by: Mihaly Varga <mihaly.varga@ni.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agowic: add mkhybridiso kickstart file
Mihaly Varga [Thu, 6 Aug 2015 17:04:51 +0000 (20:04 +0300)]
wic: add mkhybridiso kickstart file

Add kickstart file for generating a hybrid bootable iso image using
isoimage-isohybrid plugin, the output image is HYBRID_ISO_IMG-cd.iso,
the label is HYBRIDISO, and the rootfs.img file is an image with ext3
file system, and uses grub as bootloader for EFI boot and
syslinux for legacy boot.

Signed-off-by: Mihaly Varga <mihaly.varga@ni.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agowic: Add plugin for hybrid iso image
Mihaly Varga [Thu, 6 Aug 2015 17:04:50 +0000 (20:04 +0300)]
wic: Add plugin for hybrid iso image

This plugin creates a hybrid, legacy and EFI bootable ISO image.
The generated image can be used on optical media as well as
USB media.

Legacy boot uses syslinux and EFI boot uses grub or gummiboot (not
implemented yet) as bootloader. The plugin creates the directories
required by bootloaders and populates them by creating and
configuring the bootloader files.

The plugin adds an image file to the iso which
contains the directory tree of the rootfs folder specified by the
--rootfs argument or by the IMAGE_ROOTFS bitbake variable.

Using the isohybryd tool, the created .iso image is enhanced by a MBR
for booting from disk storage devices, consequently the provided
iso image could be copyed directly by dd comand onto USB drive or
could be burned to an optical media by using a suitable image burner.

The plugin depends on parted, e2fstools, syslinux, grub, cdrtools,
dosfstools and mtools program.

Some of the functions in this plugin were inspired from bootimg-efi.py
and bootimg-pcbios.py plugins implemented by Tom Zanussi.

Signed-off-by: Mihaly Varga <mihaly.varga@ni.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoparted: set VERSION number same as recipe's version
Ajay M [Wed, 19 Aug 2015 06:49:46 +0000 (12:19 +0530)]
parted: set VERSION number same as recipe's version

There is a parameter VERSION in workdir Makefile which tells the version
number of parted. While running ptest for parted we are getting failure because
of VERSION mismatch

--snip--
root@qemux86:/usr/lib/parted/ptest# ./run-ptest
make: Entering directory '/usr/lib/parted/ptest/tests'
make[1]: Entering directory '/usr/lib/parted/ptest/tests'
help-version.sh: failed test: --version-$VERSION mismatch
FAIL: help-version.sh
--CUT--

[YOCTO #8172]

Signed-off-by: Ajay M <ajay.gju@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoglibc: use cross-rpcgen to replace host's rpcgen
Robert Yang [Wed, 19 Aug 2015 07:51:01 +0000 (00:51 -0700)]
glibc: use cross-rpcgen to replace host's rpcgen

There might be unexpected errors when use host's rpcgen.

[YOCTO #8181]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoopenssh: build regression test binaries
Jussi Kukkonen [Wed, 19 Aug 2015 08:51:04 +0000 (11:51 +0300)]
openssh: build regression test binaries

ptests were failing and many more were being silently skipped because
required binaries were not being built.

Build the binaries in regress/ and set SUDO environment variable in
run-ptests: after this all tests in regress/ are now run. Continue to
skip building binaries in regress/unittests/: unittest runtime is
excessive.

On a NUC running intel-corei7-64 core-image-sato, new results are:
PASS: 55, SKIP: 3, FAIL: 0

[YOCTO #8153]

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agojson-glib: inherit gnomebase instead of gnome
Ross Burton [Tue, 18 Aug 2015 21:12:49 +0000 (22:12 +0100)]
json-glib: inherit gnomebase instead of gnome

There's no need to inherit gnome as it pulls in spurious dependencies for a
non-graphical library, so just inherit gnomebase.

Also remove the --disable-introspection option as gnomebase already does that.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agognome: move introspection options to gnomebase
Ross Burton [Tue, 18 Aug 2015 21:09:27 +0000 (22:09 +0100)]
gnome: move introspection options to gnomebase

The gnome class is really a convenience class to include other classes, so move
the introspection arguments into gnomebase.bbclass.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agojson-glib: enable native builds
Ross Burton [Tue, 18 Aug 2015 20:03:03 +0000 (21:03 +0100)]
json-glib: enable native builds

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agomultilib: let pkg-config find architecture-independent .pc files
Ross Burton [Thu, 20 Aug 2015 15:04:02 +0000 (16:04 +0100)]
multilib: let pkg-config find architecture-independent .pc files

If a multilib package depends on an allarch recipe that installs an
architecture-independent .pc file it will not be able to find the .pc file as
the recipe gets installed into the MACHINE sysroot but pkg-config looks in the
MLPREFIX-prefixed sysroot.

Solve this by extending PKG_CONFIG_PATH in multilib environments to include the
architecture-independent path in the MACHINE sysroot
(sysroots/MACHINE/usr/share/pkgconfig/).

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agobinconfig-disabled: write an message to stderr to help confused developers
Ross Burton [Tue, 18 Aug 2015 16:31:26 +0000 (17:31 +0100)]
binconfig-disabled: write an message to stderr to help confused developers

Often configure scripts or Makefiles that use the stub scripts written by
binconfig-disabled fail mysteriously with no obvious problem.  Attempt to solve
this by writing an error to stderr which hopefully makes it to the logs.

[ YOCTO #8169 ]

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agooeqa/targetbuild: Remove bashism
Richard Purdie [Tue, 18 Aug 2015 15:24:44 +0000 (16:24 +0100)]
oeqa/targetbuild: Remove bashism

Use '.' instead of 'source' so this works with dash as /bin/sh.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoglibc-package: use ${PN} in INSANE_SKIP
Martin Jansa [Tue, 18 Aug 2015 13:55:47 +0000 (15:55 +0200)]
glibc-package: use ${PN} in INSANE_SKIP

* INSANE_SKIP_${PN}_append_aarch64 is causing following warning in some
  setups:
  WARNING: Variable key INSANE_SKIP_${PN} () replaces original key INSANE_SKIP_glibc ().
* in worst case this will be applied also for glibc-initial package
  which is using the same glibc-package.inc, but glibc-initial doesn't
  create any packages so we should be fine
* someone building for aarch64 should confirm verify that this
  INSANE_SKIP is still needed and cannot be fixed properly it was
  introduced in:
    commit aeb6f53dd607ceb0d2265a05c27f751109c73752
    Author: Mark Hatle <mark.hatle@windriver.com>
    Date:   Thu Dec 18 16:51:13 2014 +0800

    glibc-package: aarch64 enable symlink for ABI compliance

    aarch64 requires the ld.so to be present in /lib, even if the rest
    of the libraries are installed into an alternative directory.

    See: https://sourceware.org/glibc/wiki/ABIList

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agorpm: opendb before rpmverifyscript to avoid null point input
Zhixiong Chi [Thu, 13 Aug 2015 03:16:29 +0000 (11:16 +0800)]
rpm: opendb before rpmverifyscript to avoid null point input

If the command is "rpm -V" and the return value of (headerIsEntry(h, RPMTAG_VERIFYSCRIPT)
|| headerIsEntry(h, RPMTAG_SANITYCHECK)) located in /lib/verify.c is true, it will call
rpmpsmStage function(rpmVerifyScript->rpmpsmScriptStage->rpmpsmStage) and occur segment
fault because of null point(rpmtsGetRdb(ts) == NULL and rpmtsGetRdb(ts)->db_txn).
So we open rpmdb to avoid bad input when find headerIsEntry true.

workflow:
main()->rpmcliVerify()->rpmcliArgIter()->rpmQueryVerify()->rpmgiShowMatches()->showVerifyPackage()->
          rpmqv.c         verify.c        query.c             query.c           verify.c(headerIsEntry)
rpmVerifyScript()->rpmpsmScriptStage()->rpmpsmStage()->    rpmtxnCommit(rpmtsGetRdb(ts)->db_txn);
      verify.c            psm.c             psm.c                 psm.c

Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agou-boot.inc: Add UBOOT_BINARY sym links for UBOOT_CONFIG types
Lee Nipper [Thu, 13 Aug 2015 04:08:52 +0000 (23:08 -0500)]
u-boot.inc: Add UBOOT_BINARY sym links for UBOOT_CONFIG types

An additional use case of UBOOT_CONFIG is when a machine has applicability
to boards of the same architecture but different in other ways
to require a different UBOOT_BINARY build.

The UBOOT_CONFIG default value can be a list of these board types.

For example:
    UBOOT_CONFIG ??= "boardA boardB"
    UBOOT_CONFIG[boardA] = "boardA_defconfig"
    UBOOT_CONFIG[boardB] = "boardB_defconfig"

Change do_install and do_deploy sections which process a UBOOT_CONFIG list
to create short symbolic links to each of the config types for UBOOT_BINARY.
This is similar to the links currently being created for
SPL_BINARY when it is defined with a UBOOT_CONFIG list.

For the above example, and UBOOT_BINARY as u-boot.bin,
the additional symbolic links created in the DEPLOYDIR would be

    u-boot.bin-boardA
    u-boot.bin-boardB

Signed-off-by: Lee Nipper <lee.nipper@linux.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agopackagegroup-core-standalone-sdk-target: remove qemuwrapper-cross
Robert Yang [Fri, 7 Aug 2015 09:11:30 +0000 (02:11 -0700)]
packagegroup-core-standalone-sdk-target: remove qemuwrapper-cross

Remove qemuwrapper-cross from RDEPENDS, install a cross pkg in sysroots
isn't useful, if we really need run qemuwrapper in SDK, we should add it
as nativesdk, and it has multilib conflicts when populate_ sdk:

error: file /usr/bin/crossscripts/qemuwrapper from install of
qemuwrapper-cross-1.0-r0.lib32_x86 conflicts with file from package
qemuwrapper-cross-1.0-r0.core2_64

[YOCTO #8089]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agotoolchain-shar-extract.sh: add a space in the end
Robert Yang [Mon, 3 Aug 2015 03:31:39 +0000 (20:31 -0700)]
toolchain-shar-extract.sh: add a space in the end

For a clear look when input.

[YOCTO #8089]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agotune-octeon: add tune file for MIPS Octeon
Armin Kuster [Sun, 16 Aug 2015 21:49:42 +0000 (14:49 -0700)]
tune-octeon: add tune file for MIPS Octeon

This add MIPS Octeon tune features.

Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agobinutils: Add MIPS Octeon3
Armin Kuster [Sun, 16 Aug 2015 21:49:41 +0000 (14:49 -0700)]
binutils: Add MIPS Octeon3

This add MIPS octeon3 support to binutils.

Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolib/oe/recipeutils: avoid parsing in get_var_files()
Paul Eggleton [Sun, 16 Aug 2015 11:46:42 +0000 (12:46 +0100)]
lib/oe/recipeutils: avoid parsing in get_var_files()

Let's have the caller do this and then the function is a bit more
flexible (e.g. we can choose to parse with bbappends or not); fix up
calls to this function appropriately (of which there are only two, both
within devtool).

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agodevtool: fix handling of BBCLASSEXTENDed recipes
Paul Eggleton [Mon, 17 Aug 2015 10:10:13 +0000 (11:10 +0100)]
devtool: fix handling of BBCLASSEXTENDed recipes

If a recipe is BBCLASSEXTENDed (e.g. to -native), its PN value and the
name of the bbappend will be different; we were assuming them to be the
same when reading in the workspace, leading to us seeing the base recipe
name everywhere afterwards.

Also add a test so we ensure this doesn't regress in future.

Fixes [YOCTO #8157].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agodevtool: extract: remove patches subdirectory when S == WORKDIR
Paul Eggleton [Sun, 16 Aug 2015 10:09:32 +0000 (11:09 +0100)]
devtool: extract: remove patches subdirectory when S == WORKDIR

Ensure that the "patches" subdirectory is removed from the right
location when S == WORKDIR (e.g. devtool extract makedevs).

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agodevtool: extract: prevent externalsrc from interfering with extraction
Paul Eggleton [Sun, 16 Aug 2015 10:08:36 +0000 (11:08 +0100)]
devtool: extract: prevent externalsrc from interfering with extraction

In case the user has set up externalsrc outside of devtool, force
EXTERNALSRC to blank for the recipe when extracting so that the original
source URI is still in SRC_URI and we're still able to extract it. (This
isn't a problem with devtool itself because the bbappends within the
workspace layer that apply externalsrc are explicitly filtered out when
devtool parses a recipe).

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agopackage_deb.bbclass: Allow UTF-8 characters on control files
Leonardo Sandoval [Mon, 17 Aug 2015 07:10:13 +0000 (07:10 +0000)]
package_deb.bbclass: Allow UTF-8 characters on control files

Allow UTF-8 characters on control files. Also handle an expection
in case of invalid characters (non UTF-8).

[YOCTO #6693]

Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agovalgrind: build ptests without optimizations
Dave Lerner [Mon, 17 Aug 2015 19:55:56 +0000 (14:55 -0500)]
valgrind: build ptests without optimizations

This commit changes the both CFLAGS and CXXFLAGS when building the
valgrind ptest binaries by appending -O0, forcing no optimizations
instead of the default -O2.  For qemux86-64, this change results in
FAIL/PASS ratio improvements from 149/394 to 58/485.

It is evident that the expected result files were generated from
regression tests binaries built without optimizations.

[ YOCTO #8063 ]

Signed-off-by: Dave Lerner <dave.lerner@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoopenssh: Upgrade 6.9p1 -> 7.0p1
Roy Li [Tue, 18 Aug 2015 01:33:10 +0000 (09:33 +0800)]
openssh: Upgrade 6.9p1 -> 7.0p1

7.0p1 includes the fix for CVE-2015-5600, and release note is in:
http://www.openssh.com/txt/release-7.0

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogdk-pixbuf: Security Advisory - gdk-pixbuf - CVE-2015-4491
Li Zhou [Tue, 18 Aug 2015 03:45:41 +0000 (11:45 +0800)]
gdk-pixbuf: Security Advisory - gdk-pixbuf - CVE-2015-4491

pixops: Be more careful about integer overflow

Integer overflow in the make_filter_table function in pixops/pixops.c
in gdk-pixbuf before 2.31.5, as used in Mozilla Firefox before 40.0 and
Firefox ESR 38.x before 38.2 on Linux, Google Chrome on Linux, and other
products, allows remote attackers to execute arbitrary code or cause a
denial of service (heap-based buffer overflow and application crash) via
crafted bitmap dimensions that are mishandled during scaling.

Signed-off-by: Li Zhou <li.zhou@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolz4: update to 131
Armin Kuster [Mon, 17 Aug 2015 11:52:32 +0000 (04:52 -0700)]
lz4: update to 131

Clean up SRC_URI.

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoarchiver.bbclass: Run deploy_archives in $WORKDIR
Clemens Lang [Mon, 17 Aug 2015 08:37:47 +0000 (10:37 +0200)]
archiver.bbclass: Run deploy_archives in $WORKDIR

In recipes that are exempt from source code archiving due to
COPYLEFT_LICENSE_EXCLUDE, do_deploy_archives does not have a transitive
dependency on do_unpack. Given enough parallelism, this means
do_deploy_archives can run at the same time or before do_unpack.

Because do_deploy_archives did not specify a working directory, its
working directory was ${B}, which defaults to ${S}, which may be set by
a recipe to a directory that is created by do_unpack.

In this case, do_deploy_archives can fail because do_unpack deletes and
re-creates the directory and do_deploy_archives cannot change into the
non-existent directory. Avoid this problem by explicitly specifying
a working directory for do_deploy_archives (and for
do_deploy_all_archives as well for good measure).

Signed-off-by: Clemens Lang <clemens.lang@bmw-carit.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agouclibc: Upgrade to tip of master
Khem Raj [Mon, 17 Aug 2015 09:35:33 +0000 (02:35 -0700)]
uclibc: Upgrade to tip of master

Drop upstreamed patches convert the rest to git am'able patches

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolzop: Fix build with gcc5 on ppc
Khem Raj [Sun, 16 Aug 2015 18:30:03 +0000 (11:30 -0700)]
lzop: Fix build with gcc5 on ppc

It seems all other architectures provide their own definitions for these
functions like __ACC_UA_GET_LE16 and this code is exposed only on ppc
this is the typical extern inline ( gnu definition ) version c99
semantics, lets use static inline which works both ways

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolibunistring: Upgrade recipe 0.9.4 -> 0.9.5
Khem Raj [Sun, 16 Aug 2015 18:30:02 +0000 (11:30 -0700)]
libunistring: Upgrade recipe 0.9.4 -> 0.9.5

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoguile: Specify directories to find proper libunistring, libgmp and libltdl
Khem Raj [Sun, 16 Aug 2015 18:30:01 +0000 (11:30 -0700)]
guile: Specify directories to find proper libunistring, libgmp and libltdl

Just when building on host which doesnt have libunistring on host guile
fails the following configure test

| configure: error: GNU libunistring is required, please install it.
| Configure failed. The contents of all config.log files follows to aid
debugging

The reason is that its looking for libunistring dev files on build
system, so lets point the configure into target sysroot, similar issue
exist for libgmp, libltdl detection as well, fixed thusly

Get rid of trailing whitespaces while here

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoglibc: Consider adding -Wno-error in cases when not using -O2
Khem Raj [Sun, 16 Aug 2015 01:26:11 +0000 (18:26 -0700)]
glibc: Consider adding -Wno-error in cases when not using -O2

glibc has recently turned on Werror globally which is good but then not
all option combos are well tested so there still remains cleanup needed
when not using -O2, so lets just disable Werror in such cases, until
fixed upstream

Change-Id: I2d491c360a15b0752c97ff77ee0faaeede6e8d2a
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agocanned-wks: added a qemux86* directdisk recipe for wic
Cristian Iorga [Fri, 14 Aug 2015 15:54:11 +0000 (18:54 +0300)]
canned-wks: added a qemux86* directdisk recipe for wic

qemu-directdisk.wks creates a raw disk image
that a qemux86* machine can boot from.

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoimage_types.bbclass: allow replacing tar command
Patrick Ohly [Fri, 14 Aug 2015 14:59:04 +0000 (16:59 +0200)]
image_types.bbclass: allow replacing tar command

Usually, the host's tar command is sufficient. However, special cases
like archiving xattrs depend on a modern GNU tar version. The new
IMAGE_CMD_TAR makes that possible, with xattrs given as example.

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agotar-replacement-native: relocate via NATIVE_PACKAGE_PATH_SUFFIX
Patrick Ohly [Fri, 14 Aug 2015 16:01:41 +0000 (18:01 +0200)]
tar-replacement-native: relocate via NATIVE_PACKAGE_PATH_SUFFIX

Building tar-replacement-native as replacement of the host's tar in
the standard path was meant to be done manually by a user in
preparation for the regular bitbake run. Such a usage has been
superseeded by installing the pre-compiled buildutils and might have
been broken on hosts which need it by the sanity check for tar >=
1.26.

Therefore tar-replacement-native_1.28.bb can be removed in favor of
adapting the normal tar recipe such that it installs an opt-in binary
under a different path.

The special do_install logic is explicitly limited to class-target,
instead of making it the default and disabling it (which would be the
case for class-native and class-nativesdk).

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoqemu: upgrade to 2.4.0
Cristian Iorga [Wed, 12 Aug 2015 14:48:31 +0000 (17:48 +0300)]
qemu: upgrade to 2.4.0

All CVE patches removed, included in release.

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoadt-installer: use DEPLOY_DIR in ANT_DEPLOY expansion
Dmitry Eremin-Solenikov [Wed, 12 Aug 2015 14:00:23 +0000 (17:00 +0300)]
adt-installer: use DEPLOY_DIR in ANT_DEPLOY expansion

Currently adt-installer uses "${TMPDIR}/deploy/sdk/" as a deployment dir.
This doesn't interact well with DEPLOY_DIR reassignment. So let's use
"${DEPLOY_DIR}/sdk/" instead.

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agomtd-utils: keep xattr support enabled
Patrick Ohly [Tue, 11 Aug 2015 08:45:00 +0000 (10:45 +0200)]
mtd-utils: keep xattr support enabled

xattrs may be needed by some distros. Support that by compiling in the
necessary code, even if it is not used by default. Then .jffs2 images
including xattrs can be created with:

   EXTRA_IMAGECMD_jffs2_append = " --with-xattr"

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agopackage_regex.inc: fix regexes for adwaita-icon-theme, cairo and dhcp
Alexander Kanavin [Wed, 5 Aug 2015 12:40:26 +0000 (15:40 +0300)]
package_regex.inc: fix regexes for adwaita-icon-theme, cairo and dhcp

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agopuzzles: switch svn for git, as upstream has done the same
Alexander Kanavin [Wed, 8 Jul 2015 14:30:52 +0000 (17:30 +0300)]
puzzles: switch svn for git, as upstream has done the same

Also, drop puzzles_x32_abi_time.patch as it has been merged upstream

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agotremor: update to 20150107 (svn r19427)
Alexander Kanavin [Wed, 12 Aug 2015 15:39:01 +0000 (18:39 +0300)]
tremor: update to 20150107 (svn r19427)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoquilt: fix the deps for ptest
Maxin B. John [Thu, 13 Aug 2015 22:44:16 +0000 (00:44 +0200)]
quilt: fix the deps for ptest

quilt ptest requires getopt and perl-module-overloading.

[YOCTO #8062]

Signed-off-by: Maxin B. John <maxin.john@enea.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agocurl: upgrade to 7.44
Maxin B. John [Thu, 13 Aug 2015 23:08:28 +0000 (01:08 +0200)]
curl: upgrade to 7.44

Bump to version 7.44

Signed-off-by: Maxin B. John <maxin.john@enea.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolibpfm4: Fix GNU_HASH warning.
Noor [Thu, 13 Aug 2015 11:43:14 +0000 (16:43 +0500)]
libpfm4: Fix GNU_HASH warning.

* Add a patch which updated add LDFLAGS variable to SLDFLAGS
  in Makefile.

Signed-off-by: Noor Ahsan <noor_ahsan@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoscreen: Upgrade 4.0.3 -> 4.3.1
Jussi Kukkonen [Thu, 13 Aug 2015 13:26:43 +0000 (16:26 +0300)]
screen: Upgrade 4.0.3 -> 4.3.1

* License is now GPLv3+
* Remove patches that are already in upstream or not applicable
  anymore
* Add a patchset to enable cross-compiling 4.3.1 (modified from
  http://savannah.gnu.org/bugs/?43223)

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoglibc: Package libmvec when built
Khem Raj [Fri, 24 Jul 2015 21:55:30 +0000 (14:55 -0700)]
glibc: Package libmvec when built

libmvec is new library in glibc 2.22 and currently turned on by default
on x86_64. this helps in packaging it properly when its generated

Fixes warning like
WARNING: QA Issue: nativesdk-glibc: Files/directories were installed but
not shipped in any package:
  /usr/local/oecore-x86_64/sysroots/x86_64-angstromsdk-linux/lib/libmvec-2.21.90.so
  Please set FILES such that these items are packaged. Alternatively if
  they are unneeded, avoid installing them or delete them within
  do_install. [installed-vs-shipped]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoglibc: Upgrade 2.21 -> 2.22
Khem Raj [Wed, 18 Mar 2015 02:05:06 +0000 (02:05 +0000)]
glibc: Upgrade 2.21 -> 2.22

- git'ify the OE patches
- add_resource_h_to_wait_h.patch - dropped, we do not support that old
  perf anymore
- mips-rld-map-check.patch - Dropped because binutils is fixed for it
  see https://sourceware.org/ml/binutils/2011-12/msg00112.html
- initgroups_keys.patch - Folded into
  0026-eglibc-Forward-port-eglibc-options-groups-support.patch

Change-Id: Ib8e731b212f52b8ff12e2180babbc19970fb1ef1
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoopenssh: Upgrade 6.8p1 -> 6.9p1
Jussi Kukkonen [Mon, 10 Aug 2015 14:45:39 +0000 (17:45 +0300)]
openssh: Upgrade 6.8p1 -> 6.9p1

6.9p1 is primarily a bugfix release.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoapmd: update to 3.2.2-15
Alexander Kanavin [Tue, 11 Aug 2015 15:27:16 +0000 (18:27 +0300)]
apmd: update to 3.2.2-15

This basically means replacing a "-14" Debian patch with "-15" patch.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>