]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
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>
9 years agoblktool: update to 4-7
Alexander Kanavin [Tue, 11 Aug 2015 15:27:17 +0000 (18:27 +0300)]
blktool: update to 4-7

This means replacing a "-6.1" Debian patch with "-7" patch.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agobuild-appliance-image: use ext4 for rootfs
Juro Bystricky [Tue, 11 Aug 2015 19:02:43 +0000 (12:02 -0700)]
build-appliance-image: use ext4 for rootfs

Changes due to IMAGES_FSTYPES "vmdk" and "vdi" now defaulting to ext4.
Switching Build Appliance to Ext4 will bring it more in-line with other BSPs.

[YOCTO #8096]

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoIMAGES_FSTYPES: default to EXT4
Juro Bystricky [Tue, 11 Aug 2015 19:02:42 +0000 (12:02 -0700)]
IMAGES_FSTYPES: default to EXT4

The following IMAGES_FSTYPES defaulted to ext3:
"vmdk", "vdi", "qcow2", "live", "iso", "hddimg"

This patch changes the default for those IMAGES_FSTYPES to
ext4 in order to bring the images more in line with other BSPs.

Besides improvements in performance and reliability ext4 provides
additional functionality as well (option to turn off the journaling,
dynamic resizing of VDI volumes etc.).

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agooetest.py: Don't wait to write dump files
Mariano Lopez [Wed, 12 Aug 2015 13:48:09 +0000 (13:48 +0000)]
oetest.py: Don't wait to write dump files

This allows to write the dump files immediately
after get the data from the target. Before this,
it would run all the commands and write the files.
The old behavior could cause no log written at all
if the serial console gets stuck.

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agooetest.py: Added method tearDown for oeRuntimeTest
Mariano Lopez [Wed, 12 Aug 2015 10:58:53 +0000 (10:58 +0000)]
oetest.py: Added method tearDown for oeRuntimeTest

The tearDown method is triggered when a tests ends
it doesn't matter if fails or succeeds. Inside this
method added an evalution to check if fails and then
run some commands in the target to get the data for
later debugging.

[YOCTO #8118]

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoqemurunner.py: Performance improvements in run_serial
Mariano Lopez [Wed, 12 Aug 2015 08:37:28 +0000 (08:37 +0000)]
qemurunner.py: Performance improvements in run_serial

This allow to search for the prompt after a command is
run so it can avoid waiting for the timeout.

Also corrected identation issues

[YOCTO #8118]

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoqemurunner.py: Added raw mode in run_serial
Mariano Lopez [Wed, 12 Aug 2015 07:02:21 +0000 (07:02 +0000)]
qemurunner.py: Added raw mode in run_serial

Raw mode allows to send the command without sending
'echo $?' for validation; Also this doesn't remove the
command or the prompt from the output returned. In raw
mode validation is done if there is output.

This raw mode would be useful for validate the prompt
when a user logs in.

[YOCTO #8118]

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoqemurunner.py: Added login to start method
Mariano Lopez [Tue, 11 Aug 2015 13:41:04 +0000 (13:41 +0000)]
qemurunner.py: Added login to start method

This adds the automatic login after the target
finished booting. If the automatic login fails
it won't stop the target or any test, it would
only send a log to the file.

[YOCTO #8118]

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoqemurunner.py: Add method run_serial
Mariano Lopez [Tue, 11 Aug 2015 13:24:44 +0000 (13:24 +0000)]
qemurunner.py: Add method run_serial

The only need for the console before this patch was
to check if the target has booted. This allows to send
commands to the terminal.

This new method is based on the method with the same name
of the QemuTinyRunner class. The difference here is it will
remove the command and the prompt. The other diference is
it will send an echo $? to check if the last command was
successful.

[YOCTO #8118]

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agognu-efi: BBCLASSEXTEND to native
Koen Kooi [Wed, 12 Aug 2015 11:26:16 +0000 (13:26 +0200)]
gnu-efi: BBCLASSEXTEND to native

Sbsigntool depends on gnu-efi and we need sbsigntool-native to do some signing, so extend gnu-efi to support that.

Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoqemu-native: Add debugging when qemu fails with qemu_cpu_kick_thread
Aníbal Limón [Wed, 12 Aug 2015 20:38:49 +0000 (15:38 -0500)]
qemu-native: Add debugging when qemu fails with qemu_cpu_kick_thread

We are expecting some random failures in QEMU runs one of this is
related to qemu_cpu_kick_thread that ends on exit(1) on qemu.

To improve debug information add patch that prints the backtrace and
the status of qemu cpu.

[YOCTO #8143]

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agobash: append srcdir to run-ptest script
Ajay M [Wed, 12 Aug 2015 07:05:37 +0000 (12:35 +0530)]
bash: append srcdir to run-ptest script

If srcdir is not set, we get below error while running ptest for bash
on qemu target,

-- snip --
root@qemux86:/usr/lib/bash/ptest# ./run-ptest
/bin/sh: line 0: cd: /home/ajay/Downloads/poky-fido-13.0.0/build/tmp/work/i586-poky-linux/bash/4.3-r1/bash-4.3/tests: No such file or directory
Makefile:879: recipe for target 'runtest' failed
make: *** [runtest] Error 1
root@qemux86:/usr/lib/bash/ptest# vi run-ptest
root@qemux86:/usr/lib/bash/ptest#
-- CUT --

So, set srcdir to current directory, where tests binaries exist.

[YOCTO #8145]

Signed-off-by: Ajay M <ajay.gju@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agosystemd: update SRC_URI
Ross Burton [Wed, 12 Aug 2015 16:33:07 +0000 (17:33 +0100)]
systemd: update SRC_URI

Upstream has moved git hosts, so update the SRC_URI appropriately.

[ YOCTO #8181 ]

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agocreate-pull-request: cleanup bashisms
Ed Bartosh [Wed, 12 Aug 2015 09:33:31 +0000 (12:33 +0300)]
create-pull-request: cleanup bashisms

Made create-pull-request POSIX compatible:
   - Replaced /bin/bash -> /bin/sh in shebang.
   - Replaced usage of pushd/popd with generic shell commands.
   - Tested on zsh and dash.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agovalgrind: Fix build with glibc 2.22
Khem Raj [Tue, 11 Aug 2015 21:36:24 +0000 (14:36 -0700)]
valgrind: Fix build with glibc 2.22

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolibrsvg: Upgrade 2.40.9 -> 2.40.10
Jussi Kukkonen [Tue, 11 Aug 2015 13:35:08 +0000 (16:35 +0300)]
librsvg: Upgrade 2.40.9 -> 2.40.10

Rebase gtk-option.patch

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agonss: Upgrade 3.19.1 -> 3.19.2
Jussi Kukkonen [Tue, 11 Aug 2015 07:06:28 +0000 (10:06 +0300)]
nss: Upgrade 3.19.1 -> 3.19.2

This is a bug fix release.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agomc: Fix QA warning depends on util-linux
Aníbal Limón [Tue, 11 Aug 2015 15:17:27 +0000 (10:17 -0500)]
mc: Fix QA warning depends on util-linux

mc depends on util-linux that uses libmount for mount filesystems.

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoattr: narrow fix_symlink to populate_sysroot
Roy Li [Tue, 11 Aug 2015 01:34:53 +0000 (09:34 +0800)]
attr: narrow fix_symlink to populate_sysroot

fix_symlink will be called many times, like populate_sysroot and populate_lic;
which maybe lead to rpm-native building failure, due to the below error:
".../usr/lib/libacl.so: No such file or directory"
since after acl/attr finished populate_sysroot task, rpm start to be compiled
but acl/attr populate_lic, which run fix_symlink, maybe remove the
.../usr/lib/libacl.so

In fact, fix_symlink only needs to be called after populate_sysroot

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agotzdata: update to 2015f
Armin Kuster [Tue, 11 Aug 2015 05:41:04 +0000 (11:11 +0530)]
tzdata: update to 2015f

Changes affecting future time stamps

North Korea switches to +0830 on 2015-08-15.  (Thanks to Steffen Thorsen.)
The abbreviation remains "KST".  (Thanks to Robert Elz.)

Uruguay no longer observes DST.  (Thanks to Steffen Thorsen
and Pablo Camargo.)

Changes affecting past and future time stamps

Moldova starts and ends DST at 00:00 UTC, not at 01:00 UTC.
(Thanks to Roman Tudos.)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agotzcode-native: update to 2015f
Armin Kuster [Tue, 11 Aug 2015 05:41:03 +0000 (11:11 +0530)]
tzcode-native: update to 2015f

Changes affecting code

zdump and zic no longer warn about valid time zone abbreviations
like '-05'.

Some Visual Studio 2013 warnings have been suppressed.
(Thanks to Kees Dekker.)

'date' no longer sets the time of day and its -a, -d, -n and -t
options have been removed.  Long obsolescent, the implementation
of these features had porting problems.  Builders no longer need
to configure HAVE_ADJTIME, HAVE_SETTIMEOFDAY, or HAVE_UTMPX_H.
(Thanks to Kees Dekker for pointing out the problem.)

Changes affecting documentation
The Theory file mentions naming issues earlier, as these seem to be
poorly publicized (thanks to Gilmore Davidson for reporting the problem).

tz-link.htm mentions Time Zone Database Parser (thanks to Howard Hinnant).

Mention that Herbert Samuel introduced the term "Summer Time".

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agokernel: Correct mishandling of linux.bin for building uImage
He Zhe [Tue, 11 Aug 2015 08:22:23 +0000 (16:22 +0800)]
kernel: Correct mishandling of linux.bin for building uImage

Building uImage fails when KEEPUIMAGE is not "yes".
Remove wrong removal of linux.bin before compressing it.

Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agouclibc.inc: remove unused UCLIBC_EXTRA_LDFLAGS
Andre McCurdy [Fri, 7 Aug 2015 01:54:16 +0000 (18:54 -0700)]
uclibc.inc: remove unused UCLIBC_EXTRA_LDFLAGS

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolib/oe/package_manager: fix opkg feed generation
Joshua Lock [Tue, 11 Aug 2015 08:45:02 +0000 (09:45 +0100)]
lib/oe/package_manager: fix opkg feed generation

The insert_feed_uris() method of OpkgPM was creating an initial
entry in the feeds list which pointed to the root of the ipk
directory, however the on-device package manager can't consume
this feed resulting in runtime errors - therefore we remove the
code to generate that initial feed uri.

Signed-off-by: Joshua Lock <joshua.lock@collabora.co.uk>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoupstream_tracking.inc: add no update reasons for base-passwd and chkconfig
Alexander Kanavin [Fri, 7 Aug 2015 15:28:04 +0000 (18:28 +0300)]
upstream_tracking.inc: add no update reasons for base-passwd and chkconfig

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agodistrodata: Make self-contained.
Aníbal Limón [Tue, 11 Aug 2015 16:41:41 +0000 (11:41 -0500)]
distrodata: Make self-contained.

Include by default all the files needed to perform checkpkg task.

These files are copied from meta-yocto because they refers recipes in
oe-core, the only missing file are maintainers.inc because it needs
consensus between OE-Core and Yocto project to define a common set of
maintainers.

[YOCTO #7895]

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoperf: fix build breakage on kernels after 4.1
Reinette Chatre [Tue, 11 Aug 2015 21:12:20 +0000 (14:12 -0700)]
perf: fix build breakage on kernels after 4.1

A recent commit fixed perf build failures with a change that duplicates
a fix that can be found in kernels after 4.1. Unfortunately there is a
conflict between these two fixes and we see perf build failures when
building perf in kernels that contain the fix already. The problem is
that the fix from the recipe modifies the location of .config-detected
to $(OUTPUT).config-detected. In a 4.2 kernel the location will be
changed to $(OUTPUT)$(OUTPUT).config-detected.

We change the recipe to require a space in the pattern to only change
kernel sources that do not already place file in $(OUTPUT).

The recent commit that introduced the build failure is:

   commit ea9016b60b47138bc58d84a06954b44527b20a19
    Author: Richard Purdie <richard.purdie@linuxfoundation.org>
    Date:   Sat Jul 25 14:37:58 2015 +0100

        perf: Fix config file conflict with 4.1 kernels

        If you setup mutlitlibs and then:

        bitbake perf libb32-perf
        bitbake perf libb32-perf -c cleansstate
        bitbake perf libb32-perf

        you will see races where the two builds get confused about which directory
        they should be using and they corrupt each other.

        The issue is that .config-detected is created in ${S}, not $(OUTPUT).
        We can fix this by moving the file to $(OUTPUT).

        [YCOTO #8043]

        (From OE-Core rev: 00608cffffb586e8d2a2075117e710113c471448)

        (From OE-Core rev: 57df1ebd910e42af47a0039830a60f41a3bd29b6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The commit in the kernel source that fixes the problem from kernel side is:
    commit 642273795fa81da11290ffa90bce6ff242f2a7bb
    Author: Aaro Koskinen <aaro.koskinen@nokia.com>
    Date:   Wed Jul 1 14:54:42 2015 +0300

        perf tools: Create config.detected into OUTPUT directory

        Create config.detected into OUTPUT directory instead of source
        directory.

        This fixes parallel builds that share the same source directory.

Signed-off-by: Aaro Koskinen <aaro.koskinen@nokia.com>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1435751683-18500-1-git-send-email-aaro.koskinen@nokia.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoclutter-gst: update to 3.0.8
Alexander Kanavin [Fri, 7 Aug 2015 15:27:49 +0000 (18:27 +0300)]
clutter-gst: update to 3.0.8

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoRevert "base.bbclass/blacklist.bbclass: remove doc item when d.getVarFlags()"
Ross Burton [Tue, 11 Aug 2015 14:30:19 +0000 (15:30 +0100)]
Revert "base.bbclass/blacklist.bbclass: remove doc item when d.getVarFlags()"

This deletes and therefore breaks PACKAGECONFIG[doc], so revert.

This reverts commit b741780d43ad412f6a1ae91d8489ec3522447ea2.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agofotowall: update SRC_URI to use github instead of qt-apps.org
Alexander Kanavin [Fri, 26 Jun 2015 13:04:33 +0000 (16:04 +0300)]
fotowall: update SRC_URI to use github instead of qt-apps.org

GitHub is where upstream development is happening, so we are more likely
to find out about new releases from there

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agodistcc: update SRC_URI to not use Google Code
Alexander Kanavin [Fri, 26 Jun 2015 13:05:40 +0000 (16:05 +0300)]
distcc: update SRC_URI to not use Google Code

Google Code is shutting down soon and distcc has moved to github.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoxf86-video-omapfb: switch SRC_URI to debian git repo
Alexander Kanavin [Fri, 10 Jul 2015 12:26:35 +0000 (15:26 +0300)]
xf86-video-omapfb: switch SRC_URI to debian git repo

The previous upstream is no longer available. Debian git repository
is one commit behind the original repository, so that commit is added
as a patch.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agostress: use BPN and BP in SRC_URI
Alexander Kanavin [Fri, 31 Jul 2015 12:17:12 +0000 (15:17 +0300)]
stress: use BPN and BP in SRC_URI

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agotexinfo: Upgrade 5.2 -> 6.0
Jussi Kukkonen [Thu, 6 Aug 2015 11:41:35 +0000 (14:41 +0300)]
texinfo: Upgrade 5.2 -> 6.0

* Remove texinfo-4.13a-powerpc.patch (already in upstream)
* Rebase texinfo-4.12-zlib.patch, dont-depend-on-help2man.patch

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoqmmp: Upgrade 0.8.5 -> 0.8.6
Jussi Kukkonen [Sun, 9 Aug 2015 19:29:29 +0000 (22:29 +0300)]
qmmp: Upgrade 0.8.5 -> 0.8.6

Add a missing runtime dependency.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolibepoxy: Upgrade 1.2 -> 1.3.1
Jussi Kukkonen [Mon, 10 Aug 2015 10:42:56 +0000 (13:42 +0300)]
libepoxy: Upgrade 1.2 -> 1.3.1

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoautogen: update to 5.18.5
Alexander Kanavin [Wed, 5 Aug 2015 11:08:57 +0000 (14:08 +0300)]
autogen: update to 5.18.5

Also, drop guile.patch, because the same problem has been fixed
differently in the new upstream release.

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