]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
8 years agogit: remove Python package (to which nothing was packaged)
Alexander Kanavin [Fri, 6 May 2016 15:00:04 +0000 (18:00 +0300)]
git: remove Python package (to which nothing was packaged)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
8 years agopython3: manipulate all of the config*/Makefile files, not just config/Makefile
Alexander Kanavin [Fri, 29 Apr 2016 11:04:43 +0000 (14:04 +0300)]
python3: manipulate all of the config*/Makefile files, not just config/Makefile

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
8 years agoavahi-ui: remove support for building a python module
Alexander Kanavin [Thu, 28 Apr 2016 13:18:59 +0000 (16:18 +0300)]
avahi-ui: remove support for building a python module

It's not used by anything and hasn't been ported to Python 3.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
8 years agosip.bbclass: remove
Alexander Kanavin [Thu, 28 Apr 2016 13:16:48 +0000 (16:16 +0300)]
sip.bbclass: remove

Nothing is requiring it in oe-core or meta-oe.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
8 years agodefault-versions.inc: drop python-related defaults
Alexander Kanavin [Mon, 25 Apr 2016 12:59:23 +0000 (15:59 +0300)]
default-versions.inc: drop python-related defaults

There is only one version of python 2.x provided, so no need
to set a preferred version.
PYTHON_BASEVERSION is now set explicitly in python-dir.bbclass and
python3-dir.bbclass, so fix up a few recipes that relied on it being
set in default-versions.inc without inheriting python-dir.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
8 years agopython3-dir.bbclass: add a separate class for Python 3
Alexander Kanavin [Mon, 25 Apr 2016 12:57:59 +0000 (15:57 +0300)]
python3-dir.bbclass: add a separate class for Python 3

This is much cleaner than sharing python-dir.bbclass between python 2
and 3 classes, and doing confusing overrides in them.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
8 years agodistutils-native-base.bbclass, distutils3-native-base.bbclass: remove
Alexander Kanavin [Mon, 25 Apr 2016 12:52:30 +0000 (15:52 +0300)]
distutils-native-base.bbclass, distutils3-native-base.bbclass: remove

These classes do not seem to be used by anything.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
8 years agopython-native, python3-native: remove the use of exported HOST_SYS and BUILD_SYS...
Alexander Kanavin [Wed, 6 Apr 2016 14:58:36 +0000 (17:58 +0300)]
python-native, python3-native: remove the use of exported HOST_SYS and BUILD_SYS variables

The code that utilized them was superseded by the code (in the same patch!)
that is utilizing STAGING_LIBDIR/STAGING_INCDIR, and wasn't correct in the
first place as HOST_SYS is not necessarily the same as the sysroot directory
name.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
8 years agorecipetool / devtool: set a fixed SRCREV by default when fetching from git
Paul Eggleton [Sun, 29 May 2016 22:21:02 +0000 (10:21 +1200)]
recipetool / devtool: set a fixed SRCREV by default when fetching from git

If fetching source from a git repository, typically within OpenEmbedded
we encourage setting SRCREV to a fixed revision, so change to do that by
default and add a  -a/--autorev option to use "${AUTOREV}" instead.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agorecipetool: create: use ${BP} for subdir for binary packages
Paul Eggleton [Sun, 29 May 2016 22:21:01 +0000 (10:21 +1200)]
recipetool: create: use ${BP} for subdir for binary packages

If we use ${BP} for the subdirectory, the default value of S will work
rather than having to have an ugly value derived from the package
file name in both places. This does mean that we have to assume the
default though (we can't just let the normal logic work because the
value of BP is the default until later on, so the replacement doesn't
work).

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agorecipetool: create: extract variable values from .deb/.ipk/.rpm
Paul Eggleton [Sun, 29 May 2016 22:21:00 +0000 (10:21 +1200)]
recipetool: create: extract variable values from .deb/.ipk/.rpm

Extract the metadata from package files and use it to set variable
values in the recipe (including recipe name and version, LICENSE,
SUMMARY, DESCRIPTION, SECTION and HOMEPAGE). For LICENSE we take care
not to step on any value determined by our license file scan; if there
is one we simply add a comment above the LICENSE setting so the user can
resolve it.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agorecipetool: create: support extracting SUMMARY and HOMEPAGE
Paul Eggleton [Sun, 29 May 2016 22:20:59 +0000 (10:20 +1200)]
recipetool: create: support extracting SUMMARY and HOMEPAGE

Allow plugins to set any variable value through the extravalues dict,
and use this to support extracting SUMMARY and HOMEPAGE values from spec
files included with the source; additionally translate "License:" to a
comment next to the LICENSE field (we have our own logic for setting
LICENSE, but it will often be useful to see what the spec file says if
one is present).

Also use the same mechanism for setting the same variables for node.js
modules; this was already supported but wasn't inserting the settings in
the appropriate place in the file which this will now do.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolib/oe/recipeutils: fix insertion of variable values
Paul Eggleton [Sun, 29 May 2016 22:20:58 +0000 (10:20 +1200)]
lib/oe/recipeutils: fix insertion of variable values

Add some more variables in appropriate places in recipe_progression such
that the patch_recipe_* functions are able to insert variables in the
right place within a recipe.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolib/oe/recipeutils: patch_recipe_lines: allow omitting trailing newlines
Paul Eggleton [Sun, 29 May 2016 22:20:57 +0000 (10:20 +1200)]
lib/oe/recipeutils: patch_recipe_lines: allow omitting trailing newlines

