]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
9 years agouseradd-staticids.bbclass: Treat mutually exclusive options as such
Peter Kjellerstedt [Fri, 18 Dec 2015 23:53:47 +0000 (00:53 +0100)]
useradd-staticids.bbclass: Treat mutually exclusive options as such

The useradd options --create-home/--no-create-home and
--user-group/--no-user-group are mutually exclusive and should be
treated as such.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowic: get rid of 2 getters
Ed Bartosh [Thu, 14 Jan 2016 12:12:59 +0000 (14:12 +0200)]
wic: get rid of 2 getters

Used partitions and configfile bootloader attributes instead of
using getters get_bootloader_file and get_partitions.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowic: get rid of set_size and set_source_file setters
Ed Bartosh [Thu, 14 Jan 2016 12:12:58 +0000 (14:12 +0200)]
wic: get rid of set_size and set_source_file setters

Used size and source_file attributes instead of using
setters. It's more pythonic, clear an consistent.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowic: get rid of get_rootfs and set_rootfs
Ed Bartosh [Thu, 14 Jan 2016 12:12:57 +0000 (14:12 +0200)]
wic: get rid of get_rootfs and set_rootfs

Got rid of get_rootfs and set_rootfs java-like getter and
setter. Renamed rootfs to rootfs_dir to be consistent with
the name of kickstart parameter --rootfs-dir.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowic: get rid of get_timeout getter
Ed Bartosh [Thu, 14 Jan 2016 12:12:56 +0000 (14:12 +0200)]
wic: get rid of get_timeout getter

Used bootloader.timeout instead of kickstart.get_timeout getter.

Accessing attributes instead of getting them with getters is
more pythonic, shorter and readable. It also more consistent as
most of partition and bootloader attributes are used this way.

This change also takes care of appendLine bootloader attribute:
it's renamed to bootloader.append attribute provided by new parser.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowic: adjust code for new data structure
Ed Bartosh [Thu, 14 Jan 2016 12:12:55 +0000 (14:12 +0200)]
wic: adjust code for new data structure

New data structure is less nested than old one.
Adjusted bootloader and partitions fields:
self.ks.handler.bootloader -> self.ks.bootoader
self.ks.handler.partitions -> self.ks.partitions

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowic: remove pykickstart code
Ed Bartosh [Thu, 14 Jan 2016 12:12:54 +0000 (14:12 +0200)]
wic: remove pykickstart code

Removed pykickstart-related code as it's replaced by
new kickstart parser.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowic: use new kickstart parser
Ed Bartosh [Thu, 14 Jan 2016 12:12:53 +0000 (14:12 +0200)]
wic: use new kickstart parser

Used KickStart parser class instead of pykickstart API.

This commit breaks wic as data structures and field names
provided by new API are a bit different from old ones.
This issue will be addressed in the following commits.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowic: add kickstart parser module
Ed Bartosh [Thu, 14 Jan 2016 12:12:52 +0000 (14:12 +0200)]
wic: add kickstart parser module

This module will replace existing pykickstart machinery
it contains only option used by wic, it's simple and
clear. And It will allow to remove a lot of old complex
code from 3rdparty/pykickstart/ and kickstart/custom_commands.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowic: add partition module
Ed Bartosh [Thu, 14 Jan 2016 12:12:51 +0000 (14:12 +0200)]
wic: add partition module

Copied partition-related API from kickstart/custom_commands/partition.py
to separate module in preparation for removal of all
pykickstart related code.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoalsa-lib: 1.0.29 -> 1.1.0
Tanu Kaskinen [Thu, 14 Jan 2016 12:41:22 +0000 (14:41 +0200)]
alsa-lib: 1.0.29 -> 1.1.0

Changelog: http://alsa-project.org/main/index.php/Changes_v1.0.29_v1.1.0

The most significant change is probably the addition of the "topology
API", which is used to change the DSP topology from userspace. My
understanding is that the API is (or will be) needed to support some
new hardware, but I don't know any specifics about that.

Rebased Check-if-wordexp-function-is-supported.patch.

Dropped 0001-build-Do-not-try-to-detect-cross-compiler.patch, since it
is included in the new release.

Signed-off-by: Tanu Kaskinen <tanuk@iki.fi>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agomatchbox-keyboard: export GTK_IM_MODULE_FILE location
Maxin B. John [Mon, 4 Jan 2016 15:20:57 +0000 (17:20 +0200)]
matchbox-keyboard: export GTK_IM_MODULE_FILE location

This commit in gtk+ moved the cache files below <libdir>
"
commit c8849046860a9b17fa943247d85ddadb29262b48
Author: Matthias Clasen <mclasen@redhat.com>
Date:   Thu Jul 4 09:27:17 2013 -0400

Move the module cache files below libdir

These files contain architecture-dependent paths, and thus placing
them into sysconfdir causes unnecessary hassle. Now the immodule cache
file is looked for in libdir/gtk-2.0/2.10.0/immodules.cache.
Belated backport of a change that was done in the run-up to 3.0.
"

Since gtk-immodules-cache.bbclass creates the cache file in
"/etc/gtk-2.0/gtk.immodules", the environment variable "GTK_IM_MODULE_FILE"
can be set to point GTK+ at the file.

