]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
8 years agolinux-yocto/4.1: update to v4.1.22
Bruce Ashfield [Fri, 22 Apr 2016 18:16:46 +0000 (14:16 -0400)]
linux-yocto/4.1: update to v4.1.22

Integrating the korg -stable releases.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agokernel-yocto: allow branch auditing to be suspended
Bruce Ashfield [Thu, 21 Apr 2016 15:23:45 +0000 (11:23 -0400)]
kernel-yocto: allow branch auditing to be suspended

When working on the yocto-bsp and kernel-lab update for yocto 1.2
we found it was impossible for a end-user BSP to isolate patches
on a branch, since with the following commit:

  [kernel-yocto: enforce SRC_URI specified branch]

Any new branch would be switched to whatever was specified on the
SRC_URI and undoing the work that the yocto-bsp tool did to support
board specific patches.

To fix this, we'll keep the enforcing of branch consistency enabled
by default, but introduce a variable "KMETA_AUDIT" that when not
set will skip the check.

There's no impact for existing users, and it is only something that
other plumbing commands and tools will need to use (or care about).

[YOCTO: #9120]

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agokern-tools: handle directories with, or without, trailing /
Bruce Ashfield [Thu, 21 Apr 2016 02:37:29 +0000 (22:37 -0400)]
kern-tools: handle directories with, or without, trailing /

Robert P. J. Day reported that configuration fragments and kernel
features were not being found when organized in a particular manner:

  linux
   - $BOARD
       - mm.patch
       - mm.scc
   - ssd_sil.cfg
   - ssd_sil.patch
   - ssd_sil.scc
   - uio.cfg
   .. etc

There was a bug in the tools that did not handle the mix of subdirs
properly and ended up leaving a trailing / on the elements *not* in
the $BOARD subdir. As a result, the configuration fragments were not
properly found when searching the include paths, and a configuration
failure was triggered (due to missing files).

This change tweaks the tools to always check a path with and without
a trailing / when processing config fragments so they can be later
found when processing the configuration of the kernel.

Reported-by: "Robert P. J. Day" <rpjday@crashcourse.ca>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolinux-yocto/4.4: sched/cgroup: Fix/cleanup cgroup teardown/init
Bruce Ashfield [Wed, 20 Apr 2016 23:32:03 +0000 (19:32 -0400)]
linux-yocto/4.4: sched/cgroup: Fix/cleanup cgroup teardown/init

backporting a mainline commit to address splats that have been
seen on the 4.4 kernel:

Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolinux-yocto/uvesafb: print error message when task timeout occurs
Bruce Ashfield [Wed, 20 Apr 2016 23:30:07 +0000 (19:30 -0400)]
linux-yocto/uvesafb: print error message when task timeout occurs

Integrating the following commit to have a more informative error
message:

    uvesafb: print error message when task timeout occurs

    The driver waits for response from user space for a pending
        task until a timeout (UVESAFB_TIMEOUT) occurs. But the
            existing error message in later steps is a little obscure.

    This patch throws out an error message when timeout happens.

Signed-off-by: Jianxun Zhang <jianxun.zhang@linux.intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoimage_types: fix image/compression dependency collection
Ross Burton [Tue, 3 May 2016 16:28:01 +0000 (17:28 +0100)]
image_types: fix image/compression dependency collection

As compressions can be chained (i.e. cpio.bz2.md5sum) we need to walk the fstype
list to collect the dependencies from each step.

Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolibpcre: Fix CVE-2016-3191
Ismo Puustinen [Wed, 4 May 2016 13:06:46 +0000 (16:06 +0300)]
libpcre: Fix CVE-2016-3191

Fix workspace overflow for (*ACCEPT) with deeply nested parentheses.

The patch is from libpcre version control at
http://vcs.pcre.org/pcre?view=revision&revision=1631 with the ChangeLog
part removed. Original author is Philip Hazel.

Signed-off-by: Ismo Puustinen <ismo.puustinen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoimage_types.bbclass: add WIC_CREATE_EXTRA_ARGS
Christopher Larson [Tue, 3 May 2016 00:06:03 +0000 (17:06 -0700)]
image_types.bbclass: add WIC_CREATE_EXTRA_ARGS

This'll be of use to pass things like --bmap.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoopenssl: Security fix via update to 1.0.2h
Armin Kuster [Tue, 3 May 2016 23:46:05 +0000 (16:46 -0700)]
openssl: Security fix via update to 1.0.2h

CVE-2016-2105
CVE-2016-2106
CVE-2016-2109
CVE-2016-2176

https://www.openssl.org/news/secadv/20160503.txt

fixup openssl-avoid-NULL-pointer-dereference-in-EVP_DigestInit_ex.patch

drop crypto_use_bigint_in_x86-64_perl.patch as that fix is in latest.

Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoimage-live.bbclass: make the INITRD optional
Christopher Larson [Tue, 3 May 2016 20:20:35 +0000 (13:20 -0700)]
image-live.bbclass: make the INITRD optional

This aligns with image-vm, and makes sense for wic bootimg-efi images, which
don't actually want any of the live installer bits.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolibrsvg: Security fixes via update to 2.40.15
Armin Kuster [Tue, 3 May 2016 13:33:36 +0000 (06:33 -0700)]
librsvg: Security fixes via update to 2.40.15

CVE-2016-4347 librsvg2: DoS parsing SVGs with circular definitions in certain rsvg_cairo_*() functions

CVE-2016-4348 librsvg2: DoS parsing SVGs with circular definitions _rsvg_css_normalize_font_size() function

Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agogit: update to 2.8.2
Dan McGregor [Mon, 2 May 2016 19:50:52 +0000 (13:50 -0600)]
git: update to 2.8.2

Now that krogoth has been released, update git to the latest release.

Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoqemu: updgrade to 2.5.1
Joshua Lock [Wed, 4 May 2016 10:48:43 +0000 (11:48 +0100)]
qemu: updgrade to 2.5.1

This upgrade includes several worthwhile fixes, security and otherwise, including
a complete fix for CVE-2016-2857.

* drop CVE-2016-2857.patch as it's included in this release, along with several
  related patches which complete the fixes for CVE-2016-2857:
  http://git.qemu.org/?p=qemu.git;a=commitdiff;h=9bddb45dbc010cd8ee4d48bd501fa5d18dcec00c
  http://git.qemu.org/?p=qemu.git;a=commitdiff;h=e3a2cdfcb5e282139217924044ec5af00c7f8eed
  http://git.qemu.org/?p=qemu.git;a=commitdiff;h=fe90bdc25bcf9954ee286cd51de94776a17d04f6
  http://git.qemu.org/?p=qemu.git;a=commitdiff;h=d0ee85b4e4c6cc2c8fac311d6df2ed412ed0df5f
  http://git.qemu.org/?p=qemu.git;a=commitdiff;h=80b6e5723fac428ea6c08c821078286f43975df8
  http://git.qemu.org/?p=qemu.git;a=commitdiff;h=a375e0b03ee3438924b24a45e61ee189ec9361db
* drop CVE-2016-2197.patch as an equivalent fix is included in this release
  http://git.qemu.org/?p=qemu.git;a=commitdiff;h=aaf4fb6afb4653c86059255811886a5c4ea271f3
* drop CVE-2016-1568.patch as it's included in this release
  http://git.qemu.org/?p=qemu.git;a=commitdiff;h=4f046a6ba1d558eb043dc13a80d40cf7cb62ef95

Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoalsa-lib: Fix incorrect appl pointer when mmap_commit() returns error.
Yuqing Zhu [Wed, 4 May 2016 09:46:46 +0000 (17:46 +0800)]
alsa-lib: Fix incorrect appl pointer when mmap_commit() returns error.

The appl pointer needs to be updated only when snd_pcm_mmap_commit() is
successfully returned. Or it shouldn't be updated.
This is to fix the avail_update()'s result is incorrect when returns error.

Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoiproute2: upgrade to version 4.5.0
Maxin B. John [Wed, 4 May 2016 08:20:24 +0000 (11:20 +0300)]
iproute2: upgrade to version 4.5.0

4.4.0 -> 4.5.0

Refreshed iproute2 musl build fix patch for 4.5.0
Remove backported patch:
        iproute2-fix-building-with-musl.patch

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agosqlite3: upgrade to 3.12.2
Maxin B. John [Wed, 4 May 2016 08:20:23 +0000 (11:20 +0300)]
sqlite3: upgrade to 3.12.2

3.11.0 -> 3.12.2

Remove upstreamed patch:
1. fix-disable-static-shell.patch

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoharfbuzz: upgrade to 1.2.6
Maxin B. John [Wed, 4 May 2016 08:20:22 +0000 (11:20 +0300)]
harfbuzz: upgrade to 1.2.6

1.2.3 -> 1.2.6

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoorc: upgrade to 0.4.25
Maxin B. John [Wed, 4 May 2016 08:20:21 +0000 (11:20 +0300)]
orc: upgrade to 0.4.25

0.4.24 -> 0.4.25

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agomc: upgrade to 4.8.16
Maxin B. John [Wed, 4 May 2016 08:20:20 +0000 (11:20 +0300)]
mc: upgrade to 4.8.16

4.8.15 -> 4.8.16

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolibtasn1: upgrade to 4.8
Maxin B. John [Wed, 4 May 2016 08:20:18 +0000 (11:20 +0300)]
libtasn1: upgrade to 4.8

4.7 -> 4.8

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agopkgconfig: update to version 0.29.1
Maxin B. John [Wed, 4 May 2016 08:20:17 +0000 (11:20 +0300)]
pkgconfig: update to version 0.29.1

87152c0  : Update to 0.29.1
753f0ba  : glib: Fix OSX build with internal glib
5164b9d  : Revert "Quote pc_path virtual variable"
a3e58e7  : check: More thoroughly test variable usage
1c564a3  : Only unquote --variable when it appears quoted
e6d33fb  : Revert "Unquote values of requested variables"
8d19fad  : Also match -Wl,-framework for OSX framework
ae0a8b1  : Allow overriding package variables with env vars
9ef2d34  : Pass key into parse_package_key so it can be set early
52baea8  : README.win32: Add info on building with MSVC
5f70074  : build: Add NMake makefiles for Visual Studio builds
1ed3367  : build: Add a pre-configure config.h template for MSVC builds
56061ef  : build: Split Out Source Listing
dd57ff3  : pkg.c: Port from dirent to GDir

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoethtool: upgrade to 4.5
Maxin B. John [Wed, 4 May 2016 08:20:16 +0000 (11:20 +0300)]
ethtool: upgrade to 4.5

4.2 -> 4.5

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoacpid: upgrade to 2.0.27
Maxin B. John [Wed, 4 May 2016 08:20:15 +0000 (11:20 +0300)]
acpid: upgrade to 2.0.27

2.0.26 -> 2.0.27

Remove upstreamed patch:
0001-Fix-out-of-source-build.patch

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agogdb: fix QA warning (uClibc)
André Draszik [Fri, 29 Apr 2016 10:45:47 +0000 (11:45 +0100)]
gdb: fix QA warning (uClibc)

WARNING: QA Issue: gdb rdepends on libiconv, but it isn't a build dependency? [build-deps]

We already have virtual/libiconv which is set appropriately
in all environments, so let's use it to fix the issue.

Signed-off-by: André Draszik <adraszik@tycoint.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agobase-files: add some safety checks in profile
Diego Rondini [Fri, 29 Apr 2016 10:24:09 +0000 (12:24 +0200)]
base-files: add some safety checks in profile

Add some safety checks when sourcing files in /etc/profile.d/, in particular:
- source only *.sh files, not every file. This is the practice in use in both
  Fedora and Debian/Ubuntu (see
  https://help.ubuntu.com/community/EnvironmentVariables#A.2Fetc.2Fprofile.d.2F.2A.sh);
- check the input is actually a file and is readable. This check is especially
  important if profile.d is empty, as "*.sh" will get expanded only if
  profile.d is not empty. Previously if profile.d was present but empty,
  "/etc/profile.d/*" was sourced causing errors on login and breaking stuff, for
  example X startup.

Signed-off-by: Diego Rondini <diego.ml@zoho.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agobluez5: upgrade to 5.39
Maxin B. John [Wed, 4 May 2016 08:20:19 +0000 (11:20 +0300)]
bluez5: upgrade to 5.39

5.37 -> 5.39

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agotest-empty-image: Fix LIC_FILES_CHKSUM typo
Richard Purdie [Fri, 6 May 2016 09:47:59 +0000 (10:47 +0100)]
test-empty-image: Fix LIC_FILES_CHKSUM typo

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agometa-selftest/images: Add LIC_FILES_CHKSUM to images using image.bbclass
Richard Purdie [Fri, 6 May 2016 09:29:45 +0000 (10:29 +0100)]
meta-selftest/images: Add LIC_FILES_CHKSUM to images using image.bbclass

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobitbake.conf: change APACHE_MIRROR to point at archive.apache.org
Ross Burton [Fri, 29 Apr 2016 10:48:24 +0000 (11:48 +0100)]
bitbake.conf: change APACHE_MIRROR to point at archive.apache.org

The official download servers www.[country].apace.org only host the latest
release, so the URL is only valid when the recipe is fully up to date.

In the general case this isn't a problem as our mirror list includes
archive.apache.org, but the upstream URI checking (the checkuri task) fails as
that explicitly doesn't use the mirrors.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agomesa: add PACKAGECONFIG for gbm
Ross Burton [Tue, 26 Apr 2016 13:57:23 +0000 (14:57 +0100)]
mesa: add PACKAGECONFIG for gbm

gbm is an optional library and some environments (for example, mesa-gl where
there are separate drivers that provide libgbm) may not want to build it.

Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolibxsettings-client: fix COPYING file
Robert Yang [Wed, 27 Apr 2016 02:20:30 +0000 (19:20 -0700)]
libxsettings-client: fix COPYING file

Fixed:
* Move the code of copy COPYING file from do_configure_append() to
  do_patch[postfuncs] since we had moved license-checksum from
  do_package_qa to do_populate_lic.
* Add xsettings-client.c and xsettings-common.c to LIC_FILES_CHKSUM.
* Update comments.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agometa-world-pkgdata: add LIC_FILES_CHKSUM
Robert Yang [Wed, 27 Apr 2016 02:20:29 +0000 (19:20 -0700)]
meta-world-pkgdata: add LIC_FILES_CHKSUM

Fixed:
ERROR: meta-world-pkgdata-1.0-r0 do_populate_lic: QA Issue: meta-world-pkgdata: Recipe file does not have license file information (LIC_FILES_CHKSUM) [license-checksum]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agopackagegroup-foo.bb: remove LICENSE = "MIT"
Robert Yang [Wed, 27 Apr 2016 02:20:28 +0000 (19:20 -0700)]
packagegroup-foo.bb: remove LICENSE = "MIT"

It has been set in packagegroup.bbclass.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agopackagegroup.bbclass: set LICENSE and LIC_FILES_CHKSUM
Robert Yang [Wed, 27 Apr 2016 02:20:27 +0000 (19:20 -0700)]
packagegroup.bbclass: set LICENSE and LIC_FILES_CHKSUM

* Use "??=" in bitbake.conf to set LICENSE, so that it can overrided by
  packagegroup.bbclass and recipes.

* Use "?=" to set LICENSE and LIC_FILES_CHKSUM to MIT by default
  in packagegroup.bbclass, this won't impact any packagegroup recipes
  which use non-MIT license, since they can be overrided by the recipe.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoinsane.bbclass: package_qa_check_license -> populate_lic_qa_checksum
Robert Yang [Wed, 27 Apr 2016 02:20:26 +0000 (19:20 -0700)]
insane.bbclass: package_qa_check_license -> populate_lic_qa_checksum

The package_qa_check_license() was in do_qa_configure which had a
potential problem, when the recipe sets do_configure[noexec] = "1", then
the license checking won't run, which may hidden license issues. Rename
it to populate_lic_qa_checksum() and run in do_populate_lic[postfuncs] which
is more reasonable (when no populate license, no license checking).

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agotune-mips32r2.inc: add soft-float variants
André Draszik [Tue, 26 Apr 2016 11:03:02 +0000 (12:03 +0100)]
tune-mips32r2.inc: add soft-float variants

Signed-off-by: André Draszik <adraszik@tycoint.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoddimage: if 'pv' is installed, use it
Christopher Larson [Tue, 26 Apr 2016 04:56:18 +0000 (21:56 -0700)]
ddimage: if 'pv' is installed, use it

This gives us a progress bar for the image write, which is quite helpful. See
https://www.ivarch.com/programs/pv.shtml.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agodbus-test: install executables not libtool wrapper scripts
Ross Burton [Wed, 27 Apr 2016 16:20:14 +0000 (17:20 +0100)]
dbus-test: install executables not libtool wrapper scripts

All of the binaries are linked with libtool now, so install the binaries and not
the wrapper scripts.

Also remove dbus-1.init from SRC_URI as dbus-test doesn't use it.

[ YOCTO #9528 ]

Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agomesa-demos: remove demos using obsolete screen surface
Awais Belal [Fri, 22 Apr 2016 13:24:48 +0000 (18:24 +0500)]
mesa-demos: remove demos using obsolete screen surface

The mesa surface EGL_MESA_screen_surface was obsoleted
and then dropped from mesa some time ago. Drop demos
depending on this.

Signed-off-by: Awais Belal <awais_belal@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoarch-powerpc64.inc: disable the use of qemu usermode on ppc64
Alexander Kanavin [Wed, 27 Apr 2016 12:44:48 +0000 (15:44 +0300)]
arch-powerpc64.inc: disable the use of qemu usermode on ppc64

It simply does not work at all:
https://lists.yoctoproject.org/pipermail/yocto/2016-April/029698.html

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoeudev: add PACKAGECONFIG for hwdb
Ross Burton [Wed, 27 Apr 2016 11:54:51 +0000 (12:54 +0100)]
eudev: add PACKAGECONFIG for hwdb

Some users may not want the hwdb at all, so add a PACKAGECONFIG option to
disable building it entirely.

Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolibxml2: fix dependencies and QA Issues
Maxin B. John [Tue, 26 Apr 2016 08:48:25 +0000 (11:48 +0300)]
libxml2: fix dependencies and QA Issues

Fix the following QA warnings:

WARNING: libxml2-2.9.3-r0 do_package_qa: QA Issue: libxml2 rdepends on
libiconv, but it isn't a build dependency, missing libiconv in DEPENDS
or PACKAGECONFIG? [build-deps]

WARNING: libxml2-2.9.3-r0 do_package_qa: QA Issue: libxml2-python
rdepends on libiconv, but it isn't a build dependency, missing libiconv
in DEPENDS or PACKAGECONFIG? [build-deps]

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agobash: fix dependencies and QA Issue
Maxin B. John [Tue, 26 Apr 2016 08:48:24 +0000 (11:48 +0300)]
bash: fix dependencies and QA Issue

Fix the following QA warning:

WARNING: bash-4.3.30-r0 do_package_qa: QA Issue: bash rdepends on libiconv,
but it isn't a build dependency, missing libiconv in DEPENDS
or PACKAGECONFIG? [build-deps]

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agopopt: fix dependencies and QA Issue
Maxin B. John [Tue, 26 Apr 2016 08:48:23 +0000 (11:48 +0300)]
popt: fix dependencies and QA Issue

Fix the following QA warning:

WARNING: popt-1.16-r3 do_package_qa: QA Issue: popt rdepends on
libiconv, but it isn't a build dependency, missing libiconv in DEPENDS
or PACKAGECONFIG? [build-deps]

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agocurl: add krb5 to PACKAGECONFIG
Roy Li [Tue, 26 Apr 2016 05:13:01 +0000 (13:13 +0800)]
curl: add krb5 to PACKAGECONFIG

krb5 is needed to enables GSS-Negotiate authentication

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agooeqa/selftest/buildoptions: remove buildhistory signature test
Ross Burton [Tue, 26 Apr 2016 14:36:21 +0000 (15:36 +0100)]
oeqa/selftest/buildoptions: remove buildhistory signature test

This test is a subset of the new sstate_noop_samesigs test, and less helpful
when it breaks, so remove it.

Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agomesa-gl: add missing MESA_CRYPTO to PACKAGECONFIG
Ross Burton [Tue, 26 Apr 2016 13:48:24 +0000 (14:48 +0100)]
mesa-gl: add missing MESA_CRYPTO to PACKAGECONFIG

Otherwise the build can fail or there is a floating dependency on whatever SSL
library Mesa can find.

Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agocross-localedef-native_2.22.bb: Use autotools configure
Tristan Van Berkom [Mon, 25 Apr 2016 20:36:26 +0000 (16:36 -0400)]
cross-localedef-native_2.22.bb: Use autotools configure

Use the autotools default configure commands and just tell autotools
where to run configure from.

This fixes the build when running on an aarch64 host, which the prebuilt
configure scripts with glibc 2.22 do not recognize.

Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoinsane.bbclass: remove workdir from package_qa_check_license()
Robert Yang [Wed, 27 Apr 2016 02:20:25 +0000 (19:20 -0700)]
insane.bbclass: remove workdir from package_qa_check_license()

The parameter workdir is not used in package_qa_check_license()

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoqemu: remove explicit but redundant native build dependencies
Ross Burton [Wed, 27 Apr 2016 08:28:35 +0000 (09:28 +0100)]
qemu: remove explicit but redundant native build dependencies

qemu-native was optionally depending on libxext-native if the DISTRO_FEATURES
included x11.  This dependency was required back when we didn't build
libsdl-native and causes an undesirable relationship between DISTRO_FEATURES and
qemu-native.

As the dependency isn't required anymore, remove it.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agowebkitgtk: remove gnome-common dependency
Ross Burton [Wed, 27 Apr 2016 13:04:10 +0000 (14:04 +0100)]
webkitgtk: remove gnome-common dependency

webkitgtk ported to CMake long ago, so by definition can't use gnome-common's
autoconf macros anymore.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agognome-desktop3: remove redundant gnome-common dependency
Ross Burton [Wed, 27 Apr 2016 12:56:54 +0000 (13:56 +0100)]
gnome-desktop3: remove redundant gnome-common dependency

The gnomebase class already depends on gnome-common-native, so there's no need
to depend on it again.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agopython-pygobject: remove redundant gnome-common dependency
Ross Burton [Wed, 27 Apr 2016 12:56:53 +0000 (13:56 +0100)]
python-pygobject: remove redundant gnome-common dependency

The gnomebase class already depends on gnome-common-native, so there's no need
to depend on it again.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agorecipetool: create: fix falling back to declared license for npm packages
Paul Eggleton [Wed, 27 Apr 2016 13:06:19 +0000 (01:06 +1200)]
recipetool: create: fix falling back to declared license for npm packages

Fix two problems falling back to the "license" field from package.json
when no license file is present:
1) The function that was supposed to return the license field value was
   always explicitly returning None, and this was never noticed (because
   the test cases never exercised the fallback as they provided license
   files for each module).
2) Fix the main package not falling back because it had a default of an
   empty list, which evaluates to '' instead of 'Unknown'.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agorecipetool: create: fix picking up false npm package directories
Paul Eggleton [Wed, 27 Apr 2016 13:06:18 +0000 (01:06 +1200)]
recipetool: create: fix picking up false npm package directories

It is possible for a Node.js module to have node_modules subdirectories
that contain no package.json file (e.g. iotivity-node has such a
directory). It appears these should simply be ignored, or else with the
way the current code works we will get errors later.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoarch-armv7ve: inherit armv7a tunes file
Denys Dmytriyenko [Tue, 26 Apr 2016 00:38:24 +0000 (20:38 -0400)]
arch-armv7ve: inherit armv7a tunes file

armv7a is a subset of armv7ve:
https://gcc.gnu.org/onlinedocs/gcc/ARM-Options.html

   -march=armv7ve is the armv7-a architecture with virtualization extensions.

By inheriting armv7a from armv7ve it's possible for e.g. Cortex-A15 machines
to include tune-cortexa15.inc and have a full range of optimizations, but
set DEFAULTTUNE as "armv7a" to produce binaries compatible with Cortex-A8
machines, etc.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agokernel: fitimage: basic support for fitimage signature
Yannick Gicquel [Wed, 27 Apr 2016 14:20:56 +0000 (16:20 +0200)]
kernel: fitimage: basic support for fitimage signature

This is an initial support of fitImage signature to enable U-Boot verified
boot. This feature is implemented by adding a signature tag to the
configuration section of the generated fit-image.its file.

When a UBOOT_SIGN_ENABLE variable is set to "1", the signature procedure is
activated and performs a second call to mkimage to sign the fitImage file and
to include the public key in the deployed U-Boot device tree blob. (This
implementation depends on the use of CONFIG_OF_SEPARATE in U-Boot.)

As the U-Boot device tree blob is appended in the deploy dir, a dependency
on 'u-boot:do_deploy' is added when the feature is activated.

Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agokernel: fitimage: support device tree compiler options
Yannick Gicquel [Wed, 27 Apr 2016 14:20:55 +0000 (16:20 +0200)]
kernel: fitimage: support device tree compiler options

This introduces a new variable to set the device tree compiler options while
calling mkimage ('-D' option). By default, this variable is not set but it can
be defined in a configuration file, as following example:

UBOOT_MKIMAGE_DTCOPTS = "-I dts -O dtb -p 2000"

Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agou-boot: deploy u-boot-nodtb and dtb files
Yannick Gicquel [Wed, 27 Apr 2016 14:20:54 +0000 (16:20 +0200)]
u-boot: deploy u-boot-nodtb and dtb files

This enable the deployment of u-boot-nodtb.bin and u-boot.dtb files.

Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agou-boot: basic support of dtb append for verified boot
Yannick Gicquel [Wed, 27 Apr 2016 14:20:53 +0000 (16:20 +0200)]
u-boot: basic support of dtb append for verified boot

This introduces a new uboot-sign.class to support U-Boot verified boot.

This part delivers the new class file, with related environment variables, and
a new task intended to run before do_install task and which performs the
concatenation of the u-boot-nodtb.bin and the device tree blob. The 'cat'
command used overrides the u-boot.bin in both DEPLOYDIR & build dir to
propagate the changes in later tasks (do_install, do_package, etc.)

Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoscripts/lib/argparse_oe: also change 'positional arguments' to 'arguments'
Christopher Larson [Wed, 27 Apr 2016 23:24:01 +0000 (16:24 -0700)]
scripts/lib/argparse_oe: also change 'positional arguments' to 'arguments'

This aligns with our existing 'optional arguments' to 'options' change, and
seems more intuitive for users.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoscripts/lib/argparse_oe: simplify options title change
Christopher Larson [Wed, 27 Apr 2016 23:24:00 +0000 (16:24 -0700)]
scripts/lib/argparse_oe: simplify options title change

There's no need to iterate over the action groups here, as self._optionals and
self._positionals are available.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoscripts/lib/argparse_oe: show subparser help for unrecognized args
Christopher Larson [Wed, 27 Apr 2016 23:23:59 +0000 (16:23 -0700)]
scripts/lib/argparse_oe: show subparser help for unrecognized args

As an example, `recipetool create foo bar baz` shows `recipetool: error:
unrecognized arguments: bar baz` and then displays the main help, not the help
for the create command. Fix by saving the subparser name and using it in
parse_args() to look up the subparser.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoscripts/lib/argparse_oe: show self.prog in the error message
Christopher Larson [Wed, 27 Apr 2016 23:23:58 +0000 (16:23 -0700)]
scripts/lib/argparse_oe: show self.prog in the error message

This aligns our subclassed error() with that in the original class, using
_print_message and self.prog. Also add a docstring based on the original.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agowic: use sparse_copy to preserve sparseness
Ed Bartosh [Thu, 28 Apr 2016 10:58:11 +0000 (13:58 +0300)]
wic: use sparse_copy to preserve sparseness

Used sparse_copy API in favor of dd/cp in rawcopy plugin to
preserve sparseness of the copied raw content.

[YOCTO #9099]

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agowic: use sparse_copy to copy partitions
Ed Bartosh [Thu, 28 Apr 2016 10:58:10 +0000 (13:58 +0300)]
wic: use sparse_copy to copy partitions

Copied partition images into final partitioned image using
sparse_copy API. This method preserves sparseness of the
final image. It also makes wic much faster, as unmapped
blocks of the partition images are not copied.

[YOCTO #9099]

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agowic: add sparse_copy API
Ed Bartosh [Thu, 28 Apr 2016 10:58:09 +0000 (13:58 +0300)]
wic: add sparse_copy API

In order to make wic images sparse sparse_copy function has been
copied from meta-ostro:
https://github.com/kad/meta-ostro/blob/master/meta-ostro/lib/image-dsk.py
This function uses filemap APIs to copy source sparse file into
destination file preserving sparseness.

The function has been modified to satisfy wic requirements:
parameter 'skip' has been added.

[YOCTO #9099]

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agowic: add FIEMAP and SEEK_HOLE / SEEK_DATA APIs
Ed Bartosh [Thu, 28 Apr 2016 10:58:08 +0000 (13:58 +0300)]
wic: add FIEMAP and SEEK_HOLE / SEEK_DATA APIs

In order to make wic images sparse set of APIs has been copied
from bmap-tools project.

filemap.py module is taken from bmap-tools project:
https://github.com/01org/bmap-tools/blob/master/bmaptools/Filemap.py
It implements two ways of get information about file block: FIEMAP
ioctl and the 'SEEK_HOLE / SEEK_DATA' features of the file seek
syscall.

Note that this module will be removed as soon as bmaptool utility
supports copying sparse source file into destination file (this is
already agreed with the maintainer of bmap-tools project).

[YOCTO #9099]

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agowic: moved DiskImage to direct.py
Ed Bartosh [Thu, 28 Apr 2016 10:58:07 +0000 (13:58 +0300)]
wic: moved DiskImage to direct.py

Moved DiskImage class from utils/fs_related.py to
imager/direct.py as it's only used there.

Removed fs_related module as it doesn't contain anything
except of DiskImage.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agowic: get rid of fs_related.makedirs
Ed Bartosh [Thu, 28 Apr 2016 10:58:06 +0000 (13:58 +0300)]
wic: get rid of fs_related.makedirs

Removed fs_related.makedirs as is not used anywhere. The name is
easy to confuse with os.makedirs.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agowic: get rid of inheritance Disk->DiskImage
Ed Bartosh [Thu, 28 Apr 2016 10:58:05 +0000 (13:58 +0300)]
wic: get rid of inheritance Disk->DiskImage

There is no need in this inheritance as DiskImage class
is used only in one module and no other classes are inherited.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agowic: use truncate utility to create sparse files
Ed Bartosh [Thu, 28 Apr 2016 10:58:04 +0000 (13:58 +0300)]
wic: use truncate utility to create sparse files

Used truncate instead of dd to create wic images for the
following reasons:
 - dd doesn't preserve sparseness
 - truncate syntax is much more clear
 - dd requires additional calculations of the image size
   in blocks
 - the way dd was used in the code is not always correct.
   In some cases it was writing one block to the file which makes
   it not 100% sparse.

[YOCTO #9099]

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoautotools: add default for CACHED_CONFIGUREVARS
Ross Burton [Thu, 28 Apr 2016 16:42:16 +0000 (17:42 +0100)]
autotools: add default for CACHED_CONFIGUREVARS

Ensure that this variable has a default value so that we don't get debug
messages that the variable couldn't be expanded.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agopackagegroup-core-lsb: fix whitespace in meta-qt* warnings
Joshua Lock [Thu, 28 Apr 2016 13:27:45 +0000 (14:27 +0100)]
packagegroup-core-lsb: fix whitespace in meta-qt* warnings

Without these extra space characters the messages are ill-formatted, i.e:
'The meta-qt3 layer should be added, this layer provides Qt 3.xlibraries.
Its intended use is for passing LSB tests as Qt3 isa requirement for LSB.'

Changes to:
'The meta-qt3 layer should be added, this layer provides Qt 3.x libraries.
Its intended use is for passing LSB tests as Qt3 is a requirement for LSB.'

Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agosecurity_flags: turn potential string format security issues into an error
Joshua Lock [Thu, 28 Apr 2016 13:27:44 +0000 (14:27 +0100)]
security_flags: turn potential string format security issues into an error

Add "-Wformat -Wformat-security -Werror=format-security" to the default
SECURITY_CFLAGS to catch potential security vulnerabilities due to the
misuse of various string formatting functions.

These flags are widely used in distributions such as Fedora and Ubuntu,
however we have 15 recipes in OE-Core which fail to build with these
flags included and thus the flags are removed for:
- busybox
- console-tools
- cmake
- expect
- gcc
- gettext
- kexec-tools
- leafpad
- libuser
- ltp
- makedevs
- oh-puzzles
- stat
- unzip
- zip

[YOCTO #9488]

Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agosysvinit-inittab: restrict labels to 4 chars
Stephano Cetola [Fri, 29 Apr 2016 03:01:56 +0000 (20:01 -0700)]
sysvinit-inittab: restrict labels to 4 chars

The current recipe creates inittab labels based off the device node name
of TTYs used as consoles. If those names exceed the 4 character label
limit of inittab, it will break. This change takes the last 4 chars of
the device names in order to avoid any errors.

[ YOCTO #9529 ]

Signed-off-by: Stephano Cetola <stephano.cetola@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agotoolchain-scripts: replace source built-in call
Stephano Cetola [Thu, 28 Apr 2016 20:43:27 +0000 (13:43 -0700)]
toolchain-scripts: replace source built-in call

Some shells (e.g. dash) do not support the source built-in. This
replaces it with the dot operator.

[ YOCTO #9535 ]

Signed-off-by: Stephano Cetola <stephano.cetola@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agogstreamer1.0-rtsp-server: upgrade to version 1.8.1
Carlos Rafael Giani [Thu, 28 Apr 2016 19:06:33 +0000 (21:06 +0200)]
gstreamer1.0-rtsp-server: upgrade to version 1.8.1

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agogstreamer1.0-libav: upgrade to version 1.8.1
Carlos Rafael Giani [Thu, 28 Apr 2016 19:06:32 +0000 (21:06 +0200)]
gstreamer1.0-libav: upgrade to version 1.8.1

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agogstreamer1.0-plugins-ugly: upgrade to version 1.8.1
Carlos Rafael Giani [Thu, 28 Apr 2016 19:06:31 +0000 (21:06 +0200)]
gstreamer1.0-plugins-ugly: upgrade to version 1.8.1

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogstreamer1.0-plugins-good: upgrade to version 1.8.1
Carlos Rafael Giani [Thu, 28 Apr 2016 19:06:29 +0000 (21:06 +0200)]
gstreamer1.0-plugins-good: upgrade to version 1.8.1

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogstreamer1.0-plugins-base: upgrade to version 1.8.1
Carlos Rafael Giani [Thu, 28 Apr 2016 19:06:28 +0000 (21:06 +0200)]
gstreamer1.0-plugins-base: upgrade to version 1.8.1

Patches still apply and only needed their line numbers updated, with the
exception of one backport from 1.7.1, which is no longer needed.

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogstreamer1.0: upgrade to version 1.8.1
Carlos Rafael Giani [Thu, 28 Apr 2016 19:06:27 +0000 (21:06 +0200)]
gstreamer1.0: upgrade to version 1.8.1

The gst-inspect patch no longer applies, and according to upstream, is
not needed.

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoutils.bbclass: note for deprecated base_contains
Robert Yang [Fri, 22 Apr 2016 03:21:22 +0000 (20:21 -0700)]
utils.bbclass: note for deprecated base_contains

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agooeqa/sstatetests: remove temporary DL_DIRs in noop_samesigs
Ross Burton [Mon, 25 Apr 2016 21:14:38 +0000 (22:14 +0100)]
oeqa/sstatetests: remove temporary DL_DIRs in noop_samesigs

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoattr: Remove redundant "+=" after "_append"
Robert P. J. Day [Thu, 21 Apr 2016 13:45:18 +0000 (09:45 -0400)]
attr: Remove redundant "+=" after "_append"

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agooeqa/sstatetests: add http_proxy to no-op hash test
Ross Burton [Mon, 25 Apr 2016 20:16:36 +0000 (21:16 +0100)]
oeqa/sstatetests: add http_proxy to no-op hash test

Add two values for http_proxy to verify that changing it doesn't change any
unexpected tasks.

As this causes uninative to fail to fetch, ensure that uninative is always
disabled.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agobluez5: enable out-of-tree builds
Ross Burton [Fri, 22 Apr 2016 15:16:06 +0000 (16:16 +0100)]
bluez5: enable out-of-tree builds

A patch is needed to fix a race in out-of-tree builds, and the install-ptest
logic can be simplified.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agomx: move to autotools instead of autotools-brokensep
Ross Burton [Fri, 22 Apr 2016 14:16:11 +0000 (15:16 +0100)]
mx: move to autotools instead of autotools-brokensep

Now that MX inherits gtk-doc we can also remove fix-build-dir.patch.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agomx-1.0: inherit gtk-doc
Ross Burton [Fri, 22 Apr 2016 14:08:42 +0000 (15:08 +0100)]
mx-1.0: inherit gtk-doc

9 years agometa: add comments to explain autotools-brokensep use
Ross Burton [Fri, 22 Apr 2016 14:08:26 +0000 (15:08 +0100)]
meta: add comments to explain autotools-brokensep use

9 years agocups.inc: Fix ldflags warning.
Noor Ahsan [Fri, 22 Apr 2016 12:51:11 +0000 (17:51 +0500)]
cups.inc: Fix ldflags warning.

* While building following warning comes up
QA Issue: No GNU_HASH in the elf binary: '...libcups.so.2' [ldflags]
Fix this warning by settin DSOFLAGS.

Signed-off-by: Noor Ahsan <noor_ahsan@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agowic: add help for --system-id option
Ed Bartosh [Fri, 22 Apr 2016 09:32:04 +0000 (12:32 +0300)]
wic: add help for --system-id option

Added explanation of --system-id option to the output of
wic help kickstart.

[YOCTO #9096]

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agowic: set partition system id
Ed Bartosh [Fri, 22 Apr 2016 09:32:03 +0000 (12:32 +0300)]
wic: set partition system id

Used sfdisk to set partition system id if --system-id parameter
is used for a partition in wks file.

[YOCTO #9096]

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agowic: add system_id argument to Image.add_partition
Ed Bartosh [Fri, 22 Apr 2016 09:32:02 +0000 (12:32 +0300)]
wic: add system_id argument to Image.add_partition

Added new argument to add_partition call to pass partition
system id down the stack.

[YOCTO #9096]

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agowic: add system_id attribute to Partition
Ed Bartosh [Fri, 22 Apr 2016 09:32:01 +0000 (12:32 +0300)]
wic: add system_id attribute to Partition

Added Partition.system_id attribute and initialized it
from parse result of wks option --system-id. It will be
used by the wic code below the call stack to set partition
system id.

[YOCTO #9096]

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agowic: add sfdisk to the list of utilities
Ed Bartosh [Fri, 22 Apr 2016 09:32:00 +0000 (12:32 +0300)]
wic: add sfdisk to the list of utilities

Added sfdisk -> util-linux pair to the dictionary
executable -> recipe as sfdisk is going to be used by wic
to set partition system id.

[YOCTO #9096]

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agowic: add --system-id wks option
Ed Bartosh [Fri, 22 Apr 2016 09:31:59 +0000 (12:31 +0300)]
wic: add --system-id wks option

Added new option --system-id to wks parser. The option
will be used to set partition system id.

[YOCTO #9096]

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agowic: isoimage-isohybrid: fix splash file paths
Ioan-Adrian Ratiu [Thu, 21 Apr 2016 10:10:13 +0000 (13:10 +0300)]
wic: isoimage-isohybrid: fix splash file paths

os.path.join discards the cr_workdir var contents if the path of the
second arguments is absolute.

Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoimage.bbclass: don't execute compression commands multiple times
Alexander D. Kanevskiy [Thu, 21 Apr 2016 09:47:27 +0000 (12:47 +0300)]
image.bbclass: don't execute compression commands multiple times

In case of chained conversion methods are used via COMPRESS_CMD_*
there is chance that some of steps would be executed multiple times.

[YOCTO #9482]

Signed-off-by: Alexander D. Kanevskiy <kad@kad.name>
Signed-off-by: Ross Burton <ross.burton@intel.com>