This function was assuming that what you wanted was that output lines
had trailing newline characters. If you're just outputting each line
verbatim to a text file then that's fine, but sometimes you start with
the assumption that the lines don't have trailing newlines; thus we
shouldn't allow for the possibility that the caller doesn't want them
and add a parameter to control it.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolib/oe/recipeutils: split out patch_recipe_lines()
Paul Eggleton [Sun, 29 May 2016 22:20:56 +0000 (10:20 +1200)]
lib/oe/recipeutils: split out patch_recipe_lines()

Split out a function from patch_recipe_file() that takes just the lines
as input so we can edit recipe lines in memory. This will be used within
recipetool to ensure we insert new values in the right place.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolinux-yocto/4.1: fix musb compilation error
Bruce Ashfield [Fri, 27 May 2016 16:18:35 +0000 (12:18 -0400)]
linux-yocto/4.1: fix musb compilation error

We had a partial musb change merged into the 4.1 tree, which resulted in:

  | kernel-source/drivers/usb/musb/musb_dsps.c:
  In function 'dsps_create_musb_pdev':
  | kernel-source/drivers/usb/musb/musb_dsps.c:750:8:
  error: 'struct musb_hdrc_config' has no member named 'maximum_speed'
  |   config->maximum_speed = usb_get_maximum_speed(&parent->dev);
  |         ^~

By backporting commit:

  9b7537642cb6a [usb: musb: set the controller speed based on the config setting]

We get our missing structure field, and we can once again build musb.

