]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
9 years agonativesdk-buildtools-perl-dummy: properly set PACKAGE_ARCH
Paul Eggleton [Fri, 11 Dec 2015 00:51:31 +0000 (13:51 +1300)]
nativesdk-buildtools-perl-dummy: properly set PACKAGE_ARCH

Turns out I did a silly thing in OE-Core revision
9b1831cf4a2940dca1d23f14dff460ff5a50a520 and forgot to remove the
explicit setting of PACKAGE_ARCH outside of the anonymous python
function; the original bug was apparently fixed but the functionality of
allarch.bbclass was being disabled because it was able to see that
PACKAGE_ARCH was not set to "all" - which was what I was trying to
ensure.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobuild-appliance-image: Update to master head revision
Richard Purdie [Wed, 9 Dec 2015 08:49:13 +0000 (08:49 +0000)]
build-appliance-image: Update to master head revision

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agocmake: Add nios2 support
Marek Vasut [Thu, 26 Nov 2015 20:43:05 +0000 (21:43 +0100)]
cmake: Add nios2 support

Add the necessary bits for nios2 support into cmake.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Ley Foon Tan <lftan@altera.com>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: Ross Burton <ross.burton@intel.com>
Cc: Thomas Chou <thomas@wytron.com.tw>
Cc: Walter Goossens <waltergoossens@home.nl>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoboost: adjust hard-coded path after python3 upgrade
Lukas Bulwahn [Mon, 7 Dec 2015 07:36:50 +0000 (08:36 +0100)]
boost: adjust hard-coded path after python3 upgrade

When using `PACKAGECONFIG = "python"` in the boost recipe, `bitbake boost`
fails at do_compile with:

    ./boost/python/detail/wrap_python.hpp:50:23: fatal error: pyconfig.h: No such file or directory
    compilation terminated.

This issue is due to the recent version upgrade from python 3.4 to 3.5:

701ec1977ced1bb08461e6de98b4f63d21cba8a6 python3: Upgrade from 3.4.3 to 3.5

The boost.inc file modifies the boost build configuration with a path
containing the python3 major version, which is hard-coded in the boost.inc
file. Hence after the python3 update, the path points to the outdated
location and it needs to be updated to the new location.

This issue was unrevealed by an internal continuous integration system
for the meta-ros application layer. Further manual bisecting lead to the
critical commit 701ec1977ced1bb08461e6de98b4f63d21cba8a6.

Signed-off-by: Lukas Bulwahn <lukas.bulwahn@oss.bmw-carit.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agosdk.py / OpkgSdk: remove_packaging_data() after install
Haris Okanovic [Tue, 1 Dec 2015 15:22:33 +0000 (09:22 -0600)]
sdk.py / OpkgSdk: remove_packaging_data() after install

Run remove_packaging_data() on both host and target sysroots to wipe
opkg state after install, similar to what RpmSdk does.

Use case:

