]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/log
thirdparty/openembedded/openembedded-core-contrib.git
10 years agobitbake: toaster: toaster table add raw data
Alexandru DAMIAN [Mon, 8 Jun 2015 10:01:43 +0000 (11:01 +0100)] 
bitbake: toaster: toaster table add raw data

We add in a JSON response both the raw data and the rendered
version for display. The rendered fields start with "static:"
to mark a different "namespace".

The toaster.js is updated to always display the "static:" version
of a field, if it exists (and ignore the raw data unless the
static rendering is missing).

(Bitbake rev: 928ee3fd4b52ea14b7eb704f1f27351362a9d27a)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toastergui: remove xhr_projectedit and xhr_projectinfo URLs
Alexandru DAMIAN [Mon, 8 Jun 2015 17:41:46 +0000 (18:41 +0100)] 
bitbake: toastergui: remove xhr_projectedit and xhr_projectinfo URLs

This patch removes the xhr_projectedit and xhr_projectinfo URLs
in favour of REST calls to the Project page.

The project page takes now the POST requests to modify project
settings. All usages of removed URLs are now changed to point to the
project page, using the json format.

The interface call specs have not modified.

(Bitbake rev: 6ad3078bd2be1a8cda99040acaa9bb81d77f0013)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toastergui: use defaults on xhr_datatypeahead parameters
Alexandru DAMIAN [Wed, 3 Jun 2015 14:18:33 +0000 (15:18 +0100)] 
bitbake: toastergui: use defaults on xhr_datatypeahead parameters

This patch prevents crashes when xhr_datatypeahead is called
without proper parameters.

(Bitbake rev: 4528490cf663790a455815dc48fbf3dda264098c)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: toastertables REST refactoring
Alexandru DAMIAN [Wed, 3 Jun 2015 11:36:30 +0000 (12:36 +0100)] 
bitbake: toaster: toastertables REST refactoring

This patch refactors the ToasterTables to bring them in line
with REST principles -

- all table pages now support the "format=json" GET parameter
that returns the data in JSON format
- the tables themselves

This cleans up the URL namespace by aleviating the need to
have two URLS for each table (one for the template and one for
the data loading), and fixes minor things in the ToasterTable
implementation.

(Bitbake rev: 1778dac9fd39dae75c55bf2cf836cdd488dbc265)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: convert all project-based view to JSON APIs
Alexandru DAMIAN [Tue, 2 Jun 2015 11:23:12 +0000 (12:23 +0100)] 
bitbake: convert all project-based view to JSON APIs

This patch converts all-project views that are REST-style URLs
to support JSON encoding if the "format=json" parameter is supplied.

The formatting code is enhanced to prevent following Django foreign
keys, to convert enum-values from int to string, and support for
timedelta.

(Bitbake rev: 7a6eb36b82c5f2e342777e479d9c401ded42453d)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: move project data typeahead to the REST API
Alexandru DAMIAN [Tue, 19 May 2015 15:14:29 +0000 (16:14 +0100)] 
bitbake: toaster: move project data typeahead to the REST API

This patch enables JSON requests on the project REST endpoint,
and replaces the universal queries "xhr_datatypeahead" with the
`project` type to the REST project endpoint.

The patch adds a decorator that takes a context returned by a view
and either renders the template specified as the decorator argument,
or converts the context to JSON.

Normal "search", "filter" and "order" options for view work as normal
on the JSON API format. To enable the JSON return, set the "format"
GET parameter to "json".

In order to demonstrate the functionality, the "New build" button
is switched from using the xhr_datatypeahead to the project
REST API with JSON formatting. Additionally, the XHR APIs that
perform actions with the project id passed as parameter are removed,
and the needed URLs are populated from the project JSON API returns after
the project has been selected.

(Bitbake rev: 15a2274eba13d19b864f337057d61c75ff7849cc)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopoky-tiny: Update kernel to 3.19
Saul Wold [Tue, 9 Jun 2015 19:26:17 +0000 (12:26 -0700)] 
poky-tiny: Update kernel to 3.19

Additionally, allow PREFERRED_VERSION for linux-yocto-tiny to be overridden

This addresses the warnings from the kernel configcheck:

WARNING: [kernel config]: specified values did not make it into the kernel's final configuration:

Value requested for CONFIG_ATA_PIIX not in final ".config"
Requested value: "CONFIG_ATA_PIIX=y"
Actual value set: ""

Value requested for CONFIG_BRCMFMAC_SDIO not in final ".config"
Requested value: "CONFIG_BRCMFMAC_SDIO=y"
Actual value set: ""

Value requested for CONFIG_NR_CPUS not in final ".config"
Requested value: "CONFIG_NR_CPUS=64"
Actual value set: "CONFIG_NR_CPUS=8"

Value requested for CONFIG_PM not in final ".config"
Requested value: "CONFIG_PM=y"
Actual value set: ""

