]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
9 years agonspr: Fix build regression on musl from last upgrade
Khem Raj [Sat, 5 Mar 2016 00:03:22 +0000 (00:03 +0000)]
nspr: Fix build regression on musl from last upgrade

This patch is no longer required as upstreamed has fixed
the problem in more comprehensive way

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogdb: fix builds with internal readline and no static libraries
Ross Burton [Thu, 3 Mar 2016 21:01:13 +0000 (21:01 +0000)]
gdb: fix builds with internal readline and no static libraries

If gdb was configured to use the internal readline but static libraries were
disabled, gdb wouldn't dutifully not build libreadline.a which was a problem
when it tried to link with that library.

Solve this by ensuring --enable-static is passed to the readline configure.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agofeature-arm-thumb.inc: Fix thumb tune override warning
Nathan Rossi [Thu, 3 Mar 2016 16:01:00 +0000 (02:01 +1000)]
feature-arm-thumb.inc: Fix thumb tune override warning

Fix the quotes in the bb.utils.contains feature check so that the call
results in a boolean value instead of a string, which allows the warning
check to occur.

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agorecipetool: create: fix support for AX_CHECK_LIBRARY
Paul Eggleton [Thu, 3 Mar 2016 17:44:56 +0000 (06:44 +1300)]
recipetool: create: fix support for AX_CHECK_LIBRARY

Clearly I didn't test this part of the code - lists don't have an "add"
method. Needless to say I have tested it now.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoformfactor: assume a keyboard is plugged in
Ross Burton [Thu, 3 Mar 2016 16:56:43 +0000 (16:56 +0000)]
formfactor: assume a keyboard is plugged in

A sensible assumption is that BSPs have a USB keyboard and mouse connected
unless told otherwise, so flip the logic in the formfactor config script that
previously assumed that a keyboard was not connected by default.

