]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/log
thirdparty/openembedded/openembedded-core-contrib.git
9 years agouninative: don't try to relocate static binaries
Ross Burton [Thu, 24 Mar 2016 15:43:48 +0000 (15:43 +0000)] 
uninative: don't try to relocate static binaries

patchelf will understandably error out if there isn't a .interp section to
relocate, so don't try to relocate static binaries.

(From OE-Core rev: 2a1803e64174825d9392094ae6e680a1ac96eb4a)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolib/oe/qa: add method to check if static or dynamic linked
Ross Burton [Thu, 24 Mar 2016 15:43:47 +0000 (15:43 +0000)] 
lib/oe/qa: add method to check if static or dynamic linked

It's useful to know if a binary is statically or dynamically linked, so add a
method to determine this.

(From OE-Core rev: 96813445e6618fd8442600d81e53c448310b6e8b)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agouninative: ensure patchelf errors are visible
Ross Burton [Thu, 24 Mar 2016 15:43:46 +0000 (15:43 +0000)] 
uninative: ensure patchelf errors are visible

(From OE-Core rev: 9840bfbe7d860bdb7ad9ac444a82f95510d48c2d)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolibmad: remove use of obsolete _thumb over-ride
Andre McCurdy [Wed, 23 Mar 2016 18:00:25 +0000 (11:00 -0700)] 
libmad: remove use of obsolete _thumb over-ride

The _thumb over-ride was first used by the libmad recipe in 2006 [1],
but should have been removed in 2007, when the libmad recipe dropped
support for building for thumb [2].

 [1] http://git.openembedded.org/openembedded-core/commit/?id=f1f8c5a6a7234a7b618f98efbb3d28e414890fa9
 [2] http://git.openembedded.org/openembedded-core/commit/?id=1aa801ac7b991790dce9cb2618d0816700e52a16

(From OE-Core rev: e533e634f2ac757311f7888e764227ccdc5b0de1)

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoperf: package python modules into perf-python
Bruce Ashfield [Wed, 23 Mar 2016 15:09:04 +0000 (11:09 -0400)] 
perf: package python modules into perf-python

The scripts that are part of perf require python and supporting modules.
The existing perf-pyton dependency only brought in core python, which
left us unable to actually execute the scripts on target.

With this additional runtime dependency, we can now execte the sample
analysis scripts when perf-scripting is availble.

