]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/log
thirdparty/openembedded/openembedded-core-contrib.git
9 years agolibpng: Update SRC_URI to use GENTOO_MIRROR
Maxin B. John [Mon, 14 Dec 2015 14:34:12 +0000 (16:34 +0200)] 
libpng: Update SRC_URI to use GENTOO_MIRROR

Update SRC_URI to use GENTOO_MIRROR as SOURCEFORGE_MIRROR continue
to move around the release files.

[YOCTO #8739]

(From OE-Core rev: 780a3739d651a14e1ef9de141e517b77171979d7)

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 agolibpng12: Upgrade 1.2.54 -> 1.2.55
Maxin B. John [Mon, 14 Dec 2015 14:34:11 +0000 (16:34 +0200)] 
libpng12: Upgrade 1.2.54 -> 1.2.55

1.2.54 -> 1.2.55

No change in License.The license checksums changed because of update
in Copyright date.

Update SRC_URI to use GENTOO_MIRROR as SOURCEFORGE_MIRROR continue
to move around the release files.
[YOCTO #8739]

(From OE-Core rev: 1c632dfe121923eea13652afc147080a11f26a78)

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 agolibical: Upgrade 1.0.0 -> 1.0.1
Maxin B. John [Mon, 14 Dec 2015 14:34:10 +0000 (16:34 +0200)] 
libical: Upgrade 1.0.0 -> 1.0.1

* Build system changed to cmake
* Patch build system to not check for perl (we use host
  perl which won't be found)
* Patch build system to not break on parallel builds

(From OE-Core rev: 8e6ab0617ab64ec93db5ca82f6c459be988e0287)

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
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 agolibxslt: use proper SRC_URI
Maxin B. John [Mon, 14 Dec 2015 14:34:09 +0000 (16:34 +0200)] 
libxslt: use proper SRC_URI

Remove extra / from SRC_URI

(From OE-Core rev: 6bad80d2f7630aa013c986fee9751a888cacef47)

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 agokexec-tools: added the script kdump
Wenlin Kang [Fri, 11 Dec 2015 06:16:53 +0000 (14:16 +0800)] 
kexec-tools: added the script kdump

Added the script file kdump,it provides the follow support:
1. Load a kdump kernel image into memory;
2. Copy away vmcore when system panic.

(From OE-Core rev: c2492edcb9366ed1741fc6be7d41bc17844041fd)

Signed-off-by: Wenlin Kang <wenlin.kang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoltp: Upgrade 20150420 -> 20150903
Fan Xin [Mon, 14 Dec 2015 08:29:24 +0000 (17:29 +0900)] 
ltp: Upgrade 20150420 -> 20150903

1. Upgrade from 20150420 to 20150903

https://github.com/linux-test-project/ltp/releases/tag/20150903

2. Replace the patch file 0001-replace-inline-with-static-inline-for-gcc-5.x.patch due to the ltp original source code is changed.

(From OE-Core rev: 8e40d9d79bfffa8bc4b1dfd20e78e1554f6c9b00)

Signed-off-by: Fan Xin <fan.xin@jp.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agomusl: Update to latest 1.1.12 release
Khem Raj [Mon, 14 Dec 2015 00:09:56 +0000 (00:09 +0000)] 
musl: Update to latest 1.1.12 release

point to maintained github mirror in comments

(From OE-Core rev: 0196bc0d466758f634f52f8dff298ca9157c96c4)

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 agoutil-linux: Upgrade to 2.27.1
Khem Raj [Sat, 12 Dec 2015 19:38:39 +0000 (19:38 +0000)] 
util-linux: Upgrade to 2.27.1

Patches that are dropped are already available upstream in 2.27 release

(From OE-Core rev: e4b9c8efaff3b869e2944444b16078ec19dce3ea)

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 agopackagegroup-core-sdk: Disable sanitizers for uclibc
Khem Raj [Mon, 14 Dec 2015 00:13:54 +0000 (00:13 +0000)] 
packagegroup-core-sdk: Disable sanitizers for uclibc

They dont build for non-glibc C libraries yet

(From OE-Core rev: e7ae637f74686161ce121973760c121dfb836de0)

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 agolibsolv: add new recipe
Alejandro del Castillo [Sat, 12 Dec 2015 00:14:31 +0000 (18:14 -0600)] 
libsolv: add new recipe

Required by the optional opkg 0.3.1 libsolv backend.

(From OE-Core rev: bd7efb42c04649de54d36401d2745d6a0aab96c3)

Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agocurl: upgrade to 7.45
Fan Xin [Mon, 14 Dec 2015 01:13:38 +0000 (10:13 +0900)] 
curl: upgrade to 7.45

(From OE-Core rev: 32076a55fec1f01f84fe84aefc9300fae25f2519)

Signed-off-by: Fan Xin <fan.xin@jp.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolibsndfile1: 1.0.25 -> 1.0.26
Tanu Kaskinen [Sat, 12 Dec 2015 02:23:12 +0000 (04:23 +0200)] 
libsndfile1: 1.0.25 -> 1.0.26

Main points from the release announcement:

  * Fix for CVE-2014-9496, SD2 buffer read overflow.
  * Fix for CVE-2014-9756, file_io.c divide by zero.
  * Fix for CVE-2015-7805, AIFF heap write overflow.
  * Add support for ALAC encoder in a CAF container.
  * Add support for Cart chunks in WAV files.
  * Minor bug fixes and improvements.

All patches we had are included in the new release.

Dropped PR from the recipe.

(From OE-Core rev: 5a4b8f7f643a4b95a7036eab02c7f74aa4077982)

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 agowget: Upgrade 1.16.3 -> 1.17
Fan Xin [Mon, 14 Dec 2015 09:24:12 +0000 (18:24 +0900)] 
wget: Upgrade 1.16.3 -> 1.17

(From OE-Core rev: 39fe71fb632a899fb348d531c3e4c3d5923f54d6)

Signed-off-by: Fan Xin <fan.xin@jp.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agounifdef: upgrade to 2.11
Ross Burton [Mon, 14 Dec 2015 11:18:24 +0000 (11:18 +0000)] 
unifdef: upgrade to 2.11

Add COPYING to the license checksums, and update the checksum for unifdef.c as
the copyright dates changed.

(From OE-Core rev: 69ec72a2e3fc20c82ff06672674f9534312ebb14)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosstate-sysroot-cruft: Add php, python, lua, fontcache generated files to whitelist
Martin Jansa [Thu, 10 Dec 2015 13:02:15 +0000 (14:02 +0100)] 
sstate-sysroot-cruft: Add php, python, lua, fontcache generated files to whitelist

(From OE-Core rev: bae08f4caaddc9f5c8e3cd803538853dddb9f8bd)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agooeqa/selftest: Added testcase decorators for 2 testcases
Daniel Istrate [Fri, 11 Dec 2015 09:58:15 +0000 (11:58 +0200)] 
oeqa/selftest: Added testcase decorators for 2 testcases

bblayers: test_bitbakelayers_showrecipes    1384
wic:      test_directdisk_bootloader_config 1385

(From OE-Core rev: eeb3382f38f0cb9188cccb4d32deb38be0b50f67)

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 agouninative.bbclass: Choose the correct loader based on BUILD_ARCH
Randy Witt [Wed, 9 Dec 2015 20:50:44 +0000 (12:50 -0800)] 
uninative.bbclass: Choose the correct loader based on BUILD_ARCH

Previously UNINATIVE_LOADER was always ld-linux-x86-64.so.2. That is
incorrect when the host is 32-bit.

This change also changes to using ?= so the user can override
UNINATIVE_LOADER if so desired.

[YOCTO #8124]

(From OE-Core rev: b78fa0bcadd54bb29b6f1bb3a9308d4c454bf4e2)

Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolicense: Fix BB_TASKDEPDATA references
Richard Purdie [Tue, 15 Dec 2015 16:40:36 +0000 (16:40 +0000)] 
license: Fix BB_TASKDEPDATA references

We shouldn't try and expand what is a python dict object
and we don't want it to influence the task hashes, task
dependencies are already accounted for.

(From OE-Core rev: 697072130a3298aede7166f125aa982be23793ca)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agocoreutils/procps: Revert priority change since coreutils > busybox
Richard Purdie [Tue, 15 Dec 2015 16:34:04 +0000 (16:34 +0000)] 
coreutils/procps: Revert priority change since coreutils > busybox

In 2ce514a394e1e062172bb097aa92a1792a0f8eaf, "coreutils: fix
ALTERNATIVE_PRIORITY conflict with procps and mktemp" the priority was
lowered from 100 to 30. Unfortunately this lowered coreutils past
busybox which means busybox was ending up in our SDK images. This isn't
what users expect.

1c0cfffee21e99a7356c9046c86628bc0acf654c raises the priority of mktemp
to 200, do the same for procps and make the system consistent.

(From OE-Core rev: 770618eb33fc576f903a4c8011cc2d9f8f78071d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agometa: more removals of redunant FILES_${PN}-dbg
Ross Burton [Tue, 15 Dec 2015 16:32:43 +0000 (16:32 +0000)] 
meta: more removals of redunant FILES_${PN}-dbg

In some recipes overly-split -dbg packages were merged into PN-dbg.  Unless
there's a very good reason, recipes should have a single -dev and -dbg package.

(From OE-Core rev: a3b000643898d7402b9e57c02e8d10e677cc9722)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agometa: Drop now pointless manual -dbg packaging
Richard Purdie [Tue, 15 Dec 2015 15:40:23 +0000 (15:40 +0000)] 
meta: Drop now pointless manual -dbg packaging

With the autodebug package generation logic, specifically setting FILES_${PN}-dbg
isn't needed in most cases, we can remove them.

(From OE-Core rev: 3ab59d49dd7c18e194b58d1248b4b87709b5a738)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopackage: Add auto package splitting of .debug files
Richard Purdie [Tue, 15 Dec 2015 15:38:54 +0000 (15:38 +0000)] 
package: Add auto package splitting of .debug files

Creating FILES_${PN}-dbg is tedious and also pretty pointless. We might as well
assume ".debug" is a special directory name and split into -dbg automatically.

This change does so without changing the rest of the splitting logic too much.
It can be disabled for the cases where we really do want manual control of
the -dbg packages (e.g. qt4) with NOAUTOPACKAGEDEBUG = "1".

(From OE-Core rev: da5ec06814e105451cca11cce76b5c5231110524)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agometa/conf/toasterconf.json: remove SDKMACHINE variable as it no longer used
brian avery [Wed, 2 Dec 2015 18:36:17 +0000 (10:36 -0800)] 
meta/conf/toasterconf.json: remove SDKMACHINE variable as it no longer used

(From OE-Core rev: 674fdfd018e0daea561dddc4f8e38eceee685c7a)

Signed-off-by: brian avery <avery.brian@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: toaster: tables Set a default order for the software recipes table
Belen Barros Pena [Mon, 14 Dec 2015 22:50:47 +0000 (22:50 +0000)] 
bitbake: toaster: tables Set a default order for the software recipes table

Add default order by recipe name, so that the table content is sorted
when the page loads.

[YOCTO #8791]

(Bitbake rev: 36cc814b64bcf3825ed096ade0b8c590e497259f)

Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: toaster: rework checking of Django version
Ed Bartosh [Thu, 10 Dec 2015 03:56:43 +0000 (19:56 -0800)] 
bitbake: toaster: rework checking of Django version

Checked django version considering information from
toaster-requirements.txt, e.g. if requirements file contains
line "Django>1.8,<1.9" toaster should be able to check that
requirement correctly.

(Bitbake rev: 49976eca4a6e37e7653814c569badcd3e0fb719a)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: brian avery <avery.brian@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: toaster: monkey patch Queryset
Ed Bartosh [Thu, 10 Dec 2015 03:56:42 +0000 (19:56 -0800)] 
bitbake: toaster: monkey patch Queryset

Fixed 'database is locked' issue by monkey patching django QuerySet
methods.

The actual patching places were found by bisecting Django codebase.

This commit should be removed after Django is fixed if it's fixed
at all.

(Bitbake rev: 175411bf05423b1892c7928c2b928843b39645f0)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: brian avery <avery.brian@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: toaster: removed extra calls of migrate
Ed Bartosh [Thu, 10 Dec 2015 03:56:41 +0000 (19:56 -0800)] 
bitbake: toaster: removed extra calls of migrate

One manage.py migrate should be enough to apply migrations for
all applications. Extra calls just slow toaster script down.

Removed calls of migrate for orm and bldcontrol apps.

(Bitbake rev: 9299d7fa88e51294c4fd3f1354874d8253d25aff)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: brian avery <avery.brian@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: toaster: work around 'database is locked' error
Ed Bartosh [Thu, 10 Dec 2015 03:56:40 +0000 (19:56 -0800)] 
bitbake: toaster: work around 'database is locked' error

When sqlite can not cope with a stream of 'insert' queries it throws
'database is locked' exception.

Wrapping model.save in transaction.atomic context and repeating the call
should solve this issue.

(Bitbake rev: eb305308ca8f6228c6f52dac1bd941f29c7e5eb6)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: brian avery <avery.brian@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: toaster: fixed format strings
Ed Bartosh [Thu, 10 Dec 2015 03:56:39 +0000 (19:56 -0800)] 
bitbake: toaster: fixed format strings

Printing id as a number breaks toaster if object is not saved
yet as id/pk is None in this case.

Changed format spec to print id as a string in __str__
and __unicode__ methods of Build, Task and LayerVersion models.

(Bitbake rev: d5ca2bae623db214764324da5c9e4dac6beef760)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: brian avery <avery.brian@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: toaster: use OneToOneField instead of ForeignKey
Ed Bartosh [Thu, 10 Dec 2015 03:56:38 +0000 (19:56 -0800)] 
bitbake: toaster: use OneToOneField instead of ForeignKey

Used OneToOneField to reference BuildRequest in BRBitbake model.

Fixed django warning:
WARNINGS: Setting unique=True on a ForeignKey has the same effect
          as using a OneToOneField.

(Bitbake rev: aaa4319ebbb06facb77b4ba936cf3aa2068ff238)

Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: brian avery <avery.brian@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: toaster: Amend regex for MySQL database URLs
Elliot Smith [Thu, 10 Dec 2015 03:56:37 +0000 (19:56 -0800)] 
bitbake: toaster: Amend regex for MySQL database URLs

The database URL detection doesn't admit a MySQL URL without a port.

As this is a common case (e.g. you would set the HOST to a mysql.sock
path if pointing at a local MySQL server, with no port setting),
amend the regex so it will correctly recognise paths, as well
as HOST:PORT URLs.

(Bitbake rev: 89386aab888f806d5aa4a8083c06566e48d9445b)

Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: brian avery <avery.brian@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: toaster: Remove compatible_layerversions() method
Elliot Smith [Thu, 10 Dec 2015 03:56:36 +0000 (19:56 -0800)] 
bitbake: toaster: Remove compatible_layerversions() method

Remove compatible_layerversions() and replace calls to it with
calls to get_all_compatible_layer_versions().

The sorting done in compatible_layerversions() is not relevant,
and the code can be simplified by using get_all_compatible_layer_versions().

[YOCTO #8364]

(Bitbake rev: 7bca51277314f7c0b6ee0e0d470327dfd60d37fe)

Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: brian avery <avery.brian@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: toaster: Check Django version against toaster-requirements.txt
Elliot Smith [Thu, 10 Dec 2015 03:56:35 +0000 (19:56 -0800)] 
bitbake: toaster: Check Django version against toaster-requirements.txt

Instead of hard-coding the required Django version in the start
script, look it up from the toaster-requirements.txt file.

[YOCTO #8364]

(Bitbake rev: 2149ff805424692f9fde29618f2ae0eb99f710d2)

Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: brian avery <avery.brian@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: toaster: Update deprecated manage.py command
Elliot Smith [Thu, 10 Dec 2015 03:56:34 +0000 (19:56 -0800)] 
bitbake: toaster: Update deprecated manage.py command

syncdb is deprecated in favour of migrate in Django 1.7:
https://docs.djangoproject.com/en/1.8/releases/1.7/#schema-migrations

Update to the "migrate" command in Toaster's start script.

[YOCTO #8364]

(Bitbake rev: 7ff1630574180e1895b90ecef1ea0caf51304446)

Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: brian avery <avery.brian@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: toaster: Prevent deprecation warnings for RedirectView
Elliot Smith [Thu, 10 Dec 2015 03:56:33 +0000 (19:56 -0800)] 
bitbake: toaster: Prevent deprecation warnings for RedirectView

The API for RedirectView is due to change in Django 1.9, which
means that Toaster generates deprecation warnings.

Set the "permanent" flag when constructing RedirectView instances
to prevent this warning.

[YOCTO #8364]

(Bitbake rev: 4aa09488bfe65cb365356b320cd9865643bb4fe5)

Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: brian avery <avery.brian@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: toaster: Update API used to make runbuilds methods run in transactions
Elliot Smith [Thu, 10 Dec 2015 03:56:32 +0000 (19:56 -0800)] 
bitbake: toaster: Update API used to make runbuilds methods run in transactions

runbuilds previously had its methods decorated with
transaction.commit_on_success, which is now deprecated. transaction.atomic
is an (almost) drop-in replacement for this, so use this instead.

[YOCTO #8364]

(Bitbake rev: c4804b84eaaef6a81027bae5cf8bfe63d949c293)

Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: brian avery <avery.brian@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: toaster: rename get_query_set -> get_queryset
Ed Bartosh [Thu, 10 Dec 2015 03:56:31 +0000 (19:56 -0800)] 
bitbake: toaster: rename get_query_set -> get_queryset

Renamed get_query_set to get_queryset as get_queryset causes
deprecation warning in Django 1.7 and is deprecated in Django 1.8

(Bitbake rev: ef8b399dccd413070e32ce05e013337ea01fa64d)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: brian avery <avery.brian@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: toaster: Start Django machinery for database access
Elliot Smith [Thu, 10 Dec 2015 03:56:30 +0000 (19:56 -0800)] 
bitbake: toaster: Start Django machinery for database access

buildinfohelper, with the new import paths for our Django models
and Django 1.8, was not getting an active connection to the database.

In buildinfohelper, call django.setup() explicitly to make sure
that the database connection is ready and models can be queried
and saved.

[YOCTO #8364]

(Bitbake rev: 671aaab8cb7c494cd5c7621b45a6f41a203d8bb5)

Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: brian avery <avery.brian@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: toaster: Create default project with get_or_create* method
Elliot Smith [Thu, 10 Dec 2015 03:56:29 +0000 (19:56 -0800)] 
bitbake: toaster: Create default project with get_or_create* method

Rather than maintain data as part of the migrations (as was
done for the default project previously), create the default
(cli builds) project on demand as a by-product of getting
it from the database.

[YOCTO #8364]

(Bitbake rev: 5fd8e90ab9b81d1bd0d301bc1c91228ecbbea74b)

Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: brian avery <avery.brian@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: toaster: Fix references to app paths
Ed Bartosh [Thu, 10 Dec 2015 03:56:28 +0000 (19:56 -0800)] 
bitbake: toaster: Fix references to app paths

The buildinfohelper runs outside of Django, but still needs
access to our Django app classes.

Previously, the imports referenced the toaster.* app, which worked
fine. But in Django 1.8, this causes an error about the same
module being loaded multiple times from different paths.

Change the paths to our Django modules so they don't cause
this error to be thrown. We can do this as we've added our
application libraries to sys.path in the buildinfohelper anyway.

[YOCTO #8364]

(Bitbake rev: 070da64cf32c32b5ffc34d611b463c3a3960b419)

Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: brian avery <avery.brian@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: toaster: Remove South migrations
Ed Bartosh [Thu, 26 Nov 2015 18:04:06 +0000 (20:04 +0200)] 
bitbake: toaster: Remove South migrations

South has been deprecated in favour of Django's own migration framework,
so remove the old South migrations and replace them with Django ones.

[YOCTO #8364]

(Bitbake rev: 427d8bc02d1aa00a19057602d592d58334514804)

Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: brian avery <avery.brian@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: toaster: Upgrade to Django 1.8.6 and remove South
Elliot Smith [Thu, 10 Dec 2015 03:56:26 +0000 (19:56 -0800)] 
bitbake: toaster: Upgrade to Django 1.8.6 and remove South

Upgrade Django to long-term support version.

Django now provides its own migration framework, so remove
requirement for South.

[YOCTO #8364]

(Bitbake rev: 648b62654c52116451c6a68a46d7264db3a34d09)

Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: brian avery <avery.brian@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: toasterui: process SetBRBE event
Ed Bartosh [Wed, 9 Dec 2015 14:25:49 +0000 (14:25 +0000)] 
bitbake: toasterui: process SetBRBE event

Currently BRBE is known to toasterui only when build is
started. It's passed to it with BuildStarted event. This is
too late as if build fails earilier than build starts toasterui
can not inform Toaster about the failure.

Set BRBE as soon as it's provided by Toaster.
This should make toasterui to be able to inform Toaster
about early build failures, e.g. failures during recipe parsing.

(Bitbake rev: d7819508dac488a64be3caec88db285cda9599ab)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: toaster: trigger SetBRBE event
Ed Bartosh [Wed, 9 Dec 2015 14:25:48 +0000 (14:25 +0000)] 
bitbake: toaster: trigger SetBRBE event

Triggered MetadataEvent "SetBRBE" when TOASTER_BRBE variable
is set on bitbake server. This should make buildinfohelper
aware of the build request id, which is used to properly
report build status and failures back to Toaster.

(Bitbake rev: 8b136fb093020bc912a7b21d5163e1cd5fb12124)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: toaster: implement BitbakeController.triggerEvent
Ed Bartosh [Wed, 9 Dec 2015 14:25:47 +0000 (14:25 +0000)] 
bitbake: toaster: implement BitbakeController.triggerEvent

This API will be used to pass data from Toaster to
toaster_ui and buildinfohelper.

(Bitbake rev: 6dca6fd47c5e8d66687fb07177e98cd531cd971d)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: event: Fix subprocess event error traceback failures
Richard Purdie [Wed, 9 Dec 2015 12:02:56 +0000 (12:02 +0000)] 
bitbake: event: Fix subprocess event error traceback failures

If subprocess raises a CalledProcessError() error, e.g. from a call
like subprocess.check_call("false"), bitbake would try and pass the
object over IPC and fail, leading to an unusual error:

('__init__() takes at least 3 arguments (1 given)', <class 'subprocess.CalledProcessError'>, ())%

To avoid this, we turn the value into a string which prevents the
issues the IPC has trying to deal with the object (for the same reason
we deal with tracebacks here too).

[YOCTO #8752]

(Bitbake rev: 05695424b918fc81b16cbac70d79d8271a0b6045)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agonopackages: Add class for recipes which don't generate packages
Richard Purdie [Thu, 10 Dec 2015 22:50:56 +0000 (22:50 +0000)] 
nopackages: Add class for recipes which don't generate packages

It turns out writing the same list of packaging tasks multiple
times in multiple places is error prone. Move this to a new class
'nopackages", migrate existing users and add glibc-initial and
libgcc-initial since we don't want packages for those recipes.

This means the sstate for those recipes won't be installed, saving
small amounts of build time and bandwidth.

A reference to the old package_write task is also dropped.

(From OE-Core rev: cece583d58f82a50c3a4eac876eb326ac3b8f5e5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosstate: Ensure populate_lic dependencies are not followed
Richard Purdie [Thu, 10 Dec 2015 22:49:38 +0000 (22:49 +0000)] 
sstate: Ensure populate_lic dependencies are not followed

It was observed that do_fetch dependencies (e.g. subversion-native of tremor)
were being installed even when sstate was available and hence no fetch was
needed. This turned out to be due to the recursive nature of the rootfs
dependencies which include populate_lic.

We can explicitly whitelist these dependencies as being ones we don't
need to follow when installing sstate (the code defaults to being paranoid).

[YOCTO #8746]

(From OE-Core rev: 06c891f0fa6c7712eae233dd18612f1ab1889c45)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopopulate_sdk_ext/sign_rpm/sign_package_feed: Add missing getVar parameter
Richard Purdie [Thu, 10 Dec 2015 22:48:35 +0000 (22:48 +0000)] 
populate_sdk_ext/sign_rpm/sign_package_feed: Add missing getVar parameter

We should always pass a parameter to getVar, add missing default value.

(From OE-Core rev: 31bc0a46a97d7dc98568a218c077c31d8b11dbd9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoautoconf: Disable macro which causes excessive delays when using dash as sh
Richard Purdie [Mon, 7 Dec 2015 18:28:56 +0000 (18:28 +0000)] 
autoconf: Disable macro which causes excessive delays when using dash as sh

At the start of every configure script, the check for solaris 'print' causes
significant problems on a linux machine with dash as /bin/sh since it triggers
the execution of "print" which on some linux systems is a perl script which is
part of mailcap. Worse, this perl script calls "which file" and if successful
ignores the path file was found in and just runs "file" without a path. Each
execution causes PATH to be searched. In something like gettext with multiple
configure scripts, this is worth something like 30,000 syscalls of which 3,000
are execs.

Simply assuming the shell's printf function works cuts out all the fork overhead
and when parallel tasks are running, this overhead appears to be significant.

(From OE-Core rev: 421eb8fce9856c63bf62fc3a61fe39d1e5253ff8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoautomake: Remove delays in configure scripts using automake
Richard Purdie [Mon, 7 Dec 2015 18:28:05 +0000 (18:28 +0000)] 
automake: Remove delays in configure scripts using automake

By default automake puts "sleep 1" into the start of configure scripts
which adds pointless delays to them. Rather than do this, lets just assume
our systems are sane.

Since this means our patches touch m4 files, we need to stop automake running
autoreconf so we tweak the do_configure to avoid this.

(From OE-Core rev: 25eca6793cd4ad7af7e23669ed4f47d075ec696d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosite/common-linux: Add some macros to avoid sleeps during configure
Richard Purdie [Mon, 7 Dec 2015 18:27:29 +0000 (18:27 +0000)] 
site/common-linux: Add some macros to avoid sleeps during configure

If you profile gettext do_configure you notice it has some "sleep 1"
type events occurring. This patch ensures we cache the right values to
avoid those pointless delays there and in any other configure scripts
using the same macros.

(From OE-Core rev: ae49c16816e23fcfdcfb88d2d763e91be78f9dc0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agometa-yocto/conf/toasterconf.json: remove SDKMACHINE variable as it no longer used
brian avery [Wed, 2 Dec 2015 18:47:11 +0000 (10:47 -0800)] 
meta-yocto/conf/toasterconf.json: remove SDKMACHINE variable as it no longer used

(From meta-yocto rev: 16fe804f7f3eaa2a03e99874b132e412b84bf5ae)

Signed-off-by: brian avery <avery.brian@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolttng-tools: Revert wrong enforcement of Python 3.0 use
Otavio Salvador [Fri, 11 Dec 2015 17:32:56 +0000 (15:32 -0200)] 
lttng-tools: Revert wrong enforcement of Python 3.0 use

The code has support and checks for Python 2 and Python 3 however
during the development of 2.7 release a requirement for Python 3 was
included.

The Python 3 is required for runtime tests to run however those are
not in use now so we can just disable the enforcement for now.

This reverts the commit restoring the Python 2 support.

(From OE-Core rev: 8807f4fd8a9ccdcdec016d87fd18fd0717f35dca)

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 agoattr: Add patch to account for use of internal glibc header
Khem Raj [Thu, 19 Nov 2015 01:07:21 +0000 (01:07 +0000)] 
attr: Add patch to account for use of internal glibc header

based on suggestions on musl FAQ
http://wiki.musl-libc.org/wiki/FAQ

(From OE-Core rev: 2544153a370208e9a08a506f4d5afe56d203e242)

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 agolibpam: Fix build with musl
Khem Raj [Thu, 19 Nov 2015 01:04:49 +0000 (01:04 +0000)] 
libpam: Fix build with musl

Define strndupa if not available in libc additionally fix headers
to explicitly needed include files which glibc was including indirectly

(From OE-Core rev: 24097d8bb481ed1312c45b2e93527a271f56e4be)

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 agoopenssl: Add musl configuration support
Khem Raj [Thu, 19 Nov 2015 01:03:14 +0000 (01:03 +0000)] 
openssl: Add musl configuration support

use termios instead of termio

(From OE-Core rev: 753b6233e5da66d9e64952b8089589a1beebf8a9)

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 agobusybox: Add config for musl
Khem Raj [Thu, 19 Nov 2015 00:59:33 +0000 (00:59 +0000)] 
busybox: Add config for musl

Default config is enabling additional features that dont compile with
musl so lets disable them for musl case

(From OE-Core rev: 7568e432890d828fec59134e14d7f60445ff4a1a)

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 agogettext: Delete libintl.h and charset.alias
Khem Raj [Thu, 19 Nov 2015 00:26:26 +0000 (00:26 +0000)] 
gettext: Delete libintl.h and charset.alias

libintl.h is already provided by musl and charset.alias is regenerated
by packages themselves

(From OE-Core rev: 25f91036e14392638e549d3d0b2914e93e6f4596)

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 agosysvinit: Fix build with musl
Khem Raj [Thu, 19 Nov 2015 00:10:03 +0000 (00:10 +0000)] 
sysvinit: Fix build with musl

(From OE-Core rev: 8688f08e429dfbc758315f9f07933693269e7c5b)

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 agomusl: Add recipe
Khem Raj [Thu, 19 Nov 2015 00:07:58 +0000 (00:07 +0000)] 
musl: Add recipe

musl is posix compliant C library for linux

(From OE-Core rev: cab51a83f833001dfce538a385d304e49377c189)

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 agomtools: Use proper glibc override to add glibc packages to recommendations
Khem Raj [Wed, 18 Nov 2015 23:26:12 +0000 (23:26 +0000)] 
mtools: Use proper glibc override to add glibc packages to recommendations

Helps building mtools on musl

(From OE-Core rev: 9f5eb272784d3be17e7fe8e7cab511bd4086ba1e)

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 agosquashfs-tools: Define FNM_EXTMATCH if not defined
Khem Raj [Wed, 18 Nov 2015 23:25:24 +0000 (23:25 +0000)] 
squashfs-tools: Define FNM_EXTMATCH if not defined

helps compiling when using musl

(From OE-Core rev: 860db06bb437c936eb5743f75c865bb70fc3ef92)

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 agomtd-utils: Backport and create patches to support musl
Khem Raj [Wed, 18 Nov 2015 23:24:32 +0000 (23:24 +0000)] 
mtd-utils: Backport and create patches to support musl

(From OE-Core rev: 9a4ab3b1ad45a556b845530a12ec865be2278c78)

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 agogdb: Fix build with musl
Khem Raj [Wed, 18 Nov 2015 23:23:46 +0000 (23:23 +0000)] 
gdb: Fix build with musl

This is a patch that has been submitted upstream as well

(From OE-Core rev: 87376746d64aea47cce327d951692c31d4acf872)

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 agoautoconf: Add musl support
Khem Raj [Wed, 18 Nov 2015 23:23:03 +0000 (23:23 +0000)] 
autoconf: Add musl support

Support musl triplets

(From OE-Core rev: d3609be6f3c59ef5d213d85b44dd1ac2058632bd)

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 agogcc: Add support for building musl configuration
Khem Raj [Wed, 18 Nov 2015 17:10:48 +0000 (17:10 +0000)] 
gcc: Add support for building musl configuration

Most of these patches are already in gcc 6.0/master but we still need them for
older gcc, they have been tested in meta-musl for quite some time

(From OE-Core rev: 30a0cc2ef72399b84da4903e697f258f79852fc9)

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 agogstreamer1.0: Split bash completion information into separate package
Mike Crowe [Thu, 10 Dec 2015 13:59:46 +0000 (13:59 +0000)] 
gstreamer1.0: Split bash completion information into separate package

Many targets won't even have bash installed so the completion
information is completely useless. Follow the lead of other recipes and
put it in a separate -bash-completion package.

(From OE-Core rev: 4315d1aca8c642001a4b43fef66ed730fb756c66)

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoattr: add attr dependency to attr-ptest
Ross Burton [Thu, 10 Dec 2015 15:49:27 +0000 (15:49 +0000)] 
attr: add attr dependency to attr-ptest

If attr-ptest is explicitly installed it will fail as attr isn't a dependency.

[ YOCTO #8766 ]

(From OE-Core rev: ec9f727fc95d5ac4b4209272f794c4865dd2946f)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agovalgrind: import Debian link_tool patch for MIPS
Andre McCurdy [Wed, 9 Dec 2015 18:52:48 +0000 (10:52 -0800)] 
valgrind: import Debian link_tool patch for MIPS

Without this patch, valgrind 3.10.1 fails to run on MIPS:

 | root@bcm97425vms:~# valgrind /bin/ls
 | valgrind: mmap(0x400000, 700416) failed in UME with error 22 (Invalid argument).
 | valgrind: this can be caused by executables with very large text, data or bss segments.

Original Debian bug report:

  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=777704

(From OE-Core rev: 652c5ae2c8317dcd93ada409365eeb56ceb54d0b)

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 agoslang: update upstream URI to (official) jedsoft.org
Alexander Kanavin [Mon, 7 Dec 2015 17:47:17 +0000 (19:47 +0200)] 
slang: update upstream URI to (official) jedsoft.org

(From OE-Core rev: 4a839105c7166390aed5f963918c03dbebf22ab5)

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 agosubversion: update to 1.9.2
Alexander Kanavin [Mon, 7 Dec 2015 17:46:49 +0000 (19:46 +0200)] 
subversion: update to 1.9.2

Drop backported CVE fix patches
libtool2.patch has been rebased and renamed to 0001-Fix-libtool-name-in-configure.ac.patch
LICENSE checksum has been updated because more 3rd party attributions have been added to it,
it's otherwise still Apache 2.

(From OE-Core rev: b57f57ea092f93bd7e1268b04c7d3c4af2149a77)

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 agojson-c: add manual upstream version check
Alexander Kanavin [Fri, 4 Dec 2015 13:42:13 +0000 (15:42 +0200)] 
json-c: add manual upstream version check

(From OE-Core rev: e1315da2d402e77623ed80d2761daf1df306aa45)

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 agomirrors: replace references to archive.apache.org
Alexander Kanavin [Fri, 4 Dec 2015 13:40:27 +0000 (15:40 +0200)] 
mirrors: replace references to archive.apache.org

archive.apache.org does not contain current releases, only historical ones,
so upstream checks aren't accurate. It's replaced with official mirrors
containing current versions.

(From OE-Core rev: e9c85489ae354f52ff5b78f4d7fb6fafd0050522)

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 agomobile-broadband-provider-info: update to current commit
Alexander Kanavin [Fri, 4 Dec 2015 13:38:12 +0000 (15:38 +0200)] 
mobile-broadband-provider-info: update to current commit

(From OE-Core rev: 6309935a1a8a5282e835e0bb195c29eacb5243dc)

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 agonspr: update to 4.11
Alexander Kanavin [Fri, 4 Dec 2015 13:37:05 +0000 (15:37 +0200)] 
nspr: update to 4.11

(From OE-Core rev: 4a708ba807caa8dc7831b7cfa3be721eacce7985)

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 agopython-setuptools: update to 18.7.1
Alexander Kanavin [Fri, 4 Dec 2015 13:35:38 +0000 (15:35 +0200)] 
python-setuptools: update to 18.7.1

(From OE-Core rev: 3df78d4850e06ba4febd638bf52ee3b2927c5094)

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 agoopenssl: update to 1.0.2e
Alexander Kanavin [Wed, 9 Dec 2015 13:37:59 +0000 (15:37 +0200)] 
openssl: update to 1.0.2e

[YOCTO #8765]
[YOCTO #8758]

(From OE-Core rev: 2dbc06d880cc2e764fb2970de37ea5206b080445)

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 agodropbear.inc: drop legacy CFLAGS and LD tweaks
Andre McCurdy [Tue, 8 Dec 2015 21:42:50 +0000 (13:42 -0800)] 
dropbear.inc: drop legacy CFLAGS and LD tweaks

The CFLAGS and LD tweaks in dropbear.inc date back to 2005/2006 and
whatever issue they worked around back then seems to have been fixed
in the latest versions of dropbear.

(From OE-Core rev: 4b17606fbca63a17cafbc285e3efe48c4c54a266)

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 agodropbear: update 2015.70 -> 2015.71
Andre McCurdy [Tue, 8 Dec 2015 21:42:49 +0000 (13:42 -0800)] 
dropbear: update 2015.70 -> 2015.71

2015.71 - 3 December 2015

- Fix "bad buf_incrpos" when data is transferred, broke in 2015.69

- Fix crash on exit when -p address:port is used, broke in 2015.68

- Fix building with only ENABLE_CLI_REMOTETCPFWD given, patch from Konstantin Tokarev

- Fix bad configure script test which didn't work with dash shell, patch from Juergen Daubert,
  broke in 2015.70

- Fix server race condition that could cause sessions to hang on exit,
  https://github.com/robotframework/SSHLibrary/issues/128

(From OE-Core rev: d0658e0e9efcf2c995e92a61af0e5300ebcdce82)

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 agotexinfo: don't create dependency on INHERIT variable
Martin Jansa [Wed, 9 Dec 2015 08:48:13 +0000 (09:48 +0100)] 
texinfo: don't create dependency on INHERIT variable

* we don't want the do_package signature depending on INHERIT variable
* e.g. just adding the own-mirrors causes texinfo to rebuild:
  # bitbake-diffsigs BUILD/sstate-diff/*/*/texinfo/*do_package.sig*
  basehash changed from 015df2fd8e396cc1e15622dbac843301 to 9f1d06c4f238c70a99ccb6d8da348b6a
  Variable INHERIT value changed from
  ' rm_work blacklist blacklist report-error ${PACKAGE_CLASSES} ${USER_CLASSES} ${INHERIT_DISTRO} ${INHERIT_BLACKLIST} sanity'
  to
  ' rm_work own-mirrors blacklist blacklist report-error ${PACKAGE_CLASSES} ${USER_CLASSES} ${INHERIT_DISTRO} ${INHERIT_BLACKLIST} sanity'

(From OE-Core rev: ac6642e9a84a67c8cdaa8d8e939c2d0e2dcb3577)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosudo: upgrade to 1.8.15
Fan Xin [Wed, 9 Dec 2015 07:57:54 +0000 (16:57 +0900)] 
sudo: upgrade to 1.8.15

1. upgrade to 1.8.15
2. delete patch file due to the bug has been fixed in sudo 1.8.15
(http://bugzilla.sudo.ws/show_bug.cgi?id=708)

(From OE-Core rev: 2180280e63aece8fb45686e1b5dd01430ce478fe)

Signed-off-by: Fan Xin <fan.xin@jp.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolinux-firmware: update to latest revision bbe4917
Armin Kuster [Tue, 8 Dec 2015 15:57:05 +0000 (07:57 -0800)] 
linux-firmware: update to latest revision bbe4917

Update to latest linux-firmware
Fix ar3k license to be QualcommAtheros
Add ath10K firmware package

(From OE-Core rev: 6e81582c6ef65590743b2f5e84f3ec839766f8f1)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobluez5: upgrade to 5.36
Cristian Iorga [Mon, 7 Dec 2015 13:06:03 +0000 (15:06 +0200)] 
bluez5: upgrade to 5.36

Backported a fix for a segfault crash.

(From OE-Core rev: 66dcceb295a063aea7acc3e581298d46f2b79650)

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 agosudo: remove libdir INSANE_SKIP
Ross Burton [Tue, 8 Dec 2015 10:52:42 +0000 (10:52 +0000)] 
sudo: remove libdir INSANE_SKIP

Now that the libdir check allows libraries in libexecdir, remove INSANE_SKIP.

(From OE-Core rev: a760d550b099a9287b188b8376ef2f0787cc85fc)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolibsdl: expand PACKAGECONFIG and enable native builds
Ross Burton [Mon, 30 Nov 2015 11:31:14 +0000 (11:31 +0000)] 
libsdl: expand PACKAGECONFIG and enable native builds

Use PACKAGECONFIG instead of using logic in DEPENDS and EXTRA_OECONF, adding new
options for PulseAudio, tslib, DirectFB, OpenGL and X11.  Pass
--disable-x11-shared so that it links to the X libraries instead of using
dlopen().

Disable tslib by default as the kernel event input subsystem is generally used.

SDL's OpenGL support requires X11 so check for both x11 and opengl, and merge
the dependencies.

Finally enable native builds, with a minimal PACKAGECONFIG that will build from
oe-core for native and nativesdk.

(From OE-Core rev: 3d6c31c3a4ff34376e17005a981bb55fc6f7a38f)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobuildtools-tarball.bb: 32bit tools need pseudo 32bit library
Juro Bystricky [Thu, 3 Dec 2015 23:09:55 +0000 (15:09 -0800)] 
buildtools-tarball.bb: 32bit tools need pseudo 32bit library

"pseudo" does not build 32 bit library by default on 64 bit host, but the
32 bit library is needed when using 32 bit development tools (buildtools-tarball)
running on a 64 bit host. Building of the library can be forced if the
environment variable NO32LIBS is set to "0".

Hence for 32 bit buildtools we export the environment variable NO32LIBS="0"
and NO32LIBS is also added into BB_ENV_EXTRAWHITE (if not already there).

[YOCTO#8581]

(From OE-Core rev: 1c20e66428df10000741c25dddb7a2b1fd55ba42)

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agorpm: fix file conflicts for MIPS64 N32
Robert Yang [Wed, 2 Dec 2015 11:39:27 +0000 (03:39 -0800)] 
rpm: fix file conflicts for MIPS64 N32

The following error can occur:
  smart install libc6-2.22-r0.1@lib32_mips32r2octeon3 libc6-dbg-2.22-r0.1@lib32_mips32r2octeon3
error: file /sbin/ldconfig conflicts between attempted installs of libc6-2.22-r0.1.lib32_mips32r2octeon3 and libc6-2.22-r0.1.octeon3_n32
error: file /sbin/.debug/ldconfig conflicts between attempted installs of libc6-dbg-2.22-r0.1.lib32_mips32r2octeon3 and libc6-dbg-2.22-r0.1.octeon3_n32

This was because:
transactions_color = 001 (ELF32) & 010 (ELF64) & 100 (ELF32 N32 MIPS64)
FColor = Current file color (001) & transaction_color (111)
oFcolor = Previous file color (100) & transaction_color (111)

There are two places where the conflict comparisons occur.  In both places
the 'else' clause was too restrictive (opposite of the 'positive' clause).
This caused the system to only permit a binary comparison - "new preferred" or
"old preferred".  It did not permissing "neither preferred".  By removing the
else comparison the system will now perform a 'last-in-wins' resolution when
"neither is preferred".

Note, if _transaction_color is 3, MIPS64 N32 will be skipped (pretend as
installed).

(From OE-Core rev: 36c225704daa58b98a4b7f2ef315eb944d8628b5)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agorpm: Enable MIPS64 N32 transactions
Mark Hatle [Wed, 2 Dec 2015 11:39:26 +0000 (03:39 -0800)] 
rpm: Enable MIPS64 N32 transactions

In a multilib install RPM will break a conflict using the transaction color.
However, by default MIPS64 N32 transactions are not enabled.

This change always enables them.  This is effectively a no-op on non-MIPS
systems, and required if we need to support N32 on MIPS.

(From OE-Core rev: dd86624034574484574d75adfcf68c2df4a7a6b7)

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 agobash: fix testcase run-coproc/run-execscript/run-test/run-heredoc failed
Hongxu Jia [Sat, 28 Nov 2015 06:53:40 +0000 (14:53 +0800)] 
bash: fix testcase run-coproc/run-execscript/run-test/run-heredoc failed

Add user 'test' to fix the failure of 'the test suite should not
be run as root'(run-execscript and run-test)

Backport test case from git://git.sv.gnu.org/bash.git to fix run-execscript
and run-heredoc

Still failed cases:
FAIL: run-intl
FAIL: run-lastpipe
FAIL: run-trap

YOCTO: 5698

(From OE-Core rev: 1096140cb1d2532ecb38ac5fbbbe13d40fdaf6af)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agocpio: fix test case of symlink-bad-length
Chen Qi [Tue, 1 Dec 2015 02:13:55 +0000 (10:13 +0800)] 
cpio: fix test case of symlink-bad-length

(From OE-Core rev: 7e2f2bc55a1b367503ab75ac6863f56d662c34cc)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolinux-libc-headers: update default KORG_ARCHIVE_COMPRESSION bz2 -> xz
Andre McCurdy [Tue, 1 Dec 2015 22:08:14 +0000 (14:08 -0800)] 
linux-libc-headers: update default KORG_ARCHIVE_COMPRESSION bz2 -> xz

(From OE-Core rev: cbda522698fb372023bdda556694ccac2af803b7)

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 agolinux-libc-headers.inc: remove '-e MAKEFLAGS=' from EXTRA_OEMAKE
Andre McCurdy [Tue, 1 Dec 2015 21:13:03 +0000 (13:13 -0800)] 
linux-libc-headers.inc: remove '-e MAKEFLAGS=' from EXTRA_OEMAKE

These OE default make flags are not required for KBuild packages.

(From OE-Core rev: 3946eefd95272e02f864cf7949919cc097601875)

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 agogcc-4.9: import patch fixing compilation in thumb mode
Dmitry Eremin-Solenikov [Thu, 26 Nov 2015 16:40:53 +0000 (19:40 +0300)] 
gcc-4.9: import patch fixing compilation in thumb mode

Import patch fixing a bug that caused ICE when compiling some packages
(e.g. ICU) in Thumb-1 model.

(From OE-Core rev: 68062674b853af750d0fdafb06090ed2f75fa0a4)

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogcc-5.2: import patch fixing compilation in thumb mode
Dmitry Eremin-Solenikov [Thu, 26 Nov 2015 16:40:52 +0000 (19:40 +0300)] 
gcc-5.2: import patch fixing compilation in thumb mode

Import patch fixing a bug that caused ICE when compiling some packages
(e.g. ICU) in Thumb-1 model.

(From OE-Core rev: 3c8ad9e008a1786ff95202f413e267756a5e783f)

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agodropbear: Upgrade 2015.68 -> 2015.70
Jussi Kukkonen [Wed, 2 Dec 2015 12:11:38 +0000 (14:11 +0200)] 
dropbear: Upgrade 2015.68 -> 2015.70

Tweak a pam patch to make it apply on current source.

(From OE-Core rev: 9116a9346556837328a42059bd8af02ea17d081b)

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogcc-cross-initial: make dependency on gnu-config-native and autoconf-native explicit
Yuanjie Huang [Fri, 27 Nov 2015 09:31:20 +0000 (17:31 +0800)] 
gcc-cross-initial: make dependency on gnu-config-native and autoconf-native explicit

When a project is configure to use sstate cache and has the host tool sysroot
cleaned, gcc-cross-initial may fail to be configured due to lack of
gnu-configize tool.

gcc-cross-initial recipe has autotools dependency inhibited, and the same flag
variable also excludes the gnu-config-native.  Though there is an indirect
dependency through libmpc-native, it's not safe with sstate cache being used.

Moreover, gnu-config-native requires a perl package from autoconf-native to
run, otherwise it will fail with "Can't locate Autom4te/ChannelDefs.pm in @INC"
message.

This patch makes both dependencies explicit for gcc-cross-initial's
configuration.

(From OE-Core rev: 18a913e54b40a1654d0967290088be5e7fcdd6f6)

Signed-off-by: Yuanjie Huang <yuanjie.huang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoweston-init: add a native systemd unit file
Alexander Kanavin [Tue, 1 Dec 2015 15:35:56 +0000 (17:35 +0200)] 
weston-init: add a native systemd unit file

Previously weston was started by systemd via a classic init script

[YOCTO #5582]

(From OE-Core rev: e67c7f0998a5a285bd079d2c956bd61457e75077)

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 agopython: Fix cross compiling issue
Jackie Huang [Fri, 27 Nov 2015 10:22:51 +0000 (18:22 +0800)] 
python: Fix cross compiling issue

If the target and host have the same type, the system
may try to execute the instructions from the target
version.  This can lead to illegal instructions
as well as the wrong copy of the code running.

Add CROSSPYTHONPATH for PYTHON_FOR_BUILD and export
the correct path to fix it.

(From OE-Core rev: 1cda7afd4173100e4185ee8759f6b2770bc93b72)

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoicu: Upgrade 55.1 -> 56.1
Mike Crowe [Fri, 27 Nov 2015 14:50:27 +0000 (14:50 +0000)] 
icu: Upgrade 55.1 -> 56.1

Upgrade ICU from v55.1 to v56.1 and backport a later patch that is
necessary to avoid errors during the build.

(From OE-Core rev: 4a4af31a03bb9d83ee859f0f39a2bf416cf56915)

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>