[ YOCTO #9174 ]

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoacl: Fix re pattern in test cases
He Zhe [Thu, 3 Mar 2016 07:16:43 +0000 (02:16 -0500)]
acl: Fix re pattern in test cases

ls adds a '.' at the end of the permission field list on SELinux
machines, filter this out so root tests work on SELinux machines.
And backport one patch for other tests.

Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogcc-runtime.inc: disable libitm for little endian MIPS too
Andre McCurdy [Thu, 3 Mar 2016 05:07:13 +0000 (21:07 -0800)]
gcc-runtime.inc: disable libitm for little endian MIPS too

libitm is already disabled for big endian MIPS, but needs to be
disabled for little endian MIPS targets too.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agodevtool: add build-sdk subcommand
Paul Eggleton [Wed, 2 Mar 2016 10:44:21 +0000 (23:44 +1300)]
devtool: add build-sdk subcommand

Add a build-sdk command which is only available within the extensible
SDK that builds a derivative extensible SDK. The idea is recipes in the
workspace become a part of the new SDK - for example, this allows taking
a vendor provided SDK, adding a few libs and then producing a new SDK
with those included.

When normally building the extensible SDK, the workspace is excluded;
here we need to copy into the new SDK (renaming it in the process); the
recipes' task signatures become locked and thus the sources are no
longer needed, so they are removed along with the workspace bbappends
which would interfere with the locked signatures. Additionally we need
to just copy the configuration files (i.e. local.conf and auto.conf)
rather than filtering and appending to them since that work has already
been done when constructing the original SDK. The extra sstate artifacts
from workspace recipes are also determined and copied into the new SDK
in minimal mode (on the assumption that you won't set up a new sstate
mirror).

This reuses some code from build-image, so that needed to be
generalised to allow that.

Implements [YOCTO #8892].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agodevtool: build-image: rename module
Paul Eggleton [Wed, 2 Mar 2016 10:44:20 +0000 (23:44 +1300)]
devtool: build-image: rename module

Hyphens aren't allowed in python identifiers, so you shouldn't use them
in module names or they are more difficult to import.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agooeqa/buildoptions: Improve unsafe references tests
Richard Purdie [Mon, 29 Feb 2016 15:36:48 +0000 (15:36 +0000)]
oeqa/buildoptions: Improve unsafe references tests

Fixing one of the recipes not to contain unsafe references to paths
results in this QA test failing. Improve the test so that we test
the recipe works, then if we intentionally break the recipe, the
issue is detected.

Also split out the binaries test from the scripts test. The binaries
issue may also get 'fixed' in future and need the same fix.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoinsane.bbclass: make the checking stricter for unsafe references in scripts
Chen Qi [Fri, 19 Feb 2016 02:38:39 +0000 (10:38 +0800)]
insane.bbclass: make the checking stricter for unsafe references in scripts

Previously, the checking for unsafe references is not strict enough. It
only checks whether '/usr/' is in the script. As a result, any script
containing statements like below will match this check.

   PATH="/bin:/sbin:/usr/bin:/usr/sbin"

However, as we can see, this is actually not an unsafe reference. What
we really want to check is something like '/usr/bin/tail', so we should
make the checking stricter.

This patch solves the QA warning in gzip and nfs-utils.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoe2fsprogs: do not enable non-stable features by default
Jonathan Liu [Tue, 1 Mar 2016 03:51:50 +0000 (14:51 +1100)]
e2fsprogs: do not enable non-stable features by default

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosdk_update.py: Enable local sdk-update tests
Juro Bystricky [Wed, 2 Mar 2016 19:23:25 +0000 (11:23 -0800)]
sdk_update.py: Enable local sdk-update tests

Testing of local sdk updates was commented out.
Local sdk updates are functional now, so the tests should be re-enabled.

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosdk.py: Fix undefined variable
Juro Bystricky [Wed, 2 Mar 2016 19:23:24 +0000 (11:23 -0800)]
sdk.py: Fix undefined variable

"sdk_update" uses a variable newsdk_path, which was never declared.
This would cause the command:

    devtool sdk-update <poky-sdk-latest>

to fail with an error:
NameError: global name 'newsdk_path' is not defined

The remedy is to declare newsdk_path as it was no doubt intended,
corresponding to the argument specifying <poky-sdk-latest>.

[YOCTO#9042]

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoeudev: recipe formatting improvements
Andre McCurdy [Wed, 2 Mar 2016 22:45:49 +0000 (14:45 -0800)]
eudev: recipe formatting improvements

Formatting improvements only, no functional changes.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoopenssl: Security fix Drown via 1.0.2g update
Armin Kuster [Wed, 2 Mar 2016 07:38:41 +0000 (23:38 -0800)]
openssl: Security fix Drown via 1.0.2g update

CVE-2016-0800
CVE-2016-0705
CVE-2016-0798
CVE-2016-0797
CVE-2016-0799
CVE-2016-0702
CVE-2016-0703
CVE-2016-0704

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

Updated 2 debian patches to match changes in 1.0.2g

Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolayer.conf: Update after replacement of udev with eudev
Richard Purdie [Wed, 2 Mar 2016 23:07:09 +0000 (23:07 +0000)]
layer.conf: Update after replacement of udev with eudev

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobootimg: set default value for LABELS variable
Ed Bartosh [Tue, 1 Mar 2016 09:00:56 +0000 (11:00 +0200)]
bootimg: set default value for LABELS variable

With empty LABELS variable build_efi_cfg skips most of its
functionality producing warning message:
    'LABELS not defined, nothing to do'
This causes build failure for efi images.

Setting default value for LABELS to 'boot install' should fix
this issue.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosanity: Do not mistake meta-yocto-bsp for meta-yocto
Peter Kjellerstedt [Mon, 29 Feb 2016 16:28:56 +0000 (17:28 +0100)]
sanity: Do not mistake meta-yocto-bsp for meta-yocto

The code in oecore_update_bblayers() handling the transition from
meta-yocto to meta-poky was not very resilient. It would, e.g.,
mistake meta-yocto-bsp for meta-yocto if the former occurred before
the latter in BBLAYERS.

The code also failed to update multiple existences of meta-yocto in
the bblayers.conf file, e.g., if it was present in
BBLAYERS_NON_REMOVABLE in addition to BBLAYERS (which it is by
default).

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agosanity.bbclass: remove conflict checking for image vm and live
Robert Yang [Wed, 24 Feb 2016 09:23:59 +0000 (01:23 -0800)]
sanity.bbclass: remove conflict checking for image vm and live

[YOCTO #9161]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agosyslinux.bbclass: make vm and live can be built together
Robert Yang [Wed, 24 Feb 2016 09:23:58 +0000 (01:23 -0800)]
syslinux.bbclass: make vm and live can be built together

* The vm image(hdddirect, vmdk, qcow2, vdi) and live image (hddimg, iso)
  couldn't be built together because the following vars settings are
  conflicted:
  - SYSLINUX_ROOT (/dev/sda2 vs /dev/ram0)
  - LABELS (boot vs boot install)
  - INITRD (None vs live install)
  - SYSLINUX_CFG (see above)
  Introduce new vars (SYSLINUX_ROOT_VM/_LIVE, the samilar to others) to
  make them can work together, now we can build all of them together:

  IMAGE_FSTYPES += "live iso hddimg hdddirect vmdk qcow2 vdi"

* Use SYSLINUX_CFG rather than SYSLINUXCFG to keep align with others
  SYSLINUX vars.

* The SYSLINUX_TIMEOUT had been set, but it didn't work since
  AUTO_SYSLINUXMENU wasn't set, this would cause confusions, so also set
  AUTO_SYSLINUXMENU.

* Move SYSLINUX_PROMPT and SYSLINUX_TIMEOUT to syslinux.bbclass rather
  than in separate classes since they are the same.

* Set SYSLINUX_TIMEOUT to 50 to have a unique timeout for syslinux.

[YOCTO #9161]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agorecipetool: create: add basic support for new npm fetcher/class
Paul Eggleton [Mon, 29 Feb 2016 11:48:26 +0000 (00:48 +1300)]
recipetool: create: add basic support for new npm fetcher/class

Add detection for npm modules and support for extracting the name and
version from package.json as is usually part of an npm module contents.

Note: this will likely only produce a buildable recipe if you use an
npm:// URL; simply pointing to a node.js source repository isn't going
to fetch the module's dependencies. It also doesn't set up the
shrinkwrap/lockdown automatically, so there is some room for improvement
later.

Implements [YOCTO #8690].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agorecipetool: create: add basic support for generating linux kernel recipes
Paul Eggleton [Mon, 29 Feb 2016 11:48:25 +0000 (00:48 +1300)]
recipetool: create: add basic support for generating linux kernel recipes

Add support for detecting a Linux kernel source tree and generating a
basic kernel recipe using meta-skeleton's linux-yocto-custom recipe as a
base.

Implements [YOCTO #8981].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agorecipetool: create: add support for out-of-tree kernel modules
Paul Eggleton [Mon, 29 Feb 2016 11:48:24 +0000 (00:48 +1300)]
recipetool: create: add support for out-of-tree kernel modules

Detect kernel modules by looking for #include <linux/module.h>, and
handle the various styles of Makefile that appear to be used. I was able
to use this code to successfully build a number of external kernel
modules I found.

Implements [YOCTO #8982].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogcc: Add support for atomic opertions (libitm) where available
Mark Hatle [Tue, 1 Mar 2016 04:18:41 +0000 (22:18 -0600)]
gcc: Add support for atomic opertions (libitm) where available

GCC 4.7 and newer have supported various automic operation directives,
however these have not been previously enabled.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoclasses/externalsrc: fix symlinking if symlink exists pointing to another path
Paul Eggleton [Wed, 2 Mar 2016 10:44:19 +0000 (23:44 +1300)]
classes/externalsrc: fix symlinking if symlink exists pointing to another path

If the oe-workdir / oe-logs symlink exists and points to a different
path then the symlink needs to be removed before calling os.symlink() or
it'll fail.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopopulate_sdk_ext: Only write LCONF_VERSION to bblayers if it is set
Randy Witt [Mon, 29 Feb 2016 22:22:36 +0000 (14:22 -0800)]
populate_sdk_ext: Only write LCONF_VERSION to bblayers if it is set

It is possible that LCONF_VERSION won't be set, such as if meta-poky is
used. Without this change, bblayers.conf would have LCONF_VERSION =
"None" if LCONF_VERSION wasn't set, which would cause a sanity check
failure.

Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoautomake: don't delete .pyc files
Joseph A. Lutz [Thu, 25 Feb 2016 23:02:35 +0000 (17:02 -0600)]
automake: don't delete .pyc files

The patch being removed in this commit removes *.pyc files from being
compiled. This dose not allow a user to select which files are included
in the image. Since optimization is no longer the default for python
we should have the ability to choose what is included in the image.

Signed-off-by: Joseph A. Lutz <joseph.lutz@novatechweb.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agocracklib: fix Python packaging
Ross Burton [Mon, 29 Feb 2016 21:05:13 +0000 (21:05 +0000)]
cracklib: fix Python packaging

Don't assume that we know precisely what Python files were installed as patching
automake can change what optimised forms get installed by matching *.py* in
FILES and not deleting *.pyo explictly.

Similarly, remove all forms of test_cracklib from the packages.

The python .la file is mostly redundant but if we're shipping it, put it in
-python where it belongs instead of -staticdev.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopopulate_sdk_base: handle empty SDK_PACKAGING_FUNC
Christopher Larson [Mon, 29 Feb 2016 20:47:46 +0000 (13:47 -0700)]
populate_sdk_base: handle empty SDK_PACKAGING_FUNC

Currently, the pre/post process command variables are parsed as shell, even
though they're not shell anymore. As a result, an empty SDK_PACKAGING_FUNC
results in a parsing error. Rather than manually adding their vardeps, only
append its ; when the var is set.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolinux-yocto/4.4: update to 4.4.3
Bruce Ashfield [Mon, 29 Feb 2016 22:10:28 +0000 (17:10 -0500)]
linux-yocto/4.4: update to 4.4.3

The korg stable for 4.4.3 is out with the following changes:

   2134d97aa3a7 Linux 4.4.3
   e2f712dc927e modules: fix modparam async_probe request
   a24d9a2fee98 module: wrapper for symbol name.
   82e730baa9f7 itimers: Handle relative timers with CONFIG_TIME_LOW_RES proper
   1c94da3e7480 posix-timers: Handle relative timers with CONFIG_TIME_LOW_RES proper
   565f222968d3 timerfd: Handle relative timers with CONFIG_TIME_LOW_RES proper
   e5e99792b647 prctl: take mmap sem for writing to protect against others
   f86701c4f3cd xfs: log mount failures don't wait for buffers to be released
   16f14a28f660 Revert "xfs: clear PF_NOFREEZE for xfsaild kthread"
   7530e6fdd9f2 xfs: inode recovery readahead can race with inode buffer creation
   888959f2fd50 libxfs: pack the agfl header structure so XFS_AGFL_SIZE is correct
   8373f6590f6b ovl: setattr: check permissions before copy-up
   7193e802960f ovl: root: copy attr
   367e439dbc23 ovl: check dentry positiveness in ovl_cleanup_whiteouts()
   fa932190a5f3 ovl: use a minimal buffer in ovl_copy_xattr
   85a7ed329aca ovl: allow zero size xattr
   acaf84251f8d futex: Drop refcount if requeue_pi() acquired the rtmutex
   30066dcdf98a devm_memremap_release(): fix memremap'd addr handling
   15db15e2f10a ipc/shm: handle removed segments gracefully in shm_mmap()
   fe90acff2798 intel_scu_ipcutil: underflow in scu_reg_access()
   edfde263bd8a mm,thp: khugepaged: call pte flush at the time of collapse
   e31e46725596 dump_stack: avoid potential deadlocks
   55e0d9869f1d radix-tree: fix oops after radix_tree_iter_retry
   077b6173a8c8 drivers/hwspinlock: fix race between radix tree insertion and lookup
   f4595e008149 radix-tree: fix race in gang lookup
   262139f0244b MAINTAINERS: return arch/sh to maintained state, with new maintainers
   ececa3ebe27f memcg: only free spare array when readers are done
   4b20545910cb numa: fix /proc/<pid>/numa_maps for hugetlbfs on s390
   db33368ca32d fs/hugetlbfs/inode.c: fix bugs in hugetlb_vmtruncate_list()
   b105aa33af0d scripts/bloat-o-meter: fix python3 syntax error
   dad5038f3fe2 dma-debug: switch check from _text to _stext
   275adaf191c6 m32r: fix m32104ut_defconfig build fail
   71e5a4a747b0 xhci: Fix list corruption in urb dequeue at host removal
   d15298509b86 Revert "xhci: don't finish a TD if we get a short-transfer event mid TD"
   2231e5748746 iommu/vt-d: Clear PPR bit to ensure we get more page request interrupts
   db3ac35cbd31 iommu/vt-d: Fix 64-bit accesses to 32-bit DMAR_GSTS_REG
   7c6471cb94ad iommu/vt-d: Fix mm refcounting to hold mm_count not mm_users
   d63a009a9bd9 iommu/amd: Correct the wrong setting of alias DTE in do_attach
   c65a7b684133 iommu/vt-d: Don't skip PCI devices when disabling IOTLB
   b864f4e50c56 Input: vmmouse - fix absolute device registration
   726ecfc32199 string_helpers: fix precision loss for some inputs
   5c73252f746d Input: i8042 - add Fujitsu Lifebook U745 to the nomux list
   1d70d30a5fa2 Input: elantech - mark protocols v2 and v3 as semi-mt
   d1f8217a9a6e mm: fix regression in remap_file_pages() emulation
   413aab16bc7b mm: replace vma_lock_anon_vma with anon_vma_lock_read/write
   918a2c388ed7 mm: fix mlock accouting
   6e8ea2f2258c libnvdimm: fix namespace object confusion in is_uuid_busy()
   bd55913cf208 mm: soft-offline: check return value in second __get_any_page() call
   a6a3f3ddf6a6 perf kvm record/report: 'unprocessable sample' error while recording/reporting guest data
   b58731d6263a KVM: PPC: Fix ONE_REG AltiVec support
   921fa9b77380 KVM: PPC: Fix emulation of H_SET_DABR/X on POWER8
   b3e336de65eb KVM: arm/arm64: Fix reference to uninitialised VGIC
   593337c55ac3 arm64: dma-mapping: fix handling of devices registered before arch_initcall
   a6e01f0c81d5 ARM: OMAP2+: Fix ppa_zero_params and ppa_por_params for rodata
   82de5956e9f4 ARM: OMAP2+: Fix save_secure_ram_context for rodata
   31a50ee1ad3e ARM: OMAP2+: Fix l2dis_3630 for rodata
   98b3f17a7235 ARM: OMAP2+: Fix l2_inv_api_params for rodata
   ec776d670e2d ARM: OMAP2+: Fix wait_dll_lock_timed for rodata
   6ec8b7c5bbdd ARM: dts: at91: sama5d4ek: add phy address and IRQ for macb0
   3b18631fbcea ARM: dts: at91: sama5d4 xplained: fix phy0 IRQ type
   080fc28fe475 ARM: dts: at91: sama5d4: fix instance id of DBGU
   5542d00c4653 ARM: dts: at91: sama5d4 xplained: properly mux phy interrupt
   a482d9448169 ARM: dts: omap5-board-common: enable rtc and charging of backup battery
   41a94b382396 ARM: dts: Fix omap5 PMIC control lines for RTC writes
   671a5bc6f54d ARM: dts: Fix wl12xx missing clocks that cause hangs
   323f7cd28b7f ARM: nomadik: fix up SD/MMC DT settings
   53d991bbbc51 ARM: 8517/1: ICST: avoid arithmetic overflow in icst_hz()
   9fe0b68c4949 ARM: 8519/1: ICST: try other dividends than 1
   a68f555363f5 arm64: mm: avoid calling apply_to_page_range on empty range
   242813b9a1b6 ARM: mvebu: remove duplicated regulator definition in Armada 388 GP
   602acfedc981 powerpc/ioda: Set "read" permission when "write" is set
   b5311270caba powerpc/powernv: Fix stale PE primary bus
   5ecdf58c1945 powerpc/eeh: Fix stale cached primary bus
   64f10cf83a6c powerpc/eeh: Fix PE location code
   782126b22522 SUNRPC: Fixup socket wait for memory
   d0452554b9a1 udf: Check output buffer length when converting name to CS0
   eec1445767cc udf: Prevent buffer overrun with multi-byte characters
   aef22a3d6945 udf: limit the maximum number of indirect extents in a row
   66b8812e87f3 pNFS/flexfiles: Fix an XDR encoding bug in layoutreturn
   d65eb5b3dfb1 nfs: Fix race in __update_open_stateid()
   c8841e15d6de pNFS/flexfiles: Fix an Oopsable typo in ff_mirror_match_fh()
   1873e6f48606 NFS: Fix attribute cache revalidation
   dadfe9220750 cifs: fix erroneous return value
   7e30995b26cc cifs_dbg() outputs an uninitialized buffer in cifs_readdir()
   5d80673404e6 cifs: fix race between call_async() and reconnect()
   88413fceab84 cifs: Ratelimit kernel log messages
   224f259d9393 iio: inkern: fix a NULL dereference on error
   e16eb4bb193c iio: pressure: mpl115: fix temperature offset sign
   909e9c55196d iio: light: acpi-als: Report data as processed
   377d1f59388f iio: dac: mcp4725: set iio name property in sysfs
   1c1d4f2d7629 iio: add IIO_TRIGGER dependency to STK8BA50
   dfa6e741d472 iio: add HAS_IOMEM dependency to VF610_ADC
   f865d8c326dd iio-light: Use a signed return type for ltr501_match_samp_freq()
   e9b0f0e411d0 iio:adc:ti_am335x_adc Fix buffered mode by identifying as software buffer.
   dc275a6eb9d0 iio: adis_buffer: Fix out-of-bounds memory access
   a258a959fcf3 scsi: fix soft lockup in scsi_remove_target() on module removal
   900ae746c1e9 SCSI: Add Marvell Console to VPD blacklist
   32c55052aa33 scsi_dh_rdac: always retry MODE SELECT on command lock violation
   4c654fc9357b drivers/scsi/sg.c: mark VMA as VM_IO to prevent migration
   d763177d00d7 SCSI: fix crashes in sd and sr runtime PM
   dcec7af70910 iscsi-target: Fix potential dead-lock during node acl delete
   954bb20f70ed scsi: add Synology to 1024 sector blacklist
   5b27adfac012 klist: fix starting point removed bug in klist iterators
   152fb02241b6 tracepoints: Do not trace when cpu is offline
   2fa82bbbc73a tracing: Fix freak link error caused by branch tracer
   6fa74f50e357 perf tools: tracepoint_error() can receive e=NULL, robustify it
   6e50ddaf0991 tools lib traceevent: Fix output of %llu for 64 bit values read on 32 bit machines
   969624b7c1c8 ptrace: use fsuid, fsgid, effective creds for fs access checks
   ba6d92801ba4 Btrfs: fix direct IO requests not reporting IO error to user space
   e8eced78e025 Btrfs: fix hang on extent buffer lock caused by the inode_paths ioctl
   be1232bcea11 Btrfs: fix page reading in extent_same ioctl leading to csum errors
   df567e6dcd22 Btrfs: fix invalid page accesses in extent_same (dedup) ioctl
   b58081d430b4 btrfs: properly set the termination value of ctx->pos in readdir
   dfd2961ab6ed Revert "btrfs: clear PF_NOFREEZE in cleaner_kthread()"
   4e6943903a8e Btrfs: fix fitrim discarding device area reserved for boot loader's use
   c57e49b50bc5 btrfs: handle invalid num_stripes in sys_array
   bbfe21c87bd0 ext4: don't read blocks from disk after extents being swapped
   600d41f4ecb5 ext4: fix potential integer overflow
   33f48f8ab0b9 ext4: fix scheduling in atomic on group checksum failure
   5859b9077763 serial: omap: Prevent DoS using unprivileged ioctl(TIOCSRS485)
   76e88140aa91 serial: 8250_pci: Add Intel Broadwell ports
   124efa9fd567 tty: Add support for PCIe WCH382 2S multi-IO card
   1bdf16025dfc pty: make sure super_block is still valid in final /dev/tty close
   3ceeb564198c pty: fix possible use after free of tty->driver_data
   a45f23edb00e staging/speakup: Use tty_ldisc_ref() for paste kworker
   3375ee8b9964 phy: twl4030-usb: Fix unbalanced pm_runtime_enable on module reload
   a90e66cb949a phy: twl4030-usb: Relase usb phy on unload
   a40efb855068 ALSA: seq: Fix double port list deletion
   6bb345ac7b30 ALSA: seq: Fix leak of pool buffer at concurrent writes
   ef0ca96169a2 ALSA: pcm: Fix rwsem deadlock for non-atomic PCM stream
   434e26d6f6a0 ALSA: hda - Cancel probe work instead of flush at remove
   6deb0ec93da6 x86/mm: Fix vmalloc_fault() to handle large pages properly
   e0c89043e71a x86/uaccess/64: Handle the caching of 4-byte nocache copies properly in __copy_user_nocache()
   1e2e0ad1cc16 x86/uaccess/64: Make the __copy_user_nocache() assembly code more readable
   4f298c10c35d x86/mm/pat: Avoid truncation when converting cpa->numpages to address
   75a101ba31fa x86/mm: Fix types used in pgprot cacheability flags translations

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolinux-yocto/4.1: iwlwifi: mvm: don't allow sched scans without matches to be started
Bruce Ashfield [Mon, 29 Feb 2016 22:10:27 +0000 (17:10 -0500)]
linux-yocto/4.1: iwlwifi: mvm: don't allow sched scans without matches to be started

Integrating the following commit:

    iwlwifi: mvm: don't allow sched scans without matches to be started

    commit 5e56276e7555b34550d51459a801ff75eca8b907 upstream.

    The firmware can perform a scheduled scan with not matchsets passed,
    but it can't send notification that results were found.  Since the
    userspace then cannot know when we got new results and the firmware
    wouldn't trigger a wake in case we are sleeping, it's better not to
    allow scans without matchsets.

    This fixes https://bugzilla.kernel.org/show_bug.cgi?id=110831

Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Wu Zheng <wu.zheng@intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolinux-yocto/4.4: update to -stable 4.4.2
Bruce Ashfield [Mon, 29 Feb 2016 22:10:26 +0000 (17:10 -0500)]
linux-yocto/4.4: update to -stable 4.4.2

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolinux-yocto: braswell: Remove feature and move DRM_I915_PRELIMINARY_HW_SUPPORT option
Bruce Ashfield [Mon, 29 Feb 2016 22:10:25 +0000 (17:10 -0500)]
linux-yocto: braswell: Remove feature and move DRM_I915_PRELIMINARY_HW_SUPPORT option

>From Cal:

  fixes the issue where Skylake doesn't have graphics support
  by default before kernel version 4.4, and also brings the kernel
  metadata closer together for intel-* and common-pc* BSPs.

[YOCTO 9#319]

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-yocto/4.4: yaffs2 build fixes
Bruce Ashfield [Mon, 29 Feb 2016 22:10:24 +0000 (17:10 -0500)]
linux-yocto/4.4: yaffs2 build fixes

Integrating fixes for yaffs2 on the 4.4.x kernel:

  d4eb3ab036f8 yaffs2: using new ->follow_link() and ->put_link() calling conventions
  da1c7fd61d13 yaffs2: NULL ->read/->write
  b4c6a6aca7e7 yaffs2: replace f_dentry to f_path.dentry

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolinux-yocto/4.1: update to 4.1.18
Bruce Ashfield [Mon, 29 Feb 2016 22:10:23 +0000 (17:10 -0500)]
linux-yocto/4.1: update to 4.1.18

Integrating the korg -stable update to 4.1

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolinux-yocto/4.1: clkdev updates
Bruce Ashfield [Mon, 29 Feb 2016 22:10:22 +0000 (17:10 -0500)]
linux-yocto/4.1: clkdev updates

Backporting the following clkdev updates to the 4.1 kernel:

   c1b6f28fb457 clkdev: get rid of redundant clk_add_alias() prototype in linux/clk.h
   f9a70df2d491 clk: update clk API documentation to clarify clk_round_rate()
   db2d98fa3908 clkdev: fix clk_add_alias() with a NULL alias device name
   1b2c3a175637 clkdev: add clkdev_create() helper
   9b3d61ea0c57 clkdev: const-ify connection id to clk_add_alias()
   76b7b02f10dc clkdev: drop __init from clkdev_add_table()
   22f16b822d18 clkdev: use clk_hw internally

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolinux-yocto/4.1: Galileo updates
Bruce Ashfield [Mon, 29 Feb 2016 22:10:21 +0000 (17:10 -0500)]
linux-yocto/4.1: Galileo updates

Integrating the following patches for improved galileo support:

  e02ac252f68d gpio-pca953x: add "drive" property.
  68d3fd5134f7 adc1x8s102: support ACPI-based enumeration.
  89f6aea44d01 staging:iio: add support for ADC1x8s102.
  2fb3159a70c0 spi-pxa2xx: fixed ACPI-based enumeration of SPI devices.
  510501941fd3 pca9685: PCA9685 PWM and GPIO multi-function device.
  94bfb66b8887 gpio: pca953x: provide GPIO base based on _UID
  c39f26cd9092 acpi: added a custom DSDT file.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agousbutils: Fix for new eudev implementation
Alejandro Hernandez [Tue, 1 Mar 2016 02:53:18 +0000 (02:53 +0000)]
usbutils: Fix for new eudev implementation

usbutils was only compatible with systemds udev, since we now
provide a udev alternative compatible with upstream systemds udev,
we can now use the newer version of usbutils along with it too.

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolibgudev: Fix for new eudev implementation
Alejandro Hernandez [Tue, 1 Mar 2016 02:53:00 +0000 (02:53 +0000)]
libgudev: Fix for new eudev implementation

systemd is not a necessary feature for libgudev anymore since we are
providing eudev as an alternative to udev

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoeudev: Replaces udev with eudev for compatibility when using sysvinit on newer kernels
Alejandro Hernandez [Tue, 1 Mar 2016 02:52:47 +0000 (02:52 +0000)]
eudev: Replaces udev with eudev for compatibility when using sysvinit on newer kernels

udev has started to fail on new kernels (4.4), due to being deprecated in favor
of systemd's udev implementation. To maintain a sysvinit alternative we also
need to provide an alternative to udev. Eudev is a fork of systemds udev,
this new eudev recipe provides upstream udev 220 funcitonality.

  - Removes patches that dont apply anymore
  - ToDo: eudev-ptest?

[YOCTO #8998]

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopopulate_sdk_ext: Delete the buildtools tar file after installation
Randy Witt [Mon, 29 Feb 2016 16:50:28 +0000 (08:50 -0800)]
populate_sdk_ext: Delete the buildtools tar file after installation

When installing the ext sdk, buildtools is extracted and installed as
well. The tar file containing buildtools isn't used after installation
so was wasted space and clutter.

[YOCTO #9172]

Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolibarchive: Set xattrs after setting times
Dmitry Rozhkov [Mon, 29 Feb 2016 16:37:15 +0000 (18:37 +0200)]
libarchive: Set xattrs after setting times

With Integrity Measurement Architecture (IMA) enabled in Linux
kernel the security.ima extended attribute gets overwritten
when setting times on a file with a futimens() call. So it's safer
to set xattrs after times.

Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agocombo-layer: handle empty commits during "init --history"
Patrick Ohly [Mon, 29 Feb 2016 11:59:09 +0000 (12:59 +0100)]
combo-layer: handle empty commits during "init --history"

When importing the components during the "combo-layer init" with full
history and relocation into a destination directory, components with
empty commits were not handled because the "mv" command was invoked
with just one parameter.

Replacing that with a find/xargs pair avoids the problem and should
also fix the handling of filenames with special characters (in
particular spaces).

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoclasses/populate_sdk_ext: prepend to PATH rather than appending
Paul Eggleton [Mon, 29 Feb 2016 11:50:53 +0000 (00:50 +1300)]
classes/populate_sdk_ext: prepend to PATH rather than appending

The rest of the environment setup script prepends to PATH, so when we
add the path to run devtool we should be prepending as well. This
also ensures that when you run the environment setup script from
extensible SDK installation A and then in the same shell session run the
environment setup script from installation B, and then run devtool, that
you're running B's devtool and not A's.

Fixes [YOCTO #9046].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoclasses/module: allow substitution of the modules_install target name
Paul Eggleton [Mon, 29 Feb 2016 11:48:23 +0000 (00:48 +1300)]
classes/module: allow substitution of the modules_install target name

Quite a few external kernel modules I've found floating around don't
have a modules_install target, but they do have an install target that
basically differs only in name. To make it easier to build these just
make this a MODULES_INSTALL_TARGET variable that you can set from the
recipe - the alternative would be copy-and-paste the do_install
definition from this class which is potentially fragile.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogrub2.inc: drop bogus dependency on xz
Andre McCurdy [Sat, 27 Feb 2016 05:53:06 +0000 (21:53 -0800)]
grub2.inc: drop bogus dependency on xz

grub contains it's own internal lzma library. Attempting to build grub against
the system liblzma shared library or header files is not likely to end well.

This change does not cause a floating dependency since all grub2.inc based
recipes pass "--enable-liblzma=no" to configure.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogrub2.inc: avoid passing -isystem to native builds
Andre McCurdy [Sat, 27 Feb 2016 05:53:05 +0000 (21:53 -0800)]
grub2.inc: avoid passing -isystem to native builds

grub2 creates its own set of -nostdinc / -isystem / -ffreestanding
CFLAGS and OE's default BUILD_CFLAGS (assigned to CFLAGS for native
builds) etc, conflict with that.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogrub2.inc: dont export TARGET_CFLAGS etc to grub2 configure
Andre McCurdy [Sat, 27 Feb 2016 05:53:04 +0000 (21:53 -0800)]
grub2.inc: dont export TARGET_CFLAGS etc to grub2 configure

The grub2 configure script uses variables such as TARGET_CFLAGS etc
for its own purposes. Remove the OE versions from the configure
environment to avoid conflicts.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoharfbuzz: update 1.2.1 -> 1.2.3
Andre McCurdy [Fri, 26 Feb 2016 21:12:18 +0000 (13:12 -0800)]
harfbuzz: update 1.2.1 -> 1.2.3

Overview of changes leading to 1.2.3
Thursday, February 25, 2016
====================================

- Blacklist GDEF table of certain versions of Times New Roman (Bold) Italic,
  due to bug in glyph class of ASCII double-quote character.  This should
  address "regression" introduced in 1.2.0 when we switched mark zeroing
  in most shapers from BY_UNICODE_LATE to BY_GDEF_LATE.
  This fourth release in a week should finally stablize things...

- hb-ot-font's get_glyph() implementation saw some optimizations.  Though,
  might be really hard to measure in real-world situations.

- Also, two rather small API changes:

We now disable some time-consuming internal bookkeeping if built with NDEBUG
defined.  This is a first time that we use NDEBUG to disable debug code.  If
there exist production systems that do NOT want to enable NDEBUG, please let
me know and I'll add HB_NDEBUG.

Added get_nominal_glyph() and get_variation_glyph() instead of get_glyph()

New API:
- hb_font_get_nominal_glyph_func_t
- hb_font_get_variation_glyph_func_t
- hb_font_funcs_set_nominal_glyph_func()
- hb_font_funcs_set_variation_glyph_func()
- hb_font_get_nominal_glyph()
- hb_font_get_variation_glyph()

Deprecated API:
- hb_font_get_glyph_func_t
- hb_font_funcs_set_glyph_func()

Clients that implement their own font-funcs are encouraged to replace
their get_glyph() implementation with a get_nominal_glyph() and
get_variation_glyph() pair.  The variation version can assume that
variation_selector argument is not zero.  Old (deprecated) functions
will continue working indefinitely using internal gymnastics; it is
just more efficient to use the new functions.

Overview of changes leading to 1.2.2
Wednesday, February 24, 2016
====================================

- Fix regression with mark positioning with fonts that have
  non-zero mark advances.  This was introduced in 1.2.0 while
  trying to make mark and cursive attachments to work together.
  I have partially reverted that, so this version is much more
  like what we had before.  All clients who updated to 1.2.0
  should update to this version.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogstreamer1.0-plugins-bad.inc: limit ARM_INSTRUCTION_SET over-rides to armv4/armv5
Andre McCurdy [Fri, 26 Feb 2016 21:03:06 +0000 (13:03 -0800)]
gstreamer1.0-plugins-bad.inc: limit ARM_INSTRUCTION_SET over-rides to armv4/armv5

The original over-ride is historical and no obvious issues are seen
now when building in thumb2 for Cortex A15.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agodhcp: CVE-2015-8605
Mariano Lopez [Fri, 26 Feb 2016 14:34:17 +0000 (14:34 +0000)]
dhcp: CVE-2015-8605

ISC DHCP allows remote attackers to cause a denial of
service (application crash) via an invalid length field
in a UDP IPv4 packet.

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agosato/images: Add ptest image
Richard Purdie [Mon, 29 Feb 2016 15:08:44 +0000 (15:08 +0000)]
sato/images: Add ptest image

We need an image containing the ptest packages for testing purposes.
This adds such an image based on sato-sdk. We did try appending this
in the autobuilder but it creates too much confusion about what is
going on, and increases build time due to lack of parallelisation.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolayer.conf: Whitelist cantarell-fonts fontconfig dependency
Richard Purdie [Mon, 29 Feb 2016 15:07:38 +0000 (15:07 +0000)]
layer.conf: Whitelist cantarell-fonts fontconfig dependency

fontconfig is a stable API dependency and allarch fonts are desirable.
This matches the other fonts.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopango: make ${PN}-ptest RDEPENDS on cantarell-fonts
Jagadeesh Krishnanjanappa [Sun, 21 Feb 2016 19:00:53 +0000 (00:30 +0530)]
pango: make ${PN}-ptest RDEPENDS on cantarell-fonts

Pango test case (test-layout.test) requires cantarell-font
typeface. This test case uses 'Cantarell 11' font type.

Test result after this change on qemux86:
-- snip --
root@qemux86:~# gnome-desktop-testing-runner pango
Running test: pango/test-pangocairo-threads.test
Executing: pango/test-pangocairo-threads.test
Executing: pango/test-pangocairo-threads.test
Executing: pango/test-pangocairo-threads.test
Executing: pango/test-pangocairo-threads.test
Executing: pango/test-pangocairo-threads.test
Executing: pango/test-pangocairo-threads.test
Executing: pango/test-pangocairo-threads.test
Executing: pango/test-pangocairo-threads.test
Executing: pango/test-pangocairo-threads.test
Executing: pango/test-pangocairo-threads.test
Executing: pango/test-pangocairo-threads.test
Executing: pango/test-pangocairo-threads.test
Executing: pango/test-pangocairo-threads.test
Executing: pango/test-pangocairo-threads.test
Executing: pango/test-pangocairo-threads.test
PASS: pango/test-pangocairo-threads.test
Running test: pango/test-ot-tags.test
/tags/script: OK
/tags/language: OK
PASS: pango/test-ot-tags.test
Running test: pango/testcolor.test
/color/parse: OK
PASS: pango/testcolor.test
Running test: pango/markup-parse.test
/markup/parse/valid-4.markup: OK
/markup/parse/valid-1.markup: OK
/markup/parse/valid-3.markup: OK
/markup/parse/valid-2.markup: OK
/markup/parse/fail-1.markup: OK
PASS: pango/markup-parse.test
Running test: pango/test-layout.test
/layout/valid-1.markup: OK
/layout/valid-2.markup: OK
PASS: pango/test-layout.test
Running test: pango/cxx-test.test
PASS: pango/cxx-test.test
Running test: pango/testboundaries_ucd.test
/text/break/grapheme: Testing /usr/libexec/installed-tests/pango/GraphemeBreakTest.txt.
OK
/text/break/word: /usr/libexec/installed-tests/pango/WordBreakTest.txt not found.
Skipping test.
OK
/text/break/sentence: /usr/libexec/installed-tests/pango/SentenceBreakTest.txt not found.
Skipping test.
OK
/text/break/line: /usr/libexec/installed-tests/pango/LineBreakTest.txt not found.
Skipping test.
OK
PASS: pango/testboundaries_ucd.test
Running test: pango/testboundaries.test
/text/boundaries: sample file: /usr/libexec/installed-tests/pango/boundaries.utf8
testboundaries passed
OK
PASS: pango/testboundaries.test
Running test: pango/testattributes.test
/attributes/basic: OK
/attributes/equal: OK
/attributes/list/basic: OK
/attributes/list/change: OK
/attributes/list/splice: OK
/attributes/list/filter: OK
/attributes/iter/basic: OK
/attributes/iter/get: OK
/attributes/iter/get_font: OK
/attributes/iter/get_attrs: OK
PASS: pango/testattributes.test
Running test: pango/testscript.test
/script/iter: OK
PASS: pango/testscript.test
Running test: pango/test-font.test
/pango/fontdescription/parse: OK
/pango/fontdescription/roundtrip: OK
PASS: pango/test-font.test
Running test: pango/testiter.test
/layout/iter: OK
/layout/glyphitem-iter: OK
PASS: pango/testiter.test
SUMMARY: total=12; passed=12; skipped=0; failed=0; user=76.1s; system=2.0s; maxrss=52664
root@qemux86:~#
-- CUT --

Signed-off-by: Jagadeesh Krishnanjanappa <jkrishnanjanappa@mvista.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agocantarell-fonts: Add recipe
Jagadeesh Krishnanjanappa [Sun, 21 Feb 2016 19:00:52 +0000 (00:30 +0530)]
cantarell-fonts: Add recipe

1. The Cantarell font typeface is designed as a
   contemporary Humanist sans serif, and was developed for
   on-screen reading; in particular, reading web pages on an
   HTC Dream mobile phone.

2. Pango test case (test-layout.test) requires cantarell-font
   typeface. This test case uses 'Cantarell 11' font type

Signed-off-by: Jagadeesh Krishnanjanappa <jkrishnanjanappa@mvista.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agosanity: Fix int verses string reference
Richard Purdie [Sun, 28 Feb 2016 22:53:03 +0000 (22:53 +0000)]
sanity: Fix int verses string reference

The sanity update code needs to be passed an int, not string.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobblayers.conf.sample: Fix missing layer version bump
Richard Purdie [Sun, 28 Feb 2016 15:57:58 +0000 (15:57 +0000)]
bblayers.conf.sample: Fix missing layer version bump

The sanity.bbclass changes required the layer verison to increase,
this adds that missing component.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopseudo: Increase number of retries
Richard Purdie [Mon, 22 Feb 2016 17:24:59 +0000 (17:24 +0000)]
pseudo: Increase number of retries

Increase number of retries to handle slow exiting servers.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogstreamer1.0-plugins-bad.inc: enable webp PACKAGECONFIG by default
Andre McCurdy [Fri, 26 Feb 2016 06:14:33 +0000 (22:14 -0800)]
gstreamer1.0-plugins-bad.inc: enable webp PACKAGECONFIG by default

The webp plugin depends on libwebp, which is now present in oe-core:

  http://git.openembedded.org/openembedded-core/commit/?id=1c00bf8bce7a197e83456bf5094299d8f33ee473

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogettext: Delete libintl.la file from install
Khem Raj [Fri, 26 Feb 2016 06:47:59 +0000 (06:47 +0000)]
gettext: Delete libintl.la file from install

gettext installs a libtool .la file for non-glibc systems
since it builds libintl for them unlike glibc where it finds that using
libc's gettext implementation is just fine. Same is not true for
musl even though musl provides itw own gettext implementation much on
then lines of glibc.

ideally gettetxt should be fixed to behave on musl, but at this time its
not clear if APIs are same and complete.

Deleting .la file helps compiling packages like util-linux when using
fstack-protections since it does not alter the order of libc on linker
cmdline

Moved src_uri checksums just below the SRC_URI as matter of formatting

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agosystemctl: handle RequiredBy dependencies
Tomas Novotny [Fri, 26 Feb 2016 14:57:40 +0000 (15:57 +0100)]
systemctl: handle RequiredBy dependencies

Install section of a systemd service may contain RequiredBy dependency,
which is not handled currently. This means that symlinks to enable the
service are not created and the service may not be started.

Also fix debug output (all dependencies were printed instead of the one
which was enabled or disabled).

Signed-off-by: Tomas Novotny <tomas@novotny.cz>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoffmpeg: add bzlib, lzma and xv PACKAGECONFIGs
Jonathan Liu [Fri, 26 Feb 2016 14:14:16 +0000 (01:14 +1100)]
ffmpeg: add bzlib, lzma and xv PACKAGECONFIGs

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agorootfs-postcommands: fix ssh_allow_empty_password checking
Jonathan Liu [Fri, 26 Feb 2016 09:12:21 +0000 (20:12 +1100)]
rootfs-postcommands: fix ssh_allow_empty_password checking

The ssh_allow_empty_password function doesn't check if
sshd_config_readonly exists before running sed which can result in an
error if sshd_config exists but sshd_config_readonly doesn't.

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agomusl: Add linux-libc-headers to deps
Khem Raj [Fri, 26 Feb 2016 06:48:01 +0000 (06:48 +0000)]
musl: Add linux-libc-headers to deps

This is highlighted with clang when trying to
build a single package clean from scratch it
missed kernel headers

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agomesa: Fix build on musl
Khem Raj [Fri, 26 Feb 2016 06:48:00 +0000 (06:48 +0000)]
mesa: Fix build on musl

It assumes __GLIBC__ where it could actually check for linux
and include non-glibc C library implementations like musl which
provide __BYTE_ORDER macros as well when computing system endianness

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agodosfstools_2.11: fix build following removal of -e from EXTRA_OEMAKE
Andre McCurdy [Fri, 26 Feb 2016 05:24:38 +0000 (21:24 -0800)]
dosfstools_2.11: fix build following removal of -e from EXTRA_OEMAKE

Also misc formatting tweaks to align with v3.0.28 recipe and remove
BBCLASSEXTEND = "native" (native builds should always use the GPLv3
recipe).

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agouclibc support for rng-tools
Maxin B. John [Thu, 25 Feb 2016 10:30:26 +0000 (12:30 +0200)]
uclibc support for rng-tools

Uclibc has its own argp implemented as libuargp. So, we add a new
option --enable-uclibc to select it.

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agooeqa/sdkext: Add sdk_update.SDKUpdateTest class.
Aníbal Limón [Sun, 21 Feb 2016 20:40:20 +0000 (14:40 -0600)]
oeqa/sdkext: Add sdk_update.SDKUpdateTest class.

The SDKUpdateTest class test devtool sdk-update mechanism inside
eSDK.

The SDKUpdateTest class search for new sdk if not found uses
the main one then it publish the eSDK into known folder
inside work and it starts a web server for serve the eSDK.

Finally it executes sdk-update over http, the local test is
commented due to bug [1].

[1] https://bugzilla.yoctoproject.org/show_bug.cgi?id=9043

[YOCTO #9089]

Signed-off-by: Aníbal Limón <limon.anibal@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoclasses/testsdk: Pass tcname to SDK and SDKExt contexts
Aníbal Limón [Sun, 21 Feb 2016 19:01:03 +0000 (13:01 -0600)]
classes/testsdk: Pass tcname to SDK and SDKExt contexts

tcname is needed for eSDK update testcase will be used for
 publish it and then try to update

Signed-off-by: Aníbal Limón <limon.anibal@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoclasses/testsdk: Move the removal of bitbake PATH to eSDK context only
Aníbal Limón [Sun, 21 Feb 2016 18:31:50 +0000 (12:31 -0600)]
classes/testsdk: Move the removal of bitbake PATH to eSDK context only

The removal of bitbake and scripts PATH is only needed by eSDK tests
so move to eSDK context only.

This also it's a support for eSDK update test because it needs to
execute oe-publish-sdk from scripts.

Signed-off-by: Aníbal Limón <limon.anibal@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoclasses/testsdk: Move code for avoid PATHs to oeqa.utils
Aníbal Limón [Sun, 21 Feb 2016 18:14:44 +0000 (12:14 -0600)]
classes/testsdk: Move code for avoid PATHs to oeqa.utils

Due to the neeed to use in other modules.

Signed-off-by: Aníbal Limón <limon.anibal@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogstreamer1.0-plugins-XXX: control orc PACKAGECONFIG via GSTREAMER_ORC
Andre McCurdy [Thu, 25 Feb 2016 20:02:15 +0000 (12:02 -0800)]
gstreamer1.0-plugins-XXX: control orc PACKAGECONFIG via GSTREAMER_ORC

Orc enables runtime JIT compilation of data processing routines from
Orc bytecode to SIMD instructions for various architectures (currently
SSE, MMX, MIPS, Altivec and NEON are supported).

  https://cgit.freedesktop.org/gstreamer/orc/tree/README

Provide a convenient way to globally control the orc PACKAGECONFIG
option for all four gstreamer-1.0-plugins-XXX recipes.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoboost.inc: fix BJAM_OPTS --build-dir option
Andre McCurdy [Thu, 25 Feb 2016 19:59:15 +0000 (11:59 -0800)]
boost.inc: fix BJAM_OPTS --build-dir option

The correct syntax is --build-dir ( --builddir is silently ignored ).

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoshared-mime-info: update to 1.6
Alexander Kanavin [Thu, 25 Feb 2016 14:41:02 +0000 (16:41 +0200)]
shared-mime-info: update to 1.6

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agovala: update to 0.30.1
Alexander Kanavin [Wed, 24 Feb 2016 15:56:42 +0000 (17:56 +0200)]
vala: update to 0.30.1

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agopython-git: update to 1.0.2
Alexander Kanavin [Wed, 24 Feb 2016 15:55:04 +0000 (17:55 +0200)]
python-git: update to 1.0.2

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agopax-utils: update to 1.1.5
Alexander Kanavin [Wed, 24 Feb 2016 15:36:35 +0000 (17:36 +0200)]
pax-utils: update to 1.1.5

Remove fix-configure-failure.patch,
the problem has been fixed upstream.

Add README to the list of files that must be created
before configuring the build.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agonettle: update to 3.2
Alexander Kanavin [Wed, 24 Feb 2016 15:33:32 +0000 (17:33 +0200)]
nettle: update to 3.2

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoncurses: update to revision 20160213
Alexander Kanavin [Wed, 24 Feb 2016 15:27:46 +0000 (17:27 +0200)]
ncurses: update to revision 20160213

Also, put the revision into PV, so that a meaningful upstream version
check can be performed.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolibdrm: update to 2.4.67
Alexander Kanavin [Wed, 24 Feb 2016 15:13:22 +0000 (17:13 +0200)]
libdrm: update to 2.4.67

Drop 0001-tests-kms-steal-crtc-Include-sys-select.h.patch and detect.patch
(merged upstream).

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogtk+3: update to 3.18.8
Alexander Kanavin [Wed, 24 Feb 2016 14:28:07 +0000 (16:28 +0200)]
gtk+3: update to 3.18.8

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogtk-icon-utils-native: update to 3.18.8
Alexander Kanavin [Wed, 24 Feb 2016 14:26:36 +0000 (16:26 +0200)]
gtk-icon-utils-native: update to 3.18.8

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogit: update to 2.7.2
Alexander Kanavin [Wed, 24 Feb 2016 14:24:04 +0000 (16:24 +0200)]
git: update to 2.7.2

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agognupg: update to 2.1.11
Alexander Kanavin [Wed, 24 Feb 2016 14:19:39 +0000 (16:19 +0200)]
gnupg: update to 2.1.11

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoclutter-gst-3.0: update to 3.0.16
Alexander Kanavin [Wed, 24 Feb 2016 14:13:25 +0000 (16:13 +0200)]
clutter-gst-3.0: update to 3.0.16

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoccache: update to 3.2.4
Alexander Kanavin [Wed, 24 Feb 2016 14:06:26 +0000 (16:06 +0200)]
ccache: update to 3.2.4

Drop backported 0001-Fix-regression-in-recent-change-related-to-zlib-in-n.patch

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolibsolv: update to 0.6.19
Alexander Kanavin [Wed, 24 Feb 2016 13:55:38 +0000 (15:55 +0200)]
libsolv: update to 0.6.19

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoffmpeg: update to 3.0
Alexander Kanavin [Wed, 24 Feb 2016 13:53:37 +0000 (15:53 +0200)]
ffmpeg: update to 3.0

Also, enforce arm instruction set (thumb is causing build failures)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agonspr: update to 4.12
Alexander Kanavin [Wed, 24 Feb 2016 13:48:07 +0000 (15:48 +0200)]
nspr: update to 4.12

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agopcmanfm: update to 1.2.4
Alexander Kanavin [Wed, 24 Feb 2016 13:46:37 +0000 (15:46 +0200)]
pcmanfm: update to 1.2.4

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolibfm: update to 1.2.4
Alexander Kanavin [Wed, 24 Feb 2016 13:40:16 +0000 (15:40 +0200)]
libfm: update to 1.2.4

LICENSE checksum change due to formatting changes, and 'how to apply those
terms' section dropped from the GPL text.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoepiphany: update to 3.18.4
Alexander Kanavin [Wed, 24 Feb 2016 12:52:43 +0000 (14:52 +0200)]
epiphany: update to 3.18.4

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agowic: don't throw away our created swap partition
Christopher Larson [Thu, 25 Feb 2016 17:21:49 +0000 (10:21 -0700)]
wic: don't throw away our created swap partition

We were creating the partition, mkswap'ing it, and then not dd'ing it into
place in the final image, as source_file wasn't being set for swap partitions.
This would result in a swap partition that couldn't be enabled on target until
mkswap was run.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoautomake: set test-driver path relative to top_builddir
Martin Borg [Thu, 25 Feb 2016 15:08:04 +0000 (16:08 +0100)]
automake: set test-driver path relative to top_builddir

automake offers auxiliary tools and is capable to install and prepare the setup for those.
test-driver, a log driver used by parallel testsuite harness in ptests, is one of those tools.
By default it looks that automake prepare environment for testing relative $top_srcdir.
But in Yocto following changed:
 - build folder was separated
 - $top_srcdir is not anymore defined as relative path, now can be relative or absolute

So now in Yocto the Makefile from src/tests contains absolute path of $top_srcdir for test-driver
which is an unexisting path at runtime.

We need to have relative path for test-driver in Makefile to work on target. $top_builddir
can guarantee this path.

Originally submitted by Adrian Calianu <adrian.calianu@enea.com>

Signed-off-by: Martin Borg <martin.borg@enea.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agouninative-tarball: respect SDKMACHINE when building
Ross Burton [Thu, 25 Feb 2016 16:59:39 +0000 (16:59 +0000)]
uninative-tarball: respect SDKMACHINE when building

So that a single machine can build multiple architectures for the
uninative-tarball respect SDK_ARCH instead of BUILD_ARCH.

This means a x86-64 host can build a i686 uninative-tarball by setting
SDKMACHINE=i686.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoboost.inc: enable more verbose build logs
Andre McCurdy [Thu, 25 Feb 2016 02:30:21 +0000 (18:30 -0800)]
boost.inc: enable more verbose build logs

The default build output is very terse. Add -d+2 (ie "Show commands
as they are executed") to BJAM_OPTS to make the do_compile logs more
informative.

Also add -q (ie "Stop at first error") to BJAM_OPTS and fix typo in
comments.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogstreamer1.0-plugins-XXX: move inherit gettext into common .inc file
Andre McCurdy [Thu, 25 Feb 2016 02:15:25 +0000 (18:15 -0800)]
gstreamer1.0-plugins-XXX: move inherit gettext into common .inc file

gstreamer1.0-plugins-base/good/bad/ugly.inc all independently inherit
gettext. Move into the common gstreamer1.0-plugins.inc include file.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogstreamer1.0.inc: add explicit PACKAGECONFIG init
Andre McCurdy [Thu, 25 Feb 2016 02:15:24 +0000 (18:15 -0800)]
gstreamer1.0.inc: add explicit PACKAGECONFIG init

Although gstreamer1.0.inc doesn't currently set any default
PACKAGECONFIG options, add explicit initialisation in order to
match the style / structure of the other gstreamer1.0 recipes.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogstreamer1.0-libav: move LIBAV_EXTRA_CONFIGURE_COMMON_ARG into .inc
Andre McCurdy [Thu, 25 Feb 2016 02:15:23 +0000 (18:15 -0800)]
gstreamer1.0-libav: move LIBAV_EXTRA_CONFIGURE_COMMON_ARG into .inc

The LIBAV_EXTRA_CONFIGURE_COMMON_ARG definition is now common to both
the git and the versioned gstreamer1.0-libav recipes, so move it into
gstreamer1.0-libav.inc

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>