This is a partial fix for [YOCTO #9069], since there are still scripts
looking for non-existent modules, and those will be dealt with in
future releases.

(From OE-Core rev: 1aa2d2a5e91fddb80c792d6c2ff5fd2e80c751eb)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoperf: fix python scripts QA errors
Bruce Ashfield [Wed, 23 Mar 2016 15:09:03 +0000 (11:09 -0400)] 
perf: fix python scripts QA errors

Two QA warnings were being generated from perf, due to the location of
python scripts changing in the kernel build:

WARNING: perf-1.0-r9 do_package_qa: QA Issue:
  /usr/libexec/perf-core/scripts/python/call-graph-from-postgresql.py contained
  in package perf-python requires /usr/bin/python2, but no providers found in RDEPENDS_perf-python? [file-rdeps]

WARNING: QA Issue: /usr/libexec/perf-core/tests/attr.py_perf contained in package
  perf requires /usr/bin/python, but no providers found in its RDEPENDS [file-rdeps]

By adding libexec dir to both the tests and scripts packaging, we get the
appropriate RDEPENDS on the packages that actually contain the python scripts
(without making perf-core depend on python).

We also tweak any python scripts to use '/usr/bin/env python', rather than a
version specific python, since it won't be provided and generate a QA error.

[YOCTO #8991]

(From OE-Core rev: d7888b6d7fd1a1930013f3d4e31a2522038cdc62)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolinux-yocto/4.1: MFD backports
Bruce Ashfield [Wed, 23 Mar 2016 15:09:02 +0000 (11:09 -0400)] 
linux-yocto/4.1: MFD backports

Integrating the following series of MFD backports:

  e9b00f938e99 driver core: platform: Add support for built-in device properties
  a63ef2c57b90 mfd: core: propagate device properties to sub devices drivers
  a7e1dabefaf8 klist: implement klist_prev()
  2da2857b20b9 PM / QoS: Make it possible to expose device latency tolerance to userspace
  36b2a287373a driver core: implement device_for_each_child_reverse()
  a6c7cb3da8e7 mfd: intel-lpss: Pass HSUART configuration via properties
  1f0da901349b mfd: intel-lpss: Pass SDA hold time to I2C host controller driver
  391ec7713003 mfd: intel-lpss: Add support for passing device properties
  fe9fb6da9164 mfd: lpss: Add Broxton ACPI IDs
  702a4f1f13fd mfd: lpss: Add Intel Broxton PCI IDs
  982bcf977be4 mfd: intel-lpss: Use writeq() helper
  d35dbf0dbaa7 mfd: Add support for Intel Sunrisepoint LPSS devices

(From OE-Core rev: 79603557a1db051675e1eb2a79cf3a792fe87c01)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolinux-yocto/4.1: device property : Backport device property patches
Bruce Ashfield [Wed, 23 Mar 2016 15:09:01 +0000 (11:09 -0400)] 
linux-yocto/4.1: device property : Backport device property patches

Integrating the following mainline commits for Apollo Lake/Broxton support:

  568c4910b938 device property: always check for fwnode type
  bd2ac1821e91 device property: fallback to pset when gettng one string
  44a76bd61eed ACPI / property: Extend fwnode_property_* to data-only subnodes
  76f301877fab ACPI / property: Add support for data-only subnodes
  95010db1e8f9 ACPI / property: Add routine for extraction of _DSD properties
  3d257abeae4d device property: Return -ENXIO if there is no suitable FW interface
  15f7db3cd1d0 device property: attach 'else if' to the proper 'if'
  effb3f07966e ACPI / OF: Rename of_node() and acpi_node() to to_of_node() and to_acpi_node()
  30aa0ae9ebf0 ACPI / scan: Parse _CCA and setup device coherency
  c8b4218d1523 ACPI / property: Define a symbol for PRP0001
  3d20c5d27e99 ACPI / property: Refine consistency check for PRP0001
  f753cbe35057 device property: avoid allocations of 0 length
  6985a3d56431 device property: the secondary fwnode needs to depend on the primary
  6c23f8de37ff device property: add spaces to PROPERTY_ENTRY_STRING macro
  216b251c170c include/linux/property.h: fix build issues with gcc-4.4.4
  c579da0b4812 device property: Take a copy of the property set
  e0c7ce6ec1eb device property: Fallback to secondary fwnode if primary misses the property
  a657577af2af device property: improve readability of macros
  599f18f62daf device property: Add fwnode_property_match_string()
  03599b274370 device property: helper macros for property entry creation
  5247e6af02d6 device property: keep single value inplace
  c12af01cf0d4 device property: refactor built-in properties support
  1390c21efa11 device property: rename helper functions

(From OE-Core rev: cd4288126b01903fe69714eda772cd4f725ad43a)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolinux-yocto: ktypes/standard: Add tmpfs-posix-acl feature
Bruce Ashfield [Wed, 23 Mar 2016 15:09:00 +0000 (11:09 -0400)] 
linux-yocto: ktypes/standard: Add tmpfs-posix-acl feature

This enables the CONFIG_TMPFS_POSIX_ACL, which is wanted by things like
systemd. We also explicitly enable the features's dependencies and
options selected by the feature for clarity.

[YOCTO #9269]

(From OE-Core rev: 1f501a8f6e7b7f2d79bf2a18a8b83f413eb5cc19)

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>
9 years agolinux-firmware: Break out some additional firmware
Saul Wold [Wed, 23 Mar 2016 21:36:24 +0000 (14:36 -0700)] 
linux-firmware: Break out some additional firmware

This breaks out new firmware from the iwlwifi firmware along with the i915 graphics firmware.

(From OE-Core rev: 3c695c1db7efb0a4cef3f31cb3c4b5e96ed23363)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolinux-firmware: Clean-up and sync license data
Saul Wold [Wed, 23 Mar 2016 14:52:14 +0000 (07:52 -0700)] 
linux-firmware: Clean-up and sync license data

This re-orders the licenses to be alpha by Firmware-* license name, not by LICEN*E name.
This adds licneses that had not been in the list before.

     Firmware-adsp_sst
     Firmware-amdgpu
     Firmware-atmel
     Firmware-cavium
     Firmware-e100
     Firmware-hfi1_firmware
     Firmware-i915
     Firmware-kaweth
     Firmware-moxa
     Firmware-nvidia
     Firmware-qla1280
     Firmware-ti-keystone

(From OE-Core rev: 87a89d4e2d6b9a869bb06859e855b3688d3ba7ba)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolinux-firmware: Collapse iwlwifi firmware blobs for 7260 and 7265
Saul Wold [Wed, 23 Mar 2016 14:52:13 +0000 (07:52 -0700)] 
linux-firmware: Collapse iwlwifi firmware blobs for 7260 and 7265

There are newer blobs that are not include since we currently package
blobs independtly, this will ensure that future updates are correctly
added to the packages.

(From OE-Core rev: 23372863b511ac07ba8ee33e3677073b1c7e2417)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolinux-firmware: Update to latest HEAD
Saul Wold [Wed, 23 Mar 2016 14:52:12 +0000 (07:52 -0700)] 
linux-firmware: Update to latest HEAD

5f8ca0c Sherry Hurwitz linux-firmware: Update AMD microcode patch firmware
f6cd3d8 Kyle McMartin Merge branch 'master' of git://people.freedesktop.org/~vivijim/linux-firmware-i915
fa9baa0 Kyle McMartin Merge branch 'skl' of git://git.kernel.org/pub/scm/linux/kernel/git/vkoul/firmware
0a0c976 Tom O'Rourke linux-firmware/i915: Major GuC release for Skylake - ver 6.1
780f4ee Vinod Koul linux-firmware: intel: Update Skylake audio firmware
deb1d83 Kyle McMartin Merge branch 'master' of git://git.ti.com/wilink8-wlan/linux-firmware
9be9ff2 Emmanuel Grumbach iwlwifi: add -21.ucode to WHENCE
a9ad059 Kyle McMartin Merge tag 'iwlwifi-fw-2016-03-09' of git://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/linux-firmware
69a250d Yaniv Machani wl18xx: update firmware file
a2c354e Emmanuel Grumbach iwlwifi: add new -21.ucode for 7265D, 8260, 3168 and 8265 devices
8d1fd61 Alexandre Courbot nvidia: Add GM20B signed firmware
c4f6a36 Alexandre Courbot nvidia: Add GM200, GM204 and GM206 signed firmware
f66ecca John Fleck Update Intel OPA hfi1 firmware
b2deae5 Dmitry Tunin linux-firmware: Add AR3012 firmware
4f11252 Kyle McMartin Merge branch 'master' of git://people.freedesktop.org/~vivijim/linux-firmware-i915
2394c7d Kyle McMartin Merge branch 'skl' of git://git.kernel.org/pub/scm/linux/kernel/git/vkoul/firmware
c44bc5b Rodrigo Vivi linux-firmware: New minor DMC release for Skylake - ver1_26
f799665 Vinod Koul linux-firmware: intel: Update Skylake audio firmware
91d5dd1 Jes Sorensen rtlwifi: v19 firmware for rtl8192eu
7b1a5cb Tedd Ho-Jeong An linux-firmware: Update firmware patch for Intel Bluetooth 7260 (B3/B4)
ede3068 Tedd Ho-Jeong An linux-firmware: Update firmware patch for Intel Bluetooth 7260 (B5/B6)
4592e37 Tedd Ho-Jeong An linux-firmware: Update firmware patch for Intel Bluetooth 7265 (C0/D0)
c713cb2 Vinod Koul linux-firmware: intel: add symbolic link and file versions

(From OE-Core rev: ef8983e8d144aa7b7365142ebb8c627cb8d0ecce)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoarchiver.bbclass: Fix tar name for git repositories
Mariano Lopez [Tue, 22 Mar 2016 14:04:03 +0000 (14:04 +0000)] 
archiver.bbclass: Fix tar name for git repositories

When archiving the original source, the git repositories have the name as
they are in the $DL_DIR plus the source revision; i.e.
"git.yoctoproject.org.linux-yocto-4.4.git.89419d8b90_dadb436904.tar.gz".
This change set the tar name to $PF.tar.gz instead, to have consistency with
the others archives created by the class.

(From OE-Core rev: 3f903cb767150e316337929d72559cad6931039a)

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoarchiver.bbclass: Fix gcc-source corner case
Mariano Lopez [Tue, 22 Mar 2016 14:04:02 +0000 (14:04 +0000)] 
archiver.bbclass: Fix gcc-source corner case

Bitbake couldn't add the task ar_configured when
trying to archive the configured source for
gcc-source-${PV} recipes. This is because the task
depended in the do_configure and this task doesn't
exist for gcc-source.

This fix allows to archive configured gcc-source recipe.

(From OE-Core rev: 5be5eae2e1630a151a9f5866d60325d439150ced)

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoarchiver.bbclass: Fix use of ARCHIVER_WORKDIR and ARCHIVER_OUTDIR
Mariano Lopez [Tue, 22 Mar 2016 14:04:01 +0000 (14:04 +0000)] 
archiver.bbclass: Fix use of ARCHIVER_WORKDIR and ARCHIVER_OUTDIR

Currently do_unpack_and_patch() and do_ar_configured() are using
the ARCHIVER_OUTDIR as the ARCHIVER_WORKDIR, this lead to have
duplicated files inside the tars when using the archiver class
for patched and configured source.

(From OE-Core rev: 09dfc99a813090043262529beb6d900900e983dc)

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoarchiver.bbclass: Don't expand python functions in dumpdata
Mariano Lopez [Tue, 22 Mar 2016 14:04:00 +0000 (14:04 +0000)] 
archiver.bbclass: Don't expand python functions in dumpdata

Currently the dumpdata task expands python data in the datastore, in
some functions this causes a silent error and the task will fail.

The change also rewrite the function to make a bit clearer.

(From OE-Core rev: e3239ade430ff48e00dce47066abe8fcb990af61)

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobind: /var/cache/bind
Joe Slater [Tue, 22 Mar 2016 20:36:19 +0000 (13:36 -0700)] 
bind: /var/cache/bind

Change the ownership of /var/cache/bind to bind rather than root.

(From OE-Core rev: 6c76c9e5bb4f4bf6adfac7ccece03d7dcdea7f3d)

Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosysvinit: downgrade ALTERNATIVE_PRIORITY[mountpoint]
Richard Tollerton [Tue, 22 Mar 2016 14:49:03 +0000 (16:49 +0200)] 
sysvinit: downgrade ALTERNATIVE_PRIORITY[mountpoint]

sysvinit is objectively less maintained than util-linux or busybox, each
of which may supply its own mountpoint implementation. Adjust the
ALTERNATIVE_PRIORITY to select the sysvinit implementation as the last
resort.

(From OE-Core rev: 92c6b896e3b11283e2c313e6a2ac3497a99a13a0)

Signed-off-by: Richard Tollerton <rich.tollerton@ni.com>
Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoutil-linux: split out util-linux-mountpoint
Richard Tollerton [Tue, 22 Mar 2016 14:49:01 +0000 (16:49 +0200)] 
util-linux: split out util-linux-mountpoint

Allow mountpoint to be installed separately from the rest of util-linux,
to conserve disk space, and to minimize the impact of switching to/from
this version of mountpoint.

(From OE-Core rev: ea643811f44774dd9038d76ff01e13f33478c9cb)

Signed-off-by: Richard Tollerton <rich.tollerton@ni.com>
Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogconf: fix buildpaths QA issue
Hongxu Jia [Tue, 22 Mar 2016 12:12:44 +0000 (08:12 -0400)] 
gconf: fix buildpaths QA issue

The build paths come from debug mode, and GConf is effectively
unmaintained these days anyway. So explicitly disable debug
to fix build paths QA issue.

The minimum still keeps Glib check and assert which can result in
crashes if bad data is passed to the API.

[YOCTO #7058]

(From OE-Core rev: 63ff01539914fe36a91196c792e5404d668b6b81)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopython-pygobject: use Python 2 instead of Python 3
Ross Burton [Tue, 22 Mar 2016 20:53:51 +0000 (20:53 +0000)] 
python-pygobject: use Python 2 instead of Python 3

Ideally this would be an option but that means conditional inherits.  For now
Python 2 is clearly the default Python in oe-core so switch to Python 2 instead
of 3.

This stops python3 being pulled inadvertently into builds, and appearing in
images that have ptest-pkgs installed (via dbus-test).

(From OE-Core rev: 7ae7277a577b2732eff7812860a7c7967644e532)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosanity.bbclass: check host tool dependencies on change in NATIVELSBSTRING
Bill Randle [Tue, 22 Mar 2016 17:23:18 +0000 (10:23 -0700)] 
sanity.bbclass: check host tool dependencies on change in NATIVELSBSTRING

When a user upgrades their host distro, it may no longer have all the
required tools installed, but this won't be caught by bitbake resulting
in possible build errors. Rather than check for installed tools on every
startup, use the NATIVELSBSTRING change as indicator to rescan for host
tool dependencies. Store the NATIVELSBSTRING in the sanity_info file.

[YOCTO #8585]

(From OE-Core rev: e838b581397bbea9a0f4d74648fcc250073db1ae)

Signed-off-by: Bill Randle <william.c.randle@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolibunwind: Fix build with fstack-protector on musl
Khem Raj [Tue, 22 Mar 2016 17:06:07 +0000 (17:06 +0000)] 
libunwind: Fix build with fstack-protector on musl

libunwind makery inserts -nostdlib during linking
which fails the build on musl when security flags are enabled
since it remove ssp from linking, so add them explicitly
to SECURITY_LDFLAGS

disable tests for musl targets, tests use obsolete
posix APIs e.g. getcontext

patchout x86_local_resume() on x86, gets a working
linunwind on x86, it seems that it wont work even
in glibc case but lets leave it as it is for glibc
and apply the patch only for musl

(From OE-Core rev: c8ac9d483f6e1cfca82dad8cf3e0745935e96214)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoltp: Fix build on x86/musl
Khem Raj [Tue, 22 Mar 2016 15:54:23 +0000 (15:54 +0000)] 
ltp: Fix build on x86/musl

In last patch it covered out the non-glibc case well
but did not define else case, when __GLIBC__ is not
defined, as a result errors like

| getcpu01.c:107:41: error: use of undeclared identifier 'sys_support'
|         if (((tst_kvercmp(2, 6, 20)) < 0) || !(sys_support)) {

appeared, fixed it with this updated patch

(From OE-Core rev: 04cbc4834076fef6b46af4c5c66046862de7634d)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopackage.bbclass: Treat .node files same as .so when checking what to strip
Brendan Le Foll [Tue, 22 Mar 2016 09:53:34 +0000 (09:53 +0000)] 
package.bbclass: Treat .node files same as .so when checking what to strip

Typically in a node/npm compiled modules the module is named .node. This is a
binary module without a wrapper so it can actually be relatively large if
unstripped.

(From OE-Core rev: d14bc2667575bc0e29b9e90d80c01703639b76f1)

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobootimg.bbclass: only inherit syslinux when pcbios
Robert Yang [Tue, 22 Mar 2016 09:48:21 +0000 (02:48 -0700)] 
bootimg.bbclass: only inherit syslinux when pcbios

syslinux.bbclass should not be seen when use efi.

(From OE-Core rev: f994eef0aeae861857756d3cc05c49cca17bd12b)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogrub-efi.bbclass: make it can build vm and live together
Robert Yang [Tue, 22 Mar 2016 09:48:20 +0000 (02:48 -0700)] 
grub-efi.bbclass: make it can build vm and live together

* Make it can build vm and live (e.g., iso + vmdk) together as we did
  for syslinux.
* GRUBCFG -> GRUB_CFG as other GRUB_FOO vars

(From OE-Core rev: e38039e43f22d55a443064efa91752e2943fda79)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobootimg.bbclass: fix settings for grub-efi.bbclass
Robert Yang [Tue, 22 Mar 2016 09:48:19 +0000 (02:48 -0700)] 
bootimg.bbclass: fix settings for grub-efi.bbclass

Fixed:
- Found potential conflicted var LABELS ...
  Set LABELS to "boot install" would build out broken images when build
  vm + live together, use set_live_vm_vars() to fix the problem.

- Use ROOT and LABEL in boot-directdisk.bbclass and image-foo.bbclass,
  they are not only used by syslinux.bbclass, but also grub-efi.bbclass,
  add "SYSLINUX_" prefix would mislead users.

(From OE-Core rev: d7d1e0193c94abb1cd2daf1c298c8c1788f3616d)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopixz: Fix build on big-endian/musl systems
Khem Raj [Tue, 22 Mar 2016 07:56:17 +0000 (07:56 +0000)] 
pixz: Fix build on big-endian/musl systems

(From OE-Core rev: 364f625480dca41d2902e209e4bfb675b1a93dce)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosanity.bbclass cleanup
Bill Randle [Mon, 21 Mar 2016 20:24:33 +0000 (13:24 -0700)] 
sanity.bbclass cleanup

Limit search for a version var name to start at the beginning of a line,
otherwise, if the var name is used in a comment, that comment line will
be replaced, rather than the desired assignment line.
Move bblayer update message into function where it's actually updated,
rather than assuming all successful config file update are to the
bblayers.conf file.
Replace a stray tab with spaces for consistency.

[Fixes YOCTO #9318]

(From OE-Core rev: 7c1e53bb802f021f06231243077d0e007a64274c)

Signed-off-by: Bill Randle <william.c.randle@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agomatchbox-wm: Update to fix XChangeProperty datatype issue
Jussi Kukkonen [Mon, 21 Mar 2016 19:43:18 +0000 (21:43 +0200)] 
matchbox-wm: Update to fix XChangeProperty datatype issue

This brings us to master HEAD and adds a single commit
compared to the previous version:
  8178e70 ewmh: Fix data type of a few XChangeProperty calls

This fixes broken Home-button in matchbox panel on mips64 (and
probably other platforms).

[YOCTO #9284]

(From OE-Core rev: b5ed789a6fe2d395b74a073c28060eb0f5a04a1b)

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agomatchbox-panel-2: Fix Home-button icon load issue
Jussi Kukkonen [Mon, 21 Mar 2016 19:43:17 +0000 (21:43 +0200)] 
matchbox-panel-2: Fix Home-button icon load issue

Home (showdesktop) button sometimes did not load the icon because
the active state was never initialized. Backport fix for this issue.

[YOCTO #9026]

(From OE-Core rev: 556da4760e2bf4afa1c825b927b62314174632eb)

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogstreamer1.0: fix introspection support also for git recipes
Alexander Kanavin [Mon, 21 Mar 2016 16:40:09 +0000 (18:40 +0200)] 
gstreamer1.0: fix introspection support also for git recipes

This is generally done by moving necessary patches to common
include files, and a few other fixes.

(From OE-Core rev: 2b81ea383029a55168e1fb8016f64f04643d39a8)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogstreamer1.0-plugins-bad: fix incorrect handling of Cflags in gstreamer-gl.pc file
Alexander Kanavin [Mon, 21 Mar 2016 16:40:08 +0000 (18:40 +0200)] 
gstreamer1.0-plugins-bad: fix incorrect handling of Cflags in gstreamer-gl.pc file

Cflags had GL_CFLAGS appended, which contained full sysroot path to libdrm include;
generally such dependencies should be handled by pkgconfig's Requires facility.
It's unlikely that this .pc file is used by anything, but it was causing a QA error.

(From OE-Core rev: 67fc36615351dff37516ee6c9239025198379112)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agox86-base.inc: suggest the latest kernel
Maxin B. John [Mon, 21 Mar 2016 15:57:08 +0000 (17:57 +0200)] 
x86-base.inc: suggest the latest kernel

Use latest 4.x kernel instead of 3.x version

(From OE-Core rev: 138a03308fb24936466beb082b350d872ad423a6)

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoat: fix configure option with/without-selinux
Wenzong Fan [Mon, 21 Mar 2016 02:10:19 +0000 (22:10 -0400)] 
at: fix configure option with/without-selinux

without-selinux doesn't work since WITH_SELINUX is always be defined no
matter which option is given: with-selinux, without-selinux.

This causes build errors if '--without-selinux' is used and libselinux
is not buildable in project:

  atd.c:87:29: fatal error: selinux/selinux.h: No such file or directory

(From OE-Core rev: f1f676cf720b869999553eecdb113a2a2daa61fe)

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agono-static-libs: just like target and native, nativesk-libcap doesn't like unrecognise...
Ross Burton [Wed, 16 Mar 2016 14:01:42 +0000 (14:01 +0000)] 
no-static-libs: just like target and native, nativesk-libcap doesn't like unrecognised options

(From OE-Core rev: 79ec2ec397a35d6405f9c2b3c67e8b9981fbe7be)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolinux-firmware: package firmware for Marvell 88W8688
Jens Rehsack [Wed, 16 Mar 2016 09:35:18 +0000 (10:35 +0100)] 
linux-firmware: package firmware for Marvell 88W8688

According to error messages from guruplug

[   35.826441] btmrvl_sdio mmc0:0001:2: Direct firmware load for mrvl/sd8688_helper.bin failed with error -2
[   35.903291] Bluetooth: request_firmware(helper) failed, error code = -2
[   35.909942] Bluetooth: Failed to download helper!
[   36.052820] Bluetooth: Downloading firmware failed!
...
[  764.422739] libertas_sdio: Libertas SDIO driver
[  764.438213] libertas_sdio: Copyright Pierre Ossman
[  764.461186] libertas_sdio mmc0:0001:1: Direct firmware load for libertas/sd8688_helper.bin failed with error -2
[  764.488234] libertas_sdio mmc0:0001:1: Direct firmware load for sd8688_helper.bin failed with error -2
[  764.507382] libertas_sdio: failed to find firmware (-2)

and http://wiki.beyondlogic.org/index.php?title=GuruPlug_Libertas_SD8688,
package the firmware files for Marvell 88W8688, too.

(From OE-Core rev: 5a5a6cab382e003cc5debb0b9af18d5f0ea3ce39)

Signed-off-by: Jens Rehsack <sno@netbsd.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agotune-arm926ejs: Handle missing thumb suffix
Jens Rehsack [Wed, 16 Mar 2016 09:34:22 +0000 (10:34 +0100)] 
tune-arm926ejs: Handle missing thumb suffix

When enabling tune for arm926ejs, poky optionally appends suffixes for
thumb and dsp support. Since sometimes arm926ejse (ARM code) and sometime
arm926ejste (thumb code) is used in PACKAGE_ARCH, allow both.

(From OE-Core rev: dbd7fd1cbbc3e7003a48542642acdc80dca3f514)

Signed-off-by: Jens Rehsack <sno@netbsd.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agonativesdk-coreutils: a lot of warnings fixed
Dengke Du [Wed, 16 Mar 2016 02:49:13 +0000 (22:49 -0400)] 
nativesdk-coreutils: a lot of warnings fixed

When we create nativesdk-coreutils, a lot of warnings appear,it
show many files can't find. Because in the coreutils recipe, it
didn't contain the do_install for the nativesdk, so when the
alternative system check the files in the following process, it
can't find the files. So we should add the do_install for the
nativesdk, change the function do_install_append_class-target() to
do_install_append() in the file:
meta/recipes-core/coreutils/coreutils_8.25.bb
in this way, the alternative system can find the files, the warnings
disappear.

(From OE-Core rev: 37039da6a09d7781beb93892932488940786b41f)

Signed-off-by: Dengke Du <dengke.du@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agorunqemu-internal: split the code into functions
Robert Yang [Thu, 10 Mar 2016 02:09:19 +0000 (18:09 -0800)] 
runqemu-internal: split the code into functions

Use config_<machine> to split the code into separate functions, so that
different machines won't affect each other, and they will have a better
structure.

(From OE-Core rev: 6098a72e8d21f6321636e727703ca7c29d9af142)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agorunqemu-internal: cleanup unsed code
Robert Yang [Thu, 3 Mar 2016 03:37:45 +0000 (19:37 -0800)] 
runqemu-internal: cleanup unsed code

* remove akita and spitz related code
  They are not supported by runqemu anymore:
  $ runqemu spitz
  Error: unable to classify arg [spitz]
  So remove related code.

* Remove checking of 256M for qemuarm, qemu can check it, for example:
  $ runqemu qemuarm qemuparams="-m 1024"
  [snip]
  qemu: Too much memory for this machine: 1024 MB, maximum 256 MB
  [snip]

(From OE-Core rev: 36fb785bf8cd2f387c91d52f597602a5dbc3948b)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agorunqemu: simplify checking for iso and ramfs
Robert Yang [Thu, 3 Mar 2016 01:50:05 +0000 (17:50 -0800)] 
runqemu: simplify checking for iso and ramfs

(From OE-Core rev: 69a1fca4374797dea56035ce56a17441a2ca9280)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agorunqemu: add support for qcow2 and vdi
Robert Yang [Wed, 2 Mar 2016 08:45:04 +0000 (00:45 -0800)] 
runqemu: add support for qcow2 and vdi

[YOCTO #9168]

(From OE-Core rev: 0f8306c77b4ebed1ff127b0786b7109abf0d57cd)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agorunqemu: remove ISO and RAMFS from help text
Robert Yang [Wed, 2 Mar 2016 09:01:23 +0000 (01:01 -0800)] 
runqemu: remove ISO and RAMFS from help text

They don't work, and the script can check the type correctly.

(From OE-Core rev: b5cc1e70dbd5df160ddedcaa40d0ab714a307561)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agorunqemu: simplify the checking for vm images
Robert Yang [Wed, 2 Mar 2016 07:40:40 +0000 (23:40 -0800)] 
runqemu: simplify the checking for vm images

* So that we can add more image support easliy.
* I think that wic should be vm images.

(From OE-Core rev: 82d0014a0e1526ffa1ff7c8ea3903aeae31bada4)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agorunqemu: fix ROOTFS for vmdk
Robert Yang [Fri, 26 Feb 2016 02:06:26 +0000 (18:06 -0800)] 
runqemu: fix ROOTFS for vmdk

* Make it can boot scsi and virtio block drive such as root=/dev/sdX and
  /dev/vdX.

* Drop VM from help info, id doesn't work, and the script can check
  whether it is a vm disk or not.

* Make it can be run by:
  $ runqemu tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64.vmdk
  or:
  $ runqemu qemux86-64 vmdk

[YOCTO #9170]

(From OE-Core rev: 88c081b10902ec52928be78ad320c474bb918e01)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopython(3): Disable tkinter
Martin Jansa [Mon, 21 Mar 2016 10:01:28 +0000 (11:01 +0100)] 
python(3): Disable tkinter

* restore changes from:
  http://git.openembedded.org/openembedded-core/commit/?id=53ae544cfdac22c82af452b8c7ebe6664296bd9b
* which were shamelessly removed in upgrade to 2.7.9:
  http://git.openembedded.org/openembedded-core/commit/?id=d4ad95f0d5f08891637c644e85b09da9c4585059
  and then spread to python3 as well
* fixes following issues reported by test-dependencies
  WARN: python3: python3-tkinter rdepends on glibc, but it isn't a build dependency?
  WARN: python3: python3-tkinter rdepends on libpython3, but it isn't a build dependency?
  WARN: python3: python3-tkinter rdepends on tcl-lib, but it isn't a build dependency?

  WARN: python: python-tkinter rdepends on glibc, but it isn't a build dependency?
  WARN: python: python-tkinter rdepends on libpython2, but it isn't a build dependency?
  WARN: python: python-tkinter rdepends on tcl-lib, but it isn't a build dependency?

  and following QA warnings in normal builds:
  python-2.7.11: python-tkinter rdepends on tcl-lib, but it isn't a build dependency, missing tcl in DEPENDS or PACKAGECONFIG? [build-deps]
  python-2.7.11: /usr/lib/python2.7/lib-dynload/_tkinter.so contained in package python-tkinter requires libtk8.6.so, but no providers found in RDEPENDS_python-tkinter? [file-rdeps]
  python3-3.5.1: python3-tkinter rdepends on tcl-lib, but it isn't a build dependency, missing tcl in DEPENDS or PACKAGECONFIG? [build-deps]
  python3-3.5.1: /usr/lib/python3.5/lib-dynload/_tkinter.cpython-35m-arm-linux-gnueabi.so contained in package python3-tkinter requires libtk8.6.so, but no providers found in RDEPENDS_python3-tkinter? [file-rdeps]

(From OE-Core rev: 8cc5e36cd7978186d5ea1fe8af2f2bd6b3df8885)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoselftest/signing.py: RPM_GPG_PASSPHRASE_FILE -> RPM_GPG_PASSPHRASE
Robert Yang [Mon, 21 Mar 2016 09:25:51 +0000 (02:25 -0700)] 
selftest/signing.py: RPM_GPG_PASSPHRASE_FILE -> RPM_GPG_PASSPHRASE

(From OE-Core rev: ce14964d99741f1a4579bae18da5013498c365fd)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogpg_sign.py: get rid of pexpect
Robert Yang [Mon, 21 Mar 2016 09:25:50 +0000 (02:25 -0700)] 
gpg_sign.py: get rid of pexpect

The python-expect is not installed on the distro such as Ubuntu by
default, and we can get rid of it.

Use RPM_GPG_PASSPHRASE to replace of RPM_GPG_PASSPHRASE_FILE which is
more straightforward.

(From OE-Core rev: 4a8a74c62836a20610daf029d4cec0b3087758b2)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agorpm: check _gpg_passphrase before ask for input
Robert Yang [Mon, 21 Mar 2016 09:25:49 +0000 (02:25 -0700)] 
rpm: check _gpg_passphrase before ask for input

rpm always asked for pass phrasae when add signature, which made it
can't work non-interactively, this patch fix the problem. It will work
non-interactively if _gpg_passphrase is defined, and work as before if
not.

(From OE-Core rev: 3cd4f96e94d8756d332b13215ce3ac2e1eaddee7)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agooe-publish-sdk: fix remote publishing
Paul Eggleton [Mon, 21 Mar 2016 05:14:08 +0000 (18:14 +1300)] 
oe-publish-sdk: fix remote publishing

A typo in the command prevented the last part of the publish from
succeeding.

(From OE-Core rev: 5d51bd1f02fb20e02d0de0ac9874d7f9a6f5ddc6)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agooe-publish-sdk: improve help output slightly
Paul Eggleton [Mon, 21 Mar 2016 05:14:07 +0000 (18:14 +1300)] 
oe-publish-sdk: improve help output slightly

This was just copy-and-pasted from devtool - set a reasonable
description and tweak the sdk parameter help text.

Also add a copyright statement and drop the opening comment describing
the command-line syntax that duplicated the help output (with at least
one mistake in it).

(From OE-Core rev: b18f9cb62e12d068fb840fd7ab9f35b4f039e649)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agooe-publish-sdk: drop SDK installer file from published output
Paul Eggleton [Mon, 21 Mar 2016 05:14:06 +0000 (18:14 +1300)] 
oe-publish-sdk: drop SDK installer file from published output

We don't really need the SDK installer in the published output, for two
reasons:

1) The directory produced is for the consumption of devtool sdk-update,
   and the installer isn't used by that at all
2) It wouldn't really make sense to point users at the update directory
   to download the SDK installer because it contains a bunch of things
   that aren't meant for manual download, so it wouldn't be very tidy.

Leaving the file present can mislead you into thinking the opposite of
both of the above.

(From OE-Core rev: a9ec72b7897ffc0b901c1ccbcbe3cabbc7ac41ee)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agodevtool: add: create git repository if URL specified as positional argument
Paul Eggleton [Mon, 21 Mar 2016 05:14:05 +0000 (18:14 +1300)] 
devtool: add: create git repository if URL specified as positional argument

When we add from a fetched URL we are supposed to turn the resulting
source tree into a git repository (if it isn't already one). However, we
were using the older deprecated option name here instead of the
positional argument, so "devtool add -f <url>" resulted in the repo
being created but "devtool add <url>" didn't, which was wrong.

Also update the oe-selftest tests to check that this worked.

(From OE-Core rev: a7b6b1f8cc1c096724f794ac9dee312b0f771f66)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agodevtool: add: delete externalsrc files on npm recipe do_install
Paul Eggleton [Mon, 21 Mar 2016 05:14:04 +0000 (18:14 +1300)] 
devtool: add: delete externalsrc files on npm recipe do_install

The npm class just installs whatever is in ${S}; if you're using
externalsrc in conjunction with it the symlinks (oe-workdir and oe-logs
by default) plus singletask.lock will end up in the final package, which
isn't really right. Introduce a variable so we know the path the files
will be installed into within npm.bbclass, and append to do_install
within the workspace bbappend to delete the files.

(From OE-Core rev: 766845e06db9d7d595e836ea1364c16fa132a413)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agodevtool: configure-help: fix error if do_configure not already run
Paul Eggleton [Mon, 21 Mar 2016 05:14:03 +0000 (18:14 +1300)] 
devtool: configure-help: fix error if do_configure not already run

The code here for running do_configure if it hadn't already been run was
using the wrong string substitution parameters; fix it and test it.

(From OE-Core rev: b2677a4448dbc42e523c731b953b44006749252c)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake.conf: whitelist proxy variables in config hash
Paul Eggleton [Mon, 21 Mar 2016 05:14:02 +0000 (18:14 +1300)] 
bitbake.conf: whitelist proxy variables in config hash

We don't need these variables incorporated in the config hash (i.e. we
don't need to reparse if they change).

This fixes an issue with the extensible SDK where the cache generated
at installation time not to be used afterwards due to the way we're
allowing through the proxy variables into the install environment (such
that they get set to "" if not set externally).

(From OE-Core rev: 3dc7c58b7b3224f3ed2d59d95313e70e4c57d7c4)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoclasses/populate_sdk_ext: parse metadata on minimal SDK install
Paul Eggleton [Mon, 21 Mar 2016 05:14:01 +0000 (18:14 +1300)] 
classes/populate_sdk_ext: parse metadata on minimal SDK install

Instead of skipping the build system preparation step within the
extensible SDK install process when SDK_EXT_TYPE is "minimal", run
bitbake -p so that the cache is populated ready for the first time
devtool is run.

(From OE-Core rev: 6b38a991a3475fb82889428b94563968c7570473)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agodevtool: sdk-install: add option to allow building from source
Paul Eggleton [Mon, 21 Mar 2016 05:14:00 +0000 (18:14 +1300)] 
devtool: sdk-install: add option to allow building from source

By default the sdk-install subcommand expects to restore the requested
items from sstate and fails if it can't. If the user is OK with building
from source, add a -s/--allow-build option to allow them to do that. In
the process, ensure we show the status output while we're installing.

Also add the missing header to the top of the file.

(From OE-Core rev: a86b426cdd465ec5cb08bb5fa7729e4e673d94bb)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoclasses/distutils*: don't hide logs when setup script fails
Paul Eggleton [Mon, 21 Mar 2016 05:10:58 +0000 (18:10 +1300)] 
classes/distutils*: don't hide logs when setup script fails

We need to see the output of the setup script in the error message
because what we are having bbfatal print here doesn't completely
describe what went wrong, thus we should use bbfatal_log here and not
bbfatal.

(From OE-Core rev: 970a02061b474a238f57cd0cc4db7b62e36dfa3d)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoclasses/packagegroup: drop complementary -ptest if ptest not in DISTRO_FEATURES
Paul Eggleton [Mon, 21 Mar 2016 05:10:57 +0000 (18:10 +1300)] 
classes/packagegroup: drop complementary -ptest if ptest not in DISTRO_FEATURES

If ptest isn't in DISTRO_FEATURES, there won't be any -ptest packages
and thus no need for the -ptest package for the packagegroup either.

(From OE-Core rev: 52f9b12601c02f1585438f890f847b4596170362)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoclasses/packagegroup: fix dbg/dev/ptest complementary packages
Paul Eggleton [Mon, 21 Mar 2016 05:10:56 +0000 (18:10 +1300)] 
classes/packagegroup: fix dbg/dev/ptest complementary packages

OE-Core commit 8981ed20234c42dc1f5cdef802ebe7214bd55238 (from 2013)
caused a regression where -dbg/-dev/-ptest packages weren't generated
for packagegroups because we weren't setting ALLOW_EMPTY for them.
Break out the code for adding complementary groups to its own
conditional so we can set ALLOW_EMPTY at the same time.

(From OE-Core rev: 340e9d619c881f320070474d5c4674dcaeabad35)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: bitbake: xmlrpc: set single use mode differently
Ed Bartosh [Thu, 17 Mar 2016 11:34:23 +0000 (11:34 +0000)] 
bitbake: bitbake: xmlrpc: set single use mode differently

Currently xmlrpc server implicitly sets itself into single use mode
when bitbake server is started with anonymous port (0) or no port is
provided in command line. In this mode bitbake shuts down xmlrpc server
after build is done. This assumption is incorrect in some cases.
For example Toaster uses bitbake in this mode and expects xmlrpc server
to stay in memory.

Till recent changes single use mode was always unset due to the bug.
When the bug was fixed it broke toaster builds as Toaster couldn't
communicate with bitbake server in single use mode.

Reimplemented logic of setting single use mode. The mode is explicity
set when --server-only command line parameter is not provided to bitbake.
It doesn't depend on the port number anymore.

[YOCTO #9275]
[YOCTO #9240]
[YOCTO #9252]

(Bitbake rev: afc0dd5c532684f6201b1e12bbf4c226ea19062d)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosdk-manual: Added note for running remote apps with SSH port forw enabled.
Scott Rifenbark [Wed, 23 Mar 2016 17:38:41 +0000 (10:38 -0700)] 
sdk-manual: Added note for running remote apps with SSH port forw enabled.

I added the following note in the section that deals with running
Eclipse with a remote application.

Fixes [YOCTO #9276]

Currently, Eclipse does not support SSH port forwarding.
Consequently, if you need to run or debug a remote
application using the host display, you must create a
tunneling connection from outside Eclipse and keep
that connection alive during your work.
For example, in a new terminal, run the following:

     ssh -XY user_name@remote_host_ip

After running the command, add the command to be executed
in Eclipse's run configuration before the application
as follows:

     export DISPLAY=:10.0

(From yocto-docs rev: 7bf2875ff1653a8e50fa8e2bba540b2eb2512d2d)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopoky.ent: Added code name for 2.1 release to the variable
Scott Rifenbark [Wed, 23 Mar 2016 17:37:07 +0000 (10:37 -0700)] 
poky.ent: Added code name for 2.1 release to the variable

Krogoth

(From yocto-docs rev: 619c704632e9316d4953fbccab0416460cdc9a00)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosdk-manual: Applied more review edits to the manual per Eggleton.
Scott Rifenbark [Wed, 23 Mar 2016 15:46:27 +0000 (08:46 -0700)] 
sdk-manual: Applied more review edits to the manual per Eggleton.

(From yocto-docs rev: 8987852ad23e8a4694be55425e2c76bcd4301850)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoref-manual: Created distrodata and checkpkg tasks, updated distrodata class
Scott Rifenbark [Tue, 22 Mar 2016 19:10:18 +0000 (12:10 -0700)] 
ref-manual: Created distrodata and checkpkg tasks, updated distrodata class

Fixes [YOCTO #7894]

I created two new task reference sections: distrodata and
checkpkg.  Also, updated the distrodata class description to
reflect the presence of these new tasks.

(From yocto-docs rev: 3896cbf640d296dafb5eda37f89bba31a47ca8a5)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosdk-manual: Applied 2nd round of review edits.
Scott Rifenbark [Tue, 22 Mar 2016 16:49:33 +0000 (09:49 -0700)] 
sdk-manual: Applied 2nd round of review edits.

(From yocto-docs rev: 046b8ed69e0c6403f455e2ec8a0ccc30aea894de)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosdk-manual: Applied review edits to the manual.
Scott Rifenbark [Tue, 22 Mar 2016 01:09:13 +0000 (18:09 -0700)] 
sdk-manual: Applied review edits to the manual.

(From yocto-docs rev: be853fb74b28bcf1b27b3b7a8e83012928d4e53a)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosdk-manual: Updated the SDK devtool modify flow diagram.
Scott Rifenbark [Tue, 22 Mar 2016 01:08:29 +0000 (18:08 -0700)] 
sdk-manual: Updated the SDK devtool modify flow diagram.

(From yocto-docs rev: 0fa48508dc6da53f4611d41fee9aa946de6cf07b)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agodev-manual: Fixed a grammar error
Scott Rifenbark [Tue, 22 Mar 2016 01:07:22 +0000 (18:07 -0700)] 
dev-manual: Fixed a grammar error

(From yocto-docs rev: 7b81f29a641cad4f10c3c721c0d40ce11d928648)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosdk-manual, mega-manual: Updated the SDK devtool modify diagram
Scott Rifenbark [Tue, 22 Mar 2016 01:06:36 +0000 (18:06 -0700)] 
sdk-manual, mega-manual: Updated the SDK devtool modify diagram

Removed the bitbake option and the TMPDIR terminology.

(From yocto-docs rev: c543e00eeb9e9a8074dfb195c971c37c095ecbdd)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agodev-manual, profile-manual, ref-manual: Updates to remove meta-toolchain
Scott Rifenbark [Mon, 21 Mar 2016 22:04:06 +0000 (15:04 -0700)] 
dev-manual, profile-manual, ref-manual: Updates to remove meta-toolchain

The term "meta-toolchain" is legacy now.  I went through and removed
its use except for where it appears still as output from the
oe-init-build-env script.

(From yocto-docs rev: 1cc134060459278997d57f1293f54091c5404d85)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosdk-manual: Edits to add extensible SDK configuration sections.
Scott Rifenbark [Mon, 21 Mar 2016 21:25:47 +0000 (14:25 -0700)] 
sdk-manual: Edits to add extensible SDK configuration sections.

(From yocto-docs rev: 378bbceb8ea06c225c4758807e25a35521faa3a9)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoref-manual, sdk-manual: Changed section heading.
Scott Rifenbark [Mon, 21 Mar 2016 16:01:11 +0000 (09:01 -0700)] 
ref-manual, sdk-manual: Changed section heading.

Changed the heading for "Optionally Building a Toolchain
Installer" to "Building an SDK Installer".  This changes the
heading and many references to that heading.

(From yocto-docs rev: 97d8cd34d0dd0993b1b1135bb75f2212bb46878a)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoref-manual: Added some SDK manual support to introduction
Scott Rifenbark [Mon, 21 Mar 2016 15:47:26 +0000 (08:47 -0700)] 
ref-manual: Added some SDK manual support to introduction

(From yocto-docs rev: 6021a1024b51ab65659e132870eb75d1bf53aedb)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoprofile-manual: Updated screen output for oe-init-build-env
Scott Rifenbark [Fri, 18 Mar 2016 00:15:33 +0000 (17:15 -0700)] 
profile-manual: Updated screen output for oe-init-build-env

(From yocto-docs rev: 36029fbcb03487ece65c7c43d9bf1bf20b4fc308)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agokernel-dev: Changed a link from an example to in-text.
Scott Rifenbark [Fri, 18 Mar 2016 00:07:03 +0000 (17:07 -0700)] 
kernel-dev: Changed a link from an example to in-text.

Better placement of this link.  It did not need to be in the
<literallayout> example.

(From yocto-docs rev: 53c33ea4cc929e016812f0d3aac0d302758dc0f8)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agodev-manual: Edits from a 2.1 read-through.
Scott Rifenbark [Thu, 17 Mar 2016 19:59:39 +0000 (12:59 -0700)] 
dev-manual: Edits from a 2.1 read-through.

* Removed some eMenlow stuff
* Cleaned up the description of the BSP structures we have now.
* Various links fixed into the SDK manual.
* Other minor fixes.

(From yocto-docs rev: 5e45005d7ff2254df2754a5ea2d7efd7f1c19a42)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopoky.ent: Fixed a typo in one of the variables "ftar" to "tar"
Scott Rifenbark [Thu, 17 Mar 2016 19:59:05 +0000 (12:59 -0700)] 
poky.ent: Fixed a typo in one of the variables "ftar" to "tar"

(From yocto-docs rev: 8ecef805bdb3493052f4d1f951e157f488d83c4d)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopoky.ent, bsp-guide: Removed eMenlow example and updated 2.1 variables
Scott Rifenbark [Thu, 17 Mar 2016 16:01:19 +0000 (09:01 -0700)] 
poky.ent, bsp-guide: Removed eMenlow example and updated 2.1 variables

Probably should have committed these separately but....

 * Updated the BSP guide to use an example that we support.
   I removed the eMenlow stuff completely.

 * Fixed poky.ent so the 15.0.0 stuff is used for the variables.
   This supports the 2.1 release.

(From yocto-docs rev: 598b261725235b6f160561db22bd9f31ec721066)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoyocto-project-qs: Performed a read-through edit.
Scott Rifenbark [Wed, 16 Mar 2016 15:10:27 +0000 (08:10 -0700)] 
yocto-project-qs: Performed a read-through edit.

 * Fixed some wordings
 * Fixed some links for consistency

(From yocto-docs rev: 9737ba3a572140bec892ffb555241a2259bd517a)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopoky.ent: Updated copyright year and version variables.
Scott Rifenbark [Wed, 16 Mar 2016 14:05:12 +0000 (07:05 -0700)] 
poky.ent: Updated copyright year and version variables.

Set year to 2016 and fixed some variables.

(From yocto-docs rev: d1e15dac45cb689c59d9301af776101336e07bf2)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agomega-manual: Added two new sections for the sdk manual
Scott Rifenbark [Tue, 15 Mar 2016 18:47:25 +0000 (11:47 -0700)] 
mega-manual: Added two new sections for the sdk manual

(From yocto-docs rev: 89bf843f13563288d556edf13fde8f6ad3c32868)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosdk-manual: Added some intro stuff about the SDK
Scott Rifenbark [Tue, 8 Mar 2016 15:49:48 +0000 (07:49 -0800)] 
sdk-manual: Added some intro stuff about the SDK

(From yocto-docs rev: 6b829c70349f42d902395a586c84fa21b53227e8)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoref-manual: Resolving a conflict
Scott Rifenbark [Wed, 9 Mar 2016 21:30:27 +0000 (13:30 -0800)] 
ref-manual: Resolving a conflict

(From yocto-docs rev: b364516928d04da38ef3188f07f190ffac64762b)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosdk-manual, mega-manual: Added new figure for Eclipse flow.
Scott Rifenbark [Sat, 5 Mar 2016 00:55:40 +0000 (16:55 -0800)] 
sdk-manual, mega-manual: Added new figure for Eclipse flow.

(From yocto-docs rev: 27150d4ed7dded90d726d91d92e4f905d365c3ba)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosdk-manual: WIP on the book.
Scott Rifenbark [Wed, 2 Mar 2016 16:48:50 +0000 (08:48 -0800)] 
sdk-manual: WIP on the book.

(From yocto-docs rev: 140577dd1f91c096152354e711709efe64bbcd0e)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosdk-manual, mega-manual, Makefile: Added new figures
Scott Rifenbark [Wed, 2 Mar 2016 16:47:44 +0000 (08:47 -0800)] 
sdk-manual, mega-manual, Makefile: Added new figures

Added a devtool add and devtool modify flow digram.  Updated
the Makefile to support those figures in the tarball creation.

(From yocto-docs rev: b40692065262dee0209329886b6e3a743c32b1bd)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoMakefile: Resolving a conflict
Scott Rifenbark [Tue, 15 Mar 2016 18:31:37 +0000 (11:31 -0700)] 
Makefile: Resolving a conflict

(From yocto-docs rev: 221b8eeee23841395b6323da0893156346dead6f)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosdk-manual: Added a new figure for installed extensible sdk directory.
Scott Rifenbark [Tue, 1 Mar 2016 15:45:10 +0000 (07:45 -0800)] 
sdk-manual: Added a new figure for installed extensible sdk directory.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosdk-manual: Applied some "red" text formatting to indicate notes
Scott Rifenbark [Tue, 26 Jan 2016 22:57:15 +0000 (14:57 -0800)] 
sdk-manual: Applied some "red" text formatting to indicate notes

I am using "red" text to indicate sections of the manual that
are my development notes.

(From yocto-docs rev: 95b432d852ac3248874a2a958d4a80e59187f062)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoMakefile: Added the ".png" part to a figure I forgot.
Scott Rifenbark [Tue, 26 Jan 2016 18:28:58 +0000 (10:28 -0800)] 
Makefile: Added the ".png" part to a figure I forgot.

I left off the file extension when I added a new figure to the
SDK manual.  This caused the tarball to fail.

(From yocto-docs rev: f1984b00b44ad7f1890adecdb7e2f6dd4af5b96c)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosdk-manual: Added a red-text "role" to the style sheet.
Scott Rifenbark [Tue, 26 Jan 2016 18:26:19 +0000 (10:26 -0800)] 
sdk-manual: Added a red-text "role" to the style sheet.

This allows you to use the following to make a paragraph display
using red-colored text:

  <para role='writernotes'>Here is the sentence.</para>

What this allows is to create areas in the manual that are
easily identified as questions to the reviewers.

(From yocto-docs rev: 007ea508a36f453c66970666490a82885a8749e1)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosdk-manual: Added new section detailing installed SDK directory.
Scott Rifenbark [Tue, 26 Jan 2016 15:18:13 +0000 (07:18 -0800)] 
sdk-manual: Added new section detailing installed SDK directory.

Added text and a new figure to show the resulting directory
structure from running the SDK installation .sh script.

(From yocto-docs rev: 3c5aec4a0088262e60ee6becb5e34552feeb6151)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosdk-manual-customization: Fixed XSL Appendix numbering parameter
Scott Rifenbark [Tue, 26 Jan 2016 15:15:39 +0000 (07:15 -0800)] 
sdk-manual-customization: Fixed XSL Appendix numbering parameter

The xslproc needs special handling of the statement that applies
the numbering for appendices.  I updated the line to use that
format so when making the file you do not get a billion
unrecognized parameter errors.

(From yocto-docs rev: a2787b7a6d045196c0d524e11531ca3aca41b9c2)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoMakefile: Updated the figure list for the mega-manual.
Scott Rifenbark [Tue, 15 Mar 2016 18:05:17 +0000 (11:05 -0700)] 
Makefile: Updated the figure list for the mega-manual.

Including three figs for Toaster manual.

(From yocto-docs rev: c41f9859b6cfc4e34b8e0d0e812fad0b8dd44540)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosdk-manual: WIP - Various small edits as WIP
Scott Rifenbark [Mon, 25 Jan 2016 23:14:57 +0000 (15:14 -0800)] 
sdk-manual: WIP - Various small edits as WIP

(From yocto-docs rev: 53c16de81028d5564a75b4787203d6862258f68e)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>