scm/bb/tizen-distro.git
9 years agotest-dependencies, insane.bbclass: improve the message
Martin Jansa [Sat, 9 Aug 2014 16:07:56 +0000 (18:07 +0200)]
test-dependencies, insane.bbclass: improve the message

(From OE-Core rev: b73e6159aed1a9768d02d12e7894ca0f1e72be69)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agodirectfb: add PACKAGECONFIG for drmkms and tiff
Martin Jansa [Sat, 9 Aug 2014 16:08:02 +0000 (18:08 +0200)]
directfb: add PACKAGECONFIG for drmkms and tiff

* fixes following floating dependencies:
  directfb/directfb/latest lost dependency on  libdrm libdrm-kms liblzma tiff

(From OE-Core rev: c8268bbafc338cf73c5488df9839a241a3cb6ab4)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoRemove remnants of deleted "do_package_write" task.
Robert P. J. Day [Wed, 6 Aug 2014 16:10:08 +0000 (12:10 -0400)]
Remove remnants of deleted "do_package_write" task.

As the do_package_write() task is listed as deleted, remove the few
remaining references.

(From OE-Core rev: 201d572ab5c57cda1b332356a3b7711bc346696e)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowic: Bump the version to 2.0
Tom Zanussi [Fri, 8 Aug 2014 20:56:55 +0000 (15:56 -0500)]
wic: Bump the version to 2.0

This represents a complete rework, and if we assume the previous
version should have been 1.0 (instead of a silly .1x version), then
this should be 2.0.

(From OE-Core rev: d263cb055333e6432454a13403eda471c514a3e6)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowic: Rename /mic to /wic
Tom Zanussi [Fri, 8 Aug 2014 20:53:52 +0000 (15:53 -0500)]
wic: Rename /mic to /wic

As well as any other stray instances of mic in the codebase that can
be removed.

We don't really need to carry around legacy naming, and the history is
in git.

(From OE-Core rev: 598b120406dc1d2b7e377bd1ab6f0acbef034b22)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowic: Update Disk description
Tom Zanussi [Fri, 8 Aug 2014 20:24:46 +0000 (15:24 -0500)]
wic: Update Disk description

Remove obsolete comment.

(From OE-Core rev: d39c76f24a50c9359840c0959fb50fc6da0960cd)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowic: Rename MountError
Tom Zanussi [Fri, 8 Aug 2014 20:11:31 +0000 (15:11 -0500)]
wic: Rename MountError

wic doesn't mount anything, so can't have a mount error; rename it to
something more appropriate.

(From OE-Core rev: e1edee656fc9c0a791c0eb62796d1afa483be34e)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowic: Rename PartitionedMount
Tom Zanussi [Fri, 8 Aug 2014 19:46:28 +0000 (14:46 -0500)]
wic: Rename PartitionedMount

It's actually a container for disks and partitions, and wic doesn't
mount anything, so rename it to match what it really is.

(From OE-Core rev: 28c5249b4df46ba3ac227d0c4dc6e545b40dbaf3)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowic: Update/rename configure-related code
Tom Zanussi [Fri, 8 Aug 2014 18:43:45 +0000 (13:43 -0500)]
wic: Update/rename configure-related code

The wic code inherited a basic image-creation flow based on
image-configuration, but wic doesn't actually configure anything, so
rename parts of the code dealing with configuration to something more
appropriate.

(From OE-Core rev: 58dc8879bba31542e2386aaaa70034621b2b1e4e)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowic: Update/rename install-related code
Tom Zanussi [Fri, 8 Aug 2014 18:28:54 +0000 (13:28 -0500)]
wic: Update/rename install-related code

The wic code inherited a basic image-creation flow based on installing
packages, but wic doesn't actually install anything, so rename parts
of the code dealing with installing to something more appropriate.

(From OE-Core rev: b4232041534a79236eb8d8ab5c0024a0ef4da649)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowic: Update cleanup/unmount-related code
Tom Zanussi [Fri, 8 Aug 2014 15:50:07 +0000 (10:50 -0500)]
wic: Update cleanup/unmount-related code

The wic code inherited a basic image-creation flow based on mounting
loop devices, but wic doesn't actually mount or unmount anything, so
get rid of unmount() and consolidate whatever it did do with
cleanup().

(From OE-Core rev: 1b103bf4a7c7527d4fc57bad1bbd1d5a5bbddb4a)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowic: Update/rename/delete mount-related code
Tom Zanussi [Fri, 8 Aug 2014 15:09:12 +0000 (10:09 -0500)]
wic: Update/rename/delete mount-related code

The wic code inherited a basic image-creation flow based on mounting
loop devices, but wic doesn't actually mount anything, so rename parts
of the code dealing with mounting to something more appropriate, and
remove related unused code.

(From OE-Core rev: 94e15c18c011b0d7d71276cd4566be2417c2c6be)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowic: Remove Mount object
Tom Zanussi [Fri, 8 Aug 2014 12:53:35 +0000 (07:53 -0500)]
wic: Remove Mount object

It doesn't do anything we need, so remove it and fix up callers/base
classes.

(From OE-Core rev: fb2a162d8756ab69c9c29a0715b033f18620341d)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowic: Remove unused conf support
Tom Zanussi [Thu, 7 Aug 2014 17:04:06 +0000 (12:04 -0500)]
wic: Remove unused conf support

Also fix up users such as imager functions.

(From OE-Core rev: eb77b9c11bd9b8dc90aacfbd5b5bc5568a233525)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowic: Update 'Background and Motivation' help section
Tom Zanussi [Tue, 5 Aug 2014 21:15:30 +0000 (16:15 -0500)]
wic: Update 'Background and Motivation' help section

Remove help text regarding the source and future intentions of the wic
codebase, since the code prompting those comments has now been mostly
removed.

(From OE-Core rev: dfa8626700269141f8d2f5be12c8758db7ca6473)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowic: Remove unused command versioning support
Tom Zanussi [Tue, 5 Aug 2014 20:17:38 +0000 (15:17 -0500)]
wic: Remove unused command versioning support

The default is F16 and there's no reason to change that, so remove
everything else.

