]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/log
thirdparty/openembedded/openembedded-core-contrib.git
10 years agoxserver-xorg: use GCC 5 patch from upstream
Ross Burton [Tue, 28 Apr 2015 10:58:11 +0000 (11:58 +0100)] 
xserver-xorg: use GCC 5 patch from upstream

Upstream has already fixed the GCC 5 problem, so use the patch from upstream.

(From OE-Core rev: 15b39bfbb1a0263ac194a9833175b72ab7345ebd)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: bitbake: reset build mtime cache before the build
Ed Bartosh [Tue, 21 Apr 2015 15:48:49 +0000 (18:48 +0300)] 
bitbake: bitbake: reset build mtime cache before the build

Introduced build mtime cache structure. Reset it before the build
to prevent bitbake from crashing when build/tmp/stamps hierarchy
is removed.

[YOCTO: #7562]

(Bitbake rev: f8590547a198a78334debdf14bf40acb50c22ecc)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: bitbake: use sys.exit to simplify the code
Ed Bartosh [Tue, 28 Apr 2015 12:52:18 +0000 (15:52 +0300)] 
bitbake: bitbake: use sys.exit to simplify the code

Used sys.exit instead of assigning exit code to
variable. This way it's more clear when bitbake
exists and which exit code is used.

(Bitbake rev: 5ecb8817bd49223652ede4fe513f1a42f2196798)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: bitbake: Check if bitbake versions match
Ed Bartosh [Tue, 28 Apr 2015 12:15:57 +0000 (15:15 +0300)] 
bitbake: bitbake: Check if bitbake versions match

Bitbake program and core versions must match.

Moved __version__ from main.py back to bin/bitbake.
Implemented check for version match in bin/bitbake.

(Bitbake rev: 2fe7d8c574ddf6a30278cff1a5a5c4089dc56d6d)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
tbs

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: bitbake: Handle BBMainException
Ed Bartosh [Tue, 28 Apr 2015 11:27:34 +0000 (14:27 +0300)] 
bitbake: bitbake: Handle BBMainException

Some error messages were lost because BBMainException was
inherited from bb.BBHandledException. When bb.BBHandledException
is processed error messages are not printed as they suppose to
be printed before raising this exception.

Stopped to inherit BBMainException from bb.BBHandledException.
Handled BBMainException in bin/bitbake and printed error message
to the stderr.

(Bitbake rev: c8e2a40c4e9865ebef9936d23644f2602a5c90f5)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosplit_and_strip_files: regroup hardlinks to make build deterministic
Ed Bartosh [Wed, 22 Apr 2015 19:57:18 +0000 (22:57 +0300)] 
split_and_strip_files: regroup hardlinks to make build deterministic

Reverted 7c0fd561bad0250a00cef63e3d787573112a59cf

Created separate group of hardlinks for the files inside
the same package. This should prevent stripped files to be
populated outside of package directories.

This turns out not to be straightforward and has overlap with the
other hardlink handling code in this area. The code is condensed
into a more concise and documented form.

[Original patch from Ed with tweaks from RP]

[YOCTO #7586]

(From OE-Core rev: 82d00f7254b7d3bb6a167d675d798134884d1b19)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolib/oe/package: Improve strip subprocess handling
Richard Purdie [Tue, 28 Apr 2015 16:09:58 +0000 (17:09 +0100)] 
lib/oe/package: Improve strip subprocess handling

Currently if the strip process fails, we get a message but don't know why. This adds
code to show the return value and any error output.

(From OE-Core rev: 85e8fb1c7a3baac5633ecdfb36113aec7f4235cb)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolib/oeqa: Add sdk tests for gcc/perl/python
Richard Purdie [Tue, 28 Apr 2015 10:53:59 +0000 (11:53 +0100)] 
lib/oeqa: Add sdk tests for gcc/perl/python

Enhance testing of the generated SDK tarballs by adding tests for
gcc/perl/python based on the existing runtime tests.

(From OE-Core rev: 18160403427b2aab4207c939312fb0981c3f2d1b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoautotools: Fix find races on source directory
Richard Purdie [Tue, 28 Apr 2015 10:51:12 +0000 (11:51 +0100)] 
autotools: Fix find races on source directory

In a similar way to http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=aa1438b56f30515f9c31b306decef7f562dda81f
there are more find races in the autotools class.

For recipes with PACKAGES_remove = "${PN}", the find which removes
.la files can race against deletion of other directories in WORKDIR
e.g.:
find: '/home/autobuilder/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/build/tmp/work/qemux86_64-poky-linux/init-ifupdown/1.0-r7/sstate-build-populate_lic': No such file or directory
| WARNING: /home/autobuilder/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/build/tmp/work/qemux86_64-poky-linux/init-ifupdown/1.0-r7/temp/run.do_configure.6558:1 exit 1 from
| find /home/autobuilder/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/build/tmp/work/qemux86_64-poky-linux/init-ifupdown/1.0-r7 -name \*.la -delete

Fix the remaining races in the same way.

[YOCTO #7522]

(From OE-Core rev: 79770ca14a0cc2f4112fb4d8dc2d8832701b6d5d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agotestimage: Improve sdk handling of TEST_SUITES
Richard Purdie [Tue, 28 Apr 2015 10:50:26 +0000 (11:50 +0100)] 
testimage: Improve sdk handling of TEST_SUITES

Currently TEST_SUITES is used for both target image and sdk versions which
can be confusing. This introduces TEST_SUITES_SDK for the sdk version of
the code so that the different test sets can be specified independently.

(From OE-Core rev: ffd84177c68a6c86e654a9ba2512c299b40ec5e9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogpgme: Fix to use pkg-config in .m4 files
Richard Purdie [Tue, 28 Apr 2015 10:49:26 +0000 (11:49 +0100)] 
gpgme: Fix to use pkg-config in .m4 files

pkg-config is less error prone than -config files so switch to
using it (we already do for most of the rest of the gpg stack).

(From OE-Core rev: 046c7fd45fcf0c9226f76d51425978264930653b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agooeqa/targetbuild: Use DL_DIR for downloads if present
Richard Purdie [Tue, 28 Apr 2015 10:49:18 +0000 (11:49 +0100)] 
oeqa/targetbuild: Use DL_DIR for downloads if present

This isn't a test of wget so if the files we need are present in DL_DIR,
use them from there and save a bit of speed/bandwidth and skip the wget.

(From OE-Core rev: dc1d83d021afd77ca8fb948dc47bbd11e3844865)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosstate: Use SSTATE_DIR for FILESPATH
Richard Purdie [Tue, 28 Apr 2015 10:49:12 +0000 (11:49 +0100)] 
sstate: Use SSTATE_DIR for FILESPATH

FILESPATH was only being overridden in one fetch location, it should be
equally handled in both.

Also use SSTATE_DIR as FILESPATH so that mirror urls which do remapping
can search the local SSTATE_DIR for other paths.

Also ensure that MIRRORS is removed in both locations, previously
it was only unset in one but both codepaths should be consistent.

(From OE-Core rev: ab6bebddbdefec323e284b6438d9c57b3d8a2cc3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agotestimage: Fix sdk test manifest handling
Richard Purdie [Tue, 28 Apr 2015 10:49:08 +0000 (11:49 +0100)] 
testimage: Fix sdk test manifest handling

Fix SDK_MANIFEST -> SDK_TARGET_MANIFEST and add support for host
version too which is useful in SDK QA tests.

(From OE-Core rev: df91dd8d064dc3e59c7f057d3f869500a233a76f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoref-manual: Updated the ELF Binary QA warning message
Scott Rifenbark [Mon, 27 Apr 2015 17:10:40 +0000 (10:10 -0700)] 
ref-manual: Updated the ELF Binary QA warning message

Fixes [YOCTO #7630]

I applied some feedback from Laszlo Papp suggesting that the user
can also use '-fpic' as well as '-fPIC' for a command-line option.

(From yocto-docs rev: ec79c9a39955b22cb2b8cec44ffcaab22aba479b)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodev-manual; ref-manual: Fixed &dash; issue
Scott Rifenbark [Mon, 27 Apr 2015 15:15:56 +0000 (08:15 -0700)] 
dev-manual; ref-manual: Fixed &dash; issue

Fixes [YOCTO #7386]

Apparently the "&dash;" ENTITY used throughout the YP manual set to
get literal "-" characters in example commands renders into a unicode
that is not a dash.  This results in users getting errors if they
attempt to cut-and-paste a sample command that uses a "-" character
from the manual into a shell.  I have universally replaced all the
"&dash;" strings in the YP manual set to "-" strings.

(From yocto-docs rev: ef6dbf591eee70866f163e3c98454b6145f4fa3a)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibxfont: Security Advisory - libxfont - CVE-2015-1804
Li Zhou [Mon, 27 Apr 2015 02:54:22 +0000 (10:54 +0800)] 
libxfont: Security Advisory - libxfont - CVE-2015-1804

bdfReadCharacters: ensure metrics fit into xCharInfo struct

We use 32-bit ints to read from the bdf file, but then try to stick
into a 16-bit int in the xCharInfo struct, so make sure they won't
overflow that range.

(From OE-Core rev: 4dd4b96b6d60246338bb30ede9f3ab1b2e757be9)

Signed-off-by: Li Zhou <li.zhou@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibxfont: Security Advisory - libxfont - CVE-2015-1803
Li Zhou [Mon, 27 Apr 2015 02:49:22 +0000 (10:49 +0800)] 
libxfont: Security Advisory - libxfont - CVE-2015-1803

bdfReadCharacters: bailout if a char's bitmap cannot be read

Previously would charge on ahead with a NULL pointer in ci->bits, and
then crash later in FontCharInkMetrics() trying to access the bits.

(From OE-Core rev: 2c7a15a074501beb6b8a4c7bdf30604b1a432a6b)

Signed-off-by: Li Zhou <li.zhou@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibxfont: Security Advisory - libxfont - CVE-2015-1802
Li Zhou [Thu, 23 Apr 2015 09:20:06 +0000 (17:20 +0800)] 
libxfont: Security Advisory - libxfont - CVE-2015-1802

bdfReadProperties: property count needs range check

Avoid integer overflow or underflow when allocating memory arrays
by multiplying the number of properties reported for a BDF font.

(From OE-Core rev: 0ff9f2bf0e44a7b47a98234a12714c780825e286)

Signed-off-by: Li Zhou <li.zhou@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agokern-tools: unify meta directory detection
Bruce Ashfield [Fri, 24 Apr 2015 16:13:53 +0000 (12:13 -0400)] 
kern-tools: unify meta directory detection

It is possible that recipe specific tasks, or build processes drop
files into the kernel source directory. These files can cause problems
with the meta data detection in the kern-tools.

With this change, we have a single unified meta data detection routine,
that logs the result in a new file ".metadir", which subsequent scripts
can find, and use, thereby avoid repeating the same check many times.

We also enhance the check to look for a sentinel file in a proper meta
directory, to avoid false positives when an unexpected kernel process
leaves an uncommitted directory in the kernel dir.

[YOCTO: #7441]

(From OE-Core rev: 6b04ae2c0439b83c0445fd1b8cb9cba5cee6b9bc)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibarchive: Security Advisory - libarchive - CVE-2015-2304
Li Zhou [Fri, 24 Apr 2015 07:36:36 +0000 (15:36 +0800)] 
libarchive: Security Advisory - libarchive - CVE-2015-2304

libarchive: Updated libarchive packages fix security vulnerability

Alexander Cherepanov discovered that bsdcpio, an implementation of the "cpio"
program part of the libarchive project, is susceptible to a directory
traversal vulnerability via absolute paths.

(From OE-Core rev: e64a961e9c5e94e643896e4b68b85bd5b4c27470)

Signed-off-by: Li Zhou <li.zhou@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoless: fix CVE-2014-9488
Junling Zheng [Fri, 24 Apr 2015 05:58:59 +0000 (13:58 +0800)] 
less: fix CVE-2014-9488

An out of bounds read access in the UTF-8 decoding can be triggered with
a malformed file in the tool less. The access happens in the function
is_utf8_well_formed due to a truncated multibyte character in the sample
file.

The bug does not crash less, it can only be made visible by running less
with valgrind or compiling it with Address Sanitizer.

Version 475 of less contains a fix for this issue. The file version.c
contains some entry mentioning this issue (without any credit):

 - v475 3/2/15 Fix possible buffer overrun with invalid UTF-8

The fix is in the file line.c. We derive this patch from:

https://blog.fuzzing-project.org/3-less-out-of-bounds-read-access-TFPA-0022014.html

Thank Claire Robinson for validating it on Mageia 4 i586. Refer to:

https://bugs.mageia.org/show_bug.cgi?id=15567

(From OE-Core rev: 68994284f3c059b737bfc5afc2600ebd09bdf47f)

Signed-off-by: Junling Zheng <zhengjunling@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agorsync: backport a patch to fix CVE-2014-9512
Roy Li [Fri, 24 Apr 2015 02:37:14 +0000 (10:37 +0800)] 
rsync: backport a patch to fix CVE-2014-9512

rsync 3.1.1 allows remote attackers to write to arbitrary files via a symlink
attack on a file in the synchronization path.

Backport Complain-if-an-inc-recursive-path-is-not-right-for-i.patch to fix it

(From OE-Core rev: f280b4f28231ea5a416266ae022d6e4c4ea91117)

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agokernel-devsrc: depends on virtual/kernel:do_install
Robert Yang [Thu, 23 Apr 2015 09:15:20 +0000 (02:15 -0700)] 
kernel-devsrc: depends on virtual/kernel:do_install

The linux-yocto.inc may remove the meta dir:
do_install_append(){
if [ -n "${KMETA}" ]; then
rm -rf ${STAGING_KERNEL_DIR}/${KMETA}
fi
}

Which may cause the error:
[snip]
find: `./meta/cfg/kernel-cache/bsp/altera-socfpga/0073-FogBugz-116676-Align-clk.c-with-kernel.org.patch': No such file or directory
find: `./meta/cfg/kernel-cache/bsp/altera-socfpga/0047-FogBugz-90657-Fix-SD-MMC-driver-for-VT.patch': No such file or directory
find: `./meta/cfg/kernel-cache/bsp/altera-socfpga/0006-spi-qspi-cadence-Add-spi-and-qspi-driver.patch': No such file or directory
[snip]
cpio: ./meta/scripts/kgit-config-cleaner: Cannot stat: No such file or directory
cpio: ./meta/scripts/kgit-s2q: Cannot stat: No such file or directory
cpio: ./meta/scripts/kgit-clean: Cannot stat: No such file or directory
[snip]

(From OE-Core rev: 0866086c6a9d9f518388f2962db784ab15d49330)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agognu-efi: fix parallel issue
Robert Yang [Thu, 23 Apr 2015 09:15:19 +0000 (02:15 -0700)] 
gnu-efi: fix parallel issue

Fixed:
Assembler messages:
Fatal error: can't create runtime/rtlock.o: No such file or directory
Assembler messages:
Fatal error: can't create runtime/rtdata.o: No such file or directory
Assembler messages:
Fatal error: can't create runtime/vm.o: No such file or directory
Assembler messages:
Fatal error: can't create runtime/efirtlib.o: No such file or directory

(From OE-Core rev: 86d428775c95a900c9b452f03548b56cb980b64c)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoicecc.bbclass: blacklist libgcc-initial
Dmitry Eremin-Solenikov [Wed, 22 Apr 2015 09:49:52 +0000 (12:49 +0300)] 
icecc.bbclass: blacklist libgcc-initial

Building libgcc-initial with IceCC enabled can fail with the CPP sanity
check error in the following case (using ARM for example):
* sysroot contains cross gcc built for another ARM variant
* sysroot contains initial cross gcc built to suit the target machine
* bitbake tries to configure libgcc-initial
* libgcc-initial calls icecc wrapper
* icecc wrapper calls non-initial cross gcc via the full path
* non-initial cross gcc looks for the headers in the wrong place
* BOOM

(From OE-Core rev: 0fe64b080cc9854979b501908060aeb9811d9973)

Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibunwind: don't use gold for mips
Robert Yang [Wed, 22 Apr 2015 06:59:13 +0000 (23:59 -0700)] 
libunwind: don't use gold for mips

The gold doesn't work for mips or mips64:
configure:3867: checking whether the C compiler works
configure:3889: mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32r2 --sysroot=/buildarea/lyang1/test_uni/tmp/sysroots/qemumips  -O2 -pipe -g -feliminate-unused-debug-types   -Wl,-O1  -Wl,--as-needed  -fuse-ld=gold conftest.c  >&5
collect2: fatal error: cannot find 'ld'

(From OE-Core rev: 3c6746748a845b5156f81fe7a01caa58ee29e938)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agomesa: respect x11 in PACKAGECONFIG not DISTRO_FEATURES
Martin Jansa [Tue, 21 Apr 2015 16:30:39 +0000 (18:30 +0200)] 
mesa: respect x11 in PACKAGECONFIG not DISTRO_FEATURES

* default value of PACKAGECONFIG is set from DISTRO_FEATURES,
  but in the end we should respect what user sets in PACKAGECONFIG

(From OE-Core rev: 684eaa7f87d321c7965d1393cc5da2190c4acac5)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoudev-cache: improve error handling
Ken Sharp [Tue, 21 Apr 2015 15:35:45 +0000 (10:35 -0500)] 
udev-cache: improve error handling

If an error occurs while the udev cache is being populated, the system
is left in a state where udev is stopped.  Remedy this with a clean up
function to restart udev and remove any intermediate files.

(From OE-Core rev: af911b272ded95884079dc307eeeb1811f0584c9)

Signed-off-by: Ken Sharp <ken.sharp@ni.com>
Reviewed-by: Ben Shelton <ben.shelton@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoudev-cache: Remove unnecessary tar read from stdin
Ken Sharp [Tue, 21 Apr 2015 15:35:44 +0000 (10:35 -0500)] 
udev-cache: Remove unnecessary tar read from stdin

xargs already formats the inputs to tar correctly, so the
'-T -' argument to tar is unnecessary.

(From OE-Core rev: d18e1964dede530c5fae6ae349d6a78fa5342382)

Signed-off-by: Ken Sharp <ken.sharp@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoalsa-utils: Remove double dependency on udev
Mike Looijmans [Tue, 21 Apr 2015 13:33:44 +0000 (15:33 +0200)] 
alsa-utils: Remove double dependency on udev

"udev" is already added when PACKAGECONFIG includes it, so it should
not be in the DEPENDS list on itself.

This caused udev to be built for systems that don't use it.

(From OE-Core rev: 2ea67db71ba37285c5d16428ba9629412adcfa47)

Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosubversion: upgrade it from 1.8.11 to 1.8.13
Roy Li [Mon, 27 Apr 2015 08:12:29 +0000 (16:12 +0800)] 
subversion: upgrade it from 1.8.11 to 1.8.13

upgrade to fix two CVE defects: CVE-2015-0248 and CVE-2015-0251

(From OE-Core rev: cb00b9e0330970b5c768aae9ddd4703a7172acbe)

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopopulate_sdk_base: also record the host part into manifest
Chen Qi [Mon, 27 Apr 2015 10:19:59 +0000 (18:19 +0800)] 
populate_sdk_base: also record the host part into manifest

For now, we can create manifest for the target part for SDK.
I think it's nice to have a place for users to look into to examine contents
of the host part of SDK.

This also affects uninative-tarball and buildtools-tarball as they
inherit populate_sdk.bbclass. After this change, we could have a manifest file
created in the deploy directory containing a list of packages used to
construct them.

[YOCTO #7604]

(From OE-Core rev: 3069641589942f52b11e88cfea564ebba4beb3c2)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoptest: add recommends to ptest-runner
Ross Burton [Thu, 23 Apr 2015 14:42:42 +0000 (15:42 +0100)] 
ptest: add recommends to ptest-runner

If you're installing ptest packages into an image there's a good chance
you want to run the tests.  Assist with this by recommending
ptest-runner in the -ptest packages.

(From OE-Core rev: a9eededcb33b2ee41a061298610126436dfc2c11)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agomkefidisk.sh: be more explicit with device error
Paul Eggleton [Tue, 21 Apr 2015 13:01:56 +0000 (14:01 +0100)] 
mkefidisk.sh: be more explicit with device error

* Specify whether the device can't be found or can't be written to
* Give a hint to use sudo

(From OE-Core rev: 92b58e1c789ee412d936285144e8e549c99ff979)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agomkefidisk.sh: fix hanging on non-writeable device
Paul Eggleton [Tue, 21 Apr 2015 13:01:55 +0000 (14:01 +0100)] 
mkefidisk.sh: fix hanging on non-writeable device

If cleanup() is called early on, as happens when the device isn't
writeable, then none of the mount point variables are set; thus the
script was calling grep with only one argument and appeared to hang
since it was waiting for input on stdin.

(From OE-Core rev: cf4a18eec2a65d840352d1a2862242d116e8a409)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agomkefidisk.sh: use script mode when running parted
Paul Eggleton [Tue, 21 Apr 2015 13:01:54 +0000 (14:01 +0100)] 
mkefidisk.sh: use script mode when running parted

This avoids parted showing prompts and thus effectively hanging the
script in in the case of initially malformed disks.

(From OE-Core rev: 8f6eb9a86ce64b4c534342fe315069eb4064de88)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodevtool: update-recipe: check if source tree is a git repository
Paul Eggleton [Mon, 27 Apr 2015 09:53:21 +0000 (10:53 +0100)] 
devtool: update-recipe: check if source tree is a git repository

If you've done "devtool add" (or "devtool modify" without -x) then it's
possible that the external source tree is not a git repository, so we
should handle that case here instead of printing a traceback.

(From OE-Core rev: eb2147aa8facd4ef33a0749e9ae660ec686dad48)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodevtool: update-recipe: handle unversioned bbappends
Paul Eggleton [Mon, 27 Apr 2015 09:53:20 +0000 (10:53 +0100)] 
devtool: update-recipe: handle unversioned bbappends

Use the proper bbappend file name, don't just assume it will have a
version suffix (because it won't if the original recipe doesn't).

Fixes [YOCTO #7651].

(From OE-Core rev: 3332d68ef7b2a300ce8dcf5021497d98e5b17baa)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodevtool: reset: avoid errors in case file no longer exists
Paul Eggleton [Mon, 27 Apr 2015 09:53:19 +0000 (10:53 +0100)] 
devtool: reset: avoid errors in case file no longer exists

If you manually delete files in the workspace layer (which you really
shouldn't) it was possible to get yourself into the situation where you
couldn't reset because we were attempting to check if the file had been
modified and erroring out if it couldn't be opened. If the file's not
there anymore there's not much point checking if it needs to be
preserved, just skip it.

(From OE-Core rev: d2d352f7b747a97a54df9d20eb1455d166aa1ee3)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodevtool: add: use correct bbappend file name with -V option
Paul Eggleton [Mon, 27 Apr 2015 09:53:18 +0000 (10:53 +0100)] 
devtool: add: use correct bbappend file name with -V option

We weren't adding the version into the bbappend file name when -V was
specified which meant that building or resetting failed.

Also adjust one of the tests so that we're testing devtool add both with
and without this option.

Fixes [YOCTO #7647].

(From OE-Core rev: bdbeff0cd342e31053d7203d78fc5dda611052b1)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodevtool: handle . in recipe name
Paul Eggleton [Mon, 27 Apr 2015 09:53:17 +0000 (10:53 +0100)] 
devtool: handle . in recipe name

Names such as glib-2.0 are valid (and used) recipe names, so we need to
support them.

Fixes [YOCTO #7643].

(From OE-Core rev: b9fd8d4d4dfae72de2e81e9b14de072e12cecdcf)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodevtool: include bbappends in recipe parsing
Markus Lehtonen [Mon, 27 Apr 2015 09:53:16 +0000 (10:53 +0100)] 
devtool: include bbappends in recipe parsing

In order to get correct metadata, SRCREV for example.

Fixes [YOCTO #7648].

(From OE-Core rev: 8b1794559dd7fd956716179d628e61cffdce1686)

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agooe-selftest: devtool: fix test_devtool_update_recipe_git
Paul Eggleton [Mon, 27 Apr 2015 09:53:15 +0000 (10:53 +0100)] 
oe-selftest: devtool: fix test_devtool_update_recipe_git

Make this test work after recent changes to the mtd-utils recipe, and
hopefully make it robust against any future changes.

(From OE-Core rev: 5be62624a6537659f9f6229c82762da45909f902)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodevtool: modify: implement --no-same-dir
Markus Lehtonen [Mon, 27 Apr 2015 09:53:14 +0000 (10:53 +0100)] 
devtool: modify: implement --no-same-dir

This option can be used to have a separate build directory, in order to
keep the srctree directory clean for packages that do not need to be
built in the source directory.

(From OE-Core rev: 5cc348c0a3016e4ccc1e80d099e2e197b3b38bd2)

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodevtool: modify: use B=S if that is the default for the recipe
Markus Lehtonen [Mon, 27 Apr 2015 09:53:13 +0000 (10:53 +0100)] 
devtool: modify: use B=S if that is the default for the recipe

Makes the build succeed for packages which do not support separate build
directory, e.g. zlib. The same outcome could be achieved with the
--same-dir option, but, it's generally hard to tell if a random package
would need that option. The negative side effect of this patch is that
dev srctree (of some packages that build fine without this modification)
gets dirtied by build artefacts.

(From OE-Core rev: 6ac5692426956e276ba2119f917b0f30791e6cd6)

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Acked-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoxkeyboard-config: modified the license
Lei Maohui [Mon, 27 Apr 2015 06:53:27 +0000 (14:53 +0800)] 
xkeyboard-config: modified the license

Because usr/share/X11/xkb/symbols/eu and usr/share/X11/xkb/symbols/ph are GPLv3.
So add GPLv3 in the license.

(From OE-Core rev: cab517bb1d7628fd8c1080f12462b86928ca720b)

Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosysstat: upgrade to 11.1.4
Chen Qi [Mon, 27 Apr 2015 02:25:55 +0000 (10:25 +0800)] 
sysstat: upgrade to 11.1.4

(From OE-Core rev: ce3a3ce3246af8be9b276248b7fc756e7e6a8be1)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopciutils: upgrade to 3.3.1
Chen Qi [Mon, 27 Apr 2015 02:25:54 +0000 (10:25 +0800)] 
pciutils: upgrade to 3.3.1

(From OE-Core rev: f3da54f88669630efcbde62da097cb7487e65101)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolinux-yocto/3.19: configuration updates and stable integration
Bruce Ashfield [Fri, 24 Apr 2015 16:13:54 +0000 (12:13 -0400)] 
linux-yocto/3.19: configuration updates and stable integration

Bumping the linux-yocto 3.19 SRCREVs to integrate the 3.19.5 korg
stable updates, as well as the following meta data changes:

  205aca0c1241 meta: intel-common: Enable USB-based Bluetooth hardware
  b6a810e8e808 meta: features/bluetooth: add support for USB Bluetooth hardware
  767f3fa34680 common-pc-drivers: Add CONFIG_EEPROM_AT24
  e308b2c52519 intel-core*: Add Braswell soc support
  8c1c74d5052b braswell: Add features/soc/braswell

(From OE-Core rev: 2b163b8bbe8363e24f951ec507691ac692bc80b0)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agotzdata: update to 2015d
Armin Kuster [Fri, 24 Apr 2015 21:38:39 +0000 (14:38 -0700)] 
tzdata: update to 2015d

Changes affecting future time stamps

Egypt will not observe DST in 2015 and will consider canceling it
permanently.  For now, assume no DST indefinitely.
(Thanks to Ahmed Nazmy and Tim Parenti.)

Changes affecting past time stamps
America/Whitehorse switched from UTC-9 to UTC-8 on 1967-05-28, not
1966-07-01.  Also, Yukon's time zone history is documented better.
(Thanks to Brian Inglis and Dennis Ferguson.)

Change affecting past and future time zone abbreviations
The abbreviations for Hawaii-Aleutian standard and daylight times
have been changed from HAST/HADT to HST/HDT, as per US Government
Printing Office style.  This affects only America/Adak since 1983,
as America/Honolulu was already using the new style.

(From OE-Core rev: b9f366ab4e0a9cad69b631f402b9afa02d40f667)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agotzcode: update to 2015d
Armin Kuster [Fri, 24 Apr 2015 21:38:38 +0000 (14:38 -0700)] 
tzcode: update to 2015d

Changes affecting code

    zic has some minor performance improvements.

(From OE-Core rev: 3ab7e247b0662a1791169f16424abec426885f80)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoinsserv: Fix build with gcc5 and clang
Khem Raj [Fri, 24 Apr 2015 03:35:20 +0000 (20:35 -0700)] 
insserv: Fix build with gcc5 and clang

Kill 2 bugs with one patch

| insserv.c:997:5: note: each undeclared identifier is reported only
once for each function it appears in
| insserv.c:997:15: error: expected ';' before 'char'
|      extension char buf[strlen(myname)+2+strlen(fmt)+1];
|                ^
| insserv.c: In function 'main':
| insserv.c:2379:5: error: 'extension' undeclared (first use in this
function)
|      extension char * argr[argc];
|      ^
| insserv.c:2379:15: error: expected ';' before 'char'
|      extension char * argr[argc];
|                ^
| insserv.c:2401:2: error: 'argr' undeclared (first use in this
function)
|   argr[c] = (char*)0;
|   ^

Change-Id: I36b7fb9e8baeda5a7cc252da10c0527401248226
(From OE-Core rev: c0f074714e34145dd6cdac6df5c325fdce649f01)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agofontconfig: Fix pkgconfig file generation to not have absolute paths
Khem Raj [Fri, 24 Apr 2015 03:35:32 +0000 (20:35 -0700)] 
fontconfig: Fix pkgconfig file generation to not have absolute paths

Fixes cross building dependent packages with gcc-5
e.g. matchbox-panel-2

Change-Id: I6290cfa4aac5d03a7200472d0c713b7ea84b99ac
(From OE-Core rev: 5b3831fa52a38640ec529d2ffb366c8fffce3a51)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agofontconfig: Upgrade to 2.11.93
Khem Raj [Fri, 24 Apr 2015 03:35:31 +0000 (20:35 -0700)] 
fontconfig: Upgrade to 2.11.93

LIC_FILES_CHKSUM change is due to shifting of
the hunk to different line numbers, checksum remains same still

Change-Id: I0ce0cc96d39c801e57394f7a839a01d11a6f3979
(From OE-Core rev: 87749a627d0d34f7338ecc55a377a273c66562f3)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopkgconfig: Upgrade to latest git tip
Khem Raj [Fri, 24 Apr 2015 03:35:30 +0000 (20:35 -0700)] 
pkgconfig: Upgrade to latest git tip

0.28 was released 2 years ago and bunch of patches
have gone in since. The commit rate is quite low
so its not a lot of churn to use. We have backports
for few bugs that are removed. Git version of recipe is removed too
since its no longer needed

Change-Id: I4b57db15320c76b1de5d26a733e60436663ff34a
(From OE-Core rev: c7478e328f6507350b7d2d2c790b3dd2bfe2d832)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogummiboot: upgrade 43 -> 48+git
Khem Raj [Fri, 24 Apr 2015 03:35:29 +0000 (20:35 -0700)] 
gummiboot: upgrade 43 -> 48+git

43 does not compile with gcc-5
Refresh objcopy patch to incorporate latest changes

Change-Id: Ied41ed1335bb1db3438b98121e05c22242a8a13e
(From OE-Core rev: be5708b077dea2557df1226f7570c4757b68b46d)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogrub: Backport const qualifier fix for gcc-5
Khem Raj [Fri, 24 Apr 2015 03:35:28 +0000 (20:35 -0700)] 
grub: Backport const qualifier fix for gcc-5

gcc-5 is stricter and complains about const to non-const
conversions, we backport the patch from upstream into 2.00

Change-Id: I17db365fdd253daaa1ab726e2a70ecad0ac7b2ae
(From OE-Core rev: 7d79a7bfffbc39090b22bb7696cc5dbc832e49b6)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogtk+: Correct function prototype
Khem Raj [Fri, 24 Apr 2015 03:35:27 +0000 (20:35 -0700)] 
gtk+: Correct function prototype

This is turned on by default in gcc-5 so far
we have been getting by this issue but time to fix it
has now come

Change-Id: I012248731de0be7a9b7e232073746360fe6c83dd
(From OE-Core rev: 8d8db821d7bcf30079f5a71c255481b12ec00e17)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agognome-icon-theme: Needs nls.m4
Khem Raj [Fri, 24 Apr 2015 03:35:26 +0000 (20:35 -0700)] 
gnome-icon-theme: Needs nls.m4

it really needs nls, so lets add proper dependencies
and options

Change-Id: Ib01f066e9dadf2784686cbe28578d2784dfcba88
(From OE-Core rev: e61b6d99693a660f62f4a6494fb775fa14aacd12)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosubversion: Add -P to CPPFLAGS
Khem Raj [Fri, 24 Apr 2015 03:35:25 +0000 (20:35 -0700)] 
subversion: Add -P to CPPFLAGS

see https://gcc.gnu.org/gcc-5/porting_to.html

we need to stop the preprocessor from generating the #line directives
or we run into issues like

| checking for apr_int64_t Python/C API format string...
| configure: error: failed to recognize APR_INT64_T_FMT on this platform
| Configure failed. The contents of all config.log files follows to aid
debugging
| ERROR: oe_runconf failed

Rightly subversion should be fixed but lets leave that to subversion
folks

Change-Id: I02a89798ff949f79967ab0a73adcddaa4218662d
(From OE-Core rev: 7793b1c425077ed6ed11a9bc2a8b1b96612b1c96)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolttng-tools: Add extern qualifier to declarations in .h file
Khem Raj [Fri, 24 Apr 2015 03:35:24 +0000 (20:35 -0700)] 
lttng-tools: Add extern qualifier to declarations in .h file

This will ensure that compiler does not initialize the definitions
in header files

Change-Id: I1076201c667f96707c320a51a77d4a70e22df750
(From OE-Core rev: 2e9a4198fc9a9fcc78eddb6cd5c2ad51a2e8d3e7)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agomdadm: Fix inline semantics
Khem Raj [Fri, 24 Apr 2015 03:35:23 +0000 (20:35 -0700)] 
mdadm: Fix inline semantics

With gcc-5 defaulting to gnu11 C we need to follow
c99 inline semantics

Change-Id: I397520c36c81634556b3f3782aebc532e4a79aed
(From OE-Core rev: 944f94a32577969ee1fc197ab285b0abd9e541fa)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agou-boot-mkimage: Backport fix from upstream to fix build with gcc-5
Khem Raj [Fri, 24 Apr 2015 03:35:22 +0000 (20:35 -0700)] 
u-boot-mkimage: Backport fix from upstream to fix build with gcc-5

Change-Id: I5322f1ff8653009b45ddee1a2d3a0d96584d3327
(From OE-Core rev: 54fc9c0d1cc5cafa44e4b392ef087900e4102464)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoxserver-xorg: Fix build with gcc-5
Khem Raj [Fri, 24 Apr 2015 03:35:21 +0000 (20:35 -0700)] 
xserver-xorg: Fix build with gcc-5

Backport a patch from fedora details are in patch header

Change-Id: I6b8dfaae3b751071bf8b0d88b15a4f95c19877f6
(From OE-Core rev: 100ab2578bd2025aed940fddce467a4606962695)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoglibc, packagegroup-self-hosted, packagegroup-core-lsb: Consider non-glibc libcs
Khem Raj [Fri, 24 Apr 2015 03:35:19 +0000 (20:35 -0700)] 
glibc, packagegroup-self-hosted, packagegroup-core-lsb: Consider non-glibc libcs

Make skipping expression simpler to check for given libc
Make sure glibc specific items are covered with right override

Change-Id: I8b4a0b7cbfe38ffdc9320f798038c79c7220552b
(From OE-Core rev: 6f4be55ca66b4470aa46c0ae356070ed166f44ce)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibsoup-2.4: Upgrade 2.46.0 -> 2.50.0
Jussi Kukkonen [Mon, 13 Apr 2015 12:42:00 +0000 (15:42 +0300)] 
libsoup-2.4: Upgrade 2.46.0 -> 2.50.0

(From OE-Core rev: 0731fb03b5cc40502f90912fb2e72b54b777509d)

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibrsvg: Upgrade 0.40.6 -> 0.40.9
Jussi Kukkonen [Fri, 10 Apr 2015 13:54:40 +0000 (16:54 +0300)] 
librsvg: Upgrade 0.40.6 -> 0.40.9

* modify gtk-option patch so it's for configure.ac and not
  configure.in

(From OE-Core rev: 25b4cac50ba05a8faeb3b2013253103b98e5f533)

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agojson-glib: Upgrade 1.0.2 -> 1.0.4
Jussi Kukkonen [Fri, 10 Apr 2015 12:26:34 +0000 (15:26 +0300)] 
json-glib: Upgrade 1.0.2 -> 1.0.4

(From OE-Core rev: 6a78a1f14486f76f6aaad770d630136a6345e7bd)

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agohicolor-icon-theme: Upgrade to 0.15
Jussi Kukkonen [Fri, 10 Apr 2015 12:24:06 +0000 (15:24 +0300)] 
hicolor-icon-theme: Upgrade to 0.15

(From OE-Core rev: 7652201faad3659f1c10b8fc61de1079ebdd13df)

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibxml-simple-perl/libconvert-asn1-perl: using PERLHOSTLIB
Roy Li [Mon, 30 Mar 2015 00:56:42 +0000 (08:56 +0800)] 
libxml-simple-perl/libconvert-asn1-perl: using PERLHOSTLIB

Using PERLHOSTLIB as possible, which is same as
${STAGING_LIBDIR_NATIVE}/perl-native/perl/${@get_perl_version(d)}

(From OE-Core rev: 981a054eb352bcdcc2b9450dc24718e6695ac99f)

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocurl: upgrade to 7.42.0
Maxin B. John [Thu, 23 Apr 2015 16:13:57 +0000 (18:13 +0200)] 
curl: upgrade to 7.42.0

Upgrade include these security fixes:
1. CVE-2015-3143
2. CVE-2015-3144
3. CVE-2015-3145
4. CVE-2015-3148

(From OE-Core rev: 9d2cb0e2183c24b4cf42c078d75c10ba1e4b6e56)

Signed-off-by: Maxin B. John <maxin.john@enea.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosystemd 219 -> system 219-stable
Bruno Bottazzini [Wed, 22 Apr 2015 17:01:10 +0000 (14:01 -0300)] 
systemd 219 -> system 219-stable

The upstream systemd git repo only contains the main systemd branch that
progresses at a quick pace, continuously bringing both bugfixes and new features.

Distributions usually prefer basing their releases on stabilized versions
that receive the bugfixes but not the features.

(From OE-Core rev: c21bf9d7bb0cb90392ed50a44c57a3d068b88ef9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agooeqa/selftest/toaster: fix bad indent
Cristian Iorga [Wed, 22 Apr 2015 09:22:31 +0000 (12:22 +0300)] 
oeqa/selftest/toaster: fix bad indent

oe-selftest --list-classes crashes because
of a bad indent (see below). Fixed.

systemd-build$ oe-selftest --list-classes
2015-04-22 12:12:39,141 - selftest - INFO - Listing all available test modules:
_sstatetests_noauto (hidden)
 -- SStateBase
 -- RebuildFromSState
 --  -- test_sstate_rebuild
 --  -- test_sstate_relocation
_toaster (hidden)
Traceback (most recent call last):
  File "/mnt/Yo/yoctoproject/poky/scripts/oe-selftest", line 201, in <module>
    ret = main()
  File "/mnt/Yo/yoctoproject/poky/scripts/oe-selftest", line 157, in main
    modlib = importlib.import_module(test)
  File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
    __import__(name)
  File "/mnt/Yo/yoctoproject/poky/meta/lib/oeqa/selftest/_toaster.py", line 438
    time.sleep(3)
    ^
IndentationError: unexpected indent

(From OE-Core rev: 46869abf72c1c5babce49537f221d7a4f53ca820)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agomtd-utils: enable mtd-utils-fix-corrupt-cleanmarker-with-flash_erase--j-command.patch
Robert Yang [Fri, 24 Apr 2015 07:54:09 +0000 (00:54 -0700)] 
mtd-utils: enable mtd-utils-fix-corrupt-cleanmarker-with-flash_erase--j-command.patch

We still need it, so update and enable it.

(From OE-Core rev: 4b57b7d59ddea33ee7696880ea1652e56f46d843)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopopulate_sdk_base: avoid executing empty function
Chen Qi [Fri, 24 Apr 2015 06:26:54 +0000 (14:26 +0800)] 
populate_sdk_base: avoid executing empty function

`bitbake uninative-tarball' raises the following warning.

    WARNING: Function  doesn't exist

This is because SDK_PACKAGING_FUNC is set to "" in its recipe.
Anyway, we need to check this variable to avoid executing empty function.

[YOCTO #7598]

(From OE-Core rev: 4c0ae7cce06de15f6881654ecec7f8bb743ff389)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agouninative-tarball: delete the packagedata task
Chen Qi [Fri, 24 Apr 2015 06:05:30 +0000 (14:05 +0800)] 
uninative-tarball: delete the packagedata task

This task is meaningless for uninative-tarball as the package task
has been deleted. Besides, sometimes it would cause problems. To
reproduce, use the following command.

bitbake uninative-tarball -c cleansstate && bitbake uninative-tarball &&
bitbake uninative-tarball -c clean && bitbake uninative-tarball

The error is something like below.

File: 'sstate.bbclass', lineno: 33, function: sstate_installpkg
     0029:        bb.build.exec_func(f, d)
     0030:
     0031:    for state in ss['dirs']:
     0032:        prepdir(state[1])
 *** 0033:        os.rename(sstateinst + state[0], state[1])
     0034:    sstate_install(ss, d)
     0035:
     0036:    for plain in ss['plaindirs']:
     0037:        workdir = d.getVar('WORKDIR', True)
Exception: OSError: [Errno 2] No such file or directory

[YOCTO #7597]

(From OE-Core rev: 8f905077aaed3dbeeed04787add1cf725fa87bdc)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoyocto-project-qs: Replaced GNOME Mobile with GTK+ wordings.
Scott Rifenbark [Wed, 22 Apr 2015 15:09:40 +0000 (08:09 -0700)] 
yocto-project-qs: Replaced GNOME Mobile with GTK+ wordings.

GNOME Mobile no longer applies.  I updated text to use the
GTK+ wordings.

(From yocto-docs rev: 09e67479f470ca4b21f532c5fc96f36d3bf1a39d)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agotoaster-manual: Removed redundant video.
Scott Rifenbark [Wed, 22 Apr 2015 14:47:48 +0000 (07:47 -0700)] 
toaster-manual: Removed redundant video.

(From yocto-docs rev: 4188241b40cf1ce5b70e21cd5f65362758742b02)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoref-manual: Removed FAQ question for GNOME Mobile.
Scott Rifenbark [Tue, 21 Apr 2015 21:50:12 +0000 (14:50 -0700)] 
ref-manual: Removed FAQ question for GNOME Mobile.

(From yocto-docs rev: d214db03da1802ca9a42eaed64b51daa8f7f5682)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoref-manual: Fixed some dashes in the user input examples.
Scott Rifenbark [Tue, 21 Apr 2015 21:34:38 +0000 (14:34 -0700)] 
ref-manual: Fixed some dashes in the user input examples.

I typically try to use the underscore character to string together
multi-word user-input descriptors in examples.  I fixed a bunche
here.

(From yocto-docs rev: 68474b5a8b5c96b0fc19fda29e667369f4606e31)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoref-manual: Fixed some formatting on a user-input example.
Scott Rifenbark [Tue, 21 Apr 2015 20:53:37 +0000 (13:53 -0700)] 
ref-manual: Fixed some formatting on a user-input example.

(From yocto-docs rev: 0a2abec012ad3af4af9ab41bd9e679ca26903062)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoref-manual: Removed tag from profile-manual cross-ref
Scott Rifenbark [Tue, 21 Apr 2015 20:46:57 +0000 (13:46 -0700)] 
ref-manual: Removed tag from profile-manual cross-ref

In the introduction, the ref-manual references several other YP
manuals.  If the manual is build separately, these references resolve
to the appropriate manuals.  When the mega-manual is built, the
same references are designed to not become links.  In otherwords,
mega-manual.sed processes those links out.  This is by design.

I found a #profile-manual tag on one of the links in the introduction.
This resulted in a link in the mega-manual that would go nowhere.  I
removed the tag.

(From yocto-docs rev: fdaf114ece20994ec55061612ab53e9334afde26)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobsp-guide: Fixed link to the OpenEmbedded style guide.
Scott Rifenbark [Tue, 21 Apr 2015 20:22:55 +0000 (13:22 -0700)] 
bsp-guide: Fixed link to the OpenEmbedded style guide.

A link was going to an old YP page that talked about patch
style guide stuff.  That page simply redirects the user to a
styleguide of the OE.  I fixed the link in the manual to go
directly to that page now.

(From yocto-docs rev: 913c30eae42e89cc6f8dd99026594c2843985c58)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoadt-manual: fixed formatting for user-supplied data in example.
Scott Rifenbark [Tue, 21 Apr 2015 20:15:37 +0000 (13:15 -0700)] 
adt-manual: fixed formatting for user-supplied data in example.

(From yocto-docs rev: 0a5b26ab90056b7107bb86329148e8c3a0173065)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodev-manual: Applied some formatting for user input.
Scott Rifenbark [Tue, 21 Apr 2015 18:58:50 +0000 (11:58 -0700)] 
dev-manual: Applied some formatting for user input.

(From yocto-docs rev: 6a9ff5b63d704fa17edd8c304f6c3c6d8d903090)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodev-manual: Fixed link to Toaster Manual.
Scott Rifenbark [Tue, 21 Apr 2015 18:38:24 +0000 (11:38 -0700)] 
dev-manual: Fixed link to Toaster Manual.

I found a link that is processed by the mega-manual.sed file correctly
but for the situation it does not resolve right.  The link is a
"naked" link.  In other words, it doesn't have a #<tag> part.
When the .sed file sees these types of links, no hyperlink is
generated.  I found a case in the dev-manual where I reference the
Toaster Manual in general and would like a link that would take the
user there.  So, I had to add a #<tag> part to the link in the XML

(From yocto-docs rev: ab11e9822b5ec1b0f7138f1419ce9c340f6f27ad)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodev-manual: Fixed a cross-ref link that used "here" as the link.
Scott Rifenbark [Tue, 21 Apr 2015 17:48:37 +0000 (10:48 -0700)] 
dev-manual: Fixed a cross-ref link that used "here" as the link.

I don't like these.  I fixed it up.

(From yocto-docs rev: 2267fc3353563a249cc9bf16ec0bf4d5930ddaa9)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodev-manual: Added Toaster to the list of ways to develop.
Scott Rifenbark [Tue, 21 Apr 2015 17:45:54 +0000 (10:45 -0700)] 
dev-manual: Added Toaster to the list of ways to develop.

I put this in the intro list for the section that presents various
ways to use YP.

(From yocto-docs rev: 05f924f799a1f1396bf7154b298aabc3d06ad1d7)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodev-manual: Removed a cross-ref link to "here"
Scott Rifenbark [Tue, 21 Apr 2015 17:32:39 +0000 (10:32 -0700)] 
dev-manual: Removed a cross-ref link to "here"

This practice is not good.  I had one in the manual.  I reworded
the text to not use that term in a link.

(From yocto-docs rev: 53636ae7370827945b31d11785410dd44670bb91)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodev-manual: Updated branch descriptions for better manual maintenance
Scott Rifenbark [Tue, 21 Apr 2015 17:24:17 +0000 (10:24 -0700)] 
dev-manual: Updated branch descriptions for better manual maintenance

The "Repositories, Tags, and Branches" section had some wording
that described how branches are maintained in the poky repo that
made it hard to maintain in the doc from release to release.  I had
a list of past releases by name and as such would have to update
it every release to make it reflect the last set.  Well... this
is not the best way to do this and proved out as it slipped through
the cracks for the YP 1.8 release.  Consequently, I recast the text
so it is "release proof".

(From yocto-docs rev: b6e27d06df58a43bb767e9616ccf3c0711e83cf6)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoref-manual: Removed "Intel Corporation" from the "Links" section.
Scott Rifenbark [Tue, 21 Apr 2015 17:10:20 +0000 (10:10 -0700)] 
ref-manual: Removed "Intel Corporation" from the "Links" section.

In an attempt to keep the project as much open source as possible,
I removed the link to Intel from this list of resources.  We don't
list Linux, OpenedHand, Wind River, etc.

(From yocto-docs rev: 5efe375a94a14d4a70aa2c3ff9ab39d6c7362526)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodev-manual: Updated the poky definition in the "Terms" section.
Scott Rifenbark [Tue, 21 Apr 2015 17:04:37 +0000 (10:04 -0700)] 
dev-manual: Updated the poky definition in the "Terms" section.

Added some stuff about "poky" meaning the default distribution
when using YP and the poky git repository to build an image.

(From yocto-docs rev: bd534a5bdf405044c8f1a60ee9e251bff2a0e53c)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoref-manual: Updates to ELF binary QA warning - review changes
Scott Rifenbark [Mon, 20 Apr 2015 23:27:53 +0000 (16:27 -0700)] 
ref-manual: Updates to ELF binary QA warning - review changes

Applied some review edits from Paul.

Fixes [YOCTO #7630]

(From yocto-docs rev: 064fa763686f5ddaccba4a7201757f2a6fc8636c)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodev-manual: Updated the "Enabling and Using the Tool" section
Michael Wood [Mon, 20 Apr 2015 17:21:40 +0000 (10:21 -0700)] 
dev-manual: Updated the "Enabling and Using the Tool" section

The send-error-report tool syntax has slightly changed since the
documentation was written.  Removed the [server] part of the
command and added more detail on its use and results.

Reported-by: Michael Wood <michael.g.wood@intel.com>
(From yocto-docs rev: 10e28ab877b327301be536e5d515d5a419d082ac)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodev-manual: Updated "Requirements" section for creating partitioned images
Ed Bartosh [Mon, 20 Apr 2015 16:42:24 +0000 (09:42 -0700)] 
dev-manual: Updated "Requirements" section for creating partitioned images

Wic is not using parted and other runtime dependencies from host
system anymore.  It uses native tools instead.  Removed host parted
from the list of requirements.  Added instructions to build native
tools.

(From yocto-docs rev: ab22aff62bd9ffde3dfefe9fcabadc6e5aae7e31)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoref-manual: Updates to the TCLIBC variable description
Scott Rifenbark [Mon, 20 Apr 2015 14:58:31 +0000 (07:58 -0700)] 
ref-manual: Updates to the TCLIBC variable description

An old note still existed in this entry that stated we don't support
glibc.  This is not true.  I deleted the note.

Reported-by: Paul Eggleton <paul.eggleton@intel.com>
(From yocto-docs rev: e72f248f45678fb445e60106dd338c4d9cd114d8)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoref-manual: Updates to ELF binary QA warning
Scott Rifenbark [Mon, 20 Apr 2015 14:55:41 +0000 (07:55 -0700)] 
ref-manual: Updates to ELF binary QA warning

Fixes [YOCTO #7630]

Apparently the text relocation being done here can cause runtime
performance issues.  I documented a potential work-around for the
issue and provided a cross-reference link to an external site for
more general information about text relocation at runtime.

Reported-by: Laszlo Papp <lpapp@kde.org>
(From yocto-docs rev: f7ba2fd03ee40c5dbe6a07a24a63d9147857ed78)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoref-manual: Added glossary entry for EXTERNAL_KERNEL_TOOLS
Scott Rifenbark [Wed, 15 Apr 2015 18:53:18 +0000 (11:53 -0700)] 
ref-manual: Added glossary entry for EXTERNAL_KERNEL_TOOLS

(From yocto-docs rev: 23caeb53eaed68135e4dbf7adbb5c0c16ef70cf0)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoref-manual: Fixed style sheet
Scott Rifenbark [Wed, 15 Apr 2015 18:52:04 +0000 (11:52 -0700)] 
ref-manual: Fixed style sheet

Style sheet was not spacing after the first paragraph for glossary
entries.

(From yocto-docs rev: fb08aec5303ed21315839c55b413873569497f23)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>