]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/log
thirdparty/openembedded/openembedded-core-contrib.git
9 years agooe-selftest: Improved --list-classes when determining test names
Daniel Istrate [Mon, 4 Jan 2016 13:43:56 +0000 (15:43 +0200)] 
oe-selftest: Improved --list-classes when determining test names

--list-classes does a weak validation when determining test names:
(if method.startswith("test_") which could report any class attribute
that starts with 'test_' as a valid test case.

This fix checks that the class attribute that starts with 'test_'
is also callable (is a method).

Fix for [YOCTO #8862]

(From OE-Core rev: 175810503d5596370cf7d840539ebdf35cf30278)

Signed-off-by: Daniel Istrate <daniel.alexandrux.istrate@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoselftest: moved tc test_buildhistory_does_not_change_signatures
Daniel Istrate [Mon, 4 Jan 2016 13:26:08 +0000 (15:26 +0200)] 
selftest: moved tc test_buildhistory_does_not_change_signatures

Moved test_buildhistory_does_not_change_signatures from
buildhistory/BuildhistoryBase to buildoptions/BuildhistoryTests.

The test being in the base class was causing it to run
multiple times.

Fix for [YOCTO #8867]

(From OE-Core rev: 975e67e28ccba5dcb0fced43c1f9e7da183dc201)

Signed-off-by: Daniel Istrate <daniel.alexandrux.istrate@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoscripts/oe-selftest: Remove extra coverage data added to unittests
Humberto Ibarra [Wed, 23 Dec 2015 23:36:08 +0000 (17:36 -0600)] 
scripts/oe-selftest: Remove extra coverage data added to unittests

Coverage data tracking initiates too early, causing coverage data from the
oe-selftest environment setting to be added to each run. Even when no tests are run
oe-selftest reports around 24% of coverage due to this extra data.

Change the custom resultclass used by the TextTestRunner to one generated from the
command arguments. The generated class processes coverage when needed, running
coverage setup just before the first testcase is run and reporting after the last
one finished.

[Yocto #8846]

(From OE-Core rev: d66a4c5cb77f745e973daf34b84724f91549f391)

Signed-off-by: Humberto Ibarra <humberto.ibarra.lopez@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoexpat: CVE-2015-1283
Zhixiong Chi [Thu, 24 Dec 2015 09:29:59 +0000 (17:29 +0800)] 
expat: CVE-2015-1283

Add CVE-2015-1283 patch for fixing integer overflow bug in expat.

Details are at below link:
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-1283

Patch comes from:
https://hg.mozilla.org/releases/mozilla-esr31/rev/2f3e78643f5c
https://codereview.chromium.org/1224303003

(From OE-Core rev: c89c5383e304a52b604a3672ac93fd88b5eb8b41)

Signed-off-by: Zhixiong Chi <Zhixiong.Chi@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopackagegroup-core-x11-sato: enable pcmanfm on mips
Maxin B. John [Wed, 23 Dec 2015 14:39:31 +0000 (16:39 +0200)] 
packagegroup-core-x11-sato: enable pcmanfm on mips

Enable pcmanfm in MIPS. Tested on qemumips.

(From OE-Core rev: a71bfa1e75f7b963a91ee03db169af60372987f3)

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowic: rawcopy: Copy source file to build folder
Noor Ahsan [Wed, 23 Dec 2015 13:50:35 +0000 (15:50 +0200)] 
wic: rawcopy: Copy source file to build folder

When a file is given using --sourceparams then wic directly use that file
instead of copying them to build folder. At time of assembling it os.rename
is called which renames all the files to name. In that process the original
file is renamed. When image recipe is rebuilt then wic complains about
missing file which was renamed in previous build.

[YOCTO #8854]

(From OE-Core rev: 33c52b1f2d39feb641465bf42e8b16d0ab22a316)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogrub2: Fix CVE-2015-8370
Awais Belal [Wed, 23 Dec 2015 11:10:34 +0000 (16:10 +0500)] 
grub2: Fix CVE-2015-8370

http://git.savannah.gnu.org/cgit/grub.git/commit/?id=451d80e52d851432e109771bb8febafca7a5f1f2

(From OE-Core rev: 7d0779b0133f253d06740653d8d1b8276dbcab7f)

Signed-off-by: Awais Belal <awais_belal@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosystemd: enable compatibility libraries by default
Ross Burton [Wed, 6 Jan 2016 09:21:51 +0000 (09:21 +0000)] 
systemd: enable compatibility libraries by default

Too many packages haven't been updated to use the new systemd library names, so
enable the compatibility libraries by default.

(From OE-Core rev: f95c327cb5ffc9374f84946fc64e840bb3febd23)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosystemd: add more compression and importd PACKAGECONFIGs
Ross Burton [Mon, 4 Jan 2016 10:20:25 +0000 (10:20 +0000)] 
systemd: add more compression and importd PACKAGECONFIGs

Add explicit PACKAGECONFIGs for all of compression formats that systemd can
detect at configure time, and an explicit enable/disable for importd.  importd
defaults to disabled as it needs curl and all the compression formats to be
enabled.

(From OE-Core rev: 24d358c44770b2ea145380f8648d6797b7bdb04c)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogcc-sanitizers: link directly against sysroot libstc++
Ross Burton [Mon, 4 Jan 2016 13:02:11 +0000 (13:02 +0000)] 
gcc-sanitizers: link directly against sysroot libstc++

Instead of building a shadow libstdc++-v3 directory with symlinks to the sysroot
libstdc++-v3.la, fiddle the Makefiles so that it doesn't attempt to link to a
in-tree library at all.

This fixes builds where .la files are not being installed into the sysroot at
all.

(From OE-Core rev: f0f814a674faef2160fb8a041b63169c74da108e)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoopenjade: Fix build if not installing libtool .la files
Phil Blundell [Tue, 14 May 2013 10:59:37 +0000 (11:59 +0100)] 
openjade: Fix build if not installing libtool .la files

The openjade build system is slightly funky and does strange things with library
dependencies.  Fix it up so that it depends on the .so rather than the .la
(which may not exist) for libraries from the sysroot.

(From OE-Core rev: dd6998ee068f0edf20139fee80fbbf6c1347649d)

Signed-off-by: Phil Blundell <philb@brightsign.biz>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agovalgrind: Define __UCLIBC__ for uclibc based systems
Khem Raj [Tue, 15 Dec 2015 21:25:48 +0000 (21:25 +0000)] 
valgrind: Define __UCLIBC__ for uclibc based systems

Helps configure valgrind for uclibc targets otherwise it tries to assume
funcitons that are implemented in glibc like __free_res

(From OE-Core rev: 928973960d1e4d0797fe3569a07f6265368a6aff)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosecurity_flags.inc: disable -fstack-protector-XXX for valgrind
Andre McCurdy [Tue, 22 Dec 2015 23:57:58 +0000 (15:57 -0800)] 
security_flags.inc: disable -fstack-protector-XXX for valgrind

Valgrind (v3.11.0) expects to build with stack protection disabled
and includes -fno-stack-protector in its default CFLAGS. However, the
CFLAGS provided by OE are included on the compiler command line after
the defaults so any -fstack-protector-all / -fstack-protector-strong
option provided by security_flags.inc will cause problems.

 | .../build-bcm97425vms/tmp/work/mips32el-rdk-linux/valgrind/3.11.0-r0/valgrind-3.11.0/coregrind/m_mallocfree.c:892: undefined reference to `__stack_chk_guard'
 | .../build-bcm97425vms/tmp/work/mips32el-rdk-linux/valgrind/3.11.0-r0/valgrind-3.11.0/coregrind/m_mallocfree.c:947: undefined reference to `__stack_chk_fail'

(From OE-Core rev: ff4f46700a4810fcb49c58978b17af4f52fa9925)

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agometa/conf/layer.conf: bump layer version due to Qt4 removal
Ross Burton [Wed, 16 Dec 2015 10:27:44 +0000 (10:27 +0000)] 
meta/conf/layer.conf: bump layer version due to Qt4 removal

Qt4 has been moved to meta-qt4, so increase the layer version so that this can
be detected programatically.

(From OE-Core rev: 824f0bdbe87f9a847bd7a3bdd9a89bffd58befa8)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopackagegroup-core-lsb: treat qt4 packages same as qt3 packages
Alexander Kanavin [Fri, 27 Nov 2015 14:01:45 +0000 (16:01 +0200)] 
packagegroup-core-lsb: treat qt4 packages same as qt3 packages

This means issuing a warning about adding a separate layer if
it is not configured.

(From OE-Core rev: 81ddc453d09f23eca192171e93d5aa8878852388)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoqt4: remove recipes and classes
Alexander Kanavin [Fri, 27 Nov 2015 13:48:20 +0000 (15:48 +0200)] 
qt4: remove recipes and classes

Qt4 is no longer supportd upstream, but it is still needed for LSB compliancy.
Qt4 recipes have been moved to a separate meta-qt4 layer to be consistent with
meta-qt3 and meta-qt5.

(From OE-Core rev: cb89d2b25b4edb1241bc5426a69a6bc44df9be2c)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agotoaster-manual: Updates to toaster use chapter.
Ed Bartosh [Tue, 5 Jan 2016 22:29:48 +0000 (16:29 -0600)] 
toaster-manual: Updates to toaster use chapter.

 * Removed obsolete bits that were already commented out of the
   XML file.

 * Added more detail to running Toaster and accessing the information.

(From yocto-docs rev: d2b964e395273bde4f75ba3cd8e26a9e7d00b569)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoref-manual: Updated the list of supported image types.
Ed Bartosh [Tue, 5 Jan 2016 21:14:33 +0000 (15:14 -0600)] 
ref-manual: Updated the list of supported image types.

The list in the IMAGE_TYPES variable description has been
updated to add and remove several image types.

(From yocto-docs rev: d363d4d2dcf1760c5a392b443b52965ca7177984)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agodev-manual: Added the --configfile bootloader option.
Ed Bartosh [Tue, 5 Jan 2016 21:04:14 +0000 (15:04 -0600)] 
dev-manual: Added the --configfile bootloader option.

(From yocto-docs rev: 649b6cf64a726b0682d756e23e6d56a490ea505e)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agodev-manual: Added three new wic option descriptions.
Ed Bartosh [Tue, 5 Jan 2016 20:59:01 +0000 (14:59 -0600)] 
dev-manual: Added three new wic option descriptions.

 * --part-type
 * --use-uuid
 * --uuid

(From yocto-docs rev: 63e08898bc2853789a0a13ce015183a35cf1a92a)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agodev-manual: Added the --overhead-factor wic option description.
Ed Bartosh [Tue, 5 Jan 2016 20:50:39 +0000 (14:50 -0600)] 
dev-manual: Added the --overhead-factor wic option description.

(From yocto-docs rev: 67d90401faa4992638ed6903fb74388193ff6aec)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agodev-manual: Added the --extra-space wic option description.
Ed Bartosh [Tue, 5 Jan 2016 20:45:30 +0000 (14:45 -0600)] 
dev-manual: Added the --extra-space wic option description.

(From yocto-docs rev: 1c386d5f76eb905487fe59c55618aea02abd1d7e)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agodev-manual: Added wic --notable option description.
Ed Bartosh [Tue, 5 Jan 2016 20:38:23 +0000 (14:38 -0600)] 
dev-manual: Added wic --notable option description.

(From yocto-docs rev: 5e0594889eee6cff30cf378ac66993439351b486)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agodev-manual:
Ed Bartosh [Tue, 5 Jan 2016 19:46:13 +0000 (13:46 -0600)] 
dev-manual:

Updated the --source wic command-line option for partition
size details.

(From yocto-docs rev: 3affc38b6a9716316257d1d627185a4d5e9befef)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosdk-manual: Initial Manual framework
Scott Rifenbark [Mon, 28 Dec 2015 17:49:01 +0000 (11:49 -0600)] 
sdk-manual: Initial Manual framework

Makefile - Added support for new sdk-manual.
mega-manual - Added the sdk-title.png file to the list of figures.
              Modified to support inclusion of the new sdk-manual
              into the mega-manual.
poky.ent - Added a new string to support the new sdk-manual.
sdk-manual - Created new sdk-title.png image.
             Created new sdk-manual.xml file.
             Created sdk-manual customization layers for both
             standard build and Eclipse build.
             Note that we are pointing to local XSL templates for
             and these will change going forward.
             Created new sdk-style.css file.
             Created three chapter files that are placeholders
             at this point.

(From yocto-docs rev: ab591831a97a97d405d13ed75e9fb01e0452c292)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobsp-guide: Updated the license statement.
Scott Rifenbark [Tue, 8 Dec 2015 03:37:00 +0000 (21:37 -0600)] 
bsp-guide: Updated the license statement.

Changed the license statement to not be "non-commercial".

(From yocto-docs rev: bb1d80c121e9e34090a07feac9d510b2304f058e)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agodev-manual: Correction to the KVM stuff in the runqemu commands.
Anibal Limon [Wed, 18 Nov 2015 20:07:04 +0000 (12:07 -0800)] 
dev-manual: Correction to the KVM stuff in the runqemu commands.

Applied this patch from Anibal to correct an earlier patch.

(From yocto-docs rev: 9b944a5f4192b2e03df4ddcba5af4949df7bb8a9)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agodocumentation: Prepare for 2.1 builds
Scott Rifenbark [Wed, 18 Nov 2015 19:20:17 +0000 (11:20 -0800)] 
documentation: Prepare for 2.1 builds

The changes are for the poky.ent file and the mega-manual.sed
file to take care of variables.  Also, entries added for the
manual revision table.

(From yocto-docs rev: 60da39f85165e2d4aef55d456f8203183e089433)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agomega-manual: Added four new figures for GUI example.
Scott Rifenbark [Wed, 18 Nov 2015 18:37:37 +0000 (10:37 -0800)] 
mega-manual: Added four new figures for GUI example.

Forgot to add these to the mega-manual figures folder so they
were not being found when the mega-manual was made.  This is
an issue with the tarball for jethro but will be correct for
the HTML published versions in the jethro branch.

(From yocto-docs rev: 509f5c746fc44947ed519307ec6abfa12c954bb2)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: ast: Add filename/lineno to mapped functions
Richard Purdie [Tue, 5 Jan 2016 23:01:25 +0000 (23:01 +0000)] 
bitbake: ast: Add filename/lineno to mapped functions

Where we add in mappings for EXPORT_FUNCTIONS, add dummy filename
and lineno data so ensure the assumption that all python functions
have this is correct.

(Bitbake rev: 547128731e62b36d2271c4390b3fee2b16c535dc)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: main: kill server without queue setup
Ed Bartosh [Tue, 5 Jan 2016 13:45:38 +0000 (15:45 +0200)] 
bitbake: main: kill server without queue setup

Setup of event queue includes registering of UI handler.
This operation can fail when cooker is busy. However, there is
no need in registering UI handler for terminating the server.

Moved the call of connection.terminateServer before setting up
of the event queue. This should make terminating server to work
more reliably as it doesn't depend on setting up the event queue
and registering UI handler anymore.

This should also help Toaster backend to restart bitbake server
and observer without getting "Could not register UI event handler"
errors.

[YOCTO #8776]

(Bitbake rev: 0c5a9349f797d05c282c2ada1893e187e05f0576)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: xmplrpc: split connect method
Ed Bartosh [Tue, 5 Jan 2016 13:45:37 +0000 (15:45 +0200)] 
bitbake: xmplrpc: split connect method

Current code in connect method sets up event queue, which requires
registering UI handler. This functionality may not be needed for
some operations, e.g. for server termination.

Moved functionality of setting up event queue in from 'connect'
method to 'setupEventQueue' in BitBakeXMLRPCServerConnection class.

(Bitbake rev: 4429871da76d6bd29e023ff42740fe7daa6b40fa)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: uievent: refactor retry loop
Ed Bartosh [Mon, 4 Jan 2016 09:26:34 +0000 (11:26 +0200)] 
bitbake: uievent: refactor retry loop

Replaced 'while' loop with 'for' loop.
Made the code more compact and hopefully more understandable.

(Bitbake rev: 4e1e497c8432536b3522295e5b1284844ccea056)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: uievent: get rid of EventHandler attribute
Ed Bartosh [Thu, 31 Dec 2015 16:42:15 +0000 (18:42 +0200)] 
bitbake: uievent: get rid of EventHandler attribute

This attribute was introduced by mistake. EventHandle is used in the
code for the same purpose.

(Bitbake rev: 8d505ec8913a7d51de48b4f52bb64c5d6a0bb08e)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: uievent: add error to registerEventHandler return
Ed Bartosh [Thu, 31 Dec 2015 16:42:14 +0000 (18:42 +0200)] 
bitbake: uievent: add error to registerEventHandler return

Current code throws Exception("Could not register UI event handler")
if event handler can't be registered. The real reason of this is that
cooker is in busy state. Error message lacks information about this.

Added error message to the return value of registerEventHandler.
Included returned error message into the log message and exception
text.

(Bitbake rev: 07de1ca7d57dcd0cc37406feae2949da12a3fa7a)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: cooker: add state.get_name method
Ed Bartosh [Thu, 31 Dec 2015 16:42:13 +0000 (18:42 +0200)] 
bitbake: cooker: add state.get_name method

Added method to convert state code into the human readable name.
It will be used in logging and error reporting.

(Bitbake rev: 9ec6379b27d210214d0b3f2e55962f721b7f5f51)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: fetch2/__init__.py: Add support for 7-Zip
Juro Bystricky [Mon, 4 Jan 2016 18:51:43 +0000 (10:51 -0800)] 
bitbake: fetch2/__init__.py: Add support for 7-Zip

7-Zip is a file archiver claiming the highest compression ratio.
This patch allows using 7-Zip commpressed files in bitbake recipes.
Two common formats are supported:

SRC_URI = "file://abc.tar.7z"
SRC_URI = "file://abc.7z"

(Bitbake rev: 7120f5bfaae54e91bc95da5667831424724ce613)

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: utils: Remove double compile from better_compile
Richard Purdie [Mon, 4 Jan 2016 17:34:02 +0000 (17:34 +0000)] 
bitbake: utils: Remove double compile from better_compile

Poking around the ast to correct linenumbers works well for runtime failures
but not for parsing ones. We can use blank linefeeds to correct the line
numbers instead, with the advantage that we don't need to double compile.

(Bitbake rev: 10256ac3e7be7e691176ecc5d55856d88f1fe940)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: fetch2/local.py: avoid using PREMIRROR
Robert Yang [Mon, 4 Jan 2016 10:15:39 +0000 (02:15 -0800)] 
bitbake: fetch2/local.py: avoid using PREMIRROR

The PREMIRROR isn't useful for "file://", so avoid using it, this is
good for searching speed and can reduce useless lines in log.do_fetch.

(Bitbake rev: e130dca85bac82bd4d88f94a6bf9fe36e8ad4d7c)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: siggen: Change exception note into a warning
Richard Purdie [Mon, 4 Jan 2016 17:35:10 +0000 (17:35 +0000)] 
bitbake: siggen: Change exception note into a warning

This makes no sense as just a note, its at least a warning and useful
to get an idea of which codepath is failing.

(Bitbake rev: 0194cf0da24dc72dab0612cd54aa5190e6cd92f2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: data: Drop misleading ExpansionError exception
Richard Purdie [Mon, 4 Jan 2016 17:33:26 +0000 (17:33 +0000)] 
bitbake: data: Drop misleading ExpansionError exception

This codepath can be triggered by a python indentation error for example.
Showing it as an ExpansionError is misleading.

Change the code to add a warning about where the failure came from (in
particular giving the variable key name that triggered it) but raise the
proper exception.

(Bitbake rev: d49d46533704e8b4404e29abfb5a7383d704c91a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: cooker: Drop useless parsing exception
Richard Purdie [Mon, 4 Jan 2016 17:32:45 +0000 (17:32 +0000)] 
bitbake: cooker: Drop useless parsing exception

The SyntaxError exception simply shows the recipe that failed to parse
which is pretty useless without the actual exception. We could make it
print more info, however we can just use one of the more generic handlers
instead and remove this one.

For a python indentation error, this leads to a much more readable error
message.

(Bitbake rev: 9241eb10847634e34c5ff8767ed8c114f66ff6cf)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: data: Pass lineno/filename data from build_dependencies
Richard Purdie [Mon, 4 Jan 2016 17:31:58 +0000 (17:31 +0000)] 
bitbake: data: Pass lineno/filename data from build_dependencies

If parse_python() fails, the output is confusing. Passing in the extra
file/line data isn't expensive and improves readability significantly.

(Bitbake rev: a4bb753488d322e0e31c31d6377ba780f2f824c4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: codeparser: Add support for correct linenumbers
Richard Purdie [Mon, 4 Jan 2016 17:31:19 +0000 (17:31 +0000)] 
bitbake: codeparser: Add support for correct linenumbers

Currently, if there is something like a python indentation error in a
python function, the linenumbers and even file aren't reported correctly.

This allows lineno and filename parameters to be passed in to correct this.

The lack of a lineno parameter to python's compile() function is worked
around by using empty linefeeds. Ugly, but effective and with minimal
performance overhead.

(Bitbake rev: 5796ed550d127853808f38257f8dcc8c1cf59342)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoudev-extraconf: introduce multiple blacklist files for more complex setups
Jens Rehsack [Tue, 5 Jan 2016 16:11:42 +0000 (17:11 +0100)] 
udev-extraconf: introduce multiple blacklist files for more complex setups

In cases where a target image wants prevent the recovery partition is mounted
automatically, but the recovery partition identifier moves with the device
(internal flash, sd card, usb stick, ...), device/machine dependend extra
blacklists might be desired.

The grep utility prints the file name for each match when there is more
than one file to search. Add -h to suppress the prefixing of file names
on output.

(From OE-Core rev: 95fced137a46dc98863fe5af7be5cbce708602f2)

Signed-off-by: Jens Rehsack <sno@netbsd.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agouclibc: disable parallel builds
Ross Burton [Tue, 5 Jan 2016 16:03:20 +0000 (16:03 +0000)] 
uclibc: disable parallel builds

There appears to be a parallel make race in uclibc:

 GEN /extra/locale/locale_collate.h
 xargs: ../..//extra/locale/gen_collate: Text file busy
 make[1]: *** [../..//extra/locale/locale_collate.h] Error 126

As uclibc is slated to be removed in the 2.1 cycle let's just disable parallel
building for now.

(From OE-Core rev: 6bb6fd592ca9caac75504b8c339e20ab54c0cae9)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoimage: Condense do_rootfs function/flags
Richard Purdie [Tue, 5 Jan 2016 17:52:55 +0000 (17:52 +0000)] 
image: Condense do_rootfs function/flags

Various prefuncs and flags and addtask statements make sense to belong together
in one clearer function now, this patch cleans things up a bit.

(From OE-Core rev: eae0cf7875197f9520be54370bc670e27338aad3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoimage/rootfs-postcommands: Separate out post rootfs commands to separate class
Richard Purdie [Tue, 5 Jan 2016 17:52:06 +0000 (17:52 +0000)] 
image/rootfs-postcommands: Separate out post rootfs commands to separate class

Reading image.bbclass is a little difficult as it has many post rootfs
helper functions and its hard to separate those from the core contents
of the rootfs/image code.

Moving it to a separate class would be one way of making it clearer
what these functions are. There are some comment layout improvements
but no code changes.

(From OE-Core rev: df4cb51c8e60fa46d4d15be8da3d84287ff08ae7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoimage: Remove pointless rootfs lock
Richard Purdie [Tue, 5 Jan 2016 17:49:51 +0000 (17:49 +0000)] 
image: Remove pointless rootfs lock

It was added in aa3141e979326a9d931ff03bad75923faa1d9dc6 back in 2008
but I don't see why multiple images would need this now.

(From OE-Core rev: 2eaeac6d98c310cb2602ba194d934c5b7bed253d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopackagegroup-core-boot:replace busybox to variable
Alejandro Joya [Tue, 17 Nov 2015 22:13:16 +0000 (16:13 -0600)] 
packagegroup-core-boot:replace busybox to variable

It replaces the use of busybox as hardcoded dependency to more dynamic
this wouldn't affect the way that the system is build only it let a more
flexible replacement in the core.

(From OE-Core rev: 9f5b8047c5247b18602dd79d384d57e07220abb2)

Signed-off-by: Alejandro Joya <alejandro.joya.cruz@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoinitramfs-framework_1.0:replace busybox for variable.
Alejandro Joya [Tue, 17 Nov 2015 22:13:15 +0000 (16:13 -0600)] 
initramfs-framework_1.0:replace busybox for variable.

It replaces the use of busybox as hardcoded dependency to more dynamic
this wouldn't affect the way that the initrams is build, just it let a more
flexible replacement in the core.

(From OE-Core rev: f0f7062e9aa5e7708fc92cac2afb1aa85eb3d4ef)

Signed-off-by: Alejandro Joya <alejandro.joya.cruz@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agocore-image-minimal-initramfs: replace base-utils
Alejandro Joya [Tue, 17 Nov 2015 22:13:14 +0000 (16:13 -0600)] 
core-image-minimal-initramfs: replace base-utils

It replaces the use of busybox as hardcoded dependency to more dynamic
this wouldn't affect the way that the system is build only it let a more
flexible replacement in the core.

(From OE-Core rev: 3cef7dda39ac88046e282121585f5b4e067d47a7)

Signed-off-by: Alejandro Joya <alejandro.joya.cruz@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobase-utils:flexible dependency for command utilities
Alejandro Joya [Tue, 17 Nov 2015 22:13:13 +0000 (16:13 -0600)] 
base-utils:flexible dependency for command utilities

add base-line configuration for command utilities, this will be used instead
of hardcoded uses of busybox around the environment.

(From OE-Core rev: b14027e361fc0393fa4ee060ecb1088742607533)

Signed-off-by: Alejandro Joya <alejandro.joya.cruz@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoorc: Add missing PACKAGES_DYNAMIC
Richard Purdie [Tue, 5 Jan 2016 13:55:48 +0000 (13:55 +0000)] 
orc: Add missing PACKAGES_DYNAMIC

Recipes should always indicate the packages they build, this corresponds to
the do_split_packages() call.

(From OE-Core rev: eae16471baccfe4849dc579dfec7434a9ac142b6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobluez5: include the patch only for 5.36
Martin Jansa [Mon, 28 Dec 2015 12:55:52 +0000 (13:55 +0100)] 
bluez5: include the patch only for 5.36

* it's backport so it probably won't be needed for newer version and it doesn't
  apply for older versions, so it just prevents to easily use bluez5.inc

(From OE-Core rev: 1568f4fa1c8f8abd9b365ecd264841cd4f6b66b1)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agometa-yocto-bsp: remove 3.14 and 3.19 bbappends
Bruce Ashfield [Fri, 18 Dec 2015 20:52:23 +0000 (15:52 -0500)] 
meta-yocto-bsp: remove 3.14 and 3.19 bbappends

the 3.14 and 3.19 kernels have been removed from oe-core master, so
we drop the bbappens for the yocto reference BSPs.

(From meta-yocto rev: 9b392ef494f3fee9b85ee9e37ad700781e32e636)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agometa-yocto-bsp: Remove uvesafb (v86d) from generic x86 features
Jianxun Zhang [Tue, 15 Dec 2015 18:17:42 +0000 (10:17 -0800)] 
meta-yocto-bsp: Remove uvesafb (v86d) from generic x86 features

When uvesafb is automatically loaded during boot and FW doesn't
support legacy video bios and frame buffer, its user space helper
will throw error messages in kernel log:

[6.843790] uvesafb: Getting VBE info block failed (eax=0x4f00, err=1)
[6.843864] uvesafb: vbe_init() failed with -22
[6.843916] uvesafb: probe of uvesafb.0 failed with error -22

Assuming most x86 boards today don't really rely on this module, this
change simply removes it from the common feature list to get rid of
these harmless messages.

[YOCTO #6584]

(From meta-yocto rev: d58fc630b1114dbafa8342de7dcaef8e7d798848)

Signed-off-by: Jianxun Zhang <jianxun.zhang@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoqemu: add PACKAGECONFIG for Nettle crypto support
Ross Burton [Wed, 23 Dec 2015 21:22:24 +0000 (21:22 +0000)] 
qemu: add PACKAGECONFIG for Nettle crypto support

(From OE-Core rev: 0565377851bf73be39b09b06b2aa630f2225eee3)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agooeqa/selftest: support sets in devtool comparisons
Ross Burton [Wed, 23 Dec 2015 13:45:23 +0000 (13:45 +0000)] 
oeqa/selftest: support sets in devtool comparisons

The devtool and recipetool tests do literal string comparisons, but for some
fields the ordering could be irrelevant and potentially non-deterministic.  For
example, the recipetool_create_simple test started failing with:

AssertionError: 'GPLv2 Unknown' != 'Unknown GPLv2' : values for LICENSE do not match

The ordering of the LICENSE field isn't relevant.  So, if the expected value is
a set(), split the string into a set too and compare those.

(From OE-Core rev: dab1b0ad42f08eb547732e854ba28a4cf0a23107)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopackagegroup-core-x11-sato: include pulseaudio-misc
Maxin B. John [Wed, 23 Dec 2015 13:25:40 +0000 (15:25 +0200)] 
packagegroup-core-x11-sato: include pulseaudio-misc

Add pulseaudio-misc to include "pacmd" in core-image-sato* images.
This helps in modifying audio setup during runtime.

[YOCTO #8815]

(From OE-Core rev: 726a82daf8dc23b41fd147035578c57410889c90)

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agodevtool: use cp instead of shutil.copytree
Ed Bartosh [Fri, 18 Dec 2015 11:46:31 +0000 (13:46 +0200)] 
devtool: use cp instead of shutil.copytree

Copied layers with 'cp -a' instead of calling shutil.copytree as
copytree fails to copy broken symlinks.

More pythonic fix would be to use copytree with 'ignore' parameter,
but this could slow down copying complex directory structures.

[YOCTO #8825]

(From OE-Core rev: e5b841420b9fdd33829f7665a62cd06a3017f7e6)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoxorg-lib: allow native building without x11 DISTRO_FEATURES
Ross Burton [Tue, 22 Dec 2015 22:12:30 +0000 (22:12 +0000)] 
xorg-lib: allow native building without x11 DISTRO_FEATURES

The Xorg libraries use REQUIRED_DISTRO_FEATURES to stop building on
distributions without the x11 feature but this stops people building native
tooling that uses libX11, such as libsdl-native.

(From OE-Core rev: 161bb3409edee21827cf594cc011fe88185f1496)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobusybox: generalize recipe to work with arbitrary install directories
Matthias Schiffer [Wed, 16 Dec 2015 18:11:57 +0000 (19:11 +0100)] 
busybox: generalize recipe to work with arbitrary install directories

Allow configuring base_bindir, base_sbindir, bindir and sbindir
arbitrarily.

Also change the temporary symlinks created in the postinst script from
relative to absolute to make the code simpler and more flexible. There was
no reason to use relative links anyways, as directly afterwards
update-alternatives would replace them by absolute links anyways.

(From OE-Core rev: d7907c9a32733d716202d6baf76dc450fe791f31)

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agocairo: update 1.14.4 -> 1.14.6
Andre McCurdy [Tue, 22 Dec 2015 19:56:56 +0000 (11:56 -0800)] 
cairo: update 1.14.4 -> 1.14.6

Release 1.14.6    (2015-12-09  Bryce Harrington <bryce@osg.samsung.com>)
========================================================================
Simple bugfix release to fix one Windows issue.

For a complete log of changes since 1.14.4, please see:

    http://cairographics.org/releases/ChangeLog.1.14.6

(From OE-Core rev: 5c3b2f3303163ae55bdd373d17b52aaf628d23d4)

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolibdrm: Upgrade to 2.4.65
Saul Wold [Tue, 22 Dec 2015 19:40:41 +0000 (11:40 -0800)] 
libdrm: Upgrade to 2.4.65

Rebased patch to reflect changes in Makefile
Add libdrm_amdgpu package as a new library was added

(From OE-Core rev: f2c66ded1abf128915311af506cb202ac924b8d2)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoimage-vm.bbclass: uses IMAGE_LINK_NAME
Ming Liu [Fri, 13 Nov 2015 13:10:14 +0000 (14:10 +0100)] 
image-vm.bbclass: uses IMAGE_LINK_NAME

Uses ${IMAGE_LINK_NAME} instead of ${IMAGE_BASENAME}-${MACHINE}.

(From OE-Core rev: 755627cdbe32ef1b46692669f8aba981d626a0e7)

Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoimage-live.bbclass: uses IMAGE_LINK_NAME
Ming Liu [Fri, 13 Nov 2015 13:04:12 +0000 (14:04 +0100)] 
image-live.bbclass: uses IMAGE_LINK_NAME

Uses ${IMAGE_LINK_NAME} instead of ${IMAGE_BASENAME}-${MACHINE}.

(From OE-Core rev: 5f9feffe4cc4c1c084ab266382460e0b8f37e023)

Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agorpm: Generate per distribution and multilib macro files
Mark Hatle [Thu, 19 Nov 2015 03:46:02 +0000 (19:46 -0800)] 
rpm: Generate per distribution and multilib macro files

The distribution and multilib macro files are required for rpmbuild, on the
target, to work properly.  These override the default settings from the
upstream macro files with the proper values for the OE configuration.

(From OE-Core rev: 65e160ae521386d80cd21df72d23814afb9e445c)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopackage_manager.py: add debugging support for rpm scriptlet execution
Patrick Ohly [Wed, 9 Dec 2015 17:48:28 +0000 (18:48 +0100)] 
package_manager.py: add debugging support for rpm scriptlet execution

By default, smart is invoked with --log-level=warning, which hides all
output from pre/post install scriptlets. That makes it hard to debug
scriptlet failure or why they get postponed to first-boot via
/etc/rpm-postinst.

The new ROOTFS_RPM_DEBUG variabled is expected to be set to an integer in
local.conf an incrementally adds more output:
  0 = default, only warnings
  1 = --log-level=info (includes information about executing scriptlets and their output)
  2 = --log-level=debug
  3 = --log-level=debug plus dumps of scriplet content and command invocation

The default behavior is not changed yet, but it seems that level 1 would
be a better default.

(From OE-Core rev: 5cb597a19dbfe825e5b26d828e18644c9ee58f86)

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoxinput-calibrator: get screen geometry when calibrating
Jonathan David [Mon, 30 Nov 2015 21:59:50 +0000 (15:59 -0600)] 
xinput-calibrator: get screen geometry when calibrating

Calibration acquires a default resolution of 1280x1024 when running
xinput_calibrator_pointercal.sh, obtain correct screen resolution by
using xrandr to grab user-specified geometry and pass to script

(From OE-Core rev: ce6f15dc3905ab0b061b20cc35fd179fdd9e070f)

Signed-off-by: Jonathan David <jonathan.david@ni.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoscripts: hand the TEMPLATECONF local over to setup-builddir
Marcus Müller [Mon, 7 Dec 2015 10:48:40 +0000 (11:48 +0100)] 
scripts: hand the TEMPLATECONF local over to setup-builddir

(From OE-Core rev: 0bf9d919bba5780d34cc6ac9dde2c74bb07b8342)

Signed-off-by: Marcus Müller <marcus.mueller@ettus.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoutil-linux: Fix floating dependency upon 'readline'
Otavio Salvador [Fri, 18 Dec 2015 16:47:44 +0000 (14:47 -0200)] 
util-linux: Fix floating dependency upon 'readline'

The configure script checks for 'readline' availability and enables
it, if available. Now, a PACKAGECONFIG (readline) controls the
feature.

(From OE-Core rev: 574b84132df61d421d2f99e14bdc94649fe83e38)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolinux-firmware: package Broadcom BCM43340 firmware
Tzu-Jung Lee [Mon, 21 Dec 2015 05:38:18 +0000 (21:38 -0800)] 
linux-firmware: package Broadcom BCM43340 firmware

(From OE-Core rev: 5c2e77765ced1f113ec871b747f04e3f23d874fc)

Signed-off-by: Tzu-Jung Lee <roylee17@currantlabs.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agorpcbind: Fix build with libtirpc 1.0.1
Maxin B. John [Mon, 21 Dec 2015 15:59:56 +0000 (17:59 +0200)] 
rpcbind: Fix build with libtirpc 1.0.1

libtirpc 1.0.1 uses the SVC_XP_AUTH macro to access xp_auth.
Update rpcbind to follow the same way.

(From OE-Core rev: 53176113f7c149279af5b30dd5b48d2fe5fdea07)

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolibtirpc: upgrade to 1.0.1
Maxin B. John [Mon, 21 Dec 2015 15:59:55 +0000 (17:59 +0200)] 
libtirpc: upgrade to 1.0.1

0.2.5  -> 1.0.1

Fixed build with uclibc and musl

(From OE-Core rev: 79fed87ca1fb2f33080920a97cf036d53f267d12)

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogstreamer1.0-libav: upgrade to version 1.6.2
Maxin B. John [Tue, 22 Dec 2015 09:57:21 +0000 (11:57 +0200)] 
gstreamer1.0-libav: upgrade to version 1.6.2

1.6.1 -> 1.6.2

(From OE-Core rev: f90f5024319f03859f9b7f4f9bd548c8f0cbf568)

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogstreamer1.0-rtsp-server: upgrade to version 1.6.2
Maxin B. John [Tue, 22 Dec 2015 09:39:47 +0000 (11:39 +0200)] 
gstreamer1.0-rtsp-server: upgrade to version 1.6.2

1.6.1 -> 1.6.2

(From OE-Core rev: fa0c33dc8219f4190c5c62fe1f61e4cdb69478d2)

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogstreamer1.0-plugins-ugly: upgrade to version 1.6.2
Maxin B. John [Tue, 22 Dec 2015 09:36:56 +0000 (11:36 +0200)] 
gstreamer1.0-plugins-ugly: upgrade to version 1.6.2

1.6.1 -> 1.6.2

(From OE-Core rev: 195bd68222af01b9cc60ef42ba837617292ae140)

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogstreamer1.0-plugins-bad: upgrade to version 1.6.2
Maxin B. John [Tue, 22 Dec 2015 09:35:04 +0000 (11:35 +0200)] 
gstreamer1.0-plugins-bad: upgrade to version 1.6.2

1.6.1 -> 1.6.2

(From OE-Core rev: 4fbd1a31687abd4ebc5829fe29ba4896b9f17d39)

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogstreamer1.0-plugins-good: upgrade to version 1.6.2
Maxin B. John [Tue, 22 Dec 2015 09:23:46 +0000 (11:23 +0200)] 
gstreamer1.0-plugins-good: upgrade to version 1.6.2

1.6.1 -> 1.6.2

(From OE-Core rev: 5d161e8a8d3e3d09a17c3b9d576df1723140ff78)

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogstreamer1.0-plugins-base: upgrade to version 1.6.2
Maxin B. John [Mon, 21 Dec 2015 17:05:37 +0000 (19:05 +0200)] 
gstreamer1.0-plugins-base: upgrade to version 1.6.2

1.6.1 -> 1.6.2

(From OE-Core rev: ec4fc335d41ac39c96dd45635684d55023ed1224)

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogstreamer1.0: upgrade to version 1.6.2
Maxin B. John [Mon, 21 Dec 2015 16:41:14 +0000 (18:41 +0200)] 
gstreamer1.0: upgrade to version 1.6.2

1.6.1 -> 1.6.2

Removed "fix-install-hook.patch" which was backported.

(From OE-Core rev: 524f0318a72bb5f30376a3de534fe39efa599451)

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agomirrors: add archive.apache.org to Apache mirrors
Alexander Kanavin [Tue, 22 Dec 2015 13:30:17 +0000 (15:30 +0200)] 
mirrors: add archive.apache.org to Apache mirrors

Historical releases may disappear from the main mirrors, so
then we need to fall back to the archive (which, in turn, may
not carry the current release, and so can't be the primary mirror).

(From OE-Core rev: 2eb171a1c9f1d2ce37965aad7b3f470a2c44ed83)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoguile: remove redundant replacement of .pc file
Kai Kang [Tue, 22 Dec 2015 01:04:53 +0000 (09:04 +0800)] 
guile: remove redundant replacement of .pc file

Remove redundant replacement of pkgconfig file and only modify the .pc
file which is installed in ${D}.

Replace /usr/bin with ${bindir} at same time.

(From OE-Core rev: 9078d1d758b70b2df047b3d7fcf332231db9e9c7)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobind: 9.10.2-P4 -> 9.10.3-P2
Kai Kang [Tue, 22 Dec 2015 01:04:54 +0000 (09:04 +0800)] 
bind: 9.10.2-P4 -> 9.10.3-P2

Upgrade bind from 9.10.2-P4 to 9.10.3-P2.

* update context of 0001-build-use-pkg-config-to-find-libxml2.patch
* add PACKAGECONFIGs readline and libedit. They provide same library, so
  should not be set at same time.

(From OE-Core rev: b49751e7febd262b754043e4e523e6690bfbbfaa)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolibsndfile1: enable FLAC/Ogg/Vorbis support
Tanu Kaskinen [Tue, 22 Dec 2015 09:49:36 +0000 (11:49 +0200)] 
libsndfile1: enable FLAC/Ogg/Vorbis support

This makes it possible to handle FLAC and Vorbis files in programs
that use libsndfile.

It seems that the external dependencies were disabled just as a
routine measure to make builds deterministic, since the dependencies
were missing from DEPENDS[1]. Therefore it seems likely that nobody
particularly wants to have libsndfile without support for these
formats.

[1] http://git.openembedded.org/openembedded-core/commit/?id=34a14ce3ea78be299175e1a803f92519aa02355b

(From OE-Core rev: 7c7d436e660a8869179c4e5579aa2a992d636c22)

Signed-off-by: Tanu Kaskinen <tanuk@iki.fi>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobuildhistory: improve support for extensible SDK
Paul Eggleton [Sun, 20 Dec 2015 20:55:39 +0000 (09:55 +1300)] 
buildhistory: improve support for extensible SDK

* Ensure extensible SDK and standard SDK go into their own directories
* Record extra extensible SDK variables
* Write sstate-package-sizes.txt and sstate-task-sizes.txt files so you
  can analyse the size of the contents
* Add BUILDHISTORY_SDK_FILES (similar to BUILDHISTORY_IMAGE_FILES) and
  default it to pick up config files installed in the extensible SDK

(From OE-Core rev: 5f87ff116d9ccd5e95e638dfa84583169a3f99f3)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobuildhistory: fix not recording SDK information
Paul Eggleton [Sun, 20 Dec 2015 20:04:59 +0000 (09:04 +1300)] 
buildhistory: fix not recording SDK information

After OE-Core revision baa4e43a29e45df17eaa3456acc179b08d571db6 we lost
recording SDK the contents in buildhistory. This was due to the
SDK_POSTPROCESS_COMMAND variable being set with = in
populate_sdk_base.bbclass which overwrote any value set with += in
buildhistory.bbclass; to fix it, use _append in buildhistory.bbclass
instead.

Fixes [YOCTO #8839].

(From OE-Core rev: 11d1aa82ef4a00051e0a50a87a1efed1c50c73b5)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoscripts/oe-selftest: Add support for selftest log with timestamp
Costin Constantin [Tue, 22 Dec 2015 08:36:29 +0000 (10:36 +0200)] 
scripts/oe-selftest: Add support for selftest log with timestamp

Each time oe-selftest runs, the oe-selftest.log file is overwritten.
This patch solves it by adding time stamp to each selftest log file
and doing a symlink named as oe-selftest.log to the last one created.

(From OE-Core rev: da8097480ad70e7a75608d733c63c3ae5a337974)

Signed-off-by: Costin Constantin <costin.c.constantin@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoselftest: Added MACHINE = "qemux86" to tests that use runqemu
Daniel Istrate [Fri, 18 Dec 2015 15:12:16 +0000 (17:12 +0200)] 
selftest: Added MACHINE = "qemux86" to tests that use runqemu

It makes sense for tests that use runqemu to have MACHINE set as qemu.
This also avoid issues when running oe-selftest with --arch random/all
option.

(From OE-Core rev: 169e1eaa4fc5ed03e2307b68686a7f5b1db37a36)

Signed-off-by: Daniel Istrate <daniel.alexandrux.istrate@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoncurses: fixes wrong paths in BINCONFIG
Ming Liu [Sun, 20 Dec 2015 16:40:43 +0000 (17:40 +0100)] 
ncurses: fixes wrong paths in BINCONFIG

* Removes ncurses-config from BINCONFIG, that file does not exist at all.
* Adds in ncurses5-config and ncursesw5-config to BINCONFIG.

This fixed following warnings during SDK install:
  warning: Removing ncurses-dev-5.9-r15.1@lib32_x86 due to file /usr/bin/ncurses5-config conflicting with ncurses-dev-5.9-r15.1@core2_64
  warning: Removing ncurses-dev-5.9-r15.1@lib32_x86 due to file /usr/bin/ncursesw5-config conflicting with ncurses-dev-5.9-r15.1@core2_64

[YOCTO #8801]

(From OE-Core rev: 06a7b63181a4e7a47c920d3e82363786d1a4c1e7)

Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoxcb: don't build-depend on python-native
Ross Burton [Fri, 11 Dec 2015 15:08:57 +0000 (15:08 +0000)] 
xcb: don't build-depend on python-native

xcb-proto had a dependency on python-native as it builds and installs a Python
module, but xcb-proto is very low in the build to force a dependency on
python-native.

As it turns out libxcb simply asks pkg-config for the full path to the module
xcb-proto installed and uses it directly so there is no need to build
python-native.  Instead replace AM_PATH_PYTHON with two explicit variable
definitions (need to set PYTHON for automake's install logic).

Also remove the dependency on xcb-proto-native as libxcb uses the data files and
tooling from the target sysroot, and patching it to use the native sysroot adds
complication for no good reason.

(From OE-Core rev: bc38ef47b05128623a916172c2cfd244510b201e)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agotcmode-default: Use glibc for nativesdk version even on uclibc and musl
Khem Raj [Tue, 15 Dec 2015 21:20:46 +0000 (21:20 +0000)] 
tcmode-default: Use glibc for nativesdk version even on uclibc and musl

We do not have musl or uclibc based systems for building OE itself. Most
of build servers run glibc, there will be other issues to build OE on a
uclibc based build system

(From OE-Core rev: 3ec457e7cdc347a98ab561fd3d2a500a218cdeb0)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoqemu: upgrade to 2.5.0
Cristian Iorga [Mon, 21 Dec 2015 11:24:21 +0000 (13:24 +0200)] 
qemu: upgrade to 2.5.0

- cpus.c-qemu_mutex_lock_iothread-fix-race-condition-a.patch removed,
included upstream;
- smc91c111_fix*.patch patches removed, included upstream;
- trace-remove-malloc-tracing.patch patch removed, included upstream;
- some configure options disappeared or changed name, updated.

(From OE-Core rev: 11b14e80ac484df24459ef67746684bd49d1fbd8)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowebkitgtk: update to 2.10.4
Alexander Kanavin [Fri, 18 Dec 2015 14:29:49 +0000 (16:29 +0200)] 
webkitgtk: update to 2.10.4

Drop backported patches (which means, all the patches).

Replace a few hardcoded dependencies with PACKAGECONFIG entries.
Add a PACKAGECONFIG entry for libhyphen.

(From OE-Core rev: 3c5485d629e261f27d9c4ad492224a5e376ff0a4)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoepiphany: update to 3.18.2
Alexander Kanavin [Fri, 18 Dec 2015 13:32:06 +0000 (15:32 +0200)] 
epiphany: update to 3.18.2

(From OE-Core rev: 1339bdfed5861a3fb11d887b67cf9049c2a5e08c)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolibwebp: update to 0.4.4
Alexander Kanavin [Fri, 18 Dec 2015 13:29:28 +0000 (15:29 +0200)] 
libwebp: update to 0.4.4

PATENTS file had a few rewordings:
https://github.com/webmproject/libwebp/commits/master/PATENTS

(From OE-Core rev: 08a06c7352eb81d110bcfab69dc931ce4b140a0f)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolibsecret: update to 0.18.3
Alexander Kanavin [Fri, 18 Dec 2015 13:28:06 +0000 (15:28 +0200)] 
libsecret: update to 0.18.3

(From OE-Core rev: fcc8ee69cfd70dd5c02ea2686ce3287366354d50)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agognome-desktop3: update to 3.18.2
Alexander Kanavin [Fri, 18 Dec 2015 13:24:59 +0000 (15:24 +0200)] 
gnome-desktop3: update to 3.18.2

(From OE-Core rev: ce062e2873c0786b2bc473405ac2c764e429505d)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogcr: update to 3.18.0
Alexander Kanavin [Fri, 18 Dec 2015 13:21:55 +0000 (15:21 +0200)] 
gcr: update to 3.18.0

(From OE-Core rev: 2d71c574b0b98f74e6569be9bb09bf6f78ce4bf4)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>