(From OE-Core rev: e0ec12d012e568c9943614fc1190c143912180b3)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowic: Clean up Creator
Tom Zanussi [Tue, 5 Aug 2014 19:49:36 +0000 (14:49 -0500)]
wic: Clean up Creator

wic doesn't use a lot of Creator, so remove it.

(From OE-Core rev: ef6bc7a3b58ba8b9c94f4c1e41c0f6d7d51c0bf5)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowic: Clean up PartitionedMount
Tom Zanussi [Tue, 5 Aug 2014 15:59:11 +0000 (10:59 -0500)]
wic: Clean up PartitionedMount

wic doesn't use a lot of ParitionedMount, so remove it.

(From OE-Core rev: 0f793ff0767b0cce032c20b677974806c65610d6)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowic: Clean up DirectImageCreator
Tom Zanussi [Tue, 5 Aug 2014 13:58:27 +0000 (08:58 -0500)]
wic: Clean up DirectImageCreator

Remove what wic doesn't use from DirectImageCreator.

(From OE-Core rev: dbbe6d04f6c606c94ff17151aee1214e4e24ce7d)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowic: Clean up BaseImageCreator
Tom Zanussi [Tue, 5 Aug 2014 00:43:15 +0000 (19:43 -0500)]
wic: Clean up BaseImageCreator

wic doesn't use a lot of BaseImageCreator, so remove it.

(From OE-Core rev: 6bd95c24b44fa80ac9d5950bf2d925f18f671290)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowic: Remove unused plugin and error code
Tom Zanussi [Mon, 4 Aug 2014 19:27:52 +0000 (14:27 -0500)]
wic: Remove unused plugin and error code

wic doesn't use it, so remove it.

(From OE-Core rev: b818e5a1ed047940fda533da73fc50a099e1aa3f)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowic: Remove gpt_parser
Tom Zanussi [Mon, 4 Aug 2014 17:36:49 +0000 (12:36 -0500)]
wic: Remove gpt_parser

wic doesn't currently use it, so remove.

(From OE-Core rev: d3a490d5421405bf9e002c6c65ffb831ea6b767e)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowic: Remove unused 3rdparty/commands
Tom Zanussi [Mon, 4 Aug 2014 13:36:24 +0000 (08:36 -0500)]
wic: Remove unused 3rdparty/commands

wic doesn't use anything but partition and bootloader, so remove the
rest.

(From OE-Core rev: b6ae106b5d28180a5890e837c87f3e91e5917638)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowic: Remove 3rdparty/urlgrabber
Tom Zanussi [Mon, 4 Aug 2014 12:55:07 +0000 (07:55 -0500)]
wic: Remove 3rdparty/urlgrabber

wic doesn't use it, so remove it.

(From OE-Core rev: 00dcdb29c89634ab267d328eb00f8eb70c696655)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowic: Remove unused misc code
Tom Zanussi [Mon, 4 Aug 2014 00:04:36 +0000 (19:04 -0500)]
wic: Remove unused misc code

wic doesn't use it, so remove it.

(From OE-Core rev: 84e1e13ce3af216e304f61c7ea6e5e9338f94bc6)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowic: Remove unused fs_related code
Tom Zanussi [Sun, 3 Aug 2014 23:49:20 +0000 (18:49 -0500)]
wic: Remove unused fs_related code

wic doesn't use it, so remove it.

(From OE-Core rev: e18d5393a556e1ff4826c1e5b1a75f4ac998b10e)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowic: Remove rpmmisc
Tom Zanussi [Sun, 3 Aug 2014 23:25:52 +0000 (18:25 -0500)]
wic: Remove rpmmisc

wic doesn't use it, so remove it.

(From OE-Core rev: a49b39ddf18b1b058c0a892e1a7450239eea66ce)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowic: Remove proxy support
Tom Zanussi [Sun, 3 Aug 2014 23:19:29 +0000 (18:19 -0500)]
wic: Remove proxy support

wic doesn't use proxy support, so remove it.

Also remove anything related to proxies in misc and conf, and while
we're at it, remove all the obviously unneeded code from those files -
it's easier to just remove it than to figure out the callchain to the
proxy code usages.

Basically the extra stuff relates to packaging, images, and config
files we don't use.

(From OE-Core rev: 041f9e2ca52681cd6f5c2fb804dd45f05358c9f9)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowic: Remove grabber implementation
Tom Zanussi [Sun, 3 Aug 2014 22:02:31 +0000 (17:02 -0500)]
wic: Remove grabber implementation

wic doesn't need to grab any urls, so remove it.

(From OE-Core rev: 55f8df07d82724b6d7ed694158ca6e9a5266cbc4)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowic: Remove fiemap support
Tom Zanussi [Sun, 3 Aug 2014 21:54:12 +0000 (16:54 -0500)]
wic: Remove fiemap support

wic doesn't use it, so remove it.

(From OE-Core rev: b732ad616ca20dfc4adb845b68ae3378624a0a4d)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowic: Remove bmap support
Tom Zanussi [Sun, 3 Aug 2014 21:52:17 +0000 (16:52 -0500)]
wic: Remove bmap support

wic doesn't use it, so remove it.

(From OE-Core rev: 69f16c7582660a3bcf4106668e548b4c789ae251)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowic: Remove mic package managers
Tom Zanussi [Sun, 3 Aug 2014 17:28:32 +0000 (12:28 -0500)]
wic: Remove mic package managers

wic doesn't use the yum or zypp package managers, remove them.

(From OE-Core rev: ef70b961b6b8f3a004036f84b608665db2085215)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowic: Remove rt_util
Tom Zanussi [Sun, 3 Aug 2014 17:25:23 +0000 (12:25 -0500)]
wic: Remove rt_util

More package-related stuff we don't need.

(From OE-Core rev: 167cb99af427510bb6d72e89478c62a804db125c)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowic: Remove mic chroot
Tom Zanussi [Sun, 3 Aug 2014 17:14:16 +0000 (12:14 -0500)]
wic: Remove mic chroot

mic chroot allows users to chroot into an existing mic image and isn't
used by wic, so remove it.

Removing chroot.py leads in turn to various plugin-loading failures
for a number of plugins that wic doesn't use either, so remove those
as well.

The existing source plugins refer to chroot but don't use it, so fix
those up.