Opkg may download local package indexes (I.e. file:// URLs) by
sym-linking them into /var/lib/opkg/lists/ instead of copying [1].
This leaves behind broken symlinks under the lists directory when
using opkg to build SDK sysroots.

The -h option may be set via SDKTAROPTS in some configurations to create
symlink-less SDK archives for Windows file systems. Sysroots containing
broken symlinks will fail to archive under this configuration.

Testing:

Verified /var/lib/opkg/ is empty after running populate_sdk() in a Fido
based distribution.

[1] http://git.yoctoproject.org/cgit/cgit.cgi/opkg/commit/?h=opkg-0.3.x&id=f9022a8520fcde8f1b71424d26a652c218fce685

Signed-off-by: Haris Okanovic <haris.okanovic@ni.com>
Reviewed-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
Natinst-ReviewBoard-ID: 119065
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agodevtool: extract: update SRCTREECOVEREDTASKS for kernel
Markus Lehtonen [Thu, 3 Dec 2015 13:54:25 +0000 (15:54 +0200)]
devtool: extract: update SRCTREECOVEREDTASKS for kernel

Add 'do_kernel_configme' and 'do_kernel_configcheck' to
SRCTREECOVEREDTASKS of kernel packages. These tasks should not be run
because kernel meta in the srctree is not necessarily up-to-date or
even present which causes build failures and/or invalid kernel config.
Especially so because 'do_patch' which is a dependency of
'do_kernel_configme' is not being run.

We now store .config in the srctree and 'do_configure' task is able to
run successfully.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agodevtool: extract: copy kernel config to srctree
Markus Lehtonen [Thu, 3 Dec 2015 13:54:24 +0000 (15:54 +0200)]
devtool: extract: copy kernel config to srctree

This makes the correct kernel config to be used when building kernel
from srctree (extrernalsrc). If no kernel config is present in the
builddir 'do_configure' task copies .config from the srctree.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolib/oe/package_manager: Introducing PACKAGE_FEED_BASE_PATHS/PACKAGE_FEED_ARCHS
Leonardo Sandoval [Mon, 5 Oct 2015 13:12:23 +0000 (13:12 +0000)]
lib/oe/package_manager: Introducing PACKAGE_FEED_BASE_PATHS/PACKAGE_FEED_ARCHS

The recently introduced PACKAGE_FEED_PREFIX is not flexible enough for
constructing URIs, because the same PREFIX is used for all PACKAGE_FEED_URIS.
Also, the string 'PREFIX' is confusing because it is not at the beginning of
the URI. The variable PACKAGE_FEED_BASE_PATHS replaces PACKAGE_FEED_PREFIX,
allowing multiple base paths to be appended on each PACKAGE_FEED_URIS. In the
other hand, a new variable called PACKAGE_FEED_ARCHS, similar in concept to
PACKAGE_BASE_PATHS, defines package architectures defined by the user.

To demonstrate the usage of the PACKAGE_FEED_URIS, PACKAGE_FEED_BASE_PATHS and
PACKAGE_FEED_ARCHS, let's assume these variables are set on local.conf

    PACKAGE_FEED_URIS = "https://example.com/packagerepos/release \
                         https://example.com/packagerepos/updates"
    PACKAGE_FEED_BASE_PATHS = "rpm rpm-dev"
    PACKAGE_FEED_ARCHS = "all core2-64"

the resulting feeds would be

    https://example.com/packagerepos/release/rpm/all
    https://example.com/packagerepos/release/rpm/core2-64
    https://example.com/packagerepos/release/rpm-dev/all
    https://example.com/packagerepos/release/rpm-dev/core2-64
    https://example.com/packagerepos/updates/rpm/all
    https://example.com/packagerepos/updates/rpm/core2-64
    https://example.com/packagerepos/updates/rpm-dev/all
    https://example.com/packagerepos/updates/rpm-dev/core2-64

Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoselftest/wic.py: Add test for custom bootloader config
Mariano Lopez [Tue, 1 Dec 2015 08:48:53 +0000 (08:48 +0000)]
selftest/wic.py: Add test for custom bootloader config

This change just add anoher test to the wic module.
It will try to create a image with a custom bootloader
configuration. This test will use the example image
directdisk-bootloader-config to test the configfile
option for the bootloaders.

[YOCTO #8728]

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agodirectdisk-bootloader-config.wks: Add example for custom bootloader config
Mariano Lopez [Tue, 1 Dec 2015 08:10:20 +0000 (08:10 +0000)]
directdisk-bootloader-config.wks: Add example for custom bootloader config

Add new wks file as a example for a custom bootloader configuration.
This change also includes the configuration that file that will be
used.

This example is using syslinux with MBR, the configuration file is
almost the same as the one generated by wic. As stated before this
is just an example.

[YOCTO #8728]

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agowic/help.py: Document the new option "configfile"
Mariano Lopez [Tue, 1 Dec 2015 08:02:11 +0000 (08:02 +0000)]
wic/help.py: Document the new option "configfile"

This just adds the "configfile" option for the bootloader
to wic help.

[YOCTO #8728]

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agowic: Allow to use a custom config for bootloaders
Mariano Lopez [Tue, 1 Dec 2015 07:43:35 +0000 (07:43 +0000)]
wic: Allow to use a custom config for bootloaders

This change will allow to use a user defined file as the
configuration for the bootloaders (grub, gummiboot, syslinux).

The config file is defined in the wks file with the "configfile"
option in the bootloader line.

[YOCTO #8728]

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agowic/utils/misc.py: Added function to search for files in canned-wks
Mariano Lopez [Tue, 1 Dec 2015 07:14:53 +0000 (07:14 +0000)]
wic/utils/misc.py: Added function to search for files in canned-wks

This change add two new function to search for files in the
canned-wks folder for all the layers included in bblayers.conf.
This will be used to search for custom configuration files for
the bootloaders.

There are similar functions in the wic engine, but these are
focused in wks files only, so it was needed to create new ones.

[YOCTO #8728]

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agowic: Prepare wicboot to allow custom bootloader config
Mariano Lopez [Wed, 18 Nov 2015 07:39:07 +0000 (07:39 +0000)]
wic: Prepare wicboot to allow custom bootloader config

Currently wic does the bootloader configuration file on the fly.
This change introduce a configfile variable for the bootloader;
this is to have a user defined configuration file for the
bootloaders (grub, syslinux, and gummiboot). This is particular
useful when having a multiboot system or scripts embedded in the
configuration file.

[YOCTO #8728]

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agopackage_ipk: allow to specify OPKG_ARGS in local.conf
Vladimir Zapolskiy [Wed, 2 Dec 2015 04:48:38 +0000 (06:48 +0200)]
package_ipk: allow to specify OPKG_ARGS in local.conf

If user specific parameters to opkg are set in local.conf, they are
rewritten in package_ipk.bbclass and ignored, instead append
package_ipk specific arguments to the user defined ones.

The change is needed, if a user has to pass an alternative path to a
temporary directory for opkg, e.g.

  OPKG_ARGS = "--tmp-dir=${TOPDIR}/tmp-opkg"

The default /tmp directory may be unusable for do_rootfs task, for
example if there is no enough space or /tmp is mounted with noexec
mount option, then an alternative path allows to complete do_rootfs
and fix the problems like this:

  ERROR: Unable to install packages.
  ...
  sh: /tmp/opkg-5jPLag/run-postinsts-UsUtaI/preinst: /bin/sh: bad interpreter: Permission denied
  sh: /tmp/opkg-5jPLag/base-files-4hFwQS/preinst: /bin/sh: bad interpreter: Permission denied
  sh: /tmp/opkg-5jPLag/run-postinsts-UsUtaI/preinst: /bin/sh: bad interpreter: Permission denied
  sh: /tmp/opkg-5jPLag/busybox-syslog-sJmfbw/preinst: /bin/sh: bad interpreter: Permission denied
  ...

Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agosystemd.bbclass: Allow enabling of parameterised services
Bob Ham [Thu, 19 Nov 2015 11:24:00 +0000 (11:24 +0000)]
systemd.bbclass: Allow enabling of parameterised services

Currently the systemd.class will check whether a service exists when it is
requested to enabled it.  However, its check does not take into account that a
service like 'foo@eth0.service' can be enabled from a service named
'foo@.service'.  This patch alters the check function in systemd.class to look
for 'foo@.service' if the normal check fails.

Signed-off-by: Bob Ham <bob.ham@collabora.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agobase: check for existing prefix when expanding names in PACKAGECONFIG
Ross Burton [Tue, 1 Dec 2015 09:01:28 +0000 (09:01 +0000)]
base: check for existing prefix when expanding names in PACKAGECONFIG

When the DEPENDS are added as part of the PACKAGECONFIG logic the list of
packages are expanded so that any required nativesdk-/-native/multilib prefixes
and suffixes are added.

However the special handling of virtual/foo names doesn't check that the prefix
already exists, which breaks under nativesdk as in that situation there's an
explicit nativesdk- prefix *and* MLPREFIX is set to nativesdk-.  This results in
the same prefix being applied twice, and virtual packages such as virtual/libx11
ending up as virtual/nativesdk-nativesdk-libx11.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolinux-yocto/4.1: Fix kernel oops on qemuarm boot
Bruce Ashfield [Tue, 8 Dec 2015 13:57:48 +0000 (08:57 -0500)]
linux-yocto/4.1: Fix kernel oops on qemuarm boot

Backporting two mainline commits to address kernel oops:

   Internal error: Oops: 17 [#1] PREEMPT ARM
   Modules linked in:
   CPU: 0 PID: 42 Comm: jbd2/vda-8 Not tainted 4.1.8-yocto-standard #1
   Hardware name: ARM-Versatile PB
   task: c7223300 ti: c725e000 task.ti: c725e000
   PC is at blk_mq_tag_to_rq+0x24/0x78
   LR is at bt_for_each+0x70/0xc4
   pc : [<c0364458>]    lr : [<c0368118>]    psr: 20000113
   sp : c725fa18  ip : c725fa30  fp : c725fa2c
   r10: c0365ce0  r9 : 00000020  r8 : c7104200
   r7 : c70ee5ac  r6 : 00000001  r5 : 00000021  r4 : c7122da0
   r3 : c7104000  r2 : 00000000  r1 : 00000021  r0 : 00000000
   Flags: nzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
   Control: 00093177  Table: 072f4000  DAC: 00000017
   Process jbd2/vda-8 (pid: 42, stack limit = 0xc725e190)
   Stack: (0xc725fa18 to 0xc7260000)

[YOCTO #8663]

Signed-off-by: Alimon Limon <anibal.limon@linux.intel.com
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agotoolchain-shar-extract.sh: ensure cleaned environment will work for ext SDK
Paul Eggleton [Tue, 8 Dec 2015 02:42:38 +0000 (15:42 +1300)]
toolchain-shar-extract.sh: ensure cleaned environment will work for ext SDK

In OE-Core revision 6d2074d477596971dc52027dd87b02af7f39138d we added a
line which re-executes the script with a cleaned environment using
env -i; unfortunately that caused a regression in the extensible SDK on
Ubuntu 14.04 - strangely, there it seems that the value you get for PATH
under env -i contains '.' which triggers a sanity check failure when
preparing the build system. Do a belt-and-braces fix - source
/etc/environment if it exists (so you get a more complete PATH value)
and then filter any nastiness out of PATH for good measure. (Ubuntu
15.04 doesn't seem to suffer from the same problem.)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoinitramfs-framework: create directory /var/run
Wills Wang [Thu, 3 Dec 2015 05:52:12 +0000 (13:52 +0800)]
initramfs-framework: create directory /var/run

The following error occurs when udevd startup:
udevd[146]: bind failed: No such file or directory
error binding udev control socket
udevd[146]: error binding udev control socket

Signed-off-by: Wills Wang <wills.wang@live.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolibpcre: drop UPSTREAM_CHECK_ variables
Ross Burton [Mon, 7 Dec 2015 13:37:17 +0000 (13:37 +0000)]
libpcre: drop UPSTREAM_CHECK_ variables

Now the SRC_URI is the canonical FTP server, the update-detection logic works
automatically.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolibpcre: upgrade to 8.38
Fan Xin [Mon, 7 Dec 2015 08:26:28 +0000 (17:26 +0900)]
libpcre: upgrade to 8.38

This is the latest release in the 8.xx series.
It fixes 46 bugs as listed:
http://vcs.pcre.org/pcre/code/trunk/ChangeLog?view=markup

Vulnerabilities from CVE-2015-8380 to CVE-2015-8395 have been fixed in 8.38.

Signed-off-by: Fan Xin <fan.xin@jp.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolibpng: update 1.6.19 -> 1.6.20 (CVE-2015-8126)
Andre McCurdy [Fri, 4 Dec 2015 05:16:35 +0000 (21:16 -0800)]
libpng: update 1.6.19 -> 1.6.20 (CVE-2015-8126)

Version 1.6.20beta01 [November 20, 2015]
  Avoid potential pointer overflow/underflow in png_handle_sPLT() and
    png_handle_pCAL() (Bug report by John Regehr).

Version 1.6.20beta02 [November 23, 2015]
  Fixed incorrect implementation of png_set_PLTE() that uses png_ptr
    not info_ptr, that left png_set_PLTE() open to the CVE-2015-8126
    vulnerability.

Version 1.6.20beta03 [November 24, 2015]
  Backported tests from libpng-1.7.0beta69.

Version 1.6.20rc01 [November 26, 2015]
  Fixed an error in handling of bad zlib CMINFO field in pngfix, found by
    American Fuzzy Lop, reported by Brian Carpenter.  inflate() doesn't
    immediately fault a bad CMINFO field; instead a 'too far back' error
    happens later (at least some times).  pngfix failed to limit CMINFO to
    the allowed values but then assumed that window_bits was in range,
    triggering an assert. The bug is mostly harmless; the PNG file cannot
    be fixed.

Version 1.6.20rc02 [November 29, 2015]
  In libpng 1.6 zlib initialization was changed to use the window size
    in the zlib stream, not a fixed value. This causes some invalid images,
    where CINFO is too large, to display 'correctly' if the rest of the
    data is valid.  This provides a workaround for zlib versions where the
    error arises (ones that support the API change to use the window size
    in the stream).

Version 1.6.20 [December 3, 2015]
  No changes.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoghostscript: add dependency for pnglibconf.h
Joe Slater [Fri, 4 Dec 2015 23:13:15 +0000 (15:13 -0800)]
ghostscript: add dependency for pnglibconf.h

When using parallel make jobs, we need to be sure that
pnglibconf.h is created before we try to reference it,
so add a rule to png.mak.

Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agopackage_regex.inc: split the rest of the entries to their recipes
Alexander Kanavin [Mon, 16 Nov 2015 16:05:13 +0000 (18:05 +0200)]
package_regex.inc: split the rest of the entries to their recipes

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agopackage_regex.inc: split entries which blacklist specific versions to their recipes
Alexander Kanavin [Mon, 16 Nov 2015 14:34:03 +0000 (16:34 +0200)]
package_regex.inc: split entries which blacklist specific versions to their recipes

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agopackage_regex.inc: split sourceforge related entries to their own recipes
Alexander Kanavin [Mon, 16 Nov 2015 14:08:36 +0000 (16:08 +0200)]
package_regex.inc: split sourceforge related entries to their own recipes

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agopackage_regex.inc: split PyPi related entries to their own recipes
Alexander Kanavin [Mon, 16 Nov 2015 13:26:42 +0000 (15:26 +0200)]
package_regex.inc: split PyPi related entries to their own recipes

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agopackage_regex.inc: split Debian-related entries into their own recipes
Alexander Kanavin [Thu, 12 Nov 2015 13:00:18 +0000 (15:00 +0200)]
package_regex.inc: split Debian-related entries into their own recipes

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agopackage_regex.inc: split GITTAGREGEX entries into recipe files
Alexander Kanavin [Wed, 11 Nov 2015 15:15:09 +0000 (17:15 +0200)]
package_regex.inc: split GITTAGREGEX entries into recipe files

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agopackage_regex.inc: split entries with odd-even versioning into their own recipes
Alexander Kanavin [Wed, 11 Nov 2015 14:32:16 +0000 (16:32 +0200)]
package_regex.inc: split entries with odd-even versioning into their own recipes

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agopackage_regex.inc: deprecate the file
Alexander Kanavin [Wed, 11 Nov 2015 13:30:28 +0000 (15:30 +0200)]
package_regex.inc: deprecate the file

New entries should be added to recipes themselves.  Also update the comment to
reflect the new variable names.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogstreamer: really fix the helper install race
Ross Burton [Fri, 4 Dec 2015 14:42:11 +0000 (14:42 +0000)]
gstreamer: really fix the helper install race

My previous fix wasn't enough and just made the race rarer.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoneard: fix libdir/libexecdir confusion
Ross Burton [Thu, 2 May 2013 13:35:29 +0000 (14:35 +0100)]
neard: fix libdir/libexecdir confusion

These binaries are installed to $libexecdir/nfc not $libdir/$BPN.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoglibc: fix libdir/libexecdir path confusion
Ross Burton [Tue, 3 Jun 2014 10:11:18 +0000 (11:11 +0100)]
glibc: fix libdir/libexecdir path confusion

$libdir/glibc is deleted if it doesn't exist but this is incorrectly assuming
what variables are used to create this directory.  In fact libexecdir is being
used in the Makefile so use that in the recipe too.

This fixes builds where libexecdir is changed.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agosudo: handle libexecdir != libdir/PN.
Ross Burton [Tue, 23 Jun 2015 11:10:22 +0000 (12:10 +0100)]
sudo: handle libexecdir != libdir/PN.

sudo has somewhat special file installation logic and installs the modules and
libraries to $libexecdir/sudo, with special handling for the case when
libexecdir already contains /sudo (which it does by default in current oe-core
where libexecdir=$libdir/$PN).

As setting libexecdir to /usr/libexec should work, add both possibilities to
FILES to be sure the right files are captured, and add INSANE_SKIP for the
libdir warning that libraries are outside of /usr/lib/ (arguably, this should be
fixed in insane).

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoutil-linux: Add ptest
Tudor Florea [Thu, 3 Dec 2015 03:08:00 +0000 (04:08 +0100)]
util-linux: Add ptest

Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolibav: Correctly handle prefix=""
Mike Crowe [Wed, 2 Dec 2015 15:54:08 +0000 (15:54 +0000)]
libav: Correctly handle prefix=""

libav's build system seems to think that prefix="" means that it should
use its default of /usr/local. Setting a prefix of "/" appears to be
sufficient to make it do the right thing.

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolibav: Add PACKAGECONFIG options: avdevice, avfilter, avplay, gpl
Mike Crowe [Wed, 2 Dec 2015 10:45:11 +0000 (10:45 +0000)]
libav: Add PACKAGECONFIG options: avdevice, avfilter, avplay, gpl

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolibav: Remove deprecated --disable-avserver
Mike Crowe [Wed, 2 Dec 2015 10:45:10 +0000 (10:45 +0000)]
libav: Remove deprecated --disable-avserver

./configure --help says:

  --disable-avserver       deprecated, does nothing

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agobusybox: backport upstream fixes for unzip
Andre McCurdy [Wed, 2 Dec 2015 18:41:46 +0000 (10:41 -0800)]
busybox: backport upstream fixes for unzip

  http://git.busybox.net/busybox/commit/?h=1_24_stable&id=6767af17f11144c7cd3cfe9ef799d7f89a78fe65
  http://git.busybox.net/busybox/commit/?h=1_24_stable&id=092fabcf1df5d46cd22be4ffcd3b871f6180eb9c

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoqt4-4.8.7: fix build for mips n32
Robert Yang [Fri, 27 Nov 2015 03:35:19 +0000 (19:35 -0800)]
qt4-4.8.7: fix build for mips n32

Issue: LIN8-1720

If _ABIN32 is defined, it should go into 32 bit branch.

Fixed:
./wtf/StdLibExtras.h: In instantiation of 'TO WTF::bitwise_cast(FROM) [with TO = int; FROM = double]':
runtime/JSValueInlineMethods.h:495:44:   required from here
./wtf/Assertions.h:326:47: error: size of array is negative
 #define COMPILE_ASSERT(exp, name) typedef int dummy##name [(exp) ? 1 : -1]

(LOCAL REV: NOT UPSTREAM) -- Sent to oe-core on 20151127

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogstreamer1.0: Convert tests and valgrind config opts to PACKAGECONFIGs
Fabrice Coulon [Wed, 2 Dec 2015 10:10:30 +0000 (11:10 +0100)]
gstreamer1.0: Convert tests and valgrind config opts to PACKAGECONFIGs

I need to be able to run unit tests and build with valgrind support.

Signed-off-by: Fabrice Coulon <fabrice.coulon@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agocracklib: fix for base_libdir == libdir
Joshua Lock [Tue, 1 Dec 2015 21:41:00 +0000 (21:41 +0000)]
cracklib: fix for base_libdir == libdir

Don't try and move the python packages from base_libdir to libdir
if they are the same location.

Signed-off-by: Joshua Lock <joshua.lock@collabora.co.uk>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolibbsd: Upgrade to 0.8.0
Marek Vasut [Tue, 1 Dec 2015 16:55:50 +0000 (17:55 +0100)]
libbsd: Upgrade to 0.8.0

Upgrade the library version to recently released 0.8.0 .

The COPYING file changed again, but the changes are just new names
added to the Copyright (C) YYYY John Doe <...> section, no changes
to the license itself.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Khem Raj <raj.khem@gmail.com>
Cc: Saul Wold <sgw@linux.intel.com>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolibcroco: Upgrade 0.6.8 -> 0.6.9
Jussi Kukkonen [Fri, 27 Nov 2015 08:58:40 +0000 (10:58 +0200)]
libcroco: Upgrade 0.6.8 -> 0.6.9

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoshared-mime-info: Upgrade 1.4 -> 1.5
Jussi Kukkonen [Fri, 27 Nov 2015 08:56:08 +0000 (10:56 +0200)]
shared-mime-info: Upgrade 1.4 -> 1.5

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoxdg-utils: Upgrade to 1.1.1
Jussi Kukkonen [Thu, 26 Nov 2015 14:06:31 +0000 (16:06 +0200)]
xdg-utils: Upgrade to 1.1.1

* Add new build dependencies
* Replace the xdg-terminal patch with a smaller one that enables
  building the script from source

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogsettings-desktop-schemas: Upgrade 2.16.1 -> 3.18.1
Jussi Kukkonen [Thu, 26 Nov 2015 11:52:32 +0000 (13:52 +0200)]
gsettings-desktop-schemas: Upgrade 2.16.1 -> 3.18.1

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agognome-common: Upgrade 3.14.0 -> 3.18.0
Jussi Kukkonen [Thu, 26 Nov 2015 11:46:48 +0000 (13:46 +0200)]
gnome-common: Upgrade 3.14.0 -> 3.18.0

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoclutter-gtk-1.0: Upgrade 1.6.2 -> 1.6.6
Jussi Kukkonen [Wed, 25 Nov 2015 14:57:58 +0000 (16:57 +0200)]
clutter-gtk-1.0: Upgrade 1.6.2 -> 1.6.6

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoclutter-gst-3.0: Upgrade 3.0.8 -> 3.0.14
Jussi Kukkonen [Wed, 25 Nov 2015 14:56:28 +0000 (16:56 +0200)]
clutter-gst-3.0: Upgrade 3.0.8 -> 3.0.14

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoclutter-1.0: Upgrade 1.24.2
Jussi Kukkonen [Wed, 25 Nov 2015 14:38:15 +0000 (16:38 +0200)]
clutter-1.0: Upgrade 1.24.2

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agocogl-1.0: Upgrade 1.20.0 -> 1.22.0
Jussi Kukkonen [Wed, 25 Nov 2015 14:11:51 +0000 (16:11 +0200)]
cogl-1.0: Upgrade 1.20.0 -> 1.22.0

Remove patch that is no longer necessary.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoghostscript: Add NIOS2 support
Marek Vasut [Thu, 26 Nov 2015 20:43:47 +0000 (21:43 +0100)]
ghostscript: Add NIOS2 support

Add objarch.h for NIOS2 architecture.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Ley Foon Tan <lftan@altera.com>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: Ross Burton <ross.burton@intel.com>
Cc: Walter Goossens <waltergoossens@home.nl>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoharfbuzz: update 1.1.0 -> 1.1.2
Andre McCurdy [Mon, 30 Nov 2015 07:24:41 +0000 (23:24 -0800)]
harfbuzz: update 1.1.0 -> 1.1.2

  http://cgit.freedesktop.org/harfbuzz/tree/NEWS

Overview of changes leading to 1.1.2
Wednesday, November 26, 2015
====================================

- Fix badly-broken fallback shaper that affected terminology.
  https://github.com/behdad/harfbuzz/issues/187
- Fix y_scaling in Graphite shaper.
- API changes:
  * An unset glyph_h_origin() function in font-funcs now (sensibly)
    implies horizontal origin at 0,0.  Ie, the nil callback returns
    true instead of false.  As such, implementations that have a
    glyph_h_origin() that simply returns true, can remove that function
    with HarfBuzz >= 1.1.2.  This results in a tiny speedup.

Overview of changes leading to 1.1.1
Wednesday, November 24, 2015
====================================

- Build fixes, specially for hb-coretext.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoxvideo-tests: move to the latest release
Maxin B. John [Tue, 1 Dec 2015 10:00:03 +0000 (12:00 +0200)]
xvideo-tests: move to the latest release

Updating SRCREV to pick up the latest changes.

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoscripts/oe-pkgdata-util: sort the packages in list-pkg-files
Ross Burton [Thu, 3 Dec 2015 17:40:33 +0000 (17:40 +0000)]
scripts/oe-pkgdata-util: sort the packages in list-pkg-files

Sort the list of packages in list-pkg-files to make the output easier to read.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agowic: insert local Python paths at front
Matt Madison [Sun, 6 Dec 2015 16:53:22 +0000 (08:53 -0800)]
wic: insert local Python paths at front

This follows how bitbake performs path insertion, and fixes a
failure to start wic on Ubuntu 15.10 with the distribution's
version of python-ply installed.

Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agotoolchain-scripts.bbclass: unset command_not_found_handle
Fang Jia [Mon, 30 Nov 2015 08:50:34 +0000 (16:50 +0800)]
toolchain-scripts.bbclass: unset command_not_found_handle

On Ubuntu-system, When sourcing the env.sh from an exported sdk, and
running a bogus linux command (for example "asd"), a core dump of
python is usually generated.

Unset the command_not_found_handle to fix it.

Signed-off-by: Fang Jia <fang.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agowaf.bbclass: remove unused parameter from get_waf_parallel_make()
Andre McCurdy [Fri, 4 Dec 2015 03:53:16 +0000 (19:53 -0800)]
waf.bbclass: remove unused parameter from get_waf_parallel_make()

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agotoolchain-shar-extract.sh: proper fix for additional env setup scripts
Paul Eggleton [Fri, 4 Dec 2015 02:42:50 +0000 (15:42 +1300)]
toolchain-shar-extract.sh: proper fix for additional env setup scripts

buildtools-tarball uses a custom env setup script, which isn't named the
same as the default; thus unfortunately OE-Core revision
a36469c97c9cb335de1e95dea5141038f337df95 broke installation of
buildtools-tarball. Revert that and implement a more robust mechanism.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agobase: Improve handling of switching virtual/x providers
Richard Purdie [Fri, 6 Nov 2015 12:37:01 +0000 (12:37 +0000)]
base: Improve handling of switching virtual/x providers

If you build virtual/kernel, then change PREFERRED_PROVIDER_virtual/kernel from say
"linux-yocto" to "linux-yocto-dev", you see errors from the sysroot about overlapping
files. The automatic uninstall logic doesn't trigger since the other recipes is
still technically parsed/buildable.

What we can do is look at the value of PREFERRED_PROVIDER_virtual/X and raise SkipRecipe
(skip parsing) if it provides this thing and its not selected. We skip cases no preferred
provider is set, or the value is in MULTI_PROVIDER_WHITELIST.We also inform the user
if they try to build something which conflicts with the configuration:

$ bitbake linux-yocto-tiny
ERROR: Nothing PROVIDES 'linux-yocto-tiny'
ERROR: linux-yocto-tiny was skipped: PREFERRED_PROVIDER_virtual/kernel set to linux-yocto, not linux-yocto-tiny

[YOCTO #4102]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolibsdl: remove redundant configure_tweak patch
Ross Burton [Mon, 30 Nov 2015 12:56:41 +0000 (12:56 +0000)]
libsdl: remove redundant configure_tweak patch

configure_tweak.patch was simply adding arguments to AC_DEFINE which are only
needed by autoheader.  We we now disable autoheader and use upstream's
config.h.in this patch isn't needed anymore.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoiw: upgrade to version 4.3
Maxin B. John [Fri, 20 Nov 2015 15:27:32 +0000 (17:27 +0200)]
iw: upgrade to version 4.3

Refreshed the following patches to work with this release:
 1) 0001-iw-version.sh-don-t-use-git-describe-for-versioning.patch
 2) separate-objdir.patch

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogstreamer1.0-plugins-good: fix PACKAGECONFIG for gudev and add one for v4l2 and libv4l2
Martin Jansa [Thu, 12 Nov 2015 19:57:33 +0000 (20:57 +0100)]
gstreamer1.0-plugins-good: fix PACKAGECONFIG for gudev and add one for v4l2 and libv4l2

* WARN: gstreamer1.0-plugins-good: gstreamer1.0-plugins-good-video4linux2 rdepends on libcap, but it isn't a build dependency?
  WARN: gstreamer1.0-plugins-good: gstreamer1.0-plugins-good-video4linux2 rdepends on libgudev, but it isn't a build dependency?
  WARN: gstreamer1.0-plugins-good: gstreamer1.0-plugins-good-video4linux2 rdepends on libudev, but it isn't a build dependency?
  WARN: gstreamer1.0-plugins-good: gstreamer1.0-plugins-good-video4linux2 rdepends on zlib, but it isn't a build dependency?

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogstreamer1.0-plugins-bad: fix dependencies for uvch264 PACKAGECONFIG
Martin Jansa [Thu, 12 Nov 2015 19:57:32 +0000 (20:57 +0100)]
gstreamer1.0-plugins-bad: fix dependencies for uvch264 PACKAGECONFIG

* ERROR: gstreamer1.0-plugins-bad: gstreamer1.0-plugins-bad-uvch264 package isn't created when building with minimal dependencies?
* ERROR: gstreamer1.0-plugins-bad: gstreamer1.0-plugins-bad-uvch264-dev package isn't created when building with minimal dependencies?

* it's because it should depend on libgudev not udev:
  configure: *** for plug-ins: uvch264 ***
  checking linux/uvcvideo.h usability... yes
  checking linux/uvcvideo.h presence... yes
  checking for linux/uvcvideo.h... yes
  checking for GST_VIDEO... yes
  checking for G_UDEV... no
  checking for LIBUSB... yes

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogudev: Add from meta-oe
Jussi Kukkonen [Wed, 25 Nov 2015 13:05:39 +0000 (15:05 +0200)]
gudev: Add from meta-oe

libgudev was split from systemd and is used by recipes in oe-core.
udev already provides libgudev as well.

The recipe is from meta-oe (Andreas Müller).

Fixes [YOCTO #8686]

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolsb: fix installed-vs-shipped for mips
Robert Yang [Thu, 26 Nov 2015 02:32:49 +0000 (18:32 -0800)]
lsb: fix installed-vs-shipped for mips

Fixed:
lsb-4.1: lsb: Files/directories were installed but not shipped in any package:
  /lib32
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
lsb: 1 installed and not shipped files. [installed-vs-shipped]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agorpm: fix for N32 MIPS64
Robert Yang [Thu, 26 Nov 2015 10:35:30 +0000 (02:35 -0800)]
rpm: fix for N32 MIPS64

It is 'N32 MIPS64', not 'N32 MIPS32' as command file shows:
$ file image/usr/bin/getent
getent: ELF 32-bit MSB executable, MIPS, N32 MIPS64 [snip]

And "rpm -qp --filecolor" was wrong (it was 1, but should be 4), which
caused multilib installation error.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoglibc/0029-fix-getmnt-empty-lines.patch: fix getmntent()
Peter Seebach [Wed, 25 Nov 2015 22:42:17 +0000 (16:42 -0600)]
glibc/0029-fix-getmnt-empty-lines.patch: fix getmntent()

When confronted with an empty line, getmntent() can underrun
a buffer, possibly doing very strange things if it finds
additional space/tab characters. Backport the upstream fix.

Signed-off-by: Peter Seebach <peter.seebach@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoinit-install-efi: fix script for eMMC installation
Ng, Mei Yeen [Thu, 26 Nov 2015 03:30:50 +0000 (11:30 +0800)]
init-install-efi: fix script for eMMC installation

Running the install option from bootloader to install image to eMMC will fail
with error:
Formatting /dev/mmcblk01 to vfat...
mkfs.fat 3.0.28 (2015-05-16)
/dev/mmcblk01: No such file or directory

This issue impacts both grub and gummiboot install option to eMMC device.
The installation failure is due to the following:
[1] Unable to partition eMMC as the partition prefix 'p' is not appended
The condition checking failed with the additional /dev/ appended with
the target device name.
[2] The partition uuid for boot, root and swap partition is not captured
for eMMC

This fix updated the condition checking and changed the variables to
reference the boot, root and swap partitions for UUID.

[YOCTO #8710]
Signed-off-by: Ng, Mei Yeen <mei.yeen.ng@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoinit-install-efi: fix script for gummiboot loader
Ng, Mei Yeen [Thu, 26 Nov 2015 03:30:49 +0000 (11:30 +0800)]
init-install-efi: fix script for gummiboot loader

After running gummiboot loader install option, the installed target
storage device boot parameter for root=PARTUUID is empty causing boot failure.
This issue is only observed with gummiboot and not with GRUB loader.

This fix assign the rootuuid of the rootfs partition for gummiboot loader.

[YOCTO #8709]
Signed-off-by: Ng, Mei Yeen <mei.yeen.ng@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolinux-firmware: rtl8192cx: Add latest available firmware
Bhuvanchandra DV [Thu, 26 Nov 2015 09:12:35 +0000 (14:42 +0530)]
linux-firmware: rtl8192cx: Add latest available firmware

Add latest available firmware binaries for RTL8192CX chipsets.
These new firmwares have been released in 2012, have been used
by the mainline kernel as preferred firmware since 3.13 and
even backported to stable branches.

Signed-off-by: Bhuvanchandra DV <bhuvanchandra.dv@toradex.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolibsdl2: add missing dependency on libxkbcommon for PACKAGECONFIG[wayland]
Yi Zhao [Thu, 26 Nov 2015 09:29:26 +0000 (17:29 +0800)]
libsdl2: add missing dependency on libxkbcommon for PACKAGECONFIG[wayland]

libsdl2 depends on libxkbcommon when enable wayland support.

Can verify it with the following steps:
bitbake libxkbcommon -c clean
bitbake libsdl2 -c cleansstate && bitbake libsdl2

config.log:
[snip]
configure:19347: checking for Wayland support
configure:19357: result: no
[snip]

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolibxml2: upgrade to 2.9.3
Ross Burton [Wed, 25 Nov 2015 22:44:53 +0000 (22:44 +0000)]
libxml2: upgrade to 2.9.3

- Drop all the upstreamed patches
- Rework the ansidecl removal so it's contained in a single patch

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolibxml2: merge pointless bb/inc split
Ross Burton [Wed, 25 Nov 2015 21:42:34 +0000 (21:42 +0000)]
libxml2: merge pointless bb/inc split

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoopenssh: redesign ssh-agent.sh regression test case
Roy Li [Wed, 25 Nov 2015 01:53:54 +0000 (09:53 +0800)]
openssh: redesign ssh-agent.sh regression test case

ssh-agent regression test case should be run by non-root user,
but non-root user will has issue to run other testcase, so
rewrite it on run-ptest

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogcr: Require x11 DISTRO_FEATURE
Jussi Kukkonen [Wed, 25 Nov 2015 13:05:40 +0000 (15:05 +0200)]
gcr: Require x11 DISTRO_FEATURE

This enables a world build without x11. GTK3DISTROFEATURES is not
enough because gtk+-x11.pc is still required.

Fixes [YOCTO #8611].

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agopsplash: update to latest git version
Juro Bystricky [Wed, 25 Nov 2015 21:25:31 +0000 (13:25 -0800)]
psplash: update to latest git version

Latest git version contains various changes, including
fix for big endian RGB888 rendering. It also makes the patch:
"0001-psplash-fb-Convert-psplash_fb_plot_pixel-to-a-static.patch"
unnecessary, as this patch has been upstreamed.

[YOCTO#7236]

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agosysvinit-inittab: Add wrapper script to verify console exists
Saul Wold [Tue, 24 Nov 2015 21:33:02 +0000 (13:33 -0800)]
sysvinit-inittab: Add wrapper script to verify console exists

Add a wrapper script around getty to check if a given console exists, this
allows for multiple Console ttys to be specified for various boards without
having additional BSP types just for different console types.

[YOCTO #8689]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolinux-yocto/4.1: Bluetooth:Fix the connection fail of 6lowpan over BT LE
Bruce Ashfield [Tue, 24 Nov 2015 17:01:30 +0000 (12:01 -0500)]
linux-yocto/4.1: Bluetooth:Fix the connection fail of 6lowpan over BT LE

Backporting the 4.4 fix for 6lowpan:

   Author: Wu Zheng <wu.zheng@intel.com>
   Date:   Fri Nov 20 13:25:57 2015 +0800

       Bluetooth:Fix the connection fail of 6lowpan over BT LE

       When two devices with 6lowpan over BT LE connect each other,
       6lowpan over BT LE channel is set up between the two devices.
       However, the status of channel is not right.
       It always is set to CONNECTED and the channel can't be created.

       The status of channel need to be removed when connection is created.

       (The patch's reference from
       b0c09f94ff1660a1873549b788c998284ea5fb8a)

Signed-off-by: Wu Zheng <wu.zheng@intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolinux-yocto-rt/4.1: update to -rt15
Bruce Ashfield [Tue, 24 Nov 2015 16:55:08 +0000 (11:55 -0500)]
linux-yocto-rt/4.1: update to -rt15

Updating the 4.1-rt kernel to the latest and greatest upstream version.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolinux-yocto/4.1: fsl-mpc8315e-rdb: Enable EEPROM
Bruce Ashfield [Thu, 19 Nov 2015 22:17:48 +0000 (17:17 -0500)]
linux-yocto/4.1: fsl-mpc8315e-rdb: Enable EEPROM

Updating the 4.1 SRCREVs for:

  Update the mpc8315erdb.dts to contain the eeprom device
  information. Coupled with adding "MISC_DEVICES" into the
  kernel configuration, we have a working eeprom.

Signed-off-by: Jingdong Lu <jingdong.lu@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolinux-yocto/4.1: update to v4.1.13
Bruce Ashfield [Thu, 19 Nov 2015 20:18:08 +0000 (15:18 -0500)]
linux-yocto/4.1: update to v4.1.13

Updating the 4.1 kernel to the latest stable (and resolving minor
conflicts with -rt).

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agouClibc: enable utmp for shadow compatibility
Bogdan-Alexandru Voiculescu [Wed, 25 Nov 2015 09:18:13 +0000 (11:18 +0200)]
uClibc: enable utmp for shadow compatibility

with the enabling of utmpx in busybox and uClibc it was noted that shadow
support for utmpx also needs utmp explicitly enabled in uclibc. this is
a workaround that might be removed once shadow properly supports
--enable-utmpx to check for utmpx configuration instead of utmp like
it does now

[YOCTO #8243]

Signed-off-by: Bogdan-Alexandru Voiculescu <bogdanx.a.voiculescu@intel.com>
Signed-off-by: Benjamin Esquivel <benjamin.esquivel@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoglibc: Backported a patch to fix glibc's bug(18589)
Li Xin [Wed, 25 Nov 2015 08:48:58 +0000 (11:48 +0300)]
glibc: Backported a patch to fix glibc's bug(18589)

Also Fix LSB NG cases:
 * /tset/ANSI.os/locale/setlocale/T.setlocale 1 2 4 5 15
 * /tset/ANSI.os/string/strcoll_X/T.strcoll_X 1
 * /tset/LI18NUX2K.L1/base/wcscoll/T.wcscoll 1
 * /tset/LI18NUX2K.L1/utils/localedef/T.localedef 7
 * /tset/LI18NUX2K.L1/utils/sort/T.sort 1 3 17 19 33 35
 * /tset/LI18NUX2K.L1/utils/comm/T.comm 1 2
 * /tset/LI18NUX2K.L1/utils/ls-fh/T.ls-fh 2

This patch is backported from
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=6c84109cfa26f35c3dfed3acb97d347361bd5849

Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoncurses: update SRC_URI
Maxin B. John [Wed, 25 Nov 2015 14:07:32 +0000 (16:07 +0200)]
ncurses: update SRC_URI

ncurses source tarball from "current" directory in
ftp://invisible-island.net gets updated/deleted during the release cycle.

We can't depend on that FTP server to fetch source as the maintainer
doesn't guarantee the presence of all patched versions in the server.
ftp://invisible-island.net/ncurses/5.9/README

Fetch sources from debian git server as it is comparatively reliable.

[YOCTO #8713]

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoopenssl: enable parallel make
Ross Burton [Wed, 18 Nov 2015 22:35:50 +0000 (22:35 +0000)]
openssl: enable parallel make

openssl 1.0.2d fixes the parallel make problems (commit 8e6bb99), so enable
parallel make again.

[ YOCTO #7347 ]

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agobusybox: enable resize applet
Andre McCurdy [Tue, 27 Oct 2015 17:51:22 +0000 (10:51 -0700)]
busybox: enable resize applet

The /etc/profile script contains a call to resize, which improves
the usability of shells run on the serial console.

  http://git.openembedded.org/openembedded-core/commit/?id=cc6360f4c4d97e0000f9d3545f381224ee99ce7d

Unfortunately the resize applet is not currently enabled in busybox
defconfig, so resize is never called. Fix that.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agobusybox: disable support for mounting NFS file systems on Linux < 2.6.23
Andre McCurdy [Tue, 13 Oct 2015 19:07:33 +0000 (12:07 -0700)]
busybox: disable support for mounting NFS file systems on Linux < 2.6.23

The busybox CONFIG_FEATURE_MOUNT_NFS config option is described as:

  Enable mounting of NFS file systems on Linux kernels prior
  to version 2.6.23. Note that in this case mounting of NFS
  over IPv6 will not be possible.

Since OE-core sets OLDEST_KERNEL = "2.6.32", CONFIG_FEATURE_MOUNT_NFS
is not required in the default busybox defconfig.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agobusybox: update 1.23.2 -> 1.24.1
Andre McCurdy [Tue, 13 Oct 2015 18:55:27 +0000 (11:55 -0700)]
busybox: update 1.23.2 -> 1.24.1

The busybox defconfig has also been refreshed, with all new apps
and features disabled by default. Update _git recipe version too.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agobusybox: re-order defconfig to align with busybox 1.24.1
Andre McCurdy [Tue, 13 Oct 2015 18:42:02 +0000 (11:42 -0700)]
busybox: re-order defconfig to align with busybox 1.24.1

No functional changes, simply re-order lines in defconfig so that
the existing options don't move elsewhere in the file when run
though busybox 1.24.1 'make oldconfig'.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agobusybox.inc: remove '-e MAKEFLAGS=' from EXTRA_OEMAKE
Andre McCurdy [Tue, 6 Oct 2015 00:23:31 +0000 (17:23 -0700)]
busybox.inc: remove '-e MAKEFLAGS=' from EXTRA_OEMAKE

Busybox Kbuild likes to control its own MAKEFLAGS (it adds -rR, etc),
so avoid over-riding MAKEFLAGS. Relying on 'make -e' is no longer
required so remove that too.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agobusybox.inc: set CC=${CC} via make command line
Andre McCurdy [Mon, 5 Oct 2015 21:59:14 +0000 (14:59 -0700)]
busybox.inc: set CC=${CC} via make command line

Busybox currently relies on 'make -e' to over-ride CC and the make
command line to over-ride LD. Set CC via the make command line to be
consistent with LD and to allow '-e' to be dropped from EXTRA_OEMAKE.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agobusybox.inc: fix CONFIG_EXTRA_CFLAGS configmangle
Andre McCurdy [Mon, 5 Oct 2015 22:46:05 +0000 (15:46 -0700)]
busybox.inc: fix CONFIG_EXTRA_CFLAGS configmangle

With current busybox Kbuild, setting .config to:

  CONFIG_EXTRA_CFLAGS="foo" "bar"

and then running 'make oldconfig' results in .config containing:

  CONFIG_EXTRA_CFLAGS="foo"

ie the CONFIG_EXTRA_CFLAGS configmangle in the busybox.inc doesn't
currently work as intended. Remove the extra \" \" to ensure that
${HOST_CC_ARCH} gets added to CONFIG_EXTRA_CFLAGS.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agobusybox.inc: don't set .config CROSS_COMPILER_PREFIX
Andre McCurdy [Mon, 5 Oct 2015 22:36:43 +0000 (15:36 -0700)]
busybox.inc: don't set .config CROSS_COMPILER_PREFIX

Setting CROSS_COMPILER_PREFIX via .config is redundant (setting
CROSS_COMPILE via the make command line will always over-ride it).

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agobusybox: move EXTRA_OEMAKE etc into busybox.inc
Andre McCurdy [Mon, 5 Oct 2015 21:55:51 +0000 (14:55 -0700)]
busybox: move EXTRA_OEMAKE etc into busybox.inc

EXTRA_OEMAKE options and do_install_ptest() are common to both
busybox recipes, so move into busybox.inc.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agobusybox.inc: don't export EXTRA_OEMAKE
Andre McCurdy [Mon, 5 Oct 2015 21:44:34 +0000 (14:44 -0700)]
busybox.inc: don't export EXTRA_OEMAKE

EXTRA_OEMAKE is private to OE and shouldn't be exported to
the busybox build.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agobusybox_git: Enable getopt applet
Andre McCurdy [Tue, 6 Oct 2015 00:41:58 +0000 (17:41 -0700)]
busybox_git: Enable getopt applet

Keep git recipe in sync with 1.23.2:

  http://git.openembedded.org/openembedded-core/commit/?id=10c2c484d5916ad476ad7717c3629f6684f01e6d

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>