[YOCTO #6774]

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoxf86-input-evdev: upgrade to 2.10.1
Jussi Kukkonen [Thu, 14 Jan 2016 13:27:57 +0000 (15:27 +0200)]
xf86-input-evdev: upgrade to 2.10.1

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agomenu-cache: upgrade to 1.0.1
Jussi Kukkonen [Thu, 14 Jan 2016 13:27:56 +0000 (15:27 +0200)]
menu-cache: upgrade to 1.0.1

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolibxi: upgrade to 1.7.6
Jussi Kukkonen [Thu, 14 Jan 2016 13:27:55 +0000 (15:27 +0200)]
libxi: upgrade to 1.7.6

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolibrsvg: upgrade to 2.40.13
Jussi Kukkonen [Thu, 14 Jan 2016 13:27:54 +0000 (15:27 +0200)]
librsvg: upgrade to 2.40.13

Updated gtk-option.patch.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolibgpg-error: upgrade to 1.21
Jussi Kukkonen [Thu, 14 Jan 2016 13:27:53 +0000 (15:27 +0200)]
libgpg-error: upgrade to 1.21

License checksum changed because text layout changed.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolibevdev: upgrade to 1.4.6
Jussi Kukkonen [Thu, 14 Jan 2016 13:27:52 +0000 (15:27 +0200)]
libevdev: upgrade to 1.4.6

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolibcroco: upgrade to 0.6.11
Jussi Kukkonen [Thu, 14 Jan 2016 13:27:51 +0000 (15:27 +0200)]
libcroco: upgrade to 0.6.11

Remove PR from recipe.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogsettings-desktop-schemas: upgrade to 3.19.3
Jussi Kukkonen [Thu, 14 Jan 2016 13:27:50 +0000 (15:27 +0200)]
gsettings-desktop-schemas: upgrade to 3.19.3

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogpgme: upgrade to 1.6.0
Jussi Kukkonen [Thu, 14 Jan 2016 13:27:49 +0000 (15:27 +0200)]
gpgme: upgrade to 1.6.0

License checksum changed because of text layout change.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agou-boot: Update to 2016.01 release
Marek Vasut [Thu, 14 Jan 2016 03:17:12 +0000 (04:17 +0100)]
u-boot: Update to 2016.01 release

Upgrade U-Boot to latest version and drop upstreamed patches.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Otavio Salvador <otavio@ossystems.com.br>
Cc: Ross Burton <ross.burton@intel.com>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolinux-yocto: introduce v4.4 standard/preempt-rt/standard kernel
Bruce Ashfield [Mon, 11 Jan 2016 16:58:26 +0000 (11:58 -0500)]
linux-yocto: introduce v4.4 standard/preempt-rt/standard kernel

The 4.4 kernel has been under test via linux-yocto-dev, and is the next
LTS/LTSI kernel.

So we take our -dev support and created a named/versioned recipe for use
in upcoming releases.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoe2fsprogs: 1.42.9 -> 1.43 (master)
Robert Yang [Thu, 14 Jan 2016 01:37:28 +0000 (17:37 -0800)]
e2fsprogs: 1.42.9 -> 1.43 (master)

Upgrade to 1.43 (master) to make "mke2fs -d" support xattr, so that the
layer which requires xattr such as meta-selinux can populate images
easily.

* Remove the following patches since they are alredy in the source.
  0001-e2fsprogs-fix-cross-compilation-problem.patch
  0001-libext2fs-fix-potential-buffer-overflow-in-closefs.patch
  0001-mke2fs-add-the-ability-to-copy-files-from-a-given-di.patch
  0002-misc-create_inode.c-copy-files-recursively.patch
  0003-misc-create_inode.c-create-special-file.patch
  0004-misc-create_inode.c-create-symlink.patch
  0005-misc-create_inode.c-copy-regular-file.patch
  0006-misc-create_inode.c-create-directory.patch
  0007-misc-create_inode.c-set-owner-mode-time-for-the-inod.patch
  0008-mke2fs.c-add-an-option-d-root-directory.patch
  0009-misc-create_inode.c-handle-hardlinks.patch
  0010-debugfs-use-the-functions-in-misc-create_inode.c.patch
  0011-mke2fs.8.in-update-the-manual-for-the-d-option.patch
  0012-Fix-musl-build-failures.patch
  CVE-2015-0247.patch
  copy-in-create-hardlinks-with-the-correct-directory-.patch
  fix-icache.patch
  misc-mke2fs.c-return-error-when-failed-to-populate-fs.patch

* Remove cache_inode.patch since it is not needed any more

* Updated mkdir.patch and ptest.patch

* Add --enable-libblkid to EXTRA_OECONF since libblkid is not created by
  default.

* Time of core-image-sato-sdk do_rootfs:
  - Before upgrade
    real    3m18.508s
    user    7m42.088s
    sys     1m1.984s

  - After upgrade
    real    3m21.552s
    user    7m38.496s
    sys     1m0.644s

   The are nearly the same

* The "fsck -f" shows the image is OK, and also can boot.

[YOCTO #8622]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
9 years agobitbake.conf: rename python-native-runtime
Ed Bartosh [Wed, 13 Jan 2016 08:03:04 +0000 (10:03 +0200)]
bitbake.conf: rename python-native-runtime

The code in native.bbclass adds -native suffix to the package
names that don't have it.

Renamed python-native-runtime -> hostpython-runtime-native to avoid
mangling it and to conform with the naming convetion for native
packages.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agonet-tools_1.60-26.bb: Fix do_patch dependency error
Li Xin [Fri, 15 Jan 2016 01:25:36 +0000 (04:25 +0300)]
net-tools_1.60-26.bb: Fix do_patch dependency error

When set PATCHTOOL = "patch" in conf/local.conf an error will occur
in the step of do_patch.

The error is: "quilt: command not found", so fix the missing
dependency.

Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoncurses: 5.9 0 -> 6.0
Dengke Du [Fri, 15 Jan 2016 05:09:10 +0000 (00:09 -0500)]
ncurses: 5.9 0 -> 6.0

To be compatible with ncurses 5, add option '--with-abi-version=5' to EXTRA_OECONF

Signed-off-by: Dengke Du <dengke.du@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoautotools.bbclass: use relative path to run configure script
Robert Yang [Tue, 6 Oct 2015 06:42:24 +0000 (23:42 -0700)]
autotools.bbclass: use relative path to run configure script

The absolute path (/path/to/configure) caused VPATH in Makefile to be an
absolute path, and then it will be in elf files, use relative path to
run configure can fix the problem.

This will reduce a lot of buildpaths QA issues in a world buld.

[YOCTO #8894]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
9 years agoglibc-initial.inc: use relative path to run configure
Robert Yang [Thu, 8 Oct 2015 03:00:24 +0000 (20:00 -0700)]
glibc-initial.inc: use relative path to run configure

Avoid potential build path in output files.

[YOCTO #8894]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
9 years agoopenssh: update to 7.1p2
Alexander Kanavin [Thu, 14 Jan 2016 15:38:52 +0000 (17:38 +0200)]
openssh: update to 7.1p2

This fixes a number of security issues.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agokernel/kernel-arch: Explicitly mapping between i386/x86_64 and x86 for kernel ARCH
Jianxun Zhang [Tue, 12 Jan 2016 21:53:56 +0000 (13:53 -0800)]
kernel/kernel-arch: Explicitly mapping between i386/x86_64 and x86 for kernel ARCH

For a bare-bone kernel recipe which specifies 32 bit x86 target,
a 64 bit .config will be generated from do_configure task when
building 32-bit qemux86, once all of these conditions are true:

* arch of host is x86_64
* kernel source tree used in build has commit ffee0de41 which
  actually chooses i386 or x86_64 defconfig by asking host when
  ARCH is "x86" (arch/x86/Makefile)
* bare-bone kernel recipe inherits directly from kernel without
  other special treatments.

Build will fail because of the mismatched kernel architecture.

The patch sets ARCH i386 or x86_64 explicitly to configure
task to avoid this host contamination. Kernel artifact is also
changed so that it can map i386 and x64 back to arch/x86 when
needed.

Signed-off-by: Jianxun Zhang <jianxun.zhang@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoimage/image-live: Add back IMAGE_TYPES_MASKED support
Richard Purdie [Fri, 15 Jan 2016 11:50:05 +0000 (11:50 +0000)]
image/image-live: Add back IMAGE_TYPES_MASKED support

IMAGE_TYPES_MASKED support was accidentally removed. The original
idea behind it was to remove some of the hardcoding in the core
image code, so do that for image-live and ensure the dependency
and masked variables correctly reflect the needs of the class.
This means we can remove all the hardcoded special cases since
image-vm already has the needed markup.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoimage.bbclass: Handle image base type dependency properly
Otavio Salvador [Thu, 14 Jan 2016 21:17:08 +0000 (19:17 -0200)]
image.bbclass: Handle image base type dependency properly

When a base image type has an implicit dependency (from IMAGE_TYPEDEP)
this has to be taken into account. This is a regression introduced by
OE-Core:c2dab18 (image: Create separate tasks for rootfs construction).

The issue has been found when building meta-fsl-arm based images which
does not include the rootfs image type explicitly in IMAGE_FSTYPES but
instead is added, using IMAGE_TYPEDEP, for the 'sdcard.gz' image.

Reported-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoautoconf: add missing perl-module-file-find to RDEPENDS
Enrico Jorns [Tue, 12 Jan 2016 14:27:25 +0000 (15:27 +0100)]
autoconf: add missing perl-module-file-find to RDEPENDS

The autoscan script uses the File.pm module which was missing in the
list of RDEPENDS. This caused autoscan to fail with

  % autoscan
  [...]
  Can't locate File/Find.pm in @INC [...]

Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoca-certificates: update to 20160104
Alexander Kanavin [Tue, 12 Jan 2016 13:20:28 +0000 (15:20 +0200)]
ca-certificates: update to 20160104

LICENSE checksum changed due to an updated file listing in debian/copyright

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoepiphany: upgrade to 3.18.3
Alexander Kanavin [Tue, 12 Jan 2016 13:20:27 +0000 (15:20 +0200)]
epiphany: upgrade to 3.18.3

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoiso-codes: upgrade to 3.64
Alexander Kanavin [Tue, 12 Jan 2016 13:20:26 +0000 (15:20 +0200)]
iso-codes: upgrade to 3.64

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolighttpd: upgrade to 1.4.39
Alexander Kanavin [Tue, 12 Jan 2016 13:20:25 +0000 (15:20 +0200)]
lighttpd: upgrade to 1.4.39

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolibwebp: upgrade to 0.5.0
Alexander Kanavin [Tue, 12 Jan 2016 13:20:24 +0000 (15:20 +0200)]
libwebp: upgrade to 0.5.0

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoclasses/populate_sdk_ext: avoid unnecessary sstate being brought in
Paul Eggleton [Tue, 12 Jan 2016 21:39:03 +0000 (10:39 +1300)]
classes/populate_sdk_ext: avoid unnecessary sstate being brought in

Create a separate task where we can just have the recursive dependencies
for the tasks corresponding to constructing the SDK content (i.e. from
the image contents). This avoids us recursing into dependencies from
buildtools and getting a bunch of nativesdk stuff, for example.

(This isn't an ideal way to have to implement it, but without
overcomplicating things on the BitBake side just for this use-case I
can't see a better way.)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoinsane/package: Fix cases where QA errors aren't fatal
Richard Purdie [Tue, 12 Jan 2016 18:00:13 +0000 (18:00 +0000)]
insane/package: Fix cases where QA errors aren't fatal

When using package_qa_handle_error(), we need to check QA_SANE and
give a fatal error if issues were raised. The main insane checks do
this, the anonymous python in insane does not, nor does the code in
package.bbclass. This was likely missed when the function was
introduced to package.bbclass.

The impact is that errors can be shown but don't stop the build
(do_package succeeds), the initial build fails due to the errors
shown but subsequent builds succeed. This is clearly broken.

The solution is to check QA_SANE in places we use the handle_error
function.

[YOCTO #8907]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoclasses/populate_sdk_ext: check that extensible SDK prepared correctly
Paul Eggleton [Tue, 12 Jan 2016 18:47:47 +0000 (07:47 +1300)]
classes/populate_sdk_ext: check that extensible SDK prepared correctly

After the change to use --setscene-only when running bitbake to prepare
the SDK at the end of installation, add a check that the SDK got
prepared correctly by doing a dry-run and looking at the output for any
real tasks that we don't expect. In order to make this easier, the
preparation shell script was rewritten in python.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoclasses/buildhistory: save auto.conf and bblayers.conf for extensible SDK
Paul Eggleton [Tue, 12 Jan 2016 18:47:46 +0000 (07:47 +1300)]
classes/buildhistory: save auto.conf and bblayers.conf for extensible SDK

These form part of the configuration for the extensible SDK, we should
really be recording what goes into them.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoclasses/populate_sdk_ext: support auto.conf
Paul Eggleton [Tue, 12 Jan 2016 18:47:45 +0000 (07:47 +1300)]
classes/populate_sdk_ext: support auto.conf

If auto.conf exists in the user's configuration we need to also run it
through the same filter and write the result into the ext SDK, or we
risk missing configuration applied on an autobuilder.

Fixes [YOCTO #8904].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoclasses/populate_sdk_ext.bbclass: handle if local.conf doesn't end with a newline
Paul Eggleton [Tue, 12 Jan 2016 18:47:44 +0000 (07:47 +1300)]
classes/populate_sdk_ext.bbclass: handle if local.conf doesn't end with a newline

If there is no newline at the end of local.conf, appending
INHERIT = "uninative" won't work, it will corrupt the line and the
installed eSDK will build things, making the "Preparing build system..."
step take an age.

Fixes [YOCTO #8897].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoutil-linux: create util-linux-runuser iff pam in DISTRO_FEATURES
Ioan-Adrian Ratiu [Tue, 12 Jan 2016 09:23:25 +0000 (11:23 +0200)]
util-linux: create util-linux-runuser iff pam in DISTRO_FEATURES

If pam is not present in DISTRO_FEATURES, then exclude
util-linux-runuser from PACKAGES to avoid its libpam dependency.

Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agorsync: 3.1.1 -> 3.1.2
Robert Yang [Thu, 7 Jan 2016 09:42:56 +0000 (01:42 -0800)]
rsync: 3.1.1 -> 3.1.2

* Remove backport patches:
  - 0001-Complain-if-an-inc-recursive-path-is-not-right-for-i.patch
  - rsync.git-eac858085.patch

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
9 years agoless: 479 -> 481
Robert Yang [Thu, 7 Jan 2016 09:39:17 +0000 (01:39 -0800)]
less: 479 -> 481

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
9 years agoiputils: s20121221 -> s20151218
Robert Yang [Thu, 7 Jan 2016 09:31:10 +0000 (01:31 -0800)]
iputils: s20121221 -> s20151218

* Remove fix-build-command-line-argument-with-gnutls.patch which is
  already in the source.
* Add libgcrypt to DEPENDS since it depends on it.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
9 years agowget: 1.17 -> 1.17.1
Robert Yang [Thu, 7 Jan 2016 09:25:54 +0000 (01:25 -0800)]
wget: 1.17 -> 1.17.1

* Remove fix_makefile.patch, it is already in the source.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
9 years agogit: 2.5.0 -> 2.7.0
Robert Yang [Thu, 7 Jan 2016 09:20:04 +0000 (01:20 -0800)]
git: 2.5.0 -> 2.7.0

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
9 years agofile: 5.24 -> 5.25
Robert Yang [Thu, 7 Jan 2016 09:17:33 +0000 (01:17 -0800)]
file: 5.24 -> 5.25

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
9 years agoautogen-native: 5.18.5 -> 5.18.6
Robert Yang [Thu, 7 Jan 2016 08:58:07 +0000 (00:58 -0800)]
autogen-native: 5.18.5 -> 5.18.6

* Update increase-timeout-limit.patch

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
9 years agocurl: upgrade to 7.46
Chen Qi [Thu, 7 Jan 2016 06:11:09 +0000 (14:11 +0800)]
curl: upgrade to 7.46

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoxz: upgrade to 5.2.2
Chen Qi [Mon, 11 Jan 2016 05:58:44 +0000 (13:58 +0800)]
xz: upgrade to 5.2.2

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosysstat: upgrade to 11.2.0
Chen Qi [Mon, 11 Jan 2016 05:58:42 +0000 (13:58 +0800)]
sysstat: upgrade to 11.2.0

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoat: upgrade to 3.18
Chen Qi [Mon, 11 Jan 2016 05:58:41 +0000 (13:58 +0800)]
at: upgrade to 3.18

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agokmod: upgrade to 22
Chen Qi [Mon, 11 Jan 2016 05:58:40 +0000 (13:58 +0800)]
kmod: upgrade to 22

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoresolvconf: upgrade to 1.78
Chen Qi [Mon, 11 Jan 2016 05:58:39 +0000 (13:58 +0800)]
resolvconf: upgrade to 1.78

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopciutils: upgrade to 3.4.1
Chen Qi [Mon, 11 Jan 2016 05:58:38 +0000 (13:58 +0800)]
pciutils: upgrade to 3.4.1

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agognupg: 2.1.7 -> 2.1.10
Hongxu Jia [Mon, 11 Jan 2016 00:30:39 +0000 (08:30 +0800)]
gnupg: 2.1.7 -> 2.1.10

Add PACKAGECONFIG for sqlite3 to avoid QA Warning
...
WARNING: QA Issue: gnupg rdepends on libsqlite3, but it isn't a build dependency? [build-deps]
...

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agohelp2man-native: 1.47.1 -> 1.47.3
Hongxu Jia [Mon, 11 Jan 2016 00:30:38 +0000 (08:30 +0800)]
help2man-native: 1.47.1 -> 1.47.3

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoman-pages: 4.02 -> 4.04
Hongxu Jia [Mon, 11 Jan 2016 00:30:37 +0000 (08:30 +0800)]
man-pages: 4.02 -> 4.04

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolibgcrypt: 1.6.3 -> 1.6.4
Hongxu Jia [Mon, 11 Jan 2016 00:30:35 +0000 (08:30 +0800)]
libgcrypt: 1.6.3 -> 1.6.4

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoxmlto: 0.0.26 -> 0.0.28
Hongxu Jia [Mon, 11 Jan 2016 00:30:34 +0000 (08:30 +0800)]
xmlto: 0.0.26 -> 0.0.28

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoelfutils: 0.163 -> 0.164
Hongxu Jia [Mon, 11 Jan 2016 00:30:32 +0000 (08:30 +0800)]
elfutils: 0.163 -> 0.164

Update patches from debian
http://ftp.de.debian.org/debian/pool/main/e/elfutils/elfutils_0.164-1.debian.tar.xz

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agodhcp: 4.3.2 -> 4.3.3
Hongxu Jia [Mon, 11 Jan 2016 00:30:31 +0000 (08:30 +0800)]
dhcp: 4.3.2 -> 4.3.3

- Rebase: fix-external-bind.patch and fixsepbuild.patch for 4.3.3

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoimage.bbclass: Unconditional includes of populate_sdk_ext fails
Mark Hatle [Mon, 11 Jan 2016 21:12:05 +0000 (15:12 -0600)]
image.bbclass: Unconditional includes of populate_sdk_ext fails

populate_sdk_ext requires uninative support, which is only available on
glibc based SDKMACHINES.  For instance, when using mingw32 a dependency
error will occur:

NOTE: Runtime target 'nativesdk-glibc' is unbuildable, removing...
ERROR: Required build target 'core-image-minimal' has no buildable providers.
Missing or unbuildable dependency chain was: ['core-image-minimal', 'uninative-tarball', 'nativesdk-glibc']

This is dues to populate_sdk_ext.bbclass having:
do_populate_sdk_ext[depends] += "buildtools-tarball:do_populate_sdk uninative-tarball:do_populate_sdk"
addtask populate_sdk_ext

Since bitbake can't determine for dependency resolution if the task is going
to be run yet, it blows up and says it simply can't be resolved.

Workaround this problem by making the inherit conditional on the SDK_OS
containing 'linux'.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agotcmode-default.inc: Fix preferred provider nativesdk-sdk_prefix-libc-initial
Mark Hatle [Mon, 11 Jan 2016 21:12:04 +0000 (15:12 -0600)]
tcmode-default.inc: Fix preferred provider nativesdk-sdk_prefix-libc-initial

Similar to the libc-for-gcc preferred provider, we also need a libc-initial
version.  Layers such as meta-mingw need the ability to override these
values in order to generate an SDK that works on non Linux environments.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agodhcp: search libxml2 for bind
Awais Belal [Tue, 12 Jan 2016 09:55:03 +0000 (14:55 +0500)]
dhcp: search libxml2 for bind

libdns requires libxml2 if bind was built with libxml2 support
enabled. Compilation will fail for omapip/test.c in case
-lxml2 isn't used during the build. So, we add losely coupled
search path which will pick up the lib if it is present.

Signed-off-by: Awais Belal <awais_belal@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agotzdata: remove bashism
Ross Burton [Tue, 12 Jan 2016 10:23:39 +0000 (10:23 +0000)]
tzdata: remove bashism

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoharfbuzz: update 1.1.2 -> 1.1.3
Andre McCurdy [Tue, 12 Jan 2016 07:47:16 +0000 (23:47 -0800)]
harfbuzz: update 1.1.2 -> 1.1.3

Misc recipe formatting cleanup, plus version update as described below.

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

Overview of changes leading to 1.1.3
Monday, January 11, 2016
====================================

- Ported Indic shaper to Unicode 8.0 data.
- Universal Shaping Engine fixes.
- Speed up CoreText shaper when font fallback happens in CoreText.
- Documentation improvements, thanks to Khaled Hosny.
- Very rough directwrite shaper for testing, thanks to Ebrahim Byagowi.
- Misc bug fixes.
- New API:

  * Font extents:
      hb_font_extents_t
      hb_font_get_font_extents_func_t
      hb_font_get_font_h_extents_func_t
      hb_font_get_font_v_extents_func_t
      hb_font_funcs_set_font_h_extents_func
      hb_font_funcs_set_font_v_extents_func
      hb_font_get_h_extents
      hb_font_get_v_extents
      hb_font_get_extents_for_direction

  * Buffer message (aka debug):
      hb_buffer_message_func_t
      hb_buffer_set_message_func()
    Actual message protocol to be fleshed out later.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolibpostproc: duplicate armv7a over-rides for armv7ve
Andre McCurdy [Thu, 7 Jan 2016 22:29:12 +0000 (14:29 -0800)]
libpostproc: duplicate armv7a over-rides for armv7ve

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolibav.inc: duplicate armv7a over-rides for armv7ve
Andre McCurdy [Thu, 7 Jan 2016 22:29:11 +0000 (14:29 -0800)]
libav.inc: duplicate armv7a over-rides for armv7ve

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogcc-configure-common.inc: duplicate armv7a over-ride for armv7ve
Andre McCurdy [Thu, 7 Jan 2016 22:29:10 +0000 (14:29 -0800)]
gcc-configure-common.inc: duplicate armv7a over-ride for armv7ve

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agosubversion: Upgrade 1.9.2 -> 1.9.3
Richard Purdie [Mon, 11 Jan 2016 15:01:01 +0000 (15:01 +0000)]
subversion: Upgrade 1.9.2 -> 1.9.3

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolttng-ust: Upgrade to 2.7.1
Richard Purdie [Mon, 11 Jan 2016 15:01:00 +0000 (15:01 +0000)]
lttng-ust: Upgrade to 2.7.1

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolttng-tools: Upgrade to 2.7.1
Richard Purdie [Mon, 11 Jan 2016 15:00:59 +0000 (15:00 +0000)]
lttng-tools: Upgrade to 2.7.1

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolttng-modules: Upgrade to 2.7.1
Richard Purdie [Mon, 11 Jan 2016 15:00:58 +0000 (15:00 +0000)]
lttng-modules: Upgrade to 2.7.1

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogdb: upgrade to 7.10.1
Richard Purdie [Mon, 11 Jan 2016 15:00:57 +0000 (15:00 +0000)]
gdb: upgrade to 7.10.1

The PPC inferior patch was dropped since an equivalent fix was merged
upstream.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoupdate_font_cache: only scan system font directories
Ross Burton [Fri, 8 Jan 2016 20:44:15 +0000 (20:44 +0000)]
update_font_cache: only scan system font directories

By default fc-cache will scan both system and user directories, which means it
attempts to scan $HOME/.fonts.  As this is the build host's idea of $HOME this
generally doesn't exist, and causes fc-cache to exit with a failure.

Solve this by passing --system-only so that fc-cache will only scan system
directories, as is appropriate for a rootfs-time invocation.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoAdd "CVE:" tag to current patches in OE-core
Mariano Lopez [Fri, 8 Jan 2016 12:03:58 +0000 (12:03 +0000)]
Add "CVE:" tag to current patches in OE-core

The currnet patches in OE-core doesn't have the "CVE:"
tag, now part of the policy of the patches.

This is patch add this tag to several patches. There might
be patches that I miss; the tag can be added in the future.

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoscripts/create-pull-request: fix git request-pull syntax
Martin Jansa [Thu, 10 Dec 2015 13:30:43 +0000 (14:30 +0100)]
scripts/create-pull-request: fix git request-pull syntax

* at least with git 2.6.3 I see git request-pull failing
  when there is only :{BRANCH} as ending commit

* $ git request-pull origin/dizzy git://git.openembedded.org/openembedded-core-contrib jansa/dizzy-backports:jansa/dizzy-backports
  The following changes since commit 7bb182bdd130266100fc541fd09b82d09c51cd80:
    build-appliance-image: Update to dizzy head revision (2015-09-29 14:56:04 +0100)
  ...
  And finds correct 7 changes there

* $ git request-pull origin/dizzy git://git.openembedded.org/openembedded-core-contrib :jansa/dizzy-backports
  warn: No match for commit 6068d1c90336ddc1fb32856efd1d9ccf07733896 found at git://git.openembedded.org/openembedded-core-contrib
  warn: Are you sure you pushed 'jansa/dizzy-backports' there?
  The following changes since commit 97756472d3a69eaca95d105494ffea78c6b077e0:
    build-appliance-image: Update to dizzy head revision (2014-10-18 16:16:27 +0200)
  ...
  and lists all commits in _current_ branch since origin/dizzy, then it refuses
  to continue, because there are too many changes.

6068d1c90336ddc1fb32856efd1d9ccf07733896 is this commit in jansa/master-submitted
  branch so it really shouldn't be included in pull request from jansa/dizzy branch.
* git help says:
  <end>
    Commit to end at (defaults to HEAD). This names the commit at the tip of the history you are asking to be pulled.

    When the repository named by <url> has the commit at a tip of a ref that is different from the ref you have locally, you can use
    the <local>:<remote> syntax, to have its local name, a colon :, and its remote name.
* maybe the syntax got changes since git 2.1.0 when Saul added :${BRANCH}
* I haven't found how to respect ${COMMIT_ID in the new syntax

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoqt4: fix-for-mips-n32.patch: remove it
Robert Yang [Fri, 8 Jan 2016 09:12:07 +0000 (01:12 -0800)]
qt4: fix-for-mips-n32.patch: remove it

Not needed it any more since qt4 has been moved to meta-qt4.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoutil-linux: create util-linux-runuser package
Ioan-Adrian Ratiu [Wed, 23 Dec 2015 10:21:06 +0000 (12:21 +0200)]
util-linux: create util-linux-runuser package

Split runuser into its own package (previously provided by util-linux).
runuser is compiled only when DISTRO_FEATURES includes pam and also the
package is created only when runuser exists.

Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agovalgrind: include aarch64 in COMPATIBLE_HOST
Andre McCurdy [Tue, 22 Dec 2015 23:58:00 +0000 (15:58 -0800)]
valgrind: include aarch64 in COMPATIBLE_HOST

Valgrind has supported aarch64 since v3.10.0.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agovalgrind: update to 3.11.0
Alexander Kanavin [Tue, 15 Dec 2015 14:52:13 +0000 (16:52 +0200)]
valgrind: update to 3.11.0

LICENSE checksums are changed due to a change in FSF address, or copyright
years update.

Added patches:
0001-Remove-tests-that-fail-to-build-on-some-PPC32-config.patch replaces remove-ppc-tests-failing-build.patch
and removes only those tests that are known to break the build on ppc32 configurations tested by
poky autobuilders

Rebased patches:
sepbuildfix.patch rebased to 0004-Fix-out-of-tree-builds.patch
add-ptest.patch rebased to 0005-Modify-vg_test-wrapper-to-support-PTEST-formats.patch

Removed patches:
force-nostabs.patch removed because it's patching lines that have been removed upstream
remove-ppc-tests-failing-build.patch replaced with 0001-Remove-tests-that-fail-to-build-on-some-PPC32-config.patch
enable.building.on.4.x.kernel.patch removed because the problem is fixed upstream
glibc.patch removed for the same reason

Removed backports:
pass-maltivec-only-if-it-supported.patch
0001-valgrind-Enable-rt_sigpending-syscall-on-ppc64-linux.patch

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolocal.conf.sample: add qemumips64
Yi Zhao [Fri, 8 Jan 2016 08:55:41 +0000 (16:55 +0800)]
local.conf.sample: add qemumips64

Add the missing example machine configuration for qemumips64

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agovalgrind: don't restrict to armv7a
Andre McCurdy [Thu, 7 Jan 2016 22:29:09 +0000 (14:29 -0800)]
valgrind: don't restrict to armv7a

Valgrind has been tested on armv5te/qemuarm, so it seems
that valgrind's configure check for armv7 is over cautious.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoDpkgRootfs: Fix logcheck_error false-positive when use multilib
Aníbal Limón [Wed, 6 Jan 2016 12:21:36 +0000 (04:21 -0800)]
DpkgRootfs: Fix logcheck_error false-positive when use multilib

Rootfs with dpkg was failing due to false-positive in logcheck_error
because current logic of DpkgPM handles missing dependencies failure
using apt-get -f install [1][2].

This support was broken due to addition of logcheck and don't take into
account dpkgpm cases, in order to fix add an attr for specify expected
errors regex'es by package manager.

[1] http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/lib/oe/rootfs.py#n659
[2] http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/lib/oe/package_manager.py#n2038

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agopackage_deb.bbclass: add 'Multi-Arch: foreign' tag to allarch packages
Matt Madison [Wed, 6 Jan 2016 12:21:35 +0000 (04:21 -0800)]
package_deb.bbclass: add 'Multi-Arch: foreign' tag to allarch packages

This tells APT that it can use such packages to resolve dependencies
from packages of any architecture in a multilib build.

Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agopackage_manager.py: fixes for multilib deb packaging builds
Matt Madison [Wed, 6 Jan 2016 12:21:34 +0000 (04:21 -0800)]
package_manager.py: fixes for multilib deb packaging builds

* tmp/deploy/deb subdirectories do not get hyphens replaced
  with underscores, so don't do that translation when building
  the sources list.

* Fix MULTILIB_VARIANTS handling to be more general and
  work for all architectures

* Also include a fix for a warning generated by apt
  due to missing apt/preferences.d directory.

Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agopackage_deb.bbclass, cross-canadian.bbclass: DPKG_ARCH mapping function
Matt Madison [Wed, 6 Jan 2016 12:21:33 +0000 (04:21 -0800)]
package_deb.bbclass, cross-canadian.bbclass: DPKG_ARCH mapping function

Have DPKG_ARCH set by directly invoking a mapping function, rather
than using an anonymous Python function modify the variable under
the hood, so we can have proper handling of overrides.

Also bring in some additional mappings to Debian architecture names
that weren't being handled.

Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoconnman.inc: add missing RDEPENDS
Hongxu Jia [Tue, 22 Dec 2015 08:43:19 +0000 (16:43 +0800)]
connman.inc: add missing RDEPENDS

All of the connman-tools, connman-tests and connman-client
runtime depends connman.

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agometa: rename perl-native-runtime
Ed Bartosh [Thu, 7 Jan 2016 11:39:39 +0000 (13:39 +0200)]
meta: rename perl-native-runtime

The code in native.bbclass adds -native suffix to the package
names that don't have it. perl-native-runtime becomes
perl-native-runtime-native because of this.

Renamed perl-native-runtime -> hostperl-runtime-native to avoid
mangling it and to conform with the naming convetion for native
packages.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agodbus: support large-file for stat64
Hongxu Jia [Mon, 4 Jan 2016 02:08:42 +0000 (10:08 +0800)]
dbus: support large-file for stat64

While starting dbus-daemon on a 32-bit linux host and it invokes
fstat to load /etc/dbus-1/system.conf through NFS. If system.conf
was created with a large indoe number on 64-bit host. The above
fstat invoking failed. Here is the log of strace:
............
$ ls -i /etc/dbus-1/system.conf
53778558109 /etc/dbus-1/system.conf

$ strace /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation
|open("/etc/dbus-1/system.conf", O_RDONLY) = 4
|fstat64(4, {st_mode=S_IFREG|0644, st_size=3340, ...}) = 0
|close(4) = 0
|close(3) = 0
|write(2, "Failed to start message bus: Fai"..., 109Failed to start message bus:
Failed to stat "/etc/dbus-1/system.conf": Value too large for defined data type
|) = 109
|exit_group(1) = ?
|+++ exited with 1 +++
............

In this situation, we should support large-file for stat64. Add marco
AC_SYS_LARGEFILE to do the detection at configure time. It can be disabled
by configuring with the `--disable-largefile' option.

[YOCTO: #8863]

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agofreetype: enable out-of-tree builds, and use host zlib
Ross Burton [Thu, 7 Jan 2016 21:13:07 +0000 (21:13 +0000)]
freetype: enable out-of-tree builds, and use host zlib

Add a few ${S} and ${B} to make out of tree builds work, and stop using
autotools-brokensep.  Annoyingly we still need to use a custom do_configure so
add a comment explaining why so someone else doesn't spend 30 minutes trying to
make it work.

Whilst here add a small patch so we don't need to tell the build where libtool
is, and remove class-native do_configure as it doesn't appear to be required
anymore.

At this point I started to get carried away.

The do_compile_prepend is redundant now that configure is being told what
compiler to use for build tools, so remove that.

Instead of using the integrated zlib fork, add a PACKAGECONFIG to use the zlib
we build and enable that by default.  Also add a disabled PACKAGECONFIG for
bzip2 support.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agobluez5: upgrade to 5.37
Maxin B. John [Thu, 7 Jan 2016 14:31:35 +0000 (16:31 +0200)]
bluez5: upgrade to 5.37

5.36 -> 5.37

Remove the backported patch:
core-profile-Fix-possible-crash-when-registering-pro.patch

Build bluez5 only when DISTRO_FEATURES include bluez5

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agocogl-1.0: fix may be used uninitialized error
Robert Yang [Thu, 7 Jan 2016 07:45:22 +0000 (23:45 -0800)]
cogl-1.0: fix may be used uninitialized error

Fixed when DEBUG_BUILD = "1":
test-backface-culling.c:206:7: error: 'cull_front' may be used uninitialized in this function [-Werror=maybe-uninitialized]
|        validate_part (framebuffer,
|        ^
| cc1: some warnings being treated as errors

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agooeqa/runtime/logrotate: fix hardcoded root directory
Yi Zhao [Thu, 7 Jan 2016 03:29:53 +0000 (11:29 +0800)]
oeqa/runtime/logrotate: fix hardcoded root directory

Use $HOME instead of /home/root in case user changes the default root
directory by ROOT_HOME

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>