(From OE-Core rev: d73230306b827972cdc99f21d247c54d5d7c0b6d)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowic: Remove mic bootstrap
Tom Zanussi [Sun, 3 Aug 2014 16:42:49 +0000 (11:42 -0500)]
wic: Remove mic bootstrap

packaging bootstrap, not needed

(From OE-Core rev: 980c8faf01fa59ce3922cbad3363a6c2f759d30e)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowic: Remove packaging, config commands
Tom Zanussi [Sun, 3 Aug 2014 14:55:22 +0000 (09:55 -0500)]
wic: Remove packaging, config commands

Remove commands related to repos, packaging, configuration

(From OE-Core rev: 2b002ab75473578f06f161be0b48670fba26994e)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowic: Remove unused custom commands
Tom Zanussi [Sat, 2 Aug 2014 22:35:38 +0000 (17:35 -0500)]
wic: Remove unused custom commands

installer, repo, desktop-related stuff

(From OE-Core rev: 26e909682fffb8ae6062d1e8295b6421f1f716ad)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowic: Make exec_cmd() error out instead of warn
Tom Zanussi [Thu, 31 Jul 2014 18:55:24 +0000 (13:55 -0500)]
wic: Make exec_cmd() error out instead of warn

The reason exec_cmd() warns but doesn't error out (broken parted)
doesn't really make sense, since the parted invocations don't even use
exec_cmd().  It really should just fail since by not doing so it's
actually enabling invalid images in some cases.

Also, since the return code is now always zero, there's no point in
having a return code, so remove it.  This represents a change in the
API, so we also need to update all callers.

(From OE-Core rev: a10bbd39eee29cc49d258bf08aaec279c3115c66)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoqemu: upgrade to 2.1
Cristian Iorga [Wed, 6 Aug 2014 07:43:25 +0000 (10:43 +0300)]
qemu: upgrade to 2.1

QEMU 2.1 comes with fixes and improvements.
See http://wiki.qemu.org/ChangeLog/2.1 for details.
- Added config for quorum support, depending on gnutls.
- pcie_better_hotplug_support.patch removed,
integrated upstream.
- Qemu-Arm-versatilepb-Add-memory-size-checking.patch updated
to 2.1 source code.
- no-strip.patch removed, no longer necessary due to code changes.

(From OE-Core rev: 3ae32d0d6c7cf8294300f32d346da36748e05f3d)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agotrace-cmd: Update to version 2.3.2
Yasir-Khan [Fri, 8 Aug 2014 15:41:08 +0000 (20:41 +0500)]
trace-cmd: Update to version 2.3.2

Current trace-cmd version 1.2 throws "recorder error in
splice input" error while recording a trace on kernel
version 3.10. Update the trace-cmd version to latest 2.3.2
to resolve this error and drop the redundant patches.

* patches dropped - not needed anymore
 - trace-cmd-Add-checks-for-invalid-pointers-to-fix-seg.patch - backport
 - trace-cmd-Do-not-call-stop_threads-if-doing-latency-.patch - backport
 - trace-cmd-Setting-plugin-to-nop-clears-data-before-i.patch - backport
 - trace-cmd-fix-syntax-error-of-shell.patch - backport

(From OE-Core rev: 3b5e792f3245e28495d61d7d7e8df0ef30070ebc)

Signed-off-by: Yasir-Khan <yasir_khan@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoperl-rdepends: add CPAN, CPAN::Meta requirements
Tim Orling [Fri, 8 Aug 2014 14:31:00 +0000 (07:31 -0700)]
perl-rdepends: add CPAN, CPAN::Meta requirements

While testing libmodule-build-tiny-perl, it was discovered that
perl-module-cpan is missing some RDEPENDS.

* Run "perl -mCPAN::Meta" on a target, the following is missing:
  -- perl-module-parse-cpan-meta (Parse::CPAN::Meta)

* Run "perl -mCPAN" on a target, the following (and others) are
  missing:
  -- perl-module-file-glob (File::Glob)
  -- perl-module-config-git (Config_git)

* Also added missing modules from runtime-requires in
  https://metacpan.org/source/ANDK/CPAN-2.05/META.json

This patch adds them to perl-rdepends for  ${PN}-module-cpan

(From OE-Core rev: 33a2a7a9bd87c28089b3f859c7dc05e7b26bb9fd)

Signed-off-by: Tim Orling <TicoTimo@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agokexec-tools: reinstate 'kexec-tools' package
Koen Kooi [Fri, 8 Aug 2014 06:46:03 +0000 (08:46 +0200)]
kexec-tools: reinstate 'kexec-tools' package

The vmcore commit emptied out ${PN} leading to things like:

Collected errors:
 * opkg_install_cmd: Cannot install package kexec-tools.

Let's do the right thing and make ${PN} an empty meta-package that drags in all tools like people expect it to do.

(From OE-Core rev: 9e4f66ec4921c4886203dce99c105141787cc77b)

Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoubootchart: delete ubootchart recipe
Max Eliaser [Thu, 7 Aug 2014 17:47:48 +0000 (10:47 -0700)]
ubootchart: delete ubootchart recipe

The Ubootchart recipe had known issues. Ubootchart itself is no longer updated
upstream. Ubootchart is also now redundant with Bootchart2.

If people still want ubootchart around, it can be moved to meta-oe.