[YOCTO: #9680]

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolinux-yocto: only use intel branches for optimized platforms
Bruce Ashfield [Fri, 27 May 2016 14:32:22 +0000 (10:32 -0400)]
linux-yocto: only use intel branches for optimized platforms

Reverting the change that moved common-pc* to the intel staging
branches. This means that genericx86, qemux86*, etc, will continue
to use standard/base.

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolinux-yocto: create intel branches
Bruce Ashfield [Fri, 27 May 2016 14:32:21 +0000 (10:32 -0400)]
linux-yocto: create intel branches

To provide timely support for Intel platforms, without risking
issues with other platforms, we create intel branches from the
common variants.

i.e. We now have standard/intel, which is from standard/base

These branches will be managed like any other in the tree, and
will get common -stable, -rt, bugs and CVE updates.

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolinux-yocto:4.4: broxton backports
Bruce Ashfield [Fri, 27 May 2016 14:32:20 +0000 (10:32 -0400)]
linux-yocto:4.4: broxton backports

Integrating the following mainline backports for better Broxton
support:

Adrian Hunter (3):
      mmc: sdhci: Remove SDHCI_SDR104_NEEDS_TUNING
      mmc: mmc: Attempt to flush cache before reset
      mmc: mmc: Fix partition switch timeout for some eMMCs

Andy Shevchenko (12):
      device property: always check for fwnode type
      device property: rename helper functions
      device property: refactor built-in properties support
      device property: keep single value inplace
      device property: improve readability of macros
      device property: return -EINVAL when property isn't found in ACPI
      device property: Fallback to secondary fwnode if primary misses the property
      mfd: core: propagate device properties to sub devices drivers
      mfd: intel-lpss: Pass HSUART configuration via properties
      device property: avoid allocations of 0 length
      lib/string: introduce match_string() helper
      device property: convert to use match_string() helper

Bamvor Jian Zhang (1):
      gpiolib: do not allow to insert an empty gpiochip

Christophe RICARD (2):
      ACPI: Rename acpi_gsi_get_irq_type to acpi_dev_get_irq_type and export symbol
      ACPI / gpio: Add irq_type when a GPIO is used as an interrupt

Dasaratharaman Chandramouli (1):
      intel_idle: Support for Intel Xeon Phi Processor x200 Product Family

Gwendal Grignou (1):
      mmc: core: Do regular power cycle when lacking eMMC HW reset support

Heikki Krogerus (4):
      device property: helper macros for property entry creation
      device property: the secondary fwnode needs to depend on the primary
      device property: fwnode->secondary may contain ERR_PTR(-ENODEV)
      device property: fix for a case of use-after-free

Len Brown (2):
      intel_idle: Add SKX support
      intel_idle: add BXT support

Linus Walleij (1):
      Revert "gpio: revert get() to non-errorprogating behaviour"

Mika Westerberg (7):
      pwm: lpss: Remove ->free() callback
      pwm: lpss: Rework the sequence of programming PWM_SW_UPDATE
      device property: Take a copy of the property set
      driver core: platform: Add support for built-in device properties
      mfd: intel-lpss: Add support for passing device properties
      mfd: intel-lpss: Pass SDA hold time to I2C host controller driver
      mfd: intel-lpss: Pass I2C configuration via properties on BXT

Qipeng Zha (1):
      pinctrl: intel: make the high level interrupt working

Richard Cochran (10):
      intel_idle: remove useless return from void function.
      intel_idle: Fix a helper function's return value.
      intel_idle: Remove redundant initialization calls.
      intel_idle: Fix deallocation order on the driver exit path.
      intel_idle: Fix dangling registration on error path.
      intel_idle: Avoid a double free of the per-CPU data.
      intel_idle: Setup the timer broadcast only on successful driver load.
      intel_idle: Don't overreact to a cpuidle registration failure.
      intel_idle: Propagate hot plug errors.
      intel_idle: Clean up all registered devices on exit.

Wolfram Sang (1):
      mmc: make MAN_BKOPS_EN message a debug

qipeng.zha (1):
      pwm: lpss: Update PWM setting for Broxton

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolayer.conf: Whitelist ca-certificate dependency on openssl
Richard Purdie [Mon, 30 May 2016 14:55:54 +0000 (15:55 +0100)]
layer.conf: Whitelist ca-certificate dependency on openssl

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoca-certificates: Add openssl as a runtime dependency
Otavio Salvador [Fri, 27 May 2016 10:28:31 +0000 (07:28 -0300)]
ca-certificates: Add openssl as a runtime dependency

The update-ca-certificates script uses the c_rehash utility which is
installed by openssl. Add openssl as a runtime dependency to fulfill
the utility requirement.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoinitscripts: check if swapon/swapoff exists before executing them
Ming Liu [Thu, 26 May 2016 21:14:33 +0000 (23:14 +0200)]
initscripts: check if swapon/swapoff exists before executing them

Not all built images contain swapon/swapoff, for instance, it is
configurable with or without them in busybox. So it'd better to check if
they exist or not before executing them.

Redirecting the potential errors to /dev/null is not good enough, which
might suppress the *real* errors.

Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agouboot-sign: rebuild u-boot.img with signed dtb
George McCollister [Thu, 26 May 2016 17:27:56 +0000 (12:27 -0500)]
uboot-sign: rebuild u-boot.img with signed dtb

u-boot-nodtb.img doesn't exist so if UBOOT_SUFFIX = "img" is used
u-boot.img must be rebuilt by running make with
EXT_DTB=${DEPLOYDIR}/${UBOOT_DTB_IMAGE} then the resulting .img file must
be install to the deploy directories.

Signed-off-by: George McCollister <george.mccollister@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agou-boot: replace old-style shell syntax with the modern one
Andrew Shadura [Thu, 26 May 2016 15:13:10 +0000 (17:13 +0200)]
u-boot: replace old-style shell syntax with the modern one

Use "-n" operation instead of comparing with an "x"-ed empty string,
use $(...) notation instead of the deprecated backticks.

Signed-off-by: Andrew Shadura <andrew.shadura@collabora.co.uk>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoxcb-proto: remove stale git recipe and now redundant .inc
Ross Burton [Thu, 26 May 2016 16:05:26 +0000 (17:05 +0100)]
xcb-proto: remove stale git recipe and now redundant .inc

Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolibxcb: upgrade to 1.12
Ross Burton [Thu, 26 May 2016 15:59:28 +0000 (16:59 +0100)]
libxcb: upgrade to 1.12

Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoxcb-proto: upgrade to 1.12
Ross Burton [Thu, 26 May 2016 15:59:11 +0000 (16:59 +0100)]
xcb-proto: upgrade to 1.12

Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolibsecret: upgrade to 0.18.5
Alexander Kanavin [Thu, 26 May 2016 14:00:52 +0000 (17:00 +0300)]
libsecret: upgrade to 0.18.5

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoliburcu: upgrade to 0.9.2
Alexander Kanavin [Thu, 26 May 2016 14:00:51 +0000 (17:00 +0300)]
liburcu: upgrade to 0.9.2

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agogcr: upgrade to 3.20.0
Alexander Kanavin [Thu, 26 May 2016 14:00:50 +0000 (17:00 +0300)]
gcr: upgrade to 3.20.0

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agobabeltrace: upgrade to 1.3.2
Alexander Kanavin [Thu, 26 May 2016 14:00:49 +0000 (17:00 +0300)]
babeltrace: upgrade to 1.3.2

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agomsmtp: upgrade to 1.6.4
Alexander Kanavin [Thu, 26 May 2016 14:00:48 +0000 (17:00 +0300)]
msmtp: upgrade to 1.6.4

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agogobject-introspection.bbclass: disable introspection for -native and -nativesdk recipes
Alexander Kanavin [Thu, 26 May 2016 14:00:47 +0000 (17:00 +0300)]
gobject-introspection.bbclass: disable introspection for -native and -nativesdk recipes

It is not necessary for those targets, adds to the build time, and pulls
in the unneeded qemu-native dependency.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolib/oe/package_manager.py: Add pkgpath to dict returned by package_info
Mariano Lopez [Tue, 24 May 2016 12:44:16 +0000 (12:44 +0000)]
lib/oe/package_manager.py: Add pkgpath to dict returned by package_info

Having the package path with all the other package info allows to
reuse more code and have this information outside the package manager,
without additional processing.

[YOCTO #8536]

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agooetest.py: Add support to copy unextracted packages for runtime testing
Mariano Lopez [Tue, 24 May 2016 12:44:15 +0000 (12:44 +0000)]
oetest.py: Add support to copy unextracted packages for runtime testing

Sometimes is needed to have a package without extraction when
running a test. This patch adds the functionality.

[YOCTO #8536]

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agooetest.py: Add extract_packages() to RuntimeTestContext class
Mariano Lopez [Tue, 24 May 2016 12:44:14 +0000 (12:44 +0000)]
oetest.py: Add extract_packages() to RuntimeTestContext class

This new method extracts the content of package (RPM, DEB, or IPK)
to a directory inside of WORKDIR. The extraction is needed for later
install in the DUTs without using a package manager.

[YOCTO #8694]

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agooetest.py: Add json file support to specify packages needed in runtime tests
Mariano Lopez [Tue, 24 May 2016 12:44:13 +0000 (12:44 +0000)]
oetest.py: Add json file support to specify packages needed in runtime tests

This adds the functionality to use a json file to
specify the packages needed for a particular test.

The content of the json file is a dictionary with
dictionaries inside, using the test name as the hash.

The json file must have the same name as the class
module name and must be in the same path.

[YOCTO #7850]

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoxmlto: xmlto needs tail to run
Roy Li [Thu, 26 May 2016 09:17:19 +0000 (17:17 +0800)]
xmlto: xmlto needs tail to run

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolibgpg-error: Upgrade 1.21 -> 1.22
Jussi Kukkonen [Wed, 25 May 2016 06:38:47 +0000 (09:38 +0300)]
libgpg-error: Upgrade 1.21 -> 1.22

License checksum changes are not license changes.
Remove a patch that's in upstream now.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agognupg.org-hosted recipes: Change SRC_URI to https site
Jussi Kukkonen [Wed, 25 May 2016 06:40:26 +0000 (09:40 +0300)]
gnupg.org-hosted recipes: Change SRC_URI to https site

https version seems more reliable and in an informal test fetching
all gnupg recipes now takes <20% of the time it used to.

Define GNUPG_MIRROR in bitbake.conf so future tweaks to this are
easier. Replace some slower mirrors with the official ftp site
and another from gnupg.org mirror list.

Set UPSTREAM_CHECK_URI in all recipes that need it to
"https://gnupg.org/download/index.html" as the directory listings
are not up-to-date.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolibevdev: Upgrade 1.4.6 -> 1.5.1
Jussi Kukkonen [Tue, 24 May 2016 13:39:22 +0000 (16:39 +0300)]
libevdev: Upgrade 1.4.6 -> 1.5.1

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agogtk+: Upgrade 2.24.29 -> 2.24.30
Jussi Kukkonen [Tue, 24 May 2016 07:05:00 +0000 (10:05 +0300)]
gtk+: Upgrade 2.24.29 -> 2.24.30

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoclutter-gst-3.0: Upgrade 3.0.16 -> 3.0.18
Jussi Kukkonen [Tue, 24 May 2016 06:50:05 +0000 (09:50 +0300)]
clutter-gst-3.0: Upgrade 3.0.16 -> 3.0.18

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoclutter-1.0: Upgrade 1.24.2 -> 1.26.0
Jussi Kukkonen [Tue, 24 May 2016 06:36:35 +0000 (09:36 +0300)]
clutter-1.0: Upgrade 1.24.2 -> 1.26.0

Remove a backported patch.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agocoreutils: revert upstream commit causing havoc with ls output
Paul Gortmaker [Wed, 25 May 2016 14:10:08 +0000 (10:10 -0400)]
coreutils: revert upstream commit causing havoc with ls output

A recent commit causes ls to have the following behaviour:

   meta-overc:~$ mkdir abc
   meta-overc:~$ cd abc
   meta-overc:~/abc$ touch  aaaa bbbb 'filename with spaces'
   meta-overc:~/abc$ ls
   aaaa  bbbb  'filename with spaces'
   meta-overc:~/abc$

Note the appearance of quotation marks.  This new behaviour was
introduced as "opt-out" and not "opt-in", and further, the opt-out
suggestion causes other breakage.  More details can be found here:

  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=813164

Several large distros are reverting the change, for practical
considerations as per what can be seen above for Debian.

Here we do the same; I've marked the patch as upstream submitted
since there have been enough people vocally annoyed by this change
that it seems implausible that the coreutils team is unaware of it.

Hopefully this change here is just temporary and the coreutils team
will put the default back to the old way it was based on feedback
similar to what is recorded in the above Debian bug.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agowic: bootimg-efi: include startup.nsh if it's available
Christopher Larson [Wed, 25 May 2016 20:31:52 +0000 (13:31 -0700)]
wic: bootimg-efi: include startup.nsh if it's available

We want the system to boot on its own, rather than the user having to manually
input the correct file at the EFI prompt.

[YOCTO #9556]

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agogummiboot.bbclass: also write startup.nsh for non-iso
Christopher Larson [Wed, 25 May 2016 20:31:51 +0000 (13:31 -0700)]
gummiboot.bbclass: also write startup.nsh for non-iso

wic will be needing this for its bootimg-efi plugin.

[YOCTO #9556]

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agogrub-efi.bbclass: also write startup.nsh for non-iso
Christopher Larson [Wed, 25 May 2016 20:31:50 +0000 (13:31 -0700)]
grub-efi.bbclass: also write startup.nsh for non-iso

wic will be needing this for its bootimg-efi plugin.

[YOCTO #9556]

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolinux-firmware: update to git rev 80d463be82
Maxin B. John [Wed, 25 May 2016 14:07:40 +0000 (17:07 +0300)]
linux-firmware: update to git rev 80d463be82

- change in amdgpu firmware copyright year
- change in radeon firmware copyright year

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolibpam: update to 1.3.0
Maxin B. John [Wed, 25 May 2016 14:07:39 +0000 (17:07 +0300)]
libpam: update to 1.3.0

1.2.1 -> 1.3.0

Remove upstreamed patch:
        a) pam-no-innetgr.patch

Refreshed the following patches for 1.3.0:
        a) crypt_configure.patch
        b) pam-unix-nullok-secure.patch

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agodropbear: Remove incorrect SFTPSERVER_PATH from CFLAGS
Dominic Sacré [Wed, 25 May 2016 11:13:44 +0000 (13:13 +0200)]
dropbear: Remove incorrect SFTPSERVER_PATH from CFLAGS

Openssh now installs the sftp-server binary as /usr/libexec/sftp-server,
whereas the dropbear recipe assumes a different path.
Dropbear uses the correct path by default, so it's no longer necessary
to override SFTPSERVER_PATH via CFLAGS.

This fixes SFTP access to systems using dropbear as the SSH server.

Signed-off-by: Dominic Sacré <dominic.sacre@gmx.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agodocbook-xsl-stylesheets: Upgrade 1.78.1 -> 1.79.1
Jussi Kukkonen [Wed, 25 May 2016 10:10:39 +0000 (13:10 +0300)]
docbook-xsl-stylesheets: Upgrade 1.78.1 -> 1.79.1

* Use $PV at appropriate places in do_install
* Install some new files, avoid installing 25M of java archives
* License checksum change is just copyright years changing
* Fix the URI delegation file (that prevents fetches from
  http://docbook.sourceforge.net/ during build) to refer to a
  non-versioned directory

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agokernel: Make symbol link to vmlinuz in boot directory
He Zhe [Wed, 25 May 2016 08:47:17 +0000 (04:47 -0400)]
kernel: Make symbol link to vmlinuz in boot directory

Rename do_kernel_link_vmlinux to do_kernel_link_images and make a
symbol link to vmlinuz(if exists) for reference in arch/$arch/boot
directory.

Signen-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agokernel: Add KERNEL_IMAGETYPES to build multi types kernel at one time
He Zhe [Wed, 25 May 2016 08:47:16 +0000 (04:47 -0400)]
kernel: Add KERNEL_IMAGETYPES to build multi types kernel at one time

Add KERNEL_IMAGETYPES to support building packaging and installing
multi types of kernel images, such as zImage uImage, at one time.

KERNEL_IMAGETYPE and KERNEL_ALT_IMAGETYPE work as before.

Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agocpio: Add native variant
Mariano Lopez [Tue, 24 May 2016 12:44:18 +0000 (12:44 +0000)]
cpio: Add native variant

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agooeqa/utils/package_manager.py: Add get_package_manager()
Mariano Lopez [Tue, 24 May 2016 12:44:12 +0000 (12:44 +0000)]
oeqa/utils/package_manager.py: Add get_package_manager()

This new file just contain one function to return an OE package
manager, this depends in the current packaging method.

[YOCTO #8694]

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agooetest.py: Move getTests() outside loadTests() method
Mariano Lopez [Tue, 24 May 2016 12:44:11 +0000 (12:44 +0000)]
oetest.py: Move getTests() outside loadTests() method

The method getTests() can be useful to all the class,
not just to loadTests().

[YOCTO #8694]

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agotestexport.bbclass: Stop exporting test context
Mariano Lopez [Tue, 24 May 2016 12:44:10 +0000 (12:44 +0000)]
testexport.bbclass: Stop exporting test context

Because runexported.py instance an ExportTestContext
object, there is no need to export the data in
to reconstruct the object based in a dummy class.

[YOCTO #8478]

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agonopackages.bbclass: deltask foo_setscene
Robert Yang [Wed, 25 May 2016 09:23:58 +0000 (02:23 -0700)]
nopackages.bbclass: deltask foo_setscene

When deltask foo, also deltask foo_setscene.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolibjpeg-turbo: set SUMMARY
Paul Eggleton [Wed, 25 May 2016 03:37:14 +0000 (15:37 +1200)]
libjpeg-turbo: set SUMMARY

This recipe had a long DESCRIPTION, so add a new short SUMMARY value.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agogobject-introspection: set SUMMARY and HOMEPAGE
Paul Eggleton [Wed, 25 May 2016 03:37:13 +0000 (15:37 +1200)]
gobject-introspection: set SUMMARY and HOMEPAGE

We should at least have SUMMARY set for all recipes in OE-Core, and
there's a reasonable HOMEPAGE in this case so use it.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoargp-standalone: set SUMMARY instead of DESCRIPTION
Paul Eggleton [Wed, 25 May 2016 03:37:12 +0000 (15:37 +1200)]
argp-standalone: set SUMMARY instead of DESCRIPTION

Short descriptions should go into SUMMARY (DESCRIPTION will get the same
value if not set.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agosigning-keys: set SUMMARY instead of DESCRIPTION
Paul Eggleton [Wed, 25 May 2016 03:37:11 +0000 (15:37 +1200)]
signing-keys: set SUMMARY instead of DESCRIPTION

Short descriptions should go into SUMMARY (DESCRIPTION will get the same
value if not set.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agofts: set SUMMARY instead of DESCRIPTION
Paul Eggleton [Wed, 25 May 2016 03:37:10 +0000 (15:37 +1200)]
fts: set SUMMARY instead of DESCRIPTION

Short descriptions should go into SUMMARY (DESCRIPTION will get the same
value if not set.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agobsd-headers: set SUMMARY instead of DESCRIPTION
Paul Eggleton [Wed, 25 May 2016 03:37:09 +0000 (15:37 +1200)]
bsd-headers: set SUMMARY instead of DESCRIPTION

Short descriptions should go into SUMMARY (DESCRIPTION will get the same
value if not set.)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agodhcp: fix non-deterministic libxml2 dependency
Christopher Larson [Tue, 24 May 2016 16:28:40 +0000 (09:28 -0700)]
dhcp: fix non-deterministic libxml2 dependency

This dependency was floating, which results in non-deterministic builds. Add
a configure argument and associated PACKAGECONFIG to fix this.

The libxml dep is only needed when bind was built with a dep on libxml due to
its httpstats feature. So, when you enable the httpstats config in bind, and
want to build dhcp, be sure to also enable the bind-httpstats config in dhcp.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agogcc: Backport nios2 gcc ICE fix
Marek Vasut [Tue, 24 May 2016 13:06:48 +0000 (15:06 +0200)]
gcc: Backport nios2 gcc ICE fix

Backport a patch from mainline gcc 5 branch to fix ICE triggered
when cross-compiling libdrm for nios2 architecture. The same ICE
is fixed in gcc6 already.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agonpm: add target_arch flag to npm
Brendan Le Foll [Tue, 24 May 2016 11:12:16 +0000 (12:12 +0100)]
npm: add target_arch flag to npm

npm takes a target_arch flag which needs to be set to do some gyp compilations
correctly. It also doesn't use the same mapping as OE for target arch so a
small function is required to make the mapping work. Function is taken from
meta-nodejs

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoghostcript: Set UPSTREAM_CHECK_URI variable
Leonardo Sandoval [Tue, 24 May 2016 06:36:44 +0000 (01:36 -0500)]
ghostcript: Set UPSTREAM_CHECK_URI variable

Set UPSTREAM_CHECK_URI (a github location), so package checking system gets the
latest version of the package.

Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agosanity: check that the en_US.UTF-8 locale exists
Ross Burton [Tue, 24 May 2016 16:37:45 +0000 (17:37 +0100)]
sanity: check that the en_US.UTF-8 locale exists

Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agodiffutils: Add patch to fix gplv2 version with gcc6
Richard Purdie [Wed, 25 May 2016 14:27:52 +0000 (15:27 +0100)]
diffutils: Add patch to fix gplv2 version with gcc6

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agotcmode-default: Bump gcc
Khem Raj [Fri, 13 May 2016 16:46:52 +0000 (09:46 -0700)]
tcmode-default: Bump gcc

gcc 6.1

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolinux-yocto/4.4: integrate v4.4.11
Bruce Ashfield [Tue, 24 May 2016 15:54:00 +0000 (11:54 -0400)]
linux-yocto/4.4: integrate v4.4.11

Updating to the korg stable release.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolinux-yocto/4.4: beaglebone: build in the usb controller drivers
Bruce Ashfield [Tue, 24 May 2016 15:53:59 +0000 (11:53 -0400)]
linux-yocto/4.4: beaglebone: build in the usb controller drivers

Merging the following meta data change:

[
    In the current codes, we build the drivers for usb controller as
    modules. But for some image types, such as minimal or
    full-cmdline, these driver modules are not installed to the rootfs by
    default. This makes the using of the usb pretty inconvenience. So
    make them all builtin.

Reported-and-suggested-by: hiims <h@101.org.il>
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
]

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolinux-yocto/4.1: v4.1.24 and gcc6 powerpc fixes
Bruce Ashfield [Tue, 24 May 2016 15:53:58 +0000 (11:53 -0400)]
linux-yocto/4.1: v4.1.24 and gcc6 powerpc fixes

Bumping to the v4.1.24 -stable release, and backporting a ppc
gcc6 fix from the 4.4 kernel.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agosqlite3: update to 3.13.0
Maxin B. John [Mon, 23 May 2016 15:39:56 +0000 (18:39 +0300)]
sqlite3: update to 3.13.0

3.12.2 -> 3.13.0

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoiproute2: upgrade to 4.6.0
Maxin B. John [Mon, 23 May 2016 15:39:55 +0000 (18:39 +0300)]
iproute2: upgrade to 4.6.0

1. Refreshed musl build fix patch for 4.6.0
2. Use the bash-completion class to package the completion files.

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agomatchbox-keyboard: Upgrade
Jussi Kukkonen [Mon, 23 May 2016 12:44:08 +0000 (15:44 +0300)]
matchbox-keyboard: Upgrade

This version includes:
* french keyboard and the Caps improvements it requires
* Gtk+3 input method is now included (not enabled by default yet)

Define some additional PACKAGECONFIGs: the default configuration does
not change.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agomesa-demos: Upgrade 8.2.0 -> 8.3.0
Jussi Kukkonen [Mon, 23 May 2016 12:44:07 +0000 (15:44 +0300)]
mesa-demos: Upgrade 8.2.0 -> 8.3.0

Drop patches included in upstream and the EGL_MESA_screen_surface
extension fixes as the relevant code was removed.

Rebase other patches.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agofontconfig: Upgrade 2.11.94 -> 2.11.95
Jussi Kukkonen [Mon, 23 May 2016 12:44:06 +0000 (15:44 +0300)]
fontconfig: Upgrade 2.11.94 -> 2.11.95

Remove a backported patch.
License checksum stays the same but license location changed.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agodropbear: Upgrade 2015.71 -> 2016.73
Jussi Kukkonen [Mon, 23 May 2016 12:44:05 +0000 (15:44 +0300)]
dropbear: Upgrade 2015.71 -> 2016.73

Backport a patch to fix out-of-tree build.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agomkelfimage: fix compile issues
Christopher Larson [Mon, 23 May 2016 21:19:28 +0000 (14:19 -0700)]
mkelfimage: fix compile issues

This fixes a couple issues introduced by the previous patch. There were
a couple spots where HOST_CFLAGS needed changing to CFLAGS. This fixes builds
with security_flags.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoopenssl: Ensure SSL certificates are stored on sysconfdir
Otavio Salvador [Mon, 23 May 2016 20:45:27 +0000 (17:45 -0300)]
openssl: Ensure SSL certificates are stored on sysconfdir

Debian and other generic distributions has moved the certificates for
sysconfdir (/etc/ssl) and made the libdir content to link for it.

This provides several advantages specially for read-only
rootfs. Another benefit is that it ensures foreign implementations
(e.g: BoringSSL, from Chromium, when running with OpenSSL backend for
the certificates) to find the content correctly.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoca-certificates: Use c_rehash utility
Otavio Salvador [Mon, 23 May 2016 20:45:26 +0000 (17:45 -0300)]
ca-certificates: Use c_rehash utility

As now the c_rehash utility is available, we can use it. This removes
the patch to disable its usage allowing for a standard SSL behaviour.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoopenssl: Add Shell-Script based c_rehash utility
Otavio Salvador [Mon, 23 May 2016 20:45:25 +0000 (17:45 -0300)]
openssl: Add Shell-Script based c_rehash utility

The PLD Linux distribution has ported the c_rehash[1] utility from Perl
to Shell-Script, allowing it to be shipped by default.

1. https://git.pld-linux.org/?p=packages/openssl.git;a=blob;f=openssl-c_rehash.sh;h=0ea22637ee6dbce845a9e2caf62540aaaf5d0761

The OpenSSL upstream intends[2] to convert the utility for C however
did not yet finished the conversion.

2. https://rt.openssl.org/Ticket/Display.html?id=2324

This patch adds this script and thus removed the Perl requirement for
it.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agosstate.bbclass: Don't create symlinks, download to the correct location
Randy Witt [Mon, 23 May 2016 21:57:00 +0000 (14:57 -0700)]
sstate.bbclass: Don't create symlinks, download to the correct location

Previously the sstate was all downloaded to the same directory and then
symlinks were added in the directories that pointed to the siginfo and
sstate in the parent directory.

This change makes it so that now the files are just downloaded to the
correct location without the need for symlinks.

Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agodevtool: upgrade: clarify help text for --srcrev option
Paul Eggleton [Tue, 24 May 2016 04:18:52 +0000 (16:18 +1200)]
devtool: upgrade: clarify help text for --srcrev option

The -S / --srcrev option must be specified if fetching from a git
repository, so spell that out in the help text.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agodevtool: upgrade: tweak conflict handling
Paul Eggleton [Tue, 24 May 2016 04:18:51 +0000 (16:18 +1200)]
devtool: upgrade: tweak conflict handling

Make a couple of changes to the rebase operation:

1) Only wrap the actual rebase command in try...except since a failure
   in any of the other commands should be an error, not a warning
2) If it's a conflict (which unfortunately we can only tell by checking
   for the keyword "conflict" since git doesn't return error codes based
   on the type of error) then print a message clarifying that the user
   needs to resolve the issue themselves to finish the upgrade.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agodevtool: upgrade: handle upgrading recipes with a versioned inc file
Paul Eggleton [Tue, 24 May 2016 04:18:50 +0000 (16:18 +1200)]
devtool: upgrade: handle upgrading recipes with a versioned inc file

The gdb recipe in OE-Core has an inc file with the version in it;
since the inc file is pulled in with a "require ${PV}.inc", when
upgrading the recipe we need to also rename the inc file it will fail to
parse and the upgrade itself will fail.

Fixes [YOCTO #9574].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agouseradd: Fix infinite build loop
Richard Purdie [Mon, 23 May 2016 09:32:23 +0000 (10:32 +0100)]
useradd: Fix infinite build loop

http://git.openembedded.org/openembedded-core-contrib/commit/?id=642c6cf0b6a0371de476513162bd0cefa9c438b3
introduces a problem if the USERADD_PARAM variable has trailing
whitespace as the code infinitely loops causing build hangs.

Add a similar sed expression to $remaining to avoid this.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolinux-yocto-rt, core-image-rt*: Explicitly skip when PREFERRED_PROVIDER_virtual/kerne...
Martin Jansa [Fri, 29 Apr 2016 17:46:09 +0000 (19:46 +0200)]
linux-yocto-rt, core-image-rt*: Explicitly skip when PREFERRED_PROVIDER_virtual/kernel isn't set to linux-yocto-rt

* just like linux-yocto-dev is doing
* fixes following errors in world builds:
  ERROR: Nothing PROVIDES 'linux-yocto-rt' (but /home/jenkins/oe/world/shr-core/openembedded-core/meta/recipes-rt/images/core-image-rt-sdk.bb DEPENDS on or otherwise requires it)
  ERROR: linux-yocto-rt was skipped: PREFERRED_PROVIDER_virtual/kernel set to linux-yocto, not linux-yocto-rt
  ERROR: linux-yocto-rt was skipped: PREFERRED_PROVIDER_virtual/kernel set to linux-yocto, not linux-yocto-rt
  ERROR: Required build target 'core-image-rt-sdk' has no buildable providers.
  Missing or unbuildable dependency chain was: ['core-image-rt-sdk', 'linux-yocto-rt']

  ERROR: Nothing PROVIDES 'linux-yocto-rt' (but /home/jenkins/oe/world/shr-core/openembedded-core/meta/recipes-rt/images/core-image-rt.bb DEPENDS on or otherwise requires it)
  ERROR: linux-yocto-rt was skipped: PREFERRED_PROVIDER_virtual/kernel set to linux-yocto, not linux-yocto-rt
  ERROR: linux-yocto-rt was skipped: PREFERRED_PROVIDER_virtual/kernel set to linux-yocto, not linux-yocto-rt
  ERROR: Required build target 'core-image-rt' has no buildable providers.
  Missing or unbuildable dependency chain was: ['core-image-rt', 'linux-yocto-rt']

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoscripts/bitbake-whatchanged: migrate from optparse to argparse
Humberto Ibarra [Thu, 19 May 2016 19:51:54 +0000 (14:51 -0500)]
scripts/bitbake-whatchanged: migrate from optparse to argparse

The script bitbake-whatchanged uses optparse library, which is
deprecated since python 2.7. This migrates to argparse library.

[Yocto #9634]

Signed-off-by: Humberto Ibarra <humberto.ibarra.lopez@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agocore-image-{minimal, testmaster}-initramfs: set COMPATIBLE_HOST
Martin Jansa [Fri, 29 Apr 2016 17:46:10 +0000 (19:46 +0200)]
core-image-{minimal, testmaster}-initramfs: set COMPATIBLE_HOST

* use the same COMPATIBLE_HOST restriction as initramfs-live-install(-testfs)
  to resolve ugly error when trying to build them e.g. for ARM:

  ERROR: Nothing RPROVIDES 'initramfs-live-install-testfs' (but /home/jenkins/oe/world/shr-core/openembedded-core/meta/recipes-extended/images/core-image-testmaster-initramfs.bb RDEPENDS on or otherwise requires it)
  ERROR: initramfs-live-install-testfs was skipped: incompatible with host arm-oe-linux-gnueabi (not in COMPATIBLE_HOST)
  NOTE: Runtime target 'initramfs-live-install-testfs' is unbuildable, removing...
  Missing or unbuildable dependency chain was: ['initramfs-live-install-testfs']
  ERROR: Required build target 'core-image-testmaster-initramfs' has no buildable providers.
  Missing or unbuildable dependency chain was: ['core-image-testmaster-initramfs', 'initramfs-live-install-testfs']

  ERROR: Nothing RPROVIDES 'initramfs-live-install' (but /home/jenkins/oe/world/shr-core/openembedded-core/meta/recipes-core/images/core-image-minimal-initramfs.bb RDEPENDS on or otherwise requires it)
  ERROR: initramfs-live-install was skipped: incompatible with host arm-oe-linux-gnueabi (not in COMPATIBLE_HOST)
  NOTE: Runtime target 'initramfs-live-install' is unbuildable, removing...
  Missing or unbuildable dependency chain was: ['initramfs-live-install']
  ERROR: Required build target 'core-image-minimal-initramfs' has no buildable providers.
  Missing or unbuildable dependency chain was: ['core-image-minimal-initramfs', 'initramfs-live-install']

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoimage.bbclass: additional output in create_symlinks
Patrick Ohly [Wed, 18 May 2016 16:24:16 +0000 (19:24 +0300)]
image.bbclass: additional output in create_symlinks

When a symlink does not get created, it is useful for debugging to log
what would have been created and why it was skipped.

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoimage.bbclass: support duplicate compression types
Patrick Ohly [Wed, 18 May 2016 16:24:14 +0000 (19:24 +0300)]
image.bbclass: support duplicate compression types

When a derived distro adds a certain type, say zip, to
COMPRESSIONTYPES and later OE-core does the same, we end up with the
type being listed twice, and that would have undesired effects
(commands generated twice).

So to support such loosely coupled extension, we de-duplicated the
list of types first.

Alternatively, such a situation could also be treated as error. But that
seems unnecessary because typically commands for the same type will also
do the same thing.

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agocoreutils: Fix rootfs creation errors
Dai Caiyun [Sat, 27 Feb 2016 23:05:53 +0000 (02:05 +0300)]
coreutils: Fix rootfs creation errors

    1) error: file /usr/share/man/man1/su.1 from install of shadow-doc-4.2.1
       conflicts with file from package coreutils-doc-6.9-r5
    2) error: file /usr/share/man/man1/hostname.1 from install of net-tools-doc
       conflicts with file from package coreutils-doc-6.9-r5
    3) error: file /usr/share/man/man1/hostname.1 from install of net-tools-doc
       conflicts with file from package coreutils-doc-8.25

Signed-off-by: Dai Caiyun <daicy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agonet-tools: Fix rootfs creation errors
Dai Caiyun [Sat, 27 Feb 2016 23:03:45 +0000 (02:03 +0300)]
net-tools: Fix rootfs creation errors

1) error: file /usr/share/man/man1/hostname.1 from install of net-tools-doc
           conflicts with file from package coreutils-doc-6.9-r5
2) error: file /usr/share/man/man1/hostname.1 from install of net-tools-doc
           conflicts with file from package coreutils-doc-8.25

Signed-off-by: Dai Caiyun <daicy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoshadow: Fix rootfs creation errors
Dai Caiyun [Sat, 27 Feb 2016 23:03:12 +0000 (02:03 +0300)]
shadow: Fix rootfs creation errors

error: file /usr/share/man/man1/su.1 from install of shadow-doc-4.2.1
           conflicts with file from package coreutils-doc-6.9-r5

Signed-off-by: Dai Caiyun <daicy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agomusl: Update to latest tip
Khem Raj [Fri, 20 May 2016 14:03:30 +0000 (07:03 -0700)]
musl: Update to latest tip

Bobby Bingham (3):
      x32: remove arch-specific syscall remapping
      x32: eliminate __X32_SYSCALL_BIT constant
      deduplicate __NR_* and SYS_* syscall number definitions

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoqemu: Upgrade to 2.6.0
Marek Vasut [Fri, 20 May 2016 14:03:29 +0000 (07:03 -0700)]
qemu: Upgrade to 2.6.0

Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>