]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
9 years agowayland: always build wayland-scanner
Ross Burton [Wed, 1 Jul 2015 22:04:45 +0000 (23:04 +0100)]
wayland: always build wayland-scanner

By passing --disable-scanner to use a native wayland-scanner binary a target
wayland-scanner binary isn't built, which is a problem if you want to use it on
the target or in a SDK.

Instead, always build a target wayland-scanner binary, and have an option to
control whether that binary or a host-provided binary is used at build time.

[ YOCTO #7931 ]

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agomesa: Add blank r600 PACKAGECONFIG
Drew Moseley [Mon, 29 Jun 2015 18:23:50 +0000 (14:23 -0400)]
mesa: Add blank r600 PACKAGECONFIG

Fixes warnings such as:
    WARNING: mesa: invalid PACKAGECONFIG: r600
when building with the r600 configuration.

Signed-off-by: Drew Moseley <drew_moseley@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agocmake bbclass: fix support for native builds
Koen Kooi [Wed, 1 Jul 2015 06:57:25 +0000 (08:57 +0200)]
cmake bbclass: fix support for native builds

For native builds  of recipes (e.g. mariadb-native) cmake *must* look outside of its sysroot to find the compiler, so instruct it to do so.

Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolibinput: Upgrade 0.7.0 -> 0.18.0
Khem Raj [Wed, 3 Jun 2015 19:56:23 +0000 (12:56 -0700)]
libinput: Upgrade 0.7.0 -> 0.18.0

Upgrade is also required for wayland/weston 1.8.x

libinput license changes are
- COPYING: note that having linux/input.h in the tree does not make libinput GPL
- Updated to 2015 where appropriate, added where missing.
- filter: add Simon's copyright
  This code was largely lifted from the X server in
  bb25b2ad297891430606c367bfabc but didn't take the copyright messages
  that applied to that code.

- Change MIT X11 to MIT Expat license

  see

  http://cgit.freedesktop.org/wayland/libinput/commit/?id=bc9f16b40e23a1d25c105a4207b97d65253f0d98

Signed-off-by: Khem Raj <raj.khem@gmail.com>
9 years agowayland: Upgrade 1.6.0 -> 1.8.1
Khem Raj [Wed, 3 Jun 2015 19:59:01 +0000 (12:59 -0700)]
wayland: Upgrade 1.6.0 -> 1.8.1

Signed-off-by: Khem Raj <raj.khem@gmail.com>
9 years agoweston: Upgrade weston_1.6.0.bb -> weston_1.8.0.bb
Khem Raj [Wed, 3 Jun 2015 20:00:13 +0000 (13:00 -0700)]
weston: Upgrade weston_1.6.0.bb -> weston_1.8.0.bb

Make error() portable, Fix build on musl

copyright year changed for weston compositor.c

- * Copyright © 2012 Collabora, Ltd.
+ * Copyright © 2012-2015 Collabora, Ltd.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
9 years agolibpciaccess: Upgrade to 0.13.4
Khem Raj [Fri, 5 Jun 2015 04:06:03 +0000 (21:06 -0700)]
libpciaccess: Upgrade to 0.13.4

Drop upstreamed patch
backport portablility fixes from upstream
Add a fix to not use io function on ARM they dont work

Signed-off-by: Khem Raj <raj.khem@gmail.com>
9 years agogdb: Disable lttng support for musl
Khem Raj [Mon, 8 Jun 2015 16:09:35 +0000 (09:09 -0700)]
gdb: Disable lttng support for musl

lttng-ust is too much dependent on glibc dlfcn code
disable it for musl

Signed-off-by: Khem Raj <raj.khem@gmail.com>
9 years agofeature-arm-thumb.inc: Fix ARMPKGSFX_THUMB value
Martin Jansa [Tue, 30 Jun 2015 14:15:00 +0000 (16:15 +0200)]
feature-arm-thumb.inc: Fix ARMPKGSFX_THUMB value

* my previous thumb related commit:
  commit 3e760031f91fb87c3e2f62b77a117eb41164f259
  Author: Martin Jansa <martin.jansa@gmail.com>
  Date:   Wed Feb 18 15:40:35 2015 +0100

    feature-arm-thumb.inc: respect ARM_INSTRUCTION_SET when adding thumb
    suffix

  unfortunately removed conditional on "thumb" in TUNE_FEATURES, when
  setting ARMPKGSFX_THUMB

* in case we have MACHINE without "thumb" in TUNE_FEATURES and distro
  setting ARM_INSTRUCTION_SET to "thumb" we end with:
  ARM_INSTRUCTION_SET="thumb"
  ARM_THUMB_OPT="thumb"
  ARM_M_OPT="thumb"

  # TUNE_CCARGS correctly not adding -mthumb
  TUNE_CCARGS=" -march=armv7-a  -mthumb-interwork -mfloat-abi=softfp -mfpu=neon"

  # but ARMPKGSFX_THUMB and TUNE_PKGARCH including "t2":
  ARMPKGSFX_THUMB="t2"
  TUNE_PKGARCH="armv7at2-vfp-neon"

  # causing following error:
  Error, the PACKAGE_ARCHS variable does not contain TUNE_PKGARCH (armv7at2-vfp-neon).

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agosanity.bbclass: Check if /tmp is writable
Mariano Lopez [Mon, 29 Jun 2015 07:20:10 +0000 (07:20 +0000)]
sanity.bbclass: Check if /tmp is writable

If /tmp can't be written, bitbake gaves an unrelated error.
This checks if /tmp can be written in every build.

[YOCTO #7922]

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agorootfs.py: Add check for kernel modules before running depmod
Saul Wold [Fri, 26 Jun 2015 18:23:06 +0000 (11:23 -0700)]
rootfs.py: Add check for kernel modules before running depmod

Add a check for kernel modules so we don't un-necessarily run the depmods, this
will also handle the case with linux-dummy does not place the kernel-abiversion
since it also does not have kernel modules.

[YOCTO #7884]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agorunqemu-internal: correctly set format for root FS as raw
Cristian Iorga [Mon, 29 Jun 2015 15:03:11 +0000 (18:03 +0300)]
runqemu-internal: correctly set format for root FS as raw

qemu guesses via probing the format of root FS, but
gives a warning and restricts write operations on block 0.
Fix it by setting correctly the format as raw for more
machines and non-KVM machines.
In some cases, replaced the way machine disk is set for qemu.

Fix for [YOCTO #7918]

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agobootimg bbclass: don't hardcode 'bzImage' name
Koen Kooi [Wed, 3 Jun 2015 06:11:54 +0000 (08:11 +0200)]
bootimg bbclass: don't hardcode 'bzImage' name

In the EFI case there are 2 more architectures besides x86(_64) that may use this class: aarch32, which tends to use 'zImage' and aarch64, which uses 'Image'. Instead of hardcoding those values like the luvOS fork does, use the proper variable.

Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agodocumentation: document KERNEL_CLASSES
Marek Vasut [Mon, 29 Jun 2015 16:50:07 +0000 (17:50 +0100)]
documentation: document KERNEL_CLASSES

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoltp: vma03 fix the alginment of page size
Chuang Dong [Tue, 30 Jun 2015 09:02:45 +0000 (17:02 +0800)]
ltp: vma03 fix the alginment of page size

the offset the param of mmap2() doesn't align the page size, but,
this param allow must be a multiple of the page size as returned
by sysconf(_SC_PAGE_SIZE).meanwhile offset * 4096 must be a
multiple of the system page size, so modify the input param of offset
pgoff = (ULONG_MAX - 1)&(~((pgsz-1)>>12));

Signed-off-by: Chuang Dong <Chuang.Dong@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agowic: Code cleanup: unused imports
Ed Bartosh [Mon, 29 Jun 2015 18:26:03 +0000 (21:26 +0300)]
wic: Code cleanup: unused imports

Fixed pylint warning unused-import

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
9 years agowic: Code cleanup: long lines, identation and whitespaces
Ed Bartosh [Mon, 29 Jun 2015 15:01:42 +0000 (18:01 +0300)]
wic: Code cleanup: long lines, identation and whitespaces

Fixed pylint warnings bad-continuation, bad-continuation and
line-too-long.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
9 years agowic: Fix confusing error message
Ed Bartosh [Mon, 29 Jun 2015 10:30:36 +0000 (13:30 +0300)]
wic: Fix confusing error message

Wic throws this message when any of the build artifacts are
not provided:
  Build artifacts not completely specified, exiting.
    (Use 'wic -e' or 'wic -r -b -k -n' to specify artifacts)
It was not clear which artifact was not specified.

Reworked the code to specify list of missed artifacts.
Now the message looks like this:
  The following build artifacts are not specified:
    bootimg-dir, kernel-dir, native-sysroot

[YOCTO #7912]

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
9 years agowic: Remove __write_partition method
Ed Bartosh [Mon, 29 Jun 2015 08:19:38 +0000 (11:19 +0300)]
wic: Remove __write_partition method

Moved code of __write_partition to 'assemble' method.
This way it should be more readable.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
9 years agowic: Refactor fstab update code
Ed Bartosh [Sat, 27 Jun 2015 15:24:50 +0000 (18:24 +0300)]
wic: Refactor fstab update code

Made the code to backup and restore fstab only if it's modified.

Cleaned up the code. Made it more pythonic.

Improved code readability by moving code from several tiny
methods into one place.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
9 years agowic: Add --uuid partition option
Ed Bartosh [Sat, 27 Jun 2015 14:18:10 +0000 (17:18 +0300)]
wic: Add --uuid partition option

Added --uuid option to the configuration of wks parser.
This option specifies partition UUID. The code to process
it is already in place. It was implemented for --use-uuid
option.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
9 years agowic: Fix naming conflict
Ed Bartosh [Sat, 27 Jun 2015 12:08:15 +0000 (15:08 +0300)]
wic: Fix naming conflict

Image file name is not unique for the partitions without label.
This causes image being rewritten and used as a source for all
partitions without label. Wic produces broken or incorrect result
images because of that.

Added wks line number to the image name to make it unique.

9 years agowic: Remove duplicated code
Ed Bartosh [Sat, 27 Jun 2015 10:37:27 +0000 (13:37 +0300)]
wic: Remove duplicated code

Moved duplicated code of geting rootfs size
out of prepare_rootfs* methods.

9 years agowic: Refactor prepare_empty_partition API
Ed Bartosh [Sat, 27 Jun 2015 10:28:50 +0000 (13:28 +0300)]
wic: Refactor prepare_empty_partition API

Moved code out of prepare_empty_partition* methods
to avoid code duplication.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
9 years agowic: Call methods better way
Ed Bartosh [Sat, 27 Jun 2015 09:56:38 +0000 (12:56 +0300)]
wic: Call methods better way

Shortened code by using getattr to obtain a method to call for
prepare_empty_partition_* and prepare_rootfs_* methods.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
9 years agowic: Get rid of useless variable 'image_rootfs'
Ed Bartosh [Sat, 27 Jun 2015 09:40:13 +0000 (12:40 +0300)]
wic: Get rid of useless variable 'image_rootfs'

Removed useless variable 'image_rootfs' from 4 prepare_rootfs_* methods.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
9 years agowic: Rename partition images
Ed Bartosh [Sat, 27 Jun 2015 09:23:38 +0000 (12:23 +0300)]
wic: Rename partition images

Renamed partition images into <final image>.p<partition number>
This should make output directory look more organized and easier
to understand.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
9 years agowic: Refactor prepare_rootfs API
Ed Bartosh [Sat, 27 Jun 2015 09:16:38 +0000 (12:16 +0300)]
wic: Refactor prepare_rootfs API

Moved code out of prepare_roots* methods to avoid code duplication.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
9 years agowic: Turn off debug output for 'bitbake -e'
Ed Bartosh [Sat, 27 Jun 2015 08:12:50 +0000 (11:12 +0300)]
wic: Turn off debug output for 'bitbake -e'

Switched debug level to 'normal' to prevent huge 'bitbake -e'
output to go into wic debug output. This should help to make
wic debug info much more clean and easier to read.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
9 years agowic: Remove annoing debug message
Ed Bartosh [Sat, 27 Jun 2015 08:05:19 +0000 (11:05 +0300)]
wic: Remove annoing debug message

Wic tries to find plugins in every layer and prints a message
'Plugin dir is not a directory or does not exist' if layer
doesn't have plugin dir. It causes a lot of duplicated
messages in the debug output, which makes it hard to find
useful info there.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
9 years agowic: Include mount point into image report
Ed Bartosh [Sat, 27 Jun 2015 07:54:46 +0000 (10:54 +0300)]
wic: Include mount point into image report

Wic doesn't show any information for the partition if label is not set.
Fixed this by adding mount point to the report.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
9 years agowic: Refactor getting bitbake variables
Ed Bartosh [Fri, 26 Jun 2015 18:27:31 +0000 (21:27 +0300)]
wic: Refactor getting bitbake variables

Wic gets bitbake variables by parsing output of 'bitbake -e' command.

This implementation improves this procedure as it runs 'bitbake -e' only
when API is called and does it only once, i.e. in a "lazy" way. As parsing
results are cached 'bitbake -e' is run only once and results are parsed
only once per requested set of variables.

get_bitbake_var became the only API call. It replaces find_artifacts,
find_artifact, find_bitbake_env_lines, get_bitbake_env_lines,
set_bitbake_env_lines and get_line_val calls making API much more clear.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
9 years agowic: Test rootfs plugin using rootfs paths
Ed Bartosh [Fri, 26 Jun 2015 16:12:36 +0000 (19:12 +0300)]
wic: Test rootfs plugin using rootfs paths

Added testcase to create multi-rootfs images using rootfs plugin
with paths to rootfs directories in wic command line.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
9 years agowic: Fix misleading message
Ed Bartosh [Fri, 26 Jun 2015 12:02:06 +0000 (15:02 +0300)]
wic: Fix misleading message

Due to usage of incorrect variable wic produces strange message
"No image named None found, exiting." when specified canned .wks
doesn't exist.

Fixed by replacing wks_file -> argv[0]

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
9 years agowic: Test rootfs plugin using image recipes
Ed Bartosh [Fri, 26 Jun 2015 15:55:02 +0000 (18:55 +0300)]
wic: Test rootfs plugin using image recipes

Added canned wks and testcase to create multi-rootfs images referring
bitbake image recipes.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
9 years agocross.bbclass: delete package_qa task
Ross Burton [Thu, 2 Jul 2015 16:45:31 +0000 (17:45 +0100)]
cross.bbclass: delete package_qa task

The package_qa task isn't required for cross builds, so delete it along with the
other packaging tasks to match native.bbclass.

[ YOCTO #7934 ]

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agotune-i586-nlp: Add new tune file to support Quark/X1000 CPU
Saul Wold [Mon, 29 Jun 2015 14:10:50 +0000 (07:10 -0700)]
tune-i586-nlp: Add new tune file to support Quark/X1000 CPU

This tune file is needed to enable a GAS option specific to this cpu family
in order to disable the usage of lock prefix instructions.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobootimg.bbclass:hddimg: check the size of rootfs.img for hddimg
Robert Yang [Tue, 30 Jun 2015 03:06:38 +0000 (20:06 -0700)]
bootimg.bbclass:hddimg: check the size of rootfs.img for hddimg

The hddimg uses FAT, so the single file size should be less than 4GB,
otherwise errors, check that and error out.

Another way might be use ext2/3/4 rather than FAT, but EFI only supports
FAT, if we make EFI use FAT, and non-EFI use extX, that would the code
very different, which seems not worth.

[YOCTO #6449]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobootimg.bbclass:iso: use mkisofs -iso-level 3 for large iso
Robert Yang [Tue, 30 Jun 2015 03:06:37 +0000 (20:06 -0700)]
bootimg.bbclass:iso: use mkisofs -iso-level 3 for large iso

There will be problems when rootfs.img is larger than 4GB:
mkisofs: Value too large for defined data type. File /path/to/iso/rootfs.img is too large for current mkisofs settings - ignoring

And will get a wrong iso.

Check the size of ${ISODIR}/rootfs.img, use mkisofs -iso-level 3
when it exceeds 3.8GB, the specification is 4G - 1 bytes, we need
leave a few space for other files.

[YOCTO #6449]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agologrotate: 3.8.8 -> 3.9.1
Robert Yang [Tue, 30 Jun 2015 03:26:36 +0000 (20:26 -0700)]
logrotate: 3.8.8 -> 3.9.1

Updated:
- act-as-mv-when-rotate.patch
- disable-check-different-filesystems.patch
- update-the-manual.patch
- base_contains -> bb.utils.contains

[YOCTO #7346]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowpa-supplicant: Fix CVE-2015-4142
fan.xin [Tue, 30 Jun 2015 02:21:55 +0000 (11:21 +0900)]
wpa-supplicant: Fix CVE-2015-4142

wpa-supplicant: backport patch to fix CVE-2015-4142

Backport patch to fix CVE-2015-4142. This patch is originally from:

http://w1.fi/security/2015-3/0001-AP-WMM-Fix-integer-underflow-in-WMM-Action-frame-par.patch

Signed-off-by: Fan Xin <fan.xin@jp.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agonfs-utils: debianize start-statd
Li Wang [Mon, 29 Jun 2015 06:22:35 +0000 (14:22 +0800)]
nfs-utils: debianize start-statd

make start-statd command to use nfscommon configure, too.

Signed-off-by: Henrik Riomar <henrik.riomar@ericsson.com>
Signed-off-by: Li Wang <li.wang@windriver.com>
Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agonfs-utils: Reexport all directories when start
Li Wang [Mon, 29 Jun 2015 01:58:17 +0000 (09:58 +0800)]
nfs-utils: Reexport all directories when start

call "exportfs -r" to reexport all directories when start the nfsserver.
This change does follow debian and nfs-utils stardard.

Signed-off-by: Li Wang <li.wang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agomklibs-native: avoid failure on symbol provided by application
Yuanjie Huang [Mon, 29 Jun 2015 08:07:48 +0000 (16:07 +0800)]
mklibs-native: avoid failure on symbol provided by application

Undefined symbols in a library can be provided by the application
that links to the library, such as `logsink' in libmultipath.so.0.
This fix checks the type of object in which the symbol is needed
and the existence of the symbol in application, when a symbol
cannot be provided by libraries. It prevents false alarm on absence
of symbols.

Signed-off-by: Yuanjie Huang <yuanjie.huang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agounzip: drop 12-cve-2014-9636-test-compr-eb.patch
Roy Li [Mon, 29 Jun 2015 08:06:57 +0000 (16:06 +0800)]
unzip: drop 12-cve-2014-9636-test-compr-eb.patch

12-cve-2014-9636-test-compr-eb.patch is same as unzip-6.0_overflow3.diff,
is to fix CVE-2014-9636

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoperl-native: Specifically undefine other gdbm paths
Richard Purdie [Mon, 29 Jun 2015 08:17:20 +0000 (09:17 +0100)]
perl-native: Specifically undefine other gdbm paths

There is an outside chance gdbm could be found at these other locations,
undefine them along with the other variables for completeness.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agooeqa/bbtests: Show useful failure message for gplv3 test
Richard Purdie [Mon, 29 Jun 2015 08:16:43 +0000 (09:16 +0100)]
oeqa/bbtests: Show useful failure message for gplv3 test

If this test fails the current output tells us nothing about what happened.
Show the exit status and output to aid debugging.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agooeqa/bbtests: Improve error handling
Richard Purdie [Mon, 29 Jun 2015 08:16:11 +0000 (09:16 +0100)]
oeqa/bbtests: Improve error handling

Currently if a test fails the cleanup isn't performed, leading to cascade
failures in other tests. We can do better.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogdbm 1.8.3: install ndbm.h and dbm.h
Robert Yang [Mon, 29 Jun 2015 04:42:29 +0000 (21:42 -0700)]
gdbm 1.8.3: install ndbm.h and dbm.h

There are gdbm 1.8.3 and gdbm 1.11, while 1.8.3 is GPLv2, it should
install ndbm.h and dbm.h as what 1.11 does, to make perl build OK when
non-gplv3 build.

Fixed when perl build: (non-gplv3 buld)
| NDBM_File.xs:18:60: fatal error: gdbm/ndbm.h: No such file or directory
|  #  include <gdbm/ndbm.h> /* RedHat compatibility version */
|                                                             ^
| compilation terminated.

And:
| ODBM_File.xs:8:19: fatal error: dbm.h: No such file or directory
|  #  include <dbm.h>
|                    ^
| compilation terminated.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoopenssl: upgrade to 1.0.2c
Roy Li [Wed, 24 Jun 2015 02:10:18 +0000 (10:10 +0800)]
openssl: upgrade to 1.0.2c

upgrade to fix the CVE: CVE-2015-1788..CVE-2015-1792 and CVE-2014-8176
remove a backport patch
update the c_rehash-compat.patch

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoperl: remove default byteorder from config.sh
Robert Yang [Tue, 23 Jun 2015 03:29:22 +0000 (20:29 -0700)]
perl: remove default byteorder from config.sh

Fixed test case:
Failed test 146 - single result for config_re('byteorder') at ../lib/Config.t
      got "2"
expected "1"

There is a byteorder in config.sh-32/64.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
9 years agoperl: odbm.t: fix the path of dbmt_common.pl
Robert Yang [Tue, 23 Jun 2015 03:11:58 +0000 (20:11 -0700)]
perl: odbm.t: fix the path of dbmt_common.pl

It should be ../t/lib/dbmt_common.pl.

Fixed:
Can't locate ../../t/lib/dbmt_common.pl in @INC

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
9 years agoperl: fix for ODBM_File.so
Robert Yang [Tue, 23 Jun 2015 03:05:02 +0000 (20:05 -0700)]
perl: fix for ODBM_File.so

Fixed for test case ../ext/ODBM_File/t/odbm.t:
ok 1 - use ODBM_File;
ok 2 - use Fcntl;
./perl: symbol lookup error: /usr/lib/perl/5.22.0/auto/ODBM_File/ODBM_File.so: undefined symbol: dbminit

The checking "if -e $_.'/libgdbm_compat.so'" doesn't work when cross
build, so always link libgdbm_compat, since perl depends on gdbm and we
always have libgdbm_compat.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
9 years agoperl: fix test case switches.t
Robert Yang [Fri, 19 Jun 2015 08:26:09 +0000 (01:26 -0700)]
perl: fix test case switches.t

We call it perl rather than perl5 in oe-core.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
9 years agoperl: use perl.inc for target and native perl
Robert Yang [Thu, 18 Jun 2015 07:57:22 +0000 (00:57 -0700)]
perl: use perl.inc for target and native perl

It can reduce the duplicated code.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
9 years agocpan_build.bbclass: remove libmodule-build-perl
Robert Yang [Thu, 18 Jun 2015 07:47:56 +0000 (00:47 -0700)]
cpan_build.bbclass: remove libmodule-build-perl

There is no such a package in perl 5.22.0.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
9 years agoperl: 5.20.0 -> 5.22.0
Robert Yang [Wed, 17 Jun 2015 07:19:42 +0000 (00:19 -0700)]
perl: 5.20.0 -> 5.22.0

* Remove:
  - perl-5.14.3-fix-CVE-2010-4777.patch: backport
  - fix-FF_MORE-crash.patch: backport
  - perl-rprovides.inc: it was introduced by 5.8.7, the lines in it are like:
    RPROVIDES_perl-module-b-asmdata = "perl-module-${TARGET_SYS}-b-asmdata"
    If some packages do RPDEND on something like
    perl-module-${TARGET_SYS}-b-asmdatam, we need update the package rather
    than keep use RPROVIDES in perl-rprovides.inc, so remove it.
  - perl-rprovides_5.20.0.inc: it only has one line:
    RPROVIDES_perl-module-module-build, but the perl-module-module-build
    is gone in 5.22.0, so remove it.

* Update:
  - debian patches from http://ftp.de.debian.org/debian/pool/main/p/perl/perl_5.20.0-1.debian.tar.xz
  - Makefile.SH.patch
  - Merge 0001-Makefile.SH-fix-do_install-failed.patch into Makefile.SH.patch
  - native-nopacklist.patch
  - config.sh

* The CGI.pm and Module::Build disappear from core, so no
  perl-module-module-build.rpm any more, more info:
  http://perltricks.com/article/165/2015/4/10/A-preview-of-Perl-5-22

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
9 years agocurl: upgrade to 7.43.0
Chen Qi [Wed, 24 Jun 2015 08:34:36 +0000 (16:34 +0800)]
curl: upgrade to 7.43.0

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosysstat: upgrade to 11.1.5
Chen Qi [Wed, 24 Jun 2015 08:34:35 +0000 (16:34 +0800)]
sysstat: upgrade to 11.1.5

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agommc-utils: fix the building failure when DEBUG_BUILD is 1
Roy Li [Fri, 26 Jun 2015 01:30:05 +0000 (09:30 +0800)]
mmc-utils: fix the building failure when DEBUG_BUILD is 1

Remove -Werror, since it is suitable to develop only; otherwise when
gcc adds -O0 option to compile codes, the error will be generated
since the warning:
  //#  warning _FORTIFY_SOURCE requires compiling with optimization (-O)

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agofile: 5.22 -> 5.23
Robert Yang [Wed, 24 Jun 2015 08:55:19 +0000 (01:55 -0700)]
file: 5.22 -> 5.23

Updated 0001-Add-P-prompt-into-Usage-info.patch.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agognupg: 2.1.4 -> 2.1.5
Robert Yang [Wed, 24 Jun 2015 08:55:23 +0000 (01:55 -0700)]
gnupg: 2.1.4 -> 2.1.5

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agohdparm: 9.45 -> 9.48
Robert Yang [Wed, 24 Jun 2015 08:55:22 +0000 (01:55 -0700)]
hdparm: 9.45 -> 9.48

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogit: 2.4.2 -> 2.4.4
Robert Yang [Wed, 24 Jun 2015 08:55:21 +0000 (01:55 -0700)]
git: 2.4.2 -> 2.4.4

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoelfutils: 0.161 -> 0.162
Robert Yang [Wed, 24 Jun 2015 08:55:20 +0000 (01:55 -0700)]
elfutils: 0.161 -> 0.162

* Remove backport patch 0001-libelf-Fix-dir-traversal-vuln-in-ar-extraction.patch.
* Update:
  - arm_func_value.patch
  - fixheadercheck.patch
  - redhat-portability.diff

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agooeqa/parselogs: Whitelist qemumips64 runtime error
Richard Purdie [Sat, 27 Jun 2015 21:44:59 +0000 (22:44 +0100)]
oeqa/parselogs: Whitelist qemumips64 runtime error

Similarly to qemumips, ignore these errors upon bootup so that
we have a good QA baseline for new errors.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agotestimage: Don't test xorg/vnc on qemuarm64
Richard Purdie [Sat, 27 Jun 2015 21:44:23 +0000 (22:44 +0100)]
testimage: Don't test xorg/vnc on qemuarm64

The qemuarm64 machine doesn't have graphics so don't test xorg/vnc
as they won't work.

[YOCTO #7103]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agooeqa/parselogs: Whitelist qemuarm64 runtime errors
Richard Purdie [Sat, 27 Jun 2015 21:43:38 +0000 (22:43 +0100)]
oeqa/parselogs: Whitelist qemuarm64 runtime errors

The qemuarm64 machine doesn't have graphics so whitelist the
X server failures to start.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agooeqa/recipetool: Fix symlink resolution
Richard Purdie [Sat, 27 Jun 2015 07:10:29 +0000 (08:10 +0100)]
oeqa/recipetool: Fix symlink resolution

Instead of readlink we need to use realpath to resolve any possible
symlink in the file name. I'd got the two confused in the previous
patch. This should really fix selftest failures on the autobuilder.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogstreamer1.0-plugins-bad.inc: remove duplicate bzip2 dependency
Andre McCurdy [Fri, 26 Jun 2015 21:13:04 +0000 (14:13 -0700)]
gstreamer1.0-plugins-bad.inc: remove duplicate bzip2 dependency

Dependency on bzip2 is handled by the bz2 PACKAGECONFIG option, so
bzip2 does not need to be included in DEPENDS.

Also fix minor indent issue with bluez PACKAGECONFIG option.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agotiff: Update to 4.0.4
Randy MacLeod [Fri, 26 Jun 2015 20:27:51 +0000 (16:27 -0400)]
tiff: Update to 4.0.4

Update tiff to latest version. None of the local CVE patches
are needed based on reviewing the ChangeLog so remove them.

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosubversion: Fix subversion-native on Fedora22
Richard Purdie [Fri, 26 Jun 2015 22:40:41 +0000 (23:40 +0100)]
subversion: Fix subversion-native on Fedora22

Similarly to:
http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=9b19d6548a345009a6de79a6820c07a72054d961

we also need to fix the subversion-native case with gcc5 by using
the same fix to the BUILD_CPPFLAGS.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agooeqa/parselogs: Fixed a problem in parselogs
Lucian Musat [Fri, 26 Jun 2015 10:36:40 +0000 (13:36 +0300)]
oeqa/parselogs: Fixed a problem in parselogs

When the test passed it returned an error because
grep did not return any error and the variable that
held the results was being referenced but not
assigned any value.

Signed-off-by: Lucian Musat <george.l.musat@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoquota: fix quota do_install errors
Roy Li [Fri, 26 Jun 2015 07:52:54 +0000 (15:52 +0800)]
quota: fix quota do_install errors

ROOTDIR should be defined, otherwise man files will be installed
to host root dir.

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agokmod: upgrade to 21
Chen Qi [Fri, 26 Jun 2015 02:27:49 +0000 (10:27 +0800)]
kmod: upgrade to 21

Upgrade kmod to 21.
Fix cross compilation problem.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agorecipetool: add appendsrcfile(s) sub-commands
Christopher Larson [Wed, 24 Jun 2015 22:17:47 +0000 (15:17 -0700)]
recipetool: add appendsrcfile(s) sub-commands

This adds the `appendsrcfile` and `appendsrcfiles` sub-commands, which let the
user add or replace one or more files in the recipe sources, either in a path
relative to `S` or `WORKDIR`. Each file gets added to `SRC_URI` as a file://
URI, using the subdir= parameter to specify the destination directory.

Examples:

    # Adds our defconfig as file://defconfig. If it's already in SRC_URI, it
    # won't be duplicated.
    recipetool appendsrcfile --workdir meta-mylayer linux-mel defconfig
    recipetool appendsrcfiles --workdir meta-mylayer linux-mel defconfig

    # Does the same, handling the different local filename
    recipetool appendsrcfile --workdir meta-mylayer linux-mel defconfig.mine defconfig

    # Adds our device tree files to the source tree
    recipetool appendsrcfiles --destdir arch/arm/boot/dts meta-mylayer linux-mel *.dts

Of course, for the latter example to be of use, the new dts files would need
to be added to `KERNEL_DEVICETREE` as well, and depending on the kernel,
`DEFCONFIG` or `KERNEL_DEFCONFIG` may need to be set.

Cc: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Christopher Larson <kergoth@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agorecipetool.append: use argparse types for validation
Christopher Larson [Wed, 24 Jun 2015 22:17:46 +0000 (15:17 -0700)]
recipetool.append: use argparse types for validation

This validates the arguments early, when argparse is parsing the arguments, in
a consistent way.

Cc: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Christopher Larson <kergoth@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agooe.recipeutils: fix line.split error in bbappend_recipe
Christopher Larson [Wed, 24 Jun 2015 22:17:45 +0000 (15:17 -0700)]
oe.recipeutils: fix line.split error in bbappend_recipe

Cc: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Christopher Larson <kergoth@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobuildhistory.bbclass: Create a files-in-<pkg>.txt containg recipe's pkg files
Leonardo Sandoval [Thu, 25 Jun 2015 13:46:47 +0000 (13:46 +0000)]
buildhistory.bbclass: Create a files-in-<pkg>.txt containg recipe's pkg files

A file similar (in format) to files-in-image.txt is created for each
recipe's build package. This would allow to easily see what the
recipe's package may install when including it into an image.

These files reside on the specific buildhistory recipe package (i.e.
buildhistory/packages/i586-poky-linux/busybox/busybox-dev/files-in-busybox-dev.txt
for busybox-dev package)

[YOCTO #5870]

Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoxf86-video-vesa: Upgrade 2.3.3 -> 2.3.4
Jussi Kukkonen [Thu, 25 Jun 2015 11:20:03 +0000 (14:20 +0300)]
xf86-video-vesa: Upgrade 2.3.3 -> 2.3.4

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoxorg-xserver: Upgrade 1.17.1 -> 1.17.2
Jussi Kukkonen [Thu, 25 Jun 2015 11:20:02 +0000 (14:20 +0300)]
xorg-xserver: Upgrade 1.17.1 -> 1.17.2

Fixes CVE-2015-3164 in Xwayland.

Remove unnecessary patches:
 * fix_open_max_preprocessor_error.patch is no longer needed:
   OPEN_MAX is defined in every case now
 * xorg-CVE-2013-6424.patch was handled in pixman several releases ago
 * other removed patches are included in 1.17.2

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agomesa: Upgrade 10.5.6 -> 10.5.8
Jussi Kukkonen [Thu, 25 Jun 2015 11:20:01 +0000 (14:20 +0300)]
mesa: Upgrade 10.5.6 -> 10.5.8

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agofreetype: Upgrade 2.5.5 -> 2.6
Jussi Kukkonen [Thu, 25 Jun 2015 11:20:00 +0000 (14:20 +0300)]
freetype: Upgrade 2.5.5 -> 2.6

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopopulate_sdk_base.bbclass: use pbzip2 to compress SDK tarfiles
Andre McCurdy [Thu, 25 Jun 2015 19:46:47 +0000 (12:46 -0700)]
populate_sdk_base.bbclass: use pbzip2 to compress SDK tarfiles

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoimage_types.bbclass: use pbzip2 for images requiring bz2 compression
Andre McCurdy [Thu, 25 Jun 2015 19:46:46 +0000 (12:46 -0700)]
image_types.bbclass: use pbzip2 for images requiring bz2 compression

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopbzip2: Fix native dependency on bzip2-native
Richard Purdie [Fri, 26 Jun 2015 22:49:39 +0000 (23:49 +0100)]
pbzip2: Fix native dependency on bzip2-native

bzip2-native is in ASSUME_PROVIDED but we don't just want "bzip2" but
libbz2 here. To do this, we need to DEPEND on bzip2-replacement-native
which hints to bitbake we really do want to build it.

Add the missing dependency to avoid failures on machines which don't
have libbz2-dev installed.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopbzip2: add initial recipe, pbzip2 v1.1.12
Andre McCurdy [Thu, 25 Jun 2015 19:46:45 +0000 (12:46 -0700)]
pbzip2: add initial recipe, pbzip2 v1.1.12

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agorun-postinsts: Fix ipk package management detection
Aníbal Limón [Thu, 25 Jun 2015 18:21:16 +0000 (13:21 -0500)]
run-postinsts: Fix ipk package management detection

run-postinsts always mark ipk package management as true, causing
problems when try to execute opkg-cl and isn't present.

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agooe/rootfs.py: DpkgRootfs/OpkgRootfs add support for dependency handling in postinsts...
Aníbal Limón [Thu, 25 Jun 2015 18:21:15 +0000 (13:21 -0500)]
oe/rootfs.py: DpkgRootfs/OpkgRootfs add support for dependency handling in postinsts scripts.

The old code don't take into account package dependencies causing
undefined execution order in postinsts scripts, in order to fix:

Add DpkgOpkgRootfs class for store common operations in DpkgRootfs
and OpkgRootfs.

Add _get_delayed_postinsts_common method that process Depends from
status file in dpkg/opkg and resolve dependency order causing an
execption if found circular dependencies.

[YOCTO #5318]

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agocmake: Upgrade 2.8.12.2 -> 3.2.2
Moritz Blume [Tue, 23 Jun 2015 15:50:51 +0000 (17:50 +0200)]
cmake: Upgrade 2.8.12.2 -> 3.2.2

Patches "qt4-fail-silent.patch" and "support-oe-qt4-tools-names.patch"
were adapted in order to fit to CMake 3.2.2 (refer to the commit
message in the respective patch for details).
Patch "cmake-2.8.11.2-FindFreetype.patch" was dropped since it was
rejected upstream and its functionality otherwise implemented in the
meantime.

Signed-off-by: Moritz Blume <moritz.blume@bmw-carit.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agooe-selftest: timestamp the test runs
Ross Burton [Mon, 22 Jun 2015 16:20:42 +0000 (17:20 +0100)]
oe-selftest: timestamp the test runs

The selftest can take a couple of hours to run, so add a custom result class to
timestamp the output to make it easy to spot any slow tests.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agouclibc: Cope with other mips32 variants
Ramax Lo [Tue, 23 Jun 2015 16:22:52 +0000 (00:22 +0800)]
uclibc: Cope with other mips32 variants

Update uclibc.inc to handle different tunes of mips32 like mips32el,
mips32-nf, mips32el-nf, etc.

Signed-off-by: Ramax Lo <ramaxlo@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agopiglit: fix floating dependence on freeglut
Roy Li [Thu, 18 Jun 2015 09:18:57 +0000 (17:18 +0800)]
piglit: fix floating dependence on freeglut

cmake can not handle "ifdef" and make floating dependence on freeglut_ext.h
when make_depend, so remove to include freeglut_ext.h from header file if
freegult is not in PACKAGECONFIG to fix this issue

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogdb: Add missing runtime dependency for python option
Andreas Oberritter [Tue, 23 Jun 2015 05:12:58 +0000 (22:12 -0700)]
gdb: Add missing runtime dependency for python option

With python enabled, gdb refuses to start without core
python modules:

| Could not find platform independent libraries <prefix>
| Could not find platform dependent libraries <exec_prefix>
| Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
| ImportError: No module named site

It also complains if python-codecs is missing.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agounzip: fix four CVE defects
Roy Li [Tue, 23 Jun 2015 05:32:06 +0000 (13:32 +0800)]
unzip: fix four CVE defects

Port four patches from unzip_6.0-8+deb7u2.debian.tar.gz to fix:
     cve-2014-8139
     cve-2014-8140
     cve-2014-8141
     cve-2014-9636

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoqemu: backport patches to fix CVE issues
Kai Kang [Thu, 18 Jun 2015 09:02:42 +0000 (17:02 +0800)]
qemu: backport patches to fix CVE issues

Backport patches to fix CVE-2015-4103, CVE-2015-4104, CVE-2015-4105 and
CVE-2015-4106. These patches are from debian, but they are originally
from:

http://git.qemu.org/?p=qemu.git;a=shortlog;h=c25bbf1

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoterminal.py: Allow devshell/menuconfig on recent gnome-terminal
Leonardo Sandoval [Tue, 2 Jun 2015 19:54:27 +0000 (14:54 -0500)]
terminal.py: Allow devshell/menuconfig on recent gnome-terminal

Recent versions of gnome-terminal does not support non-UTF8 charset:
https://bugzilla.gnome.org/show_bug.cgi?id=732127 as a result, devshell and
menuconfig tasks silently hang  (error found on trace log of 'strace -f -v
-s 8192 -e write=2 bitbake -c devshell quilt-native': "Non UTF-8 locale
(ANSI_X3.4-1968) is not supported!"). As a workaround, clearing the LC_ALL
environment variable so it uses the locale. Once fixed on the gnome-terminal
project, this should be removed.

Tested on gnome-terminal versions:

       GNOME Terminal 3.4.1.1
       GNOME Terminal 3.14.2 (Default on Ubuntu 15.04)

[YOCTO #7791]

Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agobluez5: upgrade to 5.31
Cristian Iorga [Mon, 22 Jun 2015 11:12:37 +0000 (14:12 +0300)]
bluez5: upgrade to 5.31

Mostly a bug fix release,
with the the following improvements:
- support for handling BNEP setup response;
- support for setting GATT database security flags;
- support for setting discovery filters interface;
- support for user controlled advertising interface.

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolinux-firmware: upgrade to commit 3161bfa479d5e9ed4f46b57df9bcecbbc4f8eb3c
Cristian Iorga [Mon, 22 Jun 2015 16:55:15 +0000 (19:55 +0300)]
linux-firmware: upgrade to commit 3161bfa479d5e9ed4f46b57df9bcecbbc4f8eb3c

Updates to firmware binaries from (not exhaustive list):
Broadcom, Atheros, Realtek, Marvell, Intel, AMD, Siano.

- AMD microcode copyright years changed;
- Siano license added;
- Intel SST2 license added;

Fixes [YOCTO #6965].

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoweston: fix libdir/libexecdir confusion
Ross Burton [Tue, 23 Jun 2015 10:43:43 +0000 (11:43 +0100)]
weston: fix libdir/libexecdir confusion

Use $libexecdir and $libdir as appropriate so the files are packaged correctly
when libexecdir != $libdir/$BPN.

Signed-off-by: Ross Burton <ross.burton@intel.com>