[YOCTO #7478]

(From meta-yocto rev: 07aa58ca651016ddb50fb3ff03194ddd02b2bcc3)

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>
10 years agopulseaudio: fix version when building inside a dirty git checkout
Ross Burton [Thu, 11 Jun 2015 15:26:11 +0000 (16:26 +0100)] 
pulseaudio: fix version when building inside a dirty git checkout

If the build directory is a subdirectory of a git clone, and that git clone is
dirty, PulseAudio will build thinking it's version is 6.0-dirty.  Fix
git-version-gen so it doesn't do the git checks for tarball builds.

(From OE-Core rev: 0dbe539403fc0da3c3d0b1a6636bc7c9d0e19484)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibpostproc: pass correct libdir
Robert Yang [Tue, 9 Jun 2015 06:46:25 +0000 (23:46 -0700)] 
libpostproc: pass correct libdir

When MACHINE=qemux86-64 and enable multilib:
ERROR: QA Issue: libpostproc: Files/directories were installed but not shipped in any package:
  /usr/lib
  /usr/lib/libpostproc.so.52.3.0
  /usr/lib/libpostproc.so
  /usr/lib/libpostproc.so.52
  /usr/lib/.debug
  /usr/lib/.debug/libpostproc.so.52.3.0
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install. [installed-vs-shipped]

Pass the right libdir to configure as otherwise it assumes $prefix/lib
which may be wrong.

(From OE-Core rev: 7cb4ca779a01c3ce935682373fe2a5b02abc91a2)

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>
10 years agoAdd license file XFree86-1.0
Kai Kang [Thu, 11 Jun 2015 05:50:38 +0000 (13:50 +0800)] 
Add license file XFree86-1.0

Add license file XFree86-1.0 which is needed by packages such as hwdata.
It is from:

http://www.x.org/archive/X11R7.5/doc/LICENSE.html#AEN28

And add 'XFree86-1.0' to SRC_DISTRIBUTE_LICENSES.

(From OE-Core rev: be91551041c623e7e9b34780cc6322f898f8cf7f)

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>
10 years agogcc-source.inc: fix STAMPCLEAN to avoid race issue
Robert Yang [Tue, 9 Jun 2015 09:04:46 +0000 (02:04 -0700)] 
gcc-source.inc: fix STAMPCLEAN to avoid race issue

Fixed race issue when build more than one gcc-source and inherit
rm_work, for example:
$ bitbake gcc-source-4.9.2 gcc-source-5.1.0

File "/path/to/bitbake/lib/bb/build.py", line 512, in exec_task
  return _exec_task(fn, task, d, quieterr)
File "/path/to/bitbake/lib/bb/build.py", line 489, in _exec_task
  make_stamp(task, localdata)
File "/path/to/bitbake/lib/bb/build.py", line 599, in make_stamp
  os.unlink(name)
OSError: [Errno 2] No such file or directory: '/path/to/tmp/stamps/work-shared/gcc-4.9.2-r0.do_rm_work_all.02cf1ed9b79d4edb0a51d3b913b7f9ba'

This is because make_stamp() uses glob.glob() to remove the old stamps
before create the new one, when gcc-source-5.1.0 removes gcc-4.9.2-r0's
stamp, we may get the error.

We can't use deltask do_rm_work_all as do_rm_work since it is a
recrdeptask, otherwise:
ERROR: Command execution failed: Traceback (most recent call last):
  File "/path/to/bitbake/lib/bb/command.py", line 102, in runAsyncCommand
    commandmethod(self.cmds_async, self, options)
  File "/path/to/bitbake/lib/bb/command.py", line 324, in generateDotGraph
    command.cooker.generateDotGraphFiles(pkgs_to_build, task)
  File "/path/to/bitbake/lib/bb/cooker.py", line 847, in generateDotGraphFiles
    depgraph = self.generateTaskDepTreeData(pkgs_to_build, task)
  File "/path/to/bitbake/lib/bb/cooker.py", line 672, in generateTaskDepTreeData
    rq.rqdata.prepare()
  File "/path/to/bitbake/lib/bb/runqueue.py", line 587, in prepare
    generate_recdeps(dep)
  File "/path/to/bitbake/lib/bb/runqueue.py", line 575, in generate_recdeps
    add_resolved_dependencies([taskData.tasks_fnid[t]], tasknames, newdeps)
TypeError: list indices must be integers, not NoneType

Update STAMPCLEAN to contain ${PV} to fix the problem.

(From OE-Core rev: 9099d46a46ee511d1b7e496472c5b973e8e8feaf)

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>
10 years agooeqa/parselogs: Added some more errors to the whitelist.
Lucian Musat [Wed, 10 Jun 2015 15:46:49 +0000 (18:46 +0300)] 
oeqa/parselogs: Added some more errors to the whitelist.

(From OE-Core rev: 70f514719b1bac2a478bc05afd5382b3a26a419a)

Signed-off-by: Lucian Musat <george.l.musat@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agooeqa/parselogs: The logs are now copied and parsed locally.
Lucian Musat [Wed, 10 Jun 2015 15:32:50 +0000 (18:32 +0300)] 
oeqa/parselogs: The logs are now copied and parsed locally.

This is to fix a problem with reaching the limit of the whitelist size.

(From OE-Core rev: 7f49f098cff1848ab7bd25a6a232b09b4f0b4b03)

Signed-off-by: Lucian Musat <george.l.musat@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibatomic-ops: 7.2 -> 7.4.2
Tanu Kaskinen [Wed, 10 Jun 2015 15:27:00 +0000 (18:27 +0300)] 
libatomic-ops: 7.2 -> 7.4.2

The backported patch is included in the new version, so dropped the
patch.

Dropped DESCRIPTION, because it was redundant (same as SUMMARY).

Changed HOMEPAGE. libatomic_ops is nowadays maintained by Ivan
Maidanski.

doc/LICENSING.txt changed checksum, but there were only whitespace
changes. COPYING moved from doc/ to the top-level directory, but the
checksum stayed the same.

Dropped PR.

(From OE-Core rev: b93cad476835a29384717f3875ce29c357471357)

Signed-off-by: Tanu Kaskinen <tanu.kaskinen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopiglit: upgrade to more recent srvrev
Ross Burton [Wed, 10 Jun 2015 19:19:08 +0000 (20:19 +0100)] 
piglit: upgrade to more recent srvrev

Upgrade to 126c7d from December 2014.  Still not the latest but it's got no
added build dependencies and importantly handles installs out of the box instead
of us having to hack and kludge, and builds with cmake 3.x.

The usage has changed: now there's a "piglit" binary that has run/resume/summary
subcommands, for example:

$ piglit run quick quick-results/

For reference the quick test suite on a IvyBridge NUC results in:

[27714/27714] crash: 3, fail: 326, pass: 18275, skip: 9107, warn: 3 -

(From OE-Core rev: 562c8907d6afcf50695f8964cdebd05fc1085742)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocmake: extend CMAKE_MODULE_PATH instead of setting
Ross Burton [Thu, 11 Jun 2015 13:33:56 +0000 (14:33 +0100)] 
cmake: extend CMAKE_MODULE_PATH instead of setting

Some (e.g. piglit) CMakeList.txt files will extend CMAKE_MODULE_PATH before
calling project(), which is when the toolchain.cmake file is parsed.  In this
situation the CMAKE_MODULE_PATH is overwritten, so handle this by appending in
toolchain.cmake instead of assigning.

(From OE-Core rev: 2cfa8427d77f680df37c12d00125501ebe7c38a3)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agooeqa/utils: Added timeout decorator for testcases.
Lucian Musat [Wed, 10 Jun 2015 10:52:40 +0000 (13:52 +0300)] 
oeqa/utils: Added timeout decorator for testcases.

(From OE-Core rev: c6fe26ade5734efb5250e00c56fdbb4095b0018b)

Signed-off-by: Lucian Musat <george.l.musat@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocracklib:Fix an error in the patch
Lei Maohui [Tue, 9 Jun 2015 02:27:55 +0000 (10:27 +0800)] 
cracklib:Fix an error in the patch

To fix an error in the patch.Otherwise,the dictionary would be wrong.

(From OE-Core rev: 8670b99b06ce14ed391b4713d7887af90d44a2c8)

Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibgpg-error: Upgrade 1.18 -> 1.19
Leonardo Sandoval [Tue, 9 Jun 2015 12:36:52 +0000 (12:36 +0000)] 
libgpg-error: Upgrade 1.18 -> 1.19

The patch pkgconfig.patch has not being integrated into upstream
repository, so rebasing it. Another change occurred inside the recipe,
the TUPLE's name changed for i586/i686 target architectures.

(From OE-Core rev: c263dc742c0c4729be51dad8eefc0b2699b071d9)

Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoblktrace: 1.0.5 -> 1.1.0
Robert Yang [Mon, 8 Jun 2015 09:24:07 +0000 (02:24 -0700)] 
blktrace: 1.0.5 -> 1.1.0

(From OE-Core rev: 032402438befd5906d05fed843bab9520bf7fc3e)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosysstat: DEPENDS on base-passwd
Robert Yang [Wed, 10 Jun 2015 05:44:26 +0000 (22:44 -0700)] 
sysstat: DEPENDS on base-passwd

Fixed:
| install -m 644 -g man man/sa1.8 /path/to/tmp/work/i586-poky-linux/sysstat/11.1.4-r0/image/usr/share/man/man8
| install: invalid group `man'

(From OE-Core rev: 153c3dd4d4c5eab52b953901fb6bc681c349a710)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agomtools: add PACKAGECONFIG for libbsd
Robert Yang [Wed, 10 Jun 2015 06:14:56 +0000 (23:14 -0700)] 
mtools: add PACKAGECONFIG for libbsd

Fixed:
ld: cannot find -lbsd
collect2: error: ld returned 1 exit status

(From OE-Core rev: ee2d22325ae2cba3aae314a170dc88d7108ee3c2)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agomultilib.bbclass: use package_qa_handle_error
Robert Yang [Wed, 10 Jun 2015 05:13:45 +0000 (22:13 -0700)] 
multilib.bbclass: use package_qa_handle_error

Use package_qa_handle_error to handle the QA issue.

(From OE-Core rev: c925847dea7b0480c901e94b6a071a18f5e00d45)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoupdate-rc.d.bbclass: add MLPREFIX when set RRECOMMENDS
Robert Yang [Wed, 10 Jun 2015 03:15:37 +0000 (20:15 -0700)] 
update-rc.d.bbclass: add MLPREFIX when set RRECOMMENDS

Fixed when build with multilib:
WARNING: Multilib QA Issue: lib32-alsa-state package lib32-alsa-state - suspicious values 'update-rc.d' in RRECOMMENDS
WARNING: Multilib QA Issue: lib32-modutils-initscripts package lib32-modutils-initscripts - suspicious values 'update-rc.d' in RRECOMMENDS
WARNING: Multilib QA Issue: lib32-init-ifupdown package lib32-init-ifupdown - suspicious values 'update-rc.d' in RRECOMMENDS
WARNING: Multilib QA Issue: lib32-xserver-nodm-init package lib32-xserver-nodm-init - suspicious values 'update-rc.d' in RRECOMMENDS
WARNING: Multilib QA Issue: lib32-sysklogd package lib32-sysklogd - suspicious values 'update-rc.d' in RRECOMMENDS

(From OE-Core rev: 43e8192606444c339ef732d611d4cbc18dee21e4)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobind: ensure searching for json headers searches sysroot
Paul Gortmaker [Tue, 9 Jun 2015 16:13:51 +0000 (12:13 -0400)] 
bind: ensure searching for json headers searches sysroot

Bind can fail configure by detecting headers w/o libs, or
it can fail the host contamination check.  More details
are within the commit log in the contained patch.

(From OE-Core rev: 6fa5671c5cf8e5e88c5ad1e39742d59453e02695)

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoxorg: fix VESA int10 error
Bruce Ashfield [Tue, 9 Jun 2015 19:20:10 +0000 (15:20 -0400)] 
xorg: fix VESA int10 error

When falling back to the VESA server, X fails to start due to an error
reading the int10 vec.

We cherry-pick the following commit to fix the error:

   commit 0a78b599b34cc8b5fe6fe82f90e90234e8ab7a56
   Author: Jürg Billeter <j@bitron.ch>
   Date:   Sat Feb 7 18:13:21 2015 +0100

       int10: Fix error check for pci_device_map_legacy

       pci_device_map_legacy returns 0 on success.

Signed-off-by: Jürg Billeter <j@bitron.ch>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
(From OE-Core rev: e1570e12f92bf359ef34d0e2998b09981bcece18)

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>
10 years agoneon: build the test suite to verify neon links
Ross Burton [Tue, 9 Jun 2015 18:57:52 +0000 (19:57 +0100)] 
neon: build the test suite to verify neon links

Without building a binary it's impossible to tell if a library will link
correctly, so build the test suite in do_compile().

(From OE-Core rev: 659d0300187accaff393d2b988aef6b58972ed8d)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocups: clean up autotools use
Ross Burton [Tue, 9 Jun 2015 18:37:49 +0000 (19:37 +0100)] 
cups: clean up autotools use

Instead of hand-rolling a do_configure() simply use autotools and disable
autoheader (upstream uses a hand-generated config.h.in).

Also do_compile() doesn't need to pass SSLLIBS as configure uses pkgconfig to
find gnutls, LIBPNG and LIBJPEG are not used anywhere in the build system, and
LIBZ is detected correctly.

(From OE-Core rev: 9c25af5483280c5c753f981504eb373d6e58c7f3)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agox264: r2265 -> r2491
Robert Yang [Tue, 9 Jun 2015 05:28:25 +0000 (22:28 -0700)] 
x264: r2265 -> r2491

Update don-t-default-to-cortex-a9-with-neon.patch for aarch64.

(From OE-Core rev: 2c8d6320ca4db7f7158a3e69467bee5c8ca8fed5)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoyasm: 1.2.0 -> 1.3.0
Robert Yang [Tue, 9 Jun 2015 02:59:02 +0000 (19:59 -0700)] 
yasm: 1.2.0 -> 1.3.0

Its LIC_FILES_CHKSUM changes because the COPYING's year updates, the
content is the same.

(From OE-Core rev: 1bbd105c12b9b0a28973e7796fc2d18543b17abf)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibevdev: 1.3 -> 1.4.2
Robert Yang [Mon, 8 Jun 2015 07:12:25 +0000 (00:12 -0700)] 
libevdev: 1.3 -> 1.4.2

(From OE-Core rev: 6c58295dfc2e0f2d2f8b0ae1ecb266050cf2a7c4)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoqmmp: 0.7.7 -> 0.8.5
Robert Yang [Mon, 8 Jun 2015 07:11:31 +0000 (00:11 -0700)] 
qmmp: 0.7.7 -> 0.8.5

(From OE-Core rev: 3e2fb02cc081c9f17d1ffbdc9113738cdcdf0239)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogstreamer1.0-libav: fix build for i586 with gcc
Robert Yang [Tue, 9 Jun 2015 07:05:02 +0000 (00:05 -0700)] 
gstreamer1.0-libav: fix build for i586 with gcc

Backport a patch from debian to fix the build for i586 with gcc, the
patch is similar to libav's
workaround-to-build-libav-for-i586-with-gcc.patch.

(From OE-Core rev: 186df51c49987b44bfcf21d133ad9fe80f0790bb)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogpgme: 1.4.3 -> 1.5.4
Robert Yang [Mon, 8 Jun 2015 02:54:23 +0000 (19:54 -0700)] 
gpgme: 1.4.3 -> 1.5.4

* Update pkgconfig.patch
* Remove gpgme-fix-CVE-2014-3564.patch since it is a backport patch
* The license checksum of src/gpgme.h.in is changed because it added the
  year 2014, the conten are the same.
* Remove --without-gpgsm --with-g13 --with-gpgconf --with-gpg from
  EXTRA_OECONF, it doesn't have these options any more, and the values will
  checked located at runtime.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodropbear: 2014.66 -> 2015.67
Robert Yang [Mon, 8 Jun 2015 02:51:08 +0000 (19:51 -0700)] 
dropbear: 2014.66 -> 2015.67

(From OE-Core rev: 6733f760f7a581e30b783e41c62d1534d0f480d5)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoaugeas: 1.2.0 -> 1.4.0
Robert Yang [Mon, 8 Jun 2015 02:46:00 +0000 (19:46 -0700)] 
augeas: 1.2.0 -> 1.4.0

(From OE-Core rev: 9de66c04e326abbc120f062edffdc1ec3aff3921)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoclutter-gst-3.0: 3.0.4 -> 3.0.6
Robert Yang [Mon, 8 Jun 2015 02:28:06 +0000 (19:28 -0700)] 
clutter-gst-3.0: 3.0.4 -> 3.0.6

(From OE-Core rev: 70c6fba5be00c1f9e24fd4257b41b2710aa87d99)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibpfm4: 4.3.0 -> 4.6.0
Robert Yang [Thu, 4 Jun 2015 09:31:41 +0000 (02:31 -0700)] 
libpfm4: 4.3.0 -> 4.6.0

(From OE-Core rev: a798e98a3e95f896f5cf30a547c56aaf5526bf33)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobusybox: fix the wrong help text for chown
Junling Zheng [Sun, 7 Jun 2015 07:52:20 +0000 (07:52 +0000)] 
busybox: fix the wrong help text for chown

Only when DESKTOP is enabled, chown has -L, -H and -P options.

Backport a commit from upstream to fix it:
http://git.busybox.net/busybox/commit/?id=d291c2fdd5cb8616605c67ecbfb04274fa094242.

(From OE-Core rev: 6ec65eedb63a82159dde8f2b2825ba7d5e6ae81d)

Signed-off-by: Junling Zheng <zhengjunling@huawei.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobusybox: fix double free error for ifconfig
Junling Zheng [Sun, 7 Jun 2015 07:52:19 +0000 (07:52 +0000)] 
busybox: fix double free error for ifconfig

This patch backports a commit from upstream to fix a potential double
free error when executing ifconfig circularly:
http://git.busybox.net/busybox/commit/?id=a97777889328157bb7d06ec618bad16712a9c345.

Thanks to Chen Gang for reporting and analyzing this bug.

(From OE-Core rev: 66ec540dad77052bc2c1da3a87f875547600efad)

Signed-off-by: Junling Zheng <zhengjunling@huawei.com>
Signed-off-by: Chen Gang <cg.chen@huawei.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobusybox: sync the patches for git version
Junling Zheng [Sun, 7 Jun 2015 07:52:18 +0000 (07:52 +0000)] 
busybox: sync the patches for git version

Synchronize the patches for busybox_git with busybox_1.23.2.

(From OE-Core rev: 5252ab5910aa8fecaf988f43f882e2c4db30056d)

Signed-off-by: Junling Zheng <zhengjunling@huawei.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobuild-appliance-image: do_vmdkimg replaced by do_vmimg
Juro Bystricky [Wed, 3 Jun 2015 18:07:28 +0000 (11:07 -0700)] 
build-appliance-image: do_vmdkimg replaced by do_vmimg

As a consequence of adding VDI image support, do_vmdkimg routine has been
replaced by a generic do_vmimg routine.

This also allows to build the build-appliance for VirtualBox,
providing IMAGE_FSTYPES is set to "vdi"

(From OE-Core rev: 20600185512a869314cd5b0b97af049ce6df5719)

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>
10 years agoboot-direct.bbclass: Add support for VDI images
Juro Bystricky [Wed, 3 Jun 2015 18:07:27 +0000 (11:07 -0700)] 
boot-direct.bbclass: Add support for VDI images

Same treatment for both  VMDK and VDI images.

(From OE-Core rev: 605dd9f8eb719d0aa278c8ec892e62214cdcfddc)

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>
10 years agosanity.bbclass: Prevent 'vdi' and 'live' to be built together
Juro Bystricky [Wed, 3 Jun 2015 18:07:26 +0000 (11:07 -0700)] 
sanity.bbclass: Prevent 'vdi' and 'live' to be built together

Same reason and check as for vmdk.

(From OE-Core rev: deb7ee16cd04b03417a68d32d14b5b0ad3c59eca)

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>
10 years agodocumentation.conf: Document do_vmimg
Juro Bystricky [Wed, 3 Jun 2015 18:07:25 +0000 (11:07 -0700)] 
documentation.conf: Document do_vmimg

Changes due to new combined support for both vmdk and vdi files.

(From OE-Core rev: e4244af33888ef3c39e31ed89c5184f6a4c5e80c)

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>
10 years agoqemu: Add support for UUID
Juro Bystricky [Wed, 3 Jun 2015 18:07:24 +0000 (11:07 -0700)] 
qemu: Add support for UUID

Native qemu is used to to create VMDK and VDI images.
VDI images need support for UUID, otherwise the resulting
image will not boot.

(From OE-Core rev: abd4f4987b3ca15e92aafffff0e9a37ea9df081c)

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>
10 years agoimage: Support for VDI
Juro Bystricky [Wed, 3 Jun 2015 18:07:23 +0000 (11:07 -0700)] 
image: Support for VDI

Added support for VirtualBox VDI format. The support was
implemented by merging with the already existing VMDK support
for VM player by creating a new class image-vm.bbclass.
This class replaces the previous VMDK only image-vmdk.class.

(From OE-Core rev: 0a3e8eb9f592c3f1edd2c7521855f7406541651a)

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>
10 years agowic: Move validation of --ptable option to wks parser
Ed Bartosh [Fri, 5 Jun 2015 09:54:08 +0000 (12:54 +0300)] 
wic: Move validation of --ptable option to wks parser

bootloader --ptable option has two valid choices: gpt and msdos
Moved this check to wks parser by changing option type to 'choice'.

Removed similar checks from 5 other places.

(From OE-Core rev: b812d0f40423bc56394cc8b6fc92eb1f477dba1b)

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>
10 years agowic: Add help for --part-type and --use-uuid options
Ed Bartosh [Fri, 5 Jun 2015 07:17:16 +0000 (10:17 +0300)] 
wic: Add help for --part-type and --use-uuid options

Added help for two wks partition options specific to
GUID partition table and globally unique identificators (GUID).

(From OE-Core rev: e21e31b48b20bf2f8a7733c52b436a65c27de8aa)

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>
10 years agowic: oe-selftest: Configure testing of gpt/UUID image
Ed Bartosh [Fri, 5 Jun 2015 07:17:15 +0000 (10:17 +0300)] 
wic: oe-selftest: Configure testing of gpt/UUID image

Added runtime dependency to gptfdisk-native to wic test suite to
be able to test modified directdisk-gpt with UUID support.

(From OE-Core rev: 16e7d43cd4a4d16e498152764a8dbc8b933eef89)

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>
10 years agowic: Use partition UUID in directdisk-gpt
Ed Bartosh [Fri, 5 Jun 2015 07:17:14 +0000 (10:17 +0300)] 
wic: Use partition UUID in directdisk-gpt

Used --use-uuid option for root partition in directdisk-gpt.wks
This is useful to have example of image with UUID support.

(From OE-Core rev: b7ae24c9ee52cf1e7eed8cc7e2c081cda7147376)

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>
10 years agowic: Set type GUID and UUID for partition
Ed Bartosh [Fri, 5 Jun 2015 07:17:13 +0000 (10:17 +0300)] 
wic: Set type GUID and UUID for partition

Set type GUID and UUID for partition using sgdisk utility.

Type GUID can be specified for partition in .wks with
--part-type option.

UUID is generated when --use-uuid option is specified for
partition.

[YOCTO #7716]

(From OE-Core rev: c3cb9eb31570b2a92c8081a6b3716cb7443b1506)

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>
10 years agowic: Add parameter 'uuid' to Image.add_partition method
Ed Bartosh [Fri, 5 Jun 2015 07:17:12 +0000 (10:17 +0300)] 
wic: Add parameter 'uuid' to Image.add_partition method

With this parameter it's possible to pass generated UUID
into Image class to set it for partition when it's created.

(From OE-Core rev: e4bc71fa78b0d7a60aa85b8eb09a053545b61b84)

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>
10 years agowic: Refactored getting root device name
Ed Bartosh [Fri, 5 Jun 2015 07:17:11 +0000 (10:17 +0300)] 
wic: Refactored getting root device name

Replaced DirectImageCreator._get_boot_config private method
with a 'rootdev' property.
Simplified the code and API.
Used 'uuid' property instead of incorrectly used 'part_type'.

(From OE-Core rev: 4a303007149ea1205bbd454e70810e7dfa343d4c)

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>
10 years agowic: Fix format string
Ed Bartosh [Fri, 5 Jun 2015 07:17:10 +0000 (10:17 +0300)] 
wic: Fix format string

wic crashes with "TypeError: %d format: a number is required, not str"
Due to incorrect format used for Wic_PartData.extra_size attribute.
Using %s instead of %d should fix the crash.

(From OE-Core rev: 2cae0473971ff3983c7e423c23215b342c7dad1d)

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>
10 years agowic: Generate random uuid for partition
Ed Bartosh [Fri, 5 Jun 2015 07:17:09 +0000 (10:17 +0300)] 
wic: Generate random uuid for partition

'uuid' attribute of partition object is set to generated uuid
when --use-uuid option is used for partition in .wks file.

(From OE-Core rev: 4bfe81a88653f4851ec24eef9e5ee51960cb101b)

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>
10 years agowic: Add --use-uuid partition option
Ed Bartosh [Fri, 5 Jun 2015 07:17:08 +0000 (10:17 +0300)] 
wic: Add --use-uuid partition option

Added --use-uuid option to the configuration of wks parser.
Processing of this option will be implemented in the following
commits.

(From OE-Core rev: b2b6ff9dcf8c8b1c01ddf13894b8318becf4a8d0)

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>
10 years agowic: pylinted partitionedfs.py
Ed Bartosh [Fri, 5 Jun 2015 06:13:09 +0000 (09:13 +0300)] 
wic: pylinted partitionedfs.py

Fixed some pylint findings in partitionedfs.py

(From OE-Core rev: fcb891a391a34fad15d99edfea6b0f022fc0d1c9)

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>
10 years agowic: replaced __run_parted with exec_native_cmd
Ed Bartosh [Fri, 5 Jun 2015 06:13:08 +0000 (09:13 +0300)] 
wic: replaced __run_parted with exec_native_cmd

There is no need for yet another wrapper around exec_native_cmd.

(From OE-Core rev: f0f163e55865dc10d2a4188b5f2d759836c13f68)

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>
10 years agowic: move checks to exec_native_cmd
Ed Bartosh [Fri, 5 Jun 2015 06:13:07 +0000 (09:13 +0300)] 
wic: move checks to exec_native_cmd

Checked for return code and output of native commands
inside exec_native_cmd.

Removed similar code from a lot of places where
exec_native_cmd is called.

(From OE-Core rev: 9e3e933321d58c04619a585326fb291dbf2748f5)

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>
10 years agowic: removed exec_cmd_quiet and exec_native_cmd_quiet
Ed Bartosh [Fri, 5 Jun 2015 06:13:06 +0000 (09:13 +0300)] 
wic: removed exec_cmd_quiet and exec_native_cmd_quiet

These functions are not used anywhere.

(From OE-Core rev: 7467fd446d08704881325577b7035b6128db6151)

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>
10 years agowic: Test creation of directdisk image with GPT table
Ed Bartosh [Tue, 2 Jun 2015 14:02:05 +0000 (17:02 +0300)] 
wic: Test creation of directdisk image with GPT table

Added new wic testcase to the sute - creation of directdisk-gpt
image.

(From OE-Core rev: 73762747dfda5013563f15b13bcb19b40d0f69d9)

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>
10 years agowic: create directdisk-gpt.wks
Ed Bartosh [Tue, 2 Jun 2015 14:02:04 +0000 (17:02 +0300)] 
wic: create directdisk-gpt.wks

directdisk-gpt is the same as directdisk with only one difference:
it uses GPT partition table.

(From OE-Core rev: 3d3dad40f3f51070a33e2ba28c0fc14ffcc3c2a5)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
 create mode 100644 scripts/lib/image/canned-wks/directdisk-gpt.wks
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agowic: Make _ptable_format public
Ed Bartosh [Tue, 2 Jun 2015 14:02:03 +0000 (17:02 +0300)] 
wic: Make _ptable_format public

Names with one leasding underscore considered protected in Python.
_ptable_format is accessed outside of its class.
Made it public by removing underscore.

This pylint warning should be fixed now:
Access to a protected member _ptable_format of a client class

(From OE-Core rev: 72599b5500ebdd0c418a0ef1e2c93c833bd31d75)

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>
10 years agowic: Use gptmbr.bin MBR for gpt partitions
Ed Bartosh [Tue, 2 Jun 2015 14:02:02 +0000 (17:02 +0300)] 
wic: Use gptmbr.bin MBR for gpt partitions

Used proper syslinux MBR gptmbr.bin for GPT partitons.
Added check for unsupported partition formats.

(From OE-Core rev: 6174983e20bd24422e5cee57e78dce9c92cb3c15)

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>
10 years agowic: Add gpt to the list of supported partition table formats
Ed Bartosh [Tue, 2 Jun 2015 14:02:01 +0000 (17:02 +0300)] 
wic: Add gpt to the list of supported partition table formats

Only msdos partition table format was supported by wic source
plugins.

(From OE-Core rev: 0e119d469796a19fbeae61a7162fd70660c936a5)

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>
10 years agowic: check if part_type is set only for msdos partition table
Ed Bartosh [Tue, 2 Jun 2015 14:02:00 +0000 (17:02 +0300)] 
wic: check if part_type is set only for msdos partition table

Specifying partition type(GUID) makes sense for gpt partition table.

Current code checks if part-type is specified and throws exception
if it is. This makes sense to do only for msdos partition table.

(From OE-Core rev: 52dcccbead0c57d1a3f4afd2f9c7a38a985301ec)

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>
10 years agowic: set legacy_boot flag for gpt partitions
Ed Bartosh [Tue, 2 Jun 2015 14:01:59 +0000 (17:01 +0300)] 
wic: set legacy_boot flag for gpt partitions

This flag is used to tell special purpose software that
the GPT partition may be bootable.

(From OE-Core rev: 3ec5e2892c5ee312c44f4425096450a1914ce44a)

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>
10 years agopython-smartpm: change "already installed" warnings into info messages
Paul Eggleton [Mon, 8 Jun 2015 10:13:50 +0000 (11:13 +0100)] 
python-smartpm: change "already installed" warnings into info messages

It's possible to trigger "already installed" messages during normal
usage if you explicitly install something in the image through
IMAGE_INSTALL that has a dependency on some -dev packages and also have
dev-pkgs in IMAGE_FEATURES. Since we now check the do_rootfs log for
warnings, these are reported as warnings at the build system level.
This situation should not trigger warnings, nor is it really cause for
concern under any other circumstance if the user asks smart to install
something that's already installed, so make it an info message rather
than a warning.

Fixes [YOCTO #7840].

(From OE-Core rev: ac782fe535855ed87f87c2c9e1e584bf0181378a)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolib/oe/rootfs: tidy up log warning reporting
Paul Eggleton [Mon, 8 Jun 2015 10:10:37 +0000 (11:10 +0100)] 
lib/oe/rootfs: tidy up log warning reporting

* bb.warn() should only be called once per warning - UIs such as Toaster
  assume that this is the case, so adjust the output accordingly. (It's
  tricky here because we have to include "log_check" on every line or
  we'll end up looping forever as the log checking code's own messages
  retrigger the log check, sigh...)
* Iterating over a file already splits by line, there's no need to do it
  manually.

(From OE-Core rev: 8dfdd329f0137cab8cab97e1d0c1181810fe5b32)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoinsane: errors out on binaries installed by allarch-inherit recipes
Cristian Iorga [Mon, 8 Jun 2015 10:53:07 +0000 (13:53 +0300)] 
insane: errors out on binaries installed by allarch-inherit recipes

If a prebuilt binary is installed via a recipe that
inherits allarch, an odd-looking traceback is thrown out.
Fixed by implementing a proper check and outputting an
error message that clarifies the issue.

Fixes [YOCTO #7662].

(From OE-Core rev: a938f2117989b596c50d9d7f3929dd3c0f893d08)

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>
10 years agosysvinit: Only enable recipe in builds where its applicable
Richard Purdie [Mon, 8 Jun 2015 22:39:28 +0000 (23:39 +0100)] 
sysvinit: Only enable recipe in builds where its applicable

Similarly to systemd, only enable the recipe in builds where
sysvinit is configured in DISTRO_FEATURES. This allows the new
cleanup mechanism to handle it correctly in existing builds.

(From OE-Core rev: 7f85e74d5c53b34e5f470967fdbdbd19fed1929a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosanity.conf: Bump minimum bitbake version to 1.27.1 for sstate change
Richard Purdie [Tue, 9 Jun 2015 12:44:52 +0000 (13:44 +0100)] 
sanity.conf: Bump minimum bitbake version to 1.27.1 for sstate change

(From OE-Core rev: b925be92e8be2ab3b945069a699859809615c78f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosstate: Add eventhandler which cleans up stale recipe data
Richard Purdie [Mon, 8 Jun 2015 22:28:12 +0000 (23:28 +0100)] 
sstate: Add eventhandler which cleans up stale recipe data

"Incremental builds do not work well when renaming recipes or changing
architecture" is a long standing issue which causes people considerable
pain. We've struggled for a long time to come up with a way to
generically address the problem.

There are additional issues where removal of a layer caused data to
continue to exist and additionally, changing DISTRO_FEATURES also caused
problems in an existing TMPDIR.

This patch attempts to address this by adding a mapping between stamp
files and manifests. After parsing we can easily tell which stamp files
are still reachable, if any manifest has a stamp that can no longer be
reached, we can remove it. Since this code ties this to the sstate
architecture list, it will not remove data from other than the current
MACHINE (and its active architectures). It does not clean the sstate
cache so if another build activates something which was cleaned, it
should reinstall from sstate.

We can also go one step further, depending on the setting of
SSTATE_PRUNE_OBSOLETEWORKDIR, workdirs which are no longer active can
also be removed. This avoids the buildup of many old copies of data in
WORKDIR for example when versions are upgraded.

The one thing which may surprise people with this change is if you
remove a layer, data added by that layer will be "uninstalled" before
the next build continues. I believe this is a feature and a good thing
to do though.

This code is safe with existing builds. If something isn't in the new
index it simply isn't removed. Since changes to the sstate code trigger
a rebuild, after this merges, we can assume the code will start to
detect changes from that point onwards.

[YOCTO #4102]

(From OE-Core rev: 4ea39427eedeadd51439a62fa015c86be30c3445)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: bitbake: Bump version to 1.27.1
Richard Purdie [Tue, 9 Jun 2015 12:29:19 +0000 (13:29 +0100)] 
bitbake: bitbake: Bump version to 1.27.1

(Bitbake rev: 430f7a288b4446600b3a943c51f6711ffcf9e619)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: cooker/event: Add an event which lists all stamps reachable after parsing
Richard Purdie [Sun, 7 Jun 2015 07:07:13 +0000 (08:07 +0100)] 
bitbake: cooker/event: Add an event which lists all stamps reachable after parsing

The metadata can potentially use such an event to clean up any
"unreachable" data, solving several problems we currently have
where obsolete data may continue to exist in the shared areas.

(Bitbake rev: c5e6f929f3d5eeb7954660dea62611c58b795ff8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopoky.conf: use correct GPLv3 license name
Ross Burton [Fri, 5 Jun 2015 16:46:58 +0000 (17:46 +0100)] 
poky.conf: use correct GPLv3 license name

The logic to determine whether qemu images can ship parts of the toolchain was
using the old (non-canonical) name for GPL v3, which meant qemu images were
attempting to install binutils in no-v3 images.

Fix this by using the canonical license name in the check.

(From meta-yocto rev: c50daec0515b3463c905005507fff67abea58b34)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agox264: use x86 over-ride instead of i586
Andre McCurdy [Thu, 4 Jun 2015 19:24:49 +0000 (12:24 -0700)] 
x264: use x86 over-ride instead of i586

Support i686 without needing to duplicate the i586 over-ride.

(From OE-Core rev: de6a26b95a7f7bd8f9dc47ab35d8b07ba671f4eb)

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>
10 years agolame: use x86 over-ride instead of i586
Andre McCurdy [Thu, 4 Jun 2015 19:24:48 +0000 (12:24 -0700)] 
lame: use x86 over-ride instead of i586

Support i686 without needing to duplicate the i586 over-ride.

(From OE-Core rev: 70dc96627d9a812e8f28a8b660b13f955bb4f374)

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>
10 years agogstreamer1.0-plugins-base.inc: use x86 over-ride instead of i586
Andre McCurdy [Thu, 4 Jun 2015 19:24:47 +0000 (12:24 -0700)] 
gstreamer1.0-plugins-base.inc: use x86 over-ride instead of i586

Support i686 without needing to duplicate the i586 over-ride.

(From OE-Core rev: d5f664c6626c3cbcb482ff918b450ee83a3770f7)

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>
10 years agopython-numpy: use x86 over-ride instead of i586
Andre McCurdy [Thu, 4 Jun 2015 19:24:46 +0000 (12:24 -0700)] 
python-numpy: use x86 over-ride instead of i586

Support i686 without needing to duplicate the i586 over-ride.

(From OE-Core rev: 9206887e7e3c1763438ea2abe2da807d2a61d59a)

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>
10 years agoscripts/jhbuild: remove
Ross Burton [Fri, 5 Jun 2015 10:54:15 +0000 (11:54 +0100)] 
scripts/jhbuild: remove

Remove the jhbuild2oe script and the copies of very old GNOME modulesets as
nobody has used them for a long time.

(From OE-Core rev: 2804df294fbe5a820dddf6c0343ae373c9f6bc95)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibsndfile: Security Advisory - libsndfile - CVE-2014-9496
Yue Tao [Fri, 5 Jun 2015 07:48:15 +0000 (15:48 +0800)] 
libsndfile: Security Advisory - libsndfile - CVE-2014-9496

Backport two commits from libsndfile upstream to fix a segfault and
two potential buffer overflows.

(From OE-Core rev: 9907e20868397a9823cc1e755ee1b697da6be2f3)

Signed-off-by: Yue Tao <Yue.Tao@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoautogen: redirect the log file to build dir
Roy Li [Fri, 5 Jun 2015 03:03:55 +0000 (11:03 +0800)] 
autogen: redirect the log file to build dir

(From OE-Core rev: 8cc63ea7e1e4838988f61bdedf395d8f5f328450)

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodistrodata: Use Python CSV instead of did by hand
Aníbal Limón [Thu, 4 Jun 2015 20:43:51 +0000 (15:43 -0500)] 
distrodata: Use Python CSV instead of did by hand

Fix CSV generation in distrodata class using Python CSV
module before it some errors happen when read due to
incorrect quoting/delimiters.

[YOCTO #7777]

(From OE-Core rev: de4d9d46bd293da820830f22d9ff08c0f26831c6)

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodistrodata: checkpkg make usage of oe.recipeutils.get_recipe_upstream_version
Aníbal Limón [Tue, 2 Jun 2015 16:51:19 +0000 (11:51 -0500)] 
distrodata: checkpkg make usage of oe.recipeutils.get_recipe_upstream_version

Now get_recipe_upstream_version function exists in oe.recipeutils module
to avoid duplicate code make usage of it.

(From OE-Core rev: eb296224f24d4bcc833d81a86a71345dfd0e9db4)

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodistrodata: Remove unnecessary include of package_regex.inc
Aníbal Limón [Tue, 2 Jun 2015 16:48:02 +0000 (11:48 -0500)] 
distrodata: Remove unnecessary include of package_regex.inc

This causes a warning when follow documentation to use distrodata
class that points to include,

include conf/distro/include/distro_alias.inc
include conf/distro/include/recipe_color.inc
include conf/distro/include/maintainers.inc
include conf/distro/include/upstream_tracking.inc
include conf/distro/include/package_regex.inc
INHERIT+= "distrodata"

(From OE-Core rev: c53917e79dc34757a482c94e653568619868fff4)

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agorecipeutils: Improve get_recipe_pv_without_srcpv function
Aníbal Limón [Mon, 1 Jun 2015 21:04:29 +0000 (16:04 -0500)] 
recipeutils: Improve get_recipe_pv_without_srcpv function

Use pv instead of rd this make the function more generic and
avoid copy recipe data.

(From OE-Core rev: c1c3c9a4fbaf01a905f79b0970f98ccb221a3935)

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoxkeyboard-config: Upgrade 2.14 -> 2.15
Jussi Kukkonen [Tue, 2 Jun 2015 08:33:31 +0000 (11:33 +0300)] 
xkeyboard-config: Upgrade 2.14 -> 2.15

Drop what remains of the patch the removed some GPLv3 content: both
eu and ph layout licenses have been corrected.

(From OE-Core rev: fdc7f529be77be49b6c43cd24a4600ed97a35ed5)

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoxf86-video-vmware: Upgrade 13.0.2 -> 13.1.0
Jussi Kukkonen [Thu, 21 May 2015 10:51:59 +0000 (13:51 +0300)] 
xf86-video-vmware: Upgrade 13.0.2 -> 13.1.0

Remove one upstreamed patch.

(From OE-Core rev: 42a4a7b817b3355a9d5c05c2127585d8d449464f)

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoxf86-video-omap: Upgrade to 0.4.3
Jussi Kukkonen [Thu, 21 May 2015 10:40:08 +0000 (13:40 +0300)] 
xf86-video-omap: Upgrade to 0.4.3

Use last release instead of slightly older git revision, drop the
upstreamed patch.

(From OE-Core rev: b1b566375c7b4d4621bd16d17573ad11040e5b8c)

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoxf86-input-synaptics: Upgrade 1.8.1 -> 1.8.2
Jussi Kukkonen [Thu, 21 May 2015 10:25:28 +0000 (13:25 +0300)] 
xf86-input-synaptics: Upgrade 1.8.1 -> 1.8.2

(From OE-Core rev: c47731f7b597927ed2b828216a22f44474c60d39)

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoxf86-input-keyboard: Upgrade 1.8.0 -> 1.8.1
Jussi Kukkonen [Thu, 21 May 2015 08:43:18 +0000 (11:43 +0300)] 
xf86-input-keyboard: Upgrade 1.8.0 -> 1.8.1

(From OE-Core rev: c2d825e090ec1affb19e33019cc4f50f0d38ba82)

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoxf86-input-evdev: Upgrade 2.9.1 -> 2.9.2
Jussi Kukkonen [Thu, 21 May 2015 08:39:00 +0000 (11:39 +0300)] 
xf86-input-evdev: Upgrade 2.9.1 -> 2.9.2

(From OE-Core rev: 2f6a3e2cf55f1f1cfaf3b631a727f200e6d8537f)

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopython3-pip: Adds recipe for python3-pip
Alejandro Hernandez [Thu, 14 May 2015 16:57:23 +0000 (16:57 +0000)] 
python3-pip: Adds recipe for python3-pip

PIP is installed by default since python 3.4, due to issues with the
autobuilders, its default installation had to be disabled, this creates
a recipe for it, it brings a lot of new dependencies so it is chosen not
to be installed by default along with python3-core.

[YOCTO #7762]

(From OE-Core rev: 7c6edfbc09efb64fd9ce9f56b1e1a1b7a6bdeef0)

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopython3-distribute: Upgrade to python3-setuptools 15.2
Alejandro Hernandez [Thu, 14 May 2015 16:49:56 +0000 (16:49 +0000)] 
python3-distribute: Upgrade to python3-setuptools 15.2

python3-distribute was merged back to python3-setuptools in 2013,
and it is no longer being maintained, this upgrade also provides
functionality that will be needed for python3-pip.

[YOCTO #7763]

(From OE-Core rev: 8922e609cb947e34cde6e48b82ff37a932d8d8db)

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopython3-io: Fixes compilation of python3 ssl module
Alejandro Hernandez [Thu, 14 May 2015 16:43:24 +0000 (16:43 +0000)] 
python3-io: Fixes compilation of python3 ssl module

During python3 compilation, the module ssl was being skippped due to
the fact that the compilation script couldnt find the required files,
this patch fixes setup.py so it looks for the files in the correct
directory, hence fixing its compilation and installation.

[YOCTO #7768]

(From OE-Core rev: 4cffb16b0edc353d4a3287ca59ba02640f605d2b)

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopython3: Fix distutils import error
Alejandro Hernandez [Thu, 14 May 2015 16:21:00 +0000 (16:21 +0000)] 
python3: Fix distutils import error

The patch 12-distutils-prefix-is-inside-staging-area.patch is used
to fix problems when trying to get some environmental variables
but it is only necessary for python3-native, on python3-core it
causes an error when importing distutils since env variables of
the likes of HOST_SYS and such do not exist on target, this removes
the patch from python3-core so distutils can be imported correctly.

[YOCTO #7766]

(From OE-Core rev: e4dd43cb88a582e4b5116c499ea8131539a3c5b9)

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopython3: fix pyconfig.h installation on target
Alejandro Hernandez [Thu, 14 May 2015 16:13:40 +0000 (16:13 +0000)] 
python3: fix pyconfig.h installation on target

The file pyconfig.h wasnt being deployed on target, causing an error
when importing some libraries that required it, this patch fixes
python3 manifest to include this file and fix the issue.

[YOCTO #7764]

(From OE-Core rev: 66c6d0db27c4ab7b633e6954d095c411a98b67f4)

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agorpm: remove extra dev and dbg packages
Robert Yang [Thu, 4 Jun 2015 09:01:10 +0000 (02:01 -0700)] 
rpm: remove extra dev and dbg packages

There should be only one dev and dbg package.

[YOCTO #7481]

(From OE-Core rev: b412306418c3915bb11e3d5201cafb68e2f2b453)

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>