Ubootchart removed as part of the solution to [YOCTO #5893].

(From OE-Core rev: 8be891cd4beacc4157158808012179c35b433e4a)

Signed-off-by: Max Eliaser <max.eliaser@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agocore-image.bbclass: Correct comment about packagegroups.
Robert P. J. Day [Thu, 7 Aug 2014 08:55:23 +0000 (04:55 -0400)]
core-image.bbclass: Correct comment about packagegroups.

Default core image actually includes packagegroup-base-extended, not
just packagegroup-base.

(From OE-Core rev: 1e567d497713c31e03b58c9997058fc4c0181e5a)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogstreamer1.0-plugins-good: fix the bug for gstrtpmp4gpay
Wang Zidan [Thu, 7 Aug 2014 01:50:23 +0000 (09:50 +0800)]
gstreamer1.0-plugins-good: fix the bug for gstrtpmp4gpay

set dafault value for MPEG4 without codec data in caps

https://bugzilla.gnome.org/show_bug.cgi?id=734263

(From OE-Core rev: fe4dc1d30eea723361a0f88109717d8a70b2b17d)

Signed-off-by: Wang Zidan <b50113@freescale.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobootchart2: create recipe for bootchart2
Max Eliaser [Mon, 28 Jul 2014 17:13:26 +0000 (10:13 -0700)]
bootchart2: create recipe for bootchart2

This recipe creates packages for the bootchart2 system-wide profiler daemon
and related utilities. It fetches the Git revision immediately past the one
corresponding to the 0.14.6 release of bootchart2. (0.14.6 had a systemd-
related bug that was corrected right after it was tagged.)

The recipe contains three packages:
   *   bootchart2 - The daemon itself.
   *   pybootchartgui - Python program to visualize and display the data
       collected by bootchart2 or compatible daemons such as the original
       bootchart.
   *   bootchartd-stop-initscript - A SysV init script to stop data collection
       when booting completes.

Depending on how you wish to use bootchart2, you may not end up having all
three of those packages installed on your image.

There is also a bootchart2-native variant, which is intended solely to provide
a native version of the pybootchartgui utility. The non-cross-compiled version
of the bootchart2 daemon has not been tested at all, don't use it.

The recipe is extensively documented. Read the comments at the beginning of
bootchart2_git.bb or else you'll have no idea how to use it.

This recipe is based on a recipe from meta-WebOS. The WebOS people had some
extra code (including patches against the bootchart2 code) to support the
Upstart init system. However, since upstream Poky does not support Upstart,
that stuff is being left behind. The WebOS people can write a bbappend to re-
add it.

Original recipe written by Wonhong Kwon of LG. Upstreamed as part of the
solution to [YOCTO #5893].

(From OE-Core rev: d5989b17a210e529c9082d2d3576acc3416586a0)

Signed-off-by: Max Eliaser <max.eliaser@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agov86d: fix for systemd to load uvesafb module correctly
Chen Qi [Thu, 7 Aug 2014 06:58:12 +0000 (02:58 -0400)]
v86d: fix for systemd to load uvesafb module correctly

The /etc/init.d/fbsetup script doesn't have any effect in a systemd
image. Its purpose is to load the uvesafb kernel module at boot.
This functionality could be achieved by adding a configuration file
under /etc/modules-load.d/ directory which would be parsed by the
systemd-modules-load.service.

[YOCTO #4420]

(From OE-Core rev: 6d55a03d5cc8070d589c1fe7df74279208833383)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoalsa-state: install init script only when 'sysvinit' is in DISTRO_FEATURES
Chen Qi [Thu, 7 Aug 2014 02:46:42 +0000 (22:46 -0400)]
alsa-state: install init script only when 'sysvinit' is in DISTRO_FEATURES

The /etc/init.d/alsa-state is totally useless for a systemd image.
Its functionality has been replaced by alsa-state.service files.

So if 'sysvinit' is not in DISTRO_FEATURES, installing this script doesn't
make any sense.

[YOCTO #4420]

(From OE-Core rev: 39759640c8abe51c8ded4c1ca6853b523a81c2f5)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosyslinux: fix reinstall error
Robert Yang [Thu, 7 Aug 2014 03:05:22 +0000 (20:05 -0700)]
syslinux: fix reinstall error

Fixed:
make: *** No rule to make target `/path/to/sysroot/4.9.0/include/stdarg.h', needed by `cpio.o'.  Stop.
make: *** Waiting for unfinished jobs....
ERROR: oe_runmake failed

This happens when upgrade gcc from 4.9.0 to 4.9.1, and the .cpio.o.d isn't
regenerated when recompile (the compile happens when do_install), the content
of it are:

[snip]
cpio.o: /path/to/sysroot/4.9.0/include/stdarg.h
[snip]

And Makefile includes the .cpio.o.d file if it exists, so there would be
errors when /path/to/sysroot/4.9.0/include/stdarg.h doesn't exist.

Remove .*.d (a few .d files, its Makefile uses this wildcard) will fix
the problem.

(From OE-Core rev: f7dc6e801bba897fd4709a2f4fb0e7dbc198497a)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agou-boot-mkimage: fix recompile error
Robert Yang [Thu, 7 Aug 2014 03:05:22 +0000 (20:05 -0700)]
u-boot-mkimage: fix recompile error

Fixed:
make: *** No rule to make target `/path/to/sysroot/4.9.0/include/stddef.h', needed by `crc32.o'.  Stop.
make: *** Waiting for unfinished jobs....
ERROR: oe_runmake failed

This happens when upgrade gcc from 4.9.0 to 4.9.1, and the .depend isn't
regenerated when recompile, the content of it are:

[snip]
crc32.o: /path/to/sysroot/4.9.0/include/stddef.h
[snip]

And Makefile includes the .depend file if it exists, so there would be
errors when /path/to/sysroot/4.9.0/include/stddef.h doesn't exist.

Remove .*.d (a few .d files, its Makefile uses this wildcard) will fix
the problem.

(From OE-Core rev: b31dd7d1fbdd9165872a31c11c6627549609fcb3)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agokernelshark: fix recompile error
Robert Yang [Thu, 7 Aug 2014 03:05:22 +0000 (20:05 -0700)]
kernelshark: fix recompile error

Fixed:
make: *** No rule to make target `/path/to/sysroot/4.9.0/include/stddef.h', needed by `parse-events.o'.  Stop.
make: *** Waiting for unfinished jobs....
ERROR: oe_runmake failed

This happens when upgrade gcc from 4.9.0 to 4.9.1, and the
.parse-events.d isn't regenerated when recompile, the content of it are:

[snip]
parse-events.o: /path/to/sysroot/4.9.0/include/stddef.h
[snip]

And Makefile includes the .parse-events.d file if it exists, so there
would be errors when /path/to/sysroot/4.9.0/include/stddef.h doesn't
exist.

Remove .*.d (a few .d files, its Makefile uses this wildcard) will fix
the problem.

(From OE-Core rev: 46b697b5861041dc3f67723efae301163b623f22)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agokexec-tools: fix recompile error
Robert Yang [Thu, 7 Aug 2014 03:05:22 +0000 (20:05 -0700)]
kexec-tools: fix recompile error

Fixed:
NOTE: make -j 32
make: *** No rule to make target `/path/to/sysroot/4.9.0/include/stddef.h', needed by `kexec/kexec.o'.  Stop.

This happens when upgrade gcc from 4.9.0 to 4.9.1, and the kexec/kexec.d
isn't regenerated when recompile, the content of it are:

[snip]
kexec/kexec.o: /path/to/sysroot/4.9.0/include/stddef.h
[snip]

And Makefile includes the kexec/kexec.d file if it exists, so there
would be errors when /path/to/sysroot/4.9.0/include/stddef.h doesn't
exist.

Remove kexec/kexec.d and other similar files will fix the problem.

(From OE-Core rev: 674e14555e6912453a96747ff017f49ac9350a52)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agologrotate: fix recompile error
Robert Yang [Thu, 7 Aug 2014 03:05:22 +0000 (20:05 -0700)]
logrotate: fix recompile error

Fixed:
NOTE: make -j 32
make: *** No rule to make target `/path/to/sysroot/4.9.0/include/stddef.h', needed by `logrotate.o'.  Stop.

This happens when upgrade gcc from 4.9.0 to 4.9.1, and the .depend isn't
regenerated when recompile, the content of the .depend are:

[snip]
logrotate.o: /path/to/sysroot/4.9.0/include/stddef.h
[snip]

And Makefile includes the .depend file if it exists, so there would be
errors when /path/to/sysroot/4.9.0/include/stddef.h doesn't exist.

Remove .depend will fix the problem.

(From OE-Core rev: 31de4a9d9ecc532ff6a6f5641852dc412a337cd7)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolibnewt: fix recompile error
Robert Yang [Thu, 7 Aug 2014 03:05:22 +0000 (20:05 -0700)]
libnewt: fix recompile error

Fixed:
NOTE: make -j 32
make: *** No rule to make target `/path/to/sysroot/4.9.0/include/stddef.h', needed by `test.o'.  Stop.

This happens when upgrade gcc from 4.9.0 to 4.9.1, and the .depend isn't
regenerated when recompile, the content of the .depend are:

[snip]
test.o: /path/to/sysroot/4.9.0/include/stddef.h
[snip]

And Makefile includes the .depend file if it exists, so there would be
errors when /path/to/sysroot/4.9.0/include/stddef.h doesn't exist.

Remove .depend will fix the problem.

(From OE-Core rev: bf2f8abff4eb55cd960065eaba032c96068acf08)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobusybox: Add Upstream-Status to patch
Saul Wold [Wed, 6 Aug 2014 23:30:42 +0000 (16:30 -0700)]
busybox: Add Upstream-Status to patch

(From OE-Core rev: a81d4fd4ac3b2cfb144650a9bdde918d9f7d73a2)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosysvinit: allow stack size configuration from rcS
Scot Salmon [Mon, 4 Aug 2014 15:40:30 +0000 (10:40 -0500)]
sysvinit: allow stack size configuration from rcS

For certain swap/overcommit settings (e.g. when overcommit is disabled
on a real-time system), we need to limit the stack size used by
initscripts.  When the STACK_SIZE environment variable is set (usually
in /etc/default/rcS), ulimit the stack size to the value specified.

Make the stack size ulimit a soft limit, which allows the user to
increase the stack size where required without having to run the
respective application as root.

(From OE-Core rev: 0b5db16929de7668174e74e428f3e4e90e76e1d8)

Signed-off-by: Scot Salmon <scot.salmon@ni.com>
Signed-off-by: Gratian Crisan <gratian.crisan@ni.com>
Signed-off-by: Ben Shelton <ben.shelton@ni.com>
Acked-by: Rich Tollerton <rich.tollerton@ni.com>
Acked-by: Brad Mouring <brad.mouring@ni.com>
Acked-by: Bill Pittman <bill.pittman@ni.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowpa-supplicant: use PACKAGECONFIG for ssl selection
Yasir-Khan [Wed, 6 Aug 2014 12:52:36 +0000 (17:52 +0500)]
wpa-supplicant: use PACKAGECONFIG for ssl selection

Select between openssl or gnutls as ssl implementation via
PACKAGECONFIG instead of explicitly adding both via DEPENDS.

(From OE-Core rev: 0be9be4055e5b7f649d523a38344d3964dc9fdc4)

Signed-off-by: Yasir-Khan <yasir_khan@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolz4: update to 120
Armin Kuster [Wed, 6 Aug 2014 14:46:31 +0000 (07:46 -0700)]
lz4: update to 120

Update package to version 120
Add Makefile to LIC_FILES_CHKSUM check as it changes with every rev.

(From OE-Core rev: 0554d4121f05c449f37b6ebde96dd1d02e71eb0c)

Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoboot-directdisk.bbclass: use local HDDDIR
Robert Yang [Wed, 6 Aug 2014 15:43:55 +0000 (08:43 -0700)]
boot-directdisk.bbclass: use local HDDDIR

Use $HDDDIR rather than ${HDDDIR} in build_boot_dd(), otherwise may
errors:
- Set these in local.conf:
  IMAGE_FSTYPES += "live"
  IMAGE_FSTYPES += "vmdk"
  AUTO_SYSLINUXMENU = "1"
  NOHDD = "1"

$ bitbake core-image-sato
  DEBUG: Executing shell function build_boot_dd
  install: cannot create regular file
  `/path/to/core-image-sato-1.0/hddimg//vesamenu.c32': No such file or directory
  WARNING: exit code 1 from a shell command.

This because it uses the ${HDDDIR} which is set in bootimg.bbclass, use
local HDDDIR which is set in build_boot_dd() will fix the problem.

(From OE-Core rev: 1891c39a359e983bb8fd7992b7b5a1aaac11baf7)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoremake: fix build error
Maxin B. John [Wed, 6 Aug 2014 16:18:01 +0000 (18:18 +0200)]
remake: fix build error

Fix build error:
...
unknown command `colophon'
unknown command `cygnus'

(From OE-Core rev: e59045dfe888eaab439758a40004b468790f24f6)

Signed-off-by: Maxin B. John <maxin.john@enea.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agotzdata: update to 2014f
Armin Kuster [Wed, 6 Aug 2014 19:07:07 +0000 (12:07 -0700)]
tzdata: update to 2014f

md5sum on asia file changed do to severel tzone updates

(From OE-Core rev: 0eb00091756f0a4dea112ad84b56fcf30d16a165)

Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agotzcode: update to 2014f
Armin Kuster [Wed, 6 Aug 2014 19:07:06 +0000 (12:07 -0700)]
tzcode: update to 2014f

(From OE-Core rev: 5f1f68763ceeebed2a97c3bb3fe372f4a8fb101e)

Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoghostscript: Remove bogus gsfonts reference from DESCRIPTION
Richard Purdie [Wed, 6 Aug 2014 10:14:14 +0000 (11:14 +0100)]
ghostscript: Remove bogus gsfonts reference from DESCRIPTION

[YOCTO #5586]

(From OE-Core rev: 1fafe7ccc563d5ac9e41f5c1de93d2736745b512)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodocumentation.conf: Small tweak to INITRD variable
Nitin A Kamble [Tue, 5 Aug 2014 21:39:56 +0000 (14:39 -0700)]
documentation.conf: Small tweak to INITRD variable

(From OE-Core rev: e97e0fd9eef12d3bacb89063c604b61a77707db8)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocode cleanup for INITRD variable handing
Nitin A Kamble [Tue, 5 Aug 2014 21:39:57 +0000 (14:39 -0700)]
code cleanup for INITRD variable handing

* Remove an unnecessary check
* Instead of ignoring, report the errors

(From OE-Core rev: 7afc6df6f0d0bbe0c5cb8ec021d430d6d9714941)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobase-files: set dynamic COLUMNS via resize command
Ting Liu [Thu, 31 Jul 2014 10:21:01 +0000 (18:21 +0800)]
base-files: set dynamic COLUMNS via resize command

By default, COLUMNS is set to 80. If possible, run 'resize' to
determine what the current dimensions are. This avoids the final
part of long lines overlap the start of the same line.

(From OE-Core rev: cc6360f4c4d97e0000f9d3545f381224ee99ce7d)

Signed-off-by: Ting Liu <ting.liu@freescale.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobusybox: Make busybox connman aware
Saul Wold [Tue, 5 Aug 2014 02:03:00 +0000 (19:03 -0700)]
busybox: Make busybox connman aware

This change makes busybox aware of both connman and the standard dhcp
client, while there is a caveat about using busybox's ifup/ifdown, this
change will make the 3 possibly dhcp clients behave better when busybox
is used.

Enable the CONFIG_FEATURE_IFUPDOWN_EXTERNAL_DHCP feature to busybox will
search for various external clients and then add connman as an external
client.

[YOCTO #6521]

(From OE-Core rev: 06bdccb5c4df44745863a2290cbb83fd190f66df)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agooelint.bbclass: Check for ${PN} or ${P} usage
Chong Lu [Fri, 1 Aug 2014 09:03:38 +0000 (17:03 +0800)]
oelint.bbclass: Check for ${PN} or ${P} usage

Check for ${PN} or ${P} usage in SRC_URI or S.
We should use ${BPN} or ${BP} instead to avoid breaking multilib.

[YOCTO #5427]

(From OE-Core rev: d5a1999a7dc216b8182440cf9e8489ec79a6606e)

Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agooelint.bbclass: add patch checking
Chong Lu [Fri, 1 Aug 2014 09:03:37 +0000 (17:03 +0800)]
oelint.bbclass: add patch checking

Check that all patches have Signed-off-by and Upstream-Status.

[YOCTO #5427]

(From OE-Core rev: a2b6be10daca733ba4e557bd2d831c60589e9ffd)

Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agooelint.bbclass: make oelint bbclass work
Chong Lu [Fri, 1 Aug 2014 09:03:36 +0000 (17:03 +0800)]
oelint.bbclass: make oelint bbclass work

Remove LICENSE, MAINTAINER, PRIORITY and valid SECTION checking.
Convert tab indentation into four-space.

[YOCTO #5427]

(From OE-Core rev: 184baa681b3381b7f1f289c3e0c3a0f1096368f6)

Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocurl: remove unused patch
Maxin B. John [Mon, 4 Aug 2014 11:04:44 +0000 (13:04 +0200)]
curl: remove unused patch

Remove unused "remove_inappropriate_file_from_rel.patch"

(From OE-Core rev: ad1b9480f2ef5a4450f8b31ef7b3141ee7462b4f)

Signed-off-by: Maxin B. John <maxin.john@enea.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoperf: fix indentation
Martin Jansa [Tue, 5 Aug 2014 11:19:40 +0000 (13:19 +0200)]
perf: fix indentation

* multiline variables should use spaces not tabs for indentation
* do_configure is also using wrong indentation, but I'm not fixing
  this one (still hoping that we'll eventually fix styleguide to
  use 4 spaces everywhere)

(From OE-Core rev: a8f1e40ddd2bb6f4364281e62935e3cdec148f08)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoperf: explicitly disable libunwind
Martin Jansa [Tue, 5 Aug 2014 11:19:39 +0000 (13:19 +0200)]
perf: explicitly disable libunwind

* it's not included in DEPENDS and it's detected from sysroot

(From OE-Core rev: c714ab3cf7b96e1ae25489478135924d410fcb53)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoAdd doc entry for "ptest-pkgs" in IMAGE_FEATURES list
Robert P. J. Day [Tue, 5 Aug 2014 09:45:59 +0000 (05:45 -0400)]
Add doc entry for "ptest-pkgs" in IMAGE_FEATURES list

(From OE-Core rev: e07c5c3792a9bf8faa098b54c61bc5fc41654265)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoscripts/send-error-report: fetch /Errors/ instead of /.
Roxana Ciobanu [Mon, 4 Aug 2014 12:16:39 +0000 (15:16 +0300)]
scripts/send-error-report: fetch /Errors/ instead of /.

If HTTP_PROXY or http_proxy is set when the send-error-report script
is run, it will check to see if fetching / on the specified server
returns 200 without the proxy set. If it does it will assume that the
proxy is not needed. However this check can never work because
fetching / always redirects to /Errors/ in the current code and
thus returns code 301. This is fixed by fetching /Errors/ instead of /.

[YOCTO #YB6576]

(From OE-Core rev: af93c89febcd186d7e31f1d15affc15f38e3379d)

Signed-off-by: Roxana Ciobanu <roxana.ciobanu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogstreamer1.0-omx: Remove unnecessary dependency on plugins-bad.
Drew Moseley [Mon, 4 Aug 2014 20:41:56 +0000 (16:41 -0400)]
gstreamer1.0-omx: Remove unnecessary dependency on plugins-bad.

This also corrects an erroneous overwriting of the dependencies
from the inc file.

(From OE-Core rev: d98e43a332f708b6db75109b90dcc6f562685f7a)

Signed-off-by: Drew Moseley <drew_moseley@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agokexec-tools: Create separate package for vmcore-dmesg
Ricardo Neri [Tue, 5 Aug 2014 00:16:11 +0000 (17:16 -0700)]
kexec-tools: Create separate package for vmcore-dmesg

The kexec-tools recipe already specifies separate packages for kexec and
kdump. Thus, it follows that a separate package can also be used to install
vmcore-dmesg granularly.

(From OE-Core rev: e0f7ceb44b256e85c0c602d142184e3ec769085e)

Signed-off-by: Ricardo Neri <ricardo.neri-calderon@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoslang 2.2.4: fix the iconv existence checking
Zheng Junling [Fri, 1 Aug 2014 12:10:46 +0000 (12:10 +0000)]
slang 2.2.4: fix the iconv existence checking

When checking whether there is iconv, the configure file always check
the host env.

Now we make it working properly by adding correct prefix for cross-
compiling environment.

(From OE-Core rev: ac588cc63315e4cb4ec84a1de87533e61d2dc6b6)

Signed-off-by: Zheng Junling <zhengjunling@huawei.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocups: regen configure so cups-no-gcrypt.patch has an effect
Peter A. Bigot [Sat, 2 Aug 2014 12:52:49 +0000 (07:52 -0500)]
cups: regen configure so cups-no-gcrypt.patch has an effect

The existing patch backports a change to the m4 source file, but without
a forced autoconf before configure it has no effect.

(From OE-Core rev: 0262f83ec7d7e68c43c87d3b0a307744a32f6274)

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocairo: explicitly disable LTO support by backporting patch which removes it
Martin Jansa [Sun, 3 Aug 2014 16:58:55 +0000 (18:58 +0200)]
cairo: explicitly disable LTO support by backporting patch which removes it

* cairo-native was failing to build in gentoo with gcc-4.9 and LTO
  enabled, more details in upstream bug
  https://bugs.freedesktop.org/show_bug.cgi?id=77060

(From OE-Core rev: 9a32b4fc295b407eee5196cc9e54591ef5de2c70)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agotcp-wrappers: install /etc/hosts.allow and /etc/hosts.deny
Yao Xinpan [Mon, 4 Aug 2014 09:15:20 +0000 (17:15 +0800)]
tcp-wrappers: install /etc/hosts.allow and /etc/hosts.deny

(From OE-Core rev: e62b2c08df585a94d4713e5c88a64465f9bb88e6)

Signed-off-by: Yao Xinpan <yaoxp@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agotcp-wrappers: fix do_install when $prefix == $base_prefix
Koen Kooi [Mon, 4 Aug 2014 09:10:02 +0000 (11:10 +0200)]
tcp-wrappers: fix do_install when $prefix == $base_prefix

(From OE-Core rev: ebc2b2f7d256ab1f05b9fe8af414c6425f9a2bf1)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoformfactor: Grammar fix in recipe comment.
Robert P. J. Day [Fri, 1 Aug 2014 15:44:22 +0000 (11:44 -0400)]
formfactor: Grammar fix in recipe comment.

(From OE-Core rev: d6eebc2ce20c4826ca37e9c4d5ea602875d07703)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agotest-dependencies: don't override failed-recipes.log
Martin Jansa [Fri, 1 Aug 2014 14:11:25 +0000 (16:11 +0200)]
test-dependencies: don't override failed-recipes.log

* when dependency changes are reported in OUTPUTC/failed-recipes.log
  it can be the same as final output file which is later overwritten
  because OUTPUTC == OUTPUT_BASE by default
* use similar format for messages as insane_qa check

(From OE-Core rev: f8c1c20cc4926072ad4578ca609ed40e3b94ef85)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agonss*: Replace hardcoded "/etc" with "${sysconfdir}"
Robert P. J. Day [Sat, 2 Aug 2014 10:38:49 +0000 (06:38 -0400)]
nss*: Replace hardcoded "/etc" with "${sysconfdir}"

(From OE-Core rev: 1c44e057c66fe20d491fcb3ae45defe0a300b256)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoalsa-lib: pcm_local.h: include <time.h> to enable CLOCK_MONOTONIC
Wang Zidan [Mon, 4 Aug 2014 03:21:11 +0000 (11:21 +0800)]
alsa-lib: pcm_local.h: include <time.h> to enable CLOCK_MONOTONIC

CLOCK_MONITONIC is defined in <bits/time.h>, add <time.h> before <sys/time.h>.

(From OE-Core rev: 77b4d82687e7d65e8c6619c36d337b1d5763fc36)

Signed-off-by: Wang Zidan <b50113@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoalsa-lib: fix hw_ptr exceed the boundary
Wang Zidan [Mon, 4 Aug 2014 03:21:10 +0000 (11:21 +0800)]
alsa-lib: fix hw_ptr exceed the boundary

For long time test case, the hw_ptr will exceed the boundary, then cause
the avail size wrong.

(From OE-Core rev: b8d472cb96cf4f6c3077bdb8acf1026d37dac438)

Signed-off-by: Wang Zidan <b50113@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoalsa-lib: use get32_labels for multi-source
Wang Zidan [Mon, 4 Aug 2014 03:21:12 +0000 (11:21 +0800)]
alsa-lib: use get32_labels for multi-source

The PCM route plugin can assign the destination value from average of
multiple sources with attenuation. This requires the read of each
channel value, sums and writes the resultant value in the requested
format.

get_labels gives the value as is only with endianness and signedness
conversions, but put32_labels assumes that the value is normalized to
32bit int and it shifts down to the dest format. In addition, the
current code lacks get_labels entries for the 24bit formats.

For fixing these bugs, this patch replaces the read with get32_labels
and use always 64bit int for sum.

(From OE-Core rev: aef6f71e68c3ef1d662cda237d85307142a997be)

Signed-off-by: Wang Zidan <b50113@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopsmisc: Typo in fuser makes -M on all the time
Patrice B [Mon, 4 Aug 2014 07:55:15 +0000 (09:55 +0200)]
psmisc: Typo in fuser makes -M on all the time

psmisc: Typo in fuser makes -M on all the time

  It adds a patch to fix a major issue on fuser that behaves as if -M option is always used.

  More info on psmisc website here :
  http://sourceforge.net/p/psmisc/code/ci/3638cc55b4d08851faba46635d737b24d016665b/

Signed-off-by: Patrice Bouchand <pbfwdlist@gmail.com>
(From OE-Core rev: fbce4a00b28517336aabe50ccf3faf541093d76c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agotcmode-default.inc: allow override of binutils-crosssdk
Cristian Iorga [Tue, 8 Jul 2014 09:27:06 +0000 (12:27 +0300)]
tcmode-default.inc: allow override of binutils-crosssdk

Sometimes, binutils-crosssdk needs to be override,
like is the case for producing Darwin cross SDK.

(From OE-Core rev: 8e4dc3da0662063579ac7ebe01cc09dc883e91e0)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoautotools: Exclude SDK_OS from autotools task signatures
Richard Purdie [Mon, 4 Aug 2014 11:30:14 +0000 (11:30 +0000)]
autotools: Exclude SDK_OS from autotools task signatures

The change to handle SDKs of different types resulted in the signatures
becoming SDK specific which wasn't intended. Exclude the variable from the
hash values to avoid this.

(From OE-Core rev: add7b9cb20282f837c90a785f04ca690a9bbe87e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopackage: Fix darwin shlibs code
Richard Purdie [Mon, 4 Aug 2014 15:22:49 +0000 (15:22 +0000)]
package: Fix darwin shlibs code

We need to scan binaries as well as libraries for dependencies.

Also ensure if its not an object file (as found by otool), we handle
this case.

(From OE-Core rev: 3a26862b7a7e0ff247bd1441d670443e83fca391)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: runqueue: Add sceneQueueComplete event
Richard Purdie [Sat, 2 Aug 2014 08:51:00 +0000 (09:51 +0100)]
bitbake: runqueue: Add sceneQueueComplete event

Its useful to have an event emitted when all of the sceneQueue tasks
have completed since the metadata can hook this for processing.
Therefore add such an event.

(Bitbake rev: 38d4f65bf1cbcdd5a2d60dff0e1d2859c34ed62e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopackage: Convert dylib handling from .la to otool
Richard Purdie [Sat, 2 Aug 2014 08:48:31 +0000 (09:48 +0100)]
package: Convert dylib handling from .la to otool

Currently, the darwin shlibs detection is done by parsing the .la file
dependency fields. This is very old code and is incomplete in some
cases so convert to using otool -l and otool -L to correctly load
the rpath and dependency information.

(From OE-Core rev: e27573b6c3562662e4b2f5d8543eb7d150c3bc92)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopackage: Fix pkgdest for darwin shlibs code
Richard Purdie [Sat, 2 Aug 2014 08:48:06 +0000 (09:48 +0100)]
package: Fix pkgdest for darwin shlibs code

When the code was rewritten we forgot to strip the pkg that is present
in the pkgdest path. This was fixed in the linux version of the code
but not the darwin one, this matches the fix.

Without this, the provider paths are broken.

(From OE-Core rev: bcada055f89c8722024faf20088943ea006cfe36)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoautotools: Fix warning for odctools-crosssdk
Richard Purdie [Sat, 2 Aug 2014 08:47:33 +0000 (09:47 +0100)]
autotools: Fix warning for odctools-crosssdk

odcctools-crosssdk doesn't use the suffixed naming the rest of crosssdk does
and this results in a annoying build warning. Avoid this.

(From OE-Core rev: b6b66f987168615598c980996a1692ca5753b4eb)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosstate: Allow switching between linux and non-linux SDK builds within the same tmpdir
Richard Purdie [Sat, 2 Aug 2014 08:46:27 +0000 (09:46 +0100)]
sstate: Allow switching between linux and non-linux SDK builds within the same tmpdir

Currently if you try and switch between linux/darwin/mingw SDK builds in the
same TMPDIR, things break. This is due to sstate not reflecting the SDK_OS in
the manifest names.

Since they are different, reflect this in the manifest naming and allow
this to work.

(From OE-Core rev: 7a0e1233ba196797f5f9bf862685dfae5511e751)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobdwgc: Upgrade 7.2d -> 7.4.2
Richard Purdie [Sat, 2 Aug 2014 08:44:12 +0000 (09:44 +0100)]
bdwgc: Upgrade 7.2d -> 7.4.2

Update the SRC_URI to the new site, same as HOMEPAGE. The libatomic
pieces were removed and some of the READMEs, allowing simplification
of the project license which is clear now.

(From OE-Core rev: 1ad6d714b1cc19ef92e74f7e559c8570ceae4685)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: cooker: Get rid of duplicate 'import re'
Namhyung Kim [Wed, 30 Jul 2014 02:17:20 +0000 (11:17 +0900)]
bitbake: cooker: Get rid of duplicate 'import re'

The re module was imported at the top, no need to do it again.

(Bitbake rev: c29c2370635075949c75937c237602600f4f10dc)

Signed-off-by: Namhyung Kim <namhyung@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: knotty: Move second event check into a proper block
Namhyung Kim [Wed, 30 Jul 2014 02:01:45 +0000 (11:01 +0900)]
bitbake: knotty: Move second event check into a proper block

so that it doesn't check it twice for non-empty events

(Bitbake rev: e304ace6d8f7d0808ee401b7c01146b2798a81b4)

Signed-off-by: Namhyung Kim <namhyung@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>