scm/bb/tizen-distro.git
10 years agobitbake: bitbake-user-manual-fetching.xml: Small fix in Git Fetcher
Scott Rifenbark [Thu, 26 Jun 2014 12:30:24 +0000 (15:30 +0300)]
bitbake: bitbake-user-manual-fetching.xml: Small fix in Git Fetcher

Fixed how we refer to the "rev" paramater.

(Bitbake rev: 90b1aec42cd29716f1cbd058757941cbfda235b0)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: bitbake-user-manual-execution.xml: Typo and grammar fixes.
Robert P. J. Day [Thu, 26 Jun 2014 12:19:11 +0000 (15:19 +0300)]
bitbake: bitbake-user-manual-execution.xml: Typo and grammar fixes.

(Bitbake rev: c469ceb86c1f76e9fa867ffb8a5c9b120ed7942b)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: bitbake-user-manual-execution.xml: Edits to "Providers and Preferences"
Scott Rifenbark [Thu, 26 Jun 2014 12:13:13 +0000 (15:13 +0300)]
bitbake: bitbake-user-manual-execution.xml: Edits to "Providers and Preferences"

I split this section into two sections and tried to simplify what
was being said about PROVIDES.

(Bitbake rev: 394f64123d5ef1e9b4628d083488b9432eccbded)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: bitbake-user-manual-fetching.xml: Small wording change.
Scott Rifenbark [Thu, 26 Jun 2014 11:42:49 +0000 (14:42 +0300)]
bitbake: bitbake-user-manual-fetching.xml: Small wording change.

(Bitbake rev: 66529a17d50bbce211361d98ace012b9424459c9)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: bitbake-user-manual-ref-variables.xml: Edits to PROVIDES variable.
Scott Rifenbark [Thu, 26 Jun 2014 06:50:26 +0000 (09:50 +0300)]
bitbake: bitbake-user-manual-ref-variables.xml: Edits to PROVIDES variable.

Added some more detail to help describe the variable.

(Bitbake rev: 4b2019e67324f0f86e1a49d256eddb4f9ca597f4)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: bitbake-user-manual-style.css: Added permalink style for display
Scott Rifenbark [Wed, 25 Jun 2014 11:42:51 +0000 (14:42 +0300)]
bitbake: bitbake-user-manual-style.css: Added permalink style for display

Fixes [YOCTO #5772]

Added a couple styles to the CSS style sheet so that the displayed
permalink symbol is barely visible unless you hover over it with
the mouse.

(Bitbake rev: ee8db0cda1c8716ab0151a4859bfff84b2f3bd58)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: bitbake-user-manual-customization.xsl: Added support for variable permalinks.
Scott Rifenbark [Wed, 25 Jun 2014 06:14:35 +0000 (09:14 +0300)]
bitbake: bitbake-user-manual-customization.xsl: Added support for variable permalinks.

Fixes [YOCTO #5772]

Including the gloss-permalink.xsl file in the customization layer
so that making the manual now generates permalinks for each variable
definition in the glossary.

(Bitbake rev: 04467594a599472c367365dffe205bf727c4d592)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: template: Added XSL template to support variable glossary permalinks.
Scott Rifenbark [Wed, 25 Jun 2014 06:13:08 +0000 (09:13 +0300)]
bitbake: template: Added XSL template to support variable glossary permalinks.

Fixes [YOCTO #5772]

This file enables creation of permalinks for variables defined
in the glossary.

(Bitbake rev: 772f2bdc10fa242646e4d09f6bdbaf8558f06b22)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: bitbake-user-manual-intro.xml: Edits to "Obtaining BitBake"
Scott Rifenbark [Thu, 19 Jun 2014 05:38:51 +0000 (08:38 +0300)]
bitbake: bitbake-user-manual-intro.xml: Edits to "Obtaining BitBake"

Updated the last bullet item that describes a final way to
obtain a copy of BitBake.  The example was too specific regarding
Poky and OE.  So, I made it quite generic and kept with the
convention of not having any specific links from the BitBake
manual into YP docs or such.

(Bitbake rev: a2a3b534871aa23a5d442b93dd9660d5f9e27536)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: bitbake-user-manual-intro.xml: Basic proofreading, grammar fixes.
Robert P. J. Day [Wed, 18 Jun 2014 13:46:50 +0000 (16:46 +0300)]
bitbake: bitbake-user-manual-intro.xml: Basic proofreading, grammar fixes.

(Bitbake rev: 266a0b5ef41dcc4048e2a4d1c43567568d7449d7)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoscripts: fix no newline at end of file
Robert Yang [Thu, 3 Jul 2014 06:58:17 +0000 (14:58 +0800)]
scripts: fix no newline at end of file

Add a '\n' to the last line of the file to fix:

No newline at end of file

(From meta-yocto rev: 58cc5c502bd0309feed65ab7836ed8fbaab6ced9)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogroff: Fix build on Fedora 17 for 1.18.1.4
Ming Liu [Thu, 3 Jul 2014 09:30:00 +0000 (17:30 +0800)]
groff: Fix build on Fedora 17 for 1.18.1.4

The commit 79fc5576:
[ groff: Fix build on Fedora 17 ]

was applied to 1.22.2, but it's also needed by 1.18.1.4 to solve a same
issue.

(From OE-Core rev: b019f2cdacfb64f149483df8a5b6b7b3f7943222)

Signed-off-by: Ming Liu <ming.liu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogawk: fix optional dependency mpfr
Roxana Ciobanu [Thu, 3 Jul 2014 09:45:44 +0000 (12:45 +0300)]
gawk: fix optional dependency mpfr

 Gawk was failing to compile because of the optional feature mpfr if it found
 libmpfr on build host and linked against that or mpfr existed in sysroot but
 not in deploy, or if gawk was pulled from sstate and someone had mpfr built.

 [YOCTO# 6473]

(From OE-Core rev: ec0def7cc204f402fba017264ea201956add342d)

Signed-off-by: Roxana Ciobanu <roxana.ciobanu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogroff: remove redundant code snippet
Ming Liu [Thu, 3 Jul 2014 07:49:08 +0000 (15:49 +0800)]
groff: remove redundant code snippet

The exact same code snippet exists both in do_install_append and
do_install_append_class-native which is not necessary.

Remove it from do_install_append_class-native.

(From OE-Core rev: 0f107a76713cebb49004d48fd410d9f014dda4b3)

Signed-off-by: Ming Liu <ming.liu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopython3: fix builtins imports
Roxana [Mon, 30 Jun 2014 09:44:03 +0000 (12:44 +0300)]
python3: fix builtins imports

The intent of this code is to generate things like -L=/usr/lib/foo so
for paths which start with "/" we should appent the "=". We should not do this
for ".". On some recent versions of binutils or patchsets on some recent
distros this appears to work differently and causes build failures, for example
on Ubuntu 14.04 LTS.

The simple fix is to check for "." as the path prefix.

[YOCTO #6467].

(From OE-Core rev: c36d459f0d40bdbd3ba809835e0475e8992bc778)

Signed-off-by: Roxana <roxana.ciobanu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoadt_installer: Fix sed file not found error
Richard Purdie [Mon, 30 Jun 2014 15:21:17 +0000 (16:21 +0100)]
adt_installer: Fix sed file not found error

We need to look for the installed file within the sysroot we just installed
so add in the missing prefix. This avoids errors like:

Installing cross canadian packages for qemux86 ...
sed: no input files

[YOCTO #6443]

(From OE-Core rev: 3042dcaecadee266b1e4dcae102030c7e4802b89)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agooeqa/selftest/_toaster.py: fix 'IndentationError' issues
Ionut Chisanovici [Mon, 30 Jun 2014 08:41:39 +0000 (11:41 +0300)]
oeqa/selftest/_toaster.py: fix 'IndentationError' issues

There were some indentation errors when the _toaster.py was merged into master.
This patch fix those errors.

(From OE-Core rev: 173194493294574e49874858ee7003000f41b4d6)

Signed-off-by: Ionut Chisanovici <ionutx.chisanovici@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agooeqa/selftest/toaster.py: renamed to _toaster.py
Ionut Chisanovici [Mon, 30 Jun 2014 08:41:38 +0000 (11:41 +0300)]
oeqa/selftest/toaster.py: renamed to _toaster.py

In order not to run the toaster selftests by default, we renamed to _toaster.py

(From OE-Core rev: 8da2ebba10e0128938919b39c29be40b7c1d80aa)

Signed-off-by: Ionut Chisanovici <ionutx.chisanovici@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoRevert "libusb: add missing build dependency on udev"
Richard Purdie [Sun, 29 Jun 2014 08:59:11 +0000 (09:59 +0100)]
Revert "libusb: add missing build dependency on udev"

This reverts commit 6cebce6e355c4c7a87f4088bfa849d0a1c3439da.

Leads to build failures as nativesdk-udev doesn't exist (nor should it).

It also leads to circular dependencies and build failures from these.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoclasses/kernel: Use full path for symlink in update-alternatives.
Drew Moseley [Thu, 26 Jun 2014 17:01:16 +0000 (13:01 -0400)]
classes/kernel: Use full path for symlink in update-alternatives.

Use a fully qualified path for the <path> parameter in calls
to update-alternatives.  The chkconfig-alternatives version
requires a full path and without it, the symlink is not
properly created.

(From OE-Core rev: 78ee4d8b1782445caecce8331e68efe83fc32044)

Signed-off-by: Drew Moseley <drew_moseley@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopopulate_sdk_base: Remove confusing echo
Richard Purdie [Sun, 29 Jun 2014 08:00:51 +0000 (09:00 +0100)]
populate_sdk_base: Remove confusing echo

Remove a confusing echo after the previous commit, thanks for a suggestion
from Laurentiu.

(From OE-Core rev: cd1fdd05cc7457706d1e40042854c154cbb3d9e9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A

10 years agopopulate_sdk_base: add auto-completion in setup
Dennis Meier [Tue, 17 Jun 2014 13:16:53 +0000 (15:16 +0200)]
populate_sdk_base: add auto-completion in setup

(From OE-Core rev: d6c55f6910270e395f668c9114ec374b44c57538)

Signed-off-by: Dennis Meier <meier.dennis@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoclasses/report-error: tweak summary message
Paul Eggleton [Wed, 25 Jun 2014 15:31:38 +0000 (16:31 +0100)]
classes/report-error: tweak summary message

* We don't want everyone to remove their identifying info, just if they
  feel the need to
* Split lines for clarity
* A couple of grammar/spelling tweaks

(From OE-Core rev: b5c7538416e4c7a9e594edf930fa7ee844a347e6)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibusb: add missing build dependency on udev
Fabien Chereau [Thu, 26 Jun 2014 10:20:02 +0000 (12:20 +0200)]
libusb: add missing build dependency on udev

This fixes the ./configure error in case libusb is built before udev/systemd.

(From OE-Core rev: 6cebce6e355c4c7a87f4088bfa849d0a1c3439da)

Signed-off-by: Fabien Chereau <fabien.chereau@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agotest-dependencies.sh: Return non-zero return code when there was some failure detected
Martin Jansa [Wed, 25 Jun 2014 17:06:37 +0000 (19:06 +0200)]
test-dependencies.sh: Return non-zero return code when there was some failure detected

* this is useful when using from jenkins job where you don't want to read
  output just to dectect how bad it was
* add .log suffix to all files, so they can be easily downloaded from
  http servers without default mimetype set to something useful
* add recipes failed in step 1 to steps 2 and 3 to generate standalone
  logs for them

(From OE-Core rev: cef1d6deb5437edae56740436d8e77b8d941945a)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosstate-diff-machines.sh: Return non-zero return code when there was some failure...
Martin Jansa [Wed, 25 Jun 2014 17:06:36 +0000 (19:06 +0200)]
sstate-diff-machines.sh: Return non-zero return code when there was some failure detected

* add --analyze option, which is useful when using from jenkins job
  where you don't want to read output just to dectect how bad it was
* I was always using something like this inside jenkins job, but better
  to share it in original script

(From OE-Core rev: e73e1261879d9154d89cec35669ba22b499d8331)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopatch.bbclass: unset TMPDIR after use
Ross Burton [Thu, 26 Jun 2014 14:16:55 +0000 (15:16 +0100)]
patch.bbclass: unset TMPDIR after use

GNU Patch < 2.6.1 has a race condition so we create a per-instance TMPDIR to
avoid this.  This was implemented by setting os.environ[TMPDIR] but at the end
of do_patch the temporary directory is deleted but TMPDIR is not unset.

In general this doesn't cause a problem but if do_patch is embedded in a larger
function then TMPDIR is set to a directory that doesn't exist.  Avoid this by
removing TMPDIR from os.environ when the directory is deleted.

(From OE-Core rev: 51ea4378864f1468df2ca282a84f78a17d6861aa)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agorecipes-devtools: fix segfault in lib32-gcc with "." multilib_dir
Paul Gortmaker [Thu, 26 Jun 2014 19:08:47 +0000 (15:08 -0400)]
recipes-devtools: fix segfault in lib32-gcc with "." multilib_dir

When enabling a lib32-gcc in a 64 bit build, without doing any
other configuration, the mutilib dir is unspecified, which is
represented internally in gcc as "." and as such uncovers an
invalid free on a non-malloc'd pointer.

As suggested by the gcc folks, simply make sure the "." case
is also stored in a malloc'd pointer, so that the intended
runtime behaviour of the code remains unchanged.

Patch has been accepted by upstream maintainers of gcc.

(From OE-Core rev: bf1473d0c1b099b8d919835cc430b99606134aab)

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoinitrdscripts: Try to boot if boot label is unknown
Drew Moseley [Sat, 28 Jun 2014 21:57:34 +0000 (17:57 -0400)]
initrdscripts: Try to boot if boot label is unknown

The init-live.sh scripts assumes that the boot label set by
the LABELS variable is either "boot", "install", or
"install-efi".  If that variable is overridden to something else
we fall off the end of the case statement and the system locks
up.  If the boot label is unknown, at least attempt to boot.

(From OE-Core rev: 98353862c08be2f1724aaad7aa4ed0521e3621f2)

Signed-off-by: Drew Moseley <drew_moseley@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodistutils/distutils3: Fix bashism
Richard Purdie [Fri, 27 Jun 2014 09:23:23 +0000 (10:23 +0100)]
distutils/distutils3: Fix bashism

read -d is a bashism. Replace with a direct exec to avoid the problem
in this case. This fixes silent build failures in do_install of
tasks on systems with dash as /bin/sh.

Also merge the fix to distutils for only changing necessary files
to disutils3 as well.

(From OE-Core rev: 7d61661348cf48cbe379ae600565840ea08664b1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agou-boot-fw-utils: install config file
Maxin B. John [Wed, 25 Jun 2014 09:13:59 +0000 (11:13 +0200)]
u-boot-fw-utils: install config file

The on-target fw_printenv and fw_setenv needs configuration file
(fw_env.config) to be present in the target.

(From OE-Core rev: b4cd268cf7506a521d7800112cb775bd49e1ef09)

Signed-off-by: Maxin B. John <maxin.john@enea.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocreaterepo: RDEPENDS on libxml2-python
Robert Yang [Wed, 25 Jun 2014 09:16:20 +0000 (02:16 -0700)]
createrepo: RDEPENDS on libxml2-python

Fixed the error when run createrepo on target:
  Traceback (most recent call last):
    File "/usr/share/createrepo/genpkgmetadata.py", line 27, in <module>
      import libxml2
    File "/usr/lib64/python2.7/site-packages/libxml2.py", line 1, in <module>
  ImportError: No module named libxml2mod

(From OE-Core rev: 3ec0f411985cf6891b34e1f9624df9df38c9fc6f)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosudo: upgrade from 1.8.10p2 to 1.8.10p3
Chen Qi [Wed, 18 Jun 2014 03:12:24 +0000 (11:12 +0800)]
sudo: upgrade from 1.8.10p2 to 1.8.10p3

Upgrade sudo from 1.8.10p2 to 1.8.10p3.

[YOCTO #6457]

(From OE-Core rev: acd711f7faa98990f32b11f6235e739723ec2743)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoinitramfs-framework: get rid of udev-utils
Chen Qi [Wed, 18 Jun 2014 02:38:15 +0000 (10:38 +0800)]
initramfs-framework: get rid of udev-utils

Now that udev-utils package has been removed and 'udevadm' has been
moved to udev package, the initramfs-framework should also get rid
of the udev-utils package.

(From OE-Core rev: f0b8f08e13f395820172d16c9d4c016a0fbdbfe9)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosystemd: remove udev-utils, move 'udevadm' to udev package
Chen Qi [Wed, 18 Jun 2014 02:38:14 +0000 (10:38 +0800)]
systemd: remove udev-utils, move 'udevadm' to udev package

The udev package RDEPENDS on the udev-utils package, and the actually
udev-utils package relies on the udev package because if there's no
udev daemon, 'udevadm' command doesn't make much sense.

Now that we have removed udev-utils package and moved 'udevadm' to
the udev package in the older udev recipe, we should do the same
for systemd.

(From OE-Core rev: 393867e8818b54255271bb70bcd7b6ffea137c0a)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoudev: remove udev-utils, add 'udevadm' to udev package
Chen Qi [Wed, 18 Jun 2014 02:38:13 +0000 (10:38 +0800)]
udev: remove udev-utils, add 'udevadm' to udev package

Previously, the udev package only RRECOMMENDS udev-utils package,
but its init script in the udev package really relies on the
'udevadm' command to work properly. As a result, if 'NO_RECOMMENDATIONS'
is set to '1', errors occur at system start-up.

The udev-utils package only contains one file, that is /bin/udevadm.
So it's better that we remove the udev-utils package and move the
'udevadm' command to the udev package.

[YOCTO #6388]

(From OE-Core rev: 4814a7a85ccff74923a554bdc11820fceff84e2e)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoudev-cache.default: set PROBE_PLATFORM_BUS to "yes" by default
Denys Dmytriyenko [Thu, 19 Jun 2014 22:53:23 +0000 (18:53 -0400)]
udev-cache.default: set PROBE_PLATFORM_BUS to "yes" by default

Force probing of "platform" bus by default.

(From OE-Core rev: 6aae37c66fb6e7153b829ad860b7e7f94e804bd4)

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoudev: update init script for conditional probing of platform bus
Denys Dmytriyenko [Thu, 19 Jun 2014 22:53:22 +0000 (18:53 -0400)]
udev: update init script for conditional probing of platform bus

Make probing of "platform" bus conditional based on PROBE_PLATFORM_BUS
variable from /etc/default/udev-cache on subsequent boots when udev
cache is used. PROBE_PLATFORM_BUS has to be set to "yes" in order to
force probing on every boot, otherwise it uses the old default behaviour
of probing it just the first time.

This is helpful on modern SoCs where most of the low level peripheral
drivers are registered on the platform bus and need to be probed to load
the necessary modules and enable the connected buses and subsystems.

(From OE-Core rev: 70a695735e0a7d14448f2f5a9986bfe105210a91)

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoown-mirrors: Add gitsm:// mirror support
Richard Purdie [Tue, 24 Jun 2014 22:55:32 +0000 (23:55 +0100)]
own-mirrors: Add gitsm:// mirror support

(From OE-Core rev: 2abc6923956a3ebf8c0a00122ce605b8ec10ceb7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogtk-doc: Add pkgconfig inherit
Richard Purdie [Tue, 24 Jun 2014 22:55:00 +0000 (23:55 +0100)]
gtk-doc: Add pkgconfig inherit

Anything using gtk-doc will be using pkgconfig as well so
add in the dependency rather than doing it for each and every recipe.

(From OE-Core rev: 7ee05554c55607d9aa02f9a93762e2024bcd4bb0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibsdl: Convert to use pkg-config in internal m4 macros
Richard Purdie [Tue, 24 Jun 2014 22:53:47 +0000 (23:53 +0100)]
libsdl: Convert to use pkg-config in internal m4 macros

Rather than code which doesn't even work properly when cross compiling,
lets just use pkg-config instead. Its a little simpler.

(From OE-Core rev: b550572bdad318aed02230496721430eec89c937)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogst-openmax: Add missing pkgconfig inherit
Richard Purdie [Tue, 24 Jun 2014 22:52:58 +0000 (23:52 +0100)]
gst-openmax: Add missing pkgconfig inherit

(From OE-Core rev: 0f11090e566ae13fe76c4273655db320a87ba7ae)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolib/oe/package_manager.py: Add processing for alternative SDK_OS
Mark Hatle [Wed, 25 Jun 2014 00:28:07 +0000 (19:28 -0500)]
lib/oe/package_manager.py: Add processing for alternative SDK_OS

For the meta-mingw layer, we need to process alternative SDK_OS, since this
is not a Linux based OS.

(From OE-Core rev: b31e015d2e379c24610948d345c5970545887468)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogcc-cross-canadian: Add configure-target-libgcc
Mark Hatle [Wed, 25 Jun 2014 00:28:06 +0000 (19:28 -0500)]
gcc-cross-canadian: Add configure-target-libgcc

While we're not going to package the libgcc component as part of the SDK,
we do need to generate it to get the unwind, and quadmath headers.  Without
this change it is not possible to build eglibc or other components that
require these headers with the SDK toolchain.

(From OE-Core rev: e67b24401a366b20644510703c7140be975869ea)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopopulate_sdk: Fix TOOLCHAIN_TARGET_TASK_ATTEMPTONLY implementation
Mark Hatle [Wed, 25 Jun 2014 00:28:05 +0000 (19:28 -0500)]
populate_sdk: Fix TOOLCHAIN_TARGET_TASK_ATTEMPTONLY implementation

The variable was only partially implemented, and the part that was there
was named incorrectly to, missing the 'TASK' piece.

(From OE-Core rev: d0cb34cfe9a51fd8bc1e6e28c8eda60a25adc1ec)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoclasses/package_rpm.bbclass: Fix SDK Suffix reference
Mark Hatle [Wed, 25 Jun 2014 00:28:04 +0000 (19:28 -0500)]
classes/package_rpm.bbclass: Fix SDK Suffix reference

The meta-mingw layer attempts to change the SDK Suffix, but the rpm
packaging had a hard coded reference to _nativesdk.

I did a quick scan for other hard coded entries and did not fine any
more.

(From OE-Core rev: 0d3f7a753f17fa8c455f64e3df3259ef1887fd8a)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocurl: Convert CURLGNUTL to PACKAGECONFIG
Saul Wold [Wed, 25 Jun 2014 00:13:20 +0000 (17:13 -0700)]
curl: Convert CURLGNUTL to PACKAGECONFIG

This will allow for easier configuration of curl for SSL vs gnutls

[YOCTO #6329]

(From OE-Core rev: 6a8144390eb2dee6e1baf7be75cffcacbb247002)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoca-certificates: Update to 20140325
Saul Wold [Wed, 25 Jun 2014 00:13:19 +0000 (17:13 -0700)]
ca-certificates: Update to 20140325

Changes to debian/copyright:
Update to "Copyright: Mozilla Contributors" for mozilla/{certdata.txt,nssckbi.h}

Backported on additional patch from ca-certificates tree

[YOCTO #6454]

(From OE-Core rev: 3af33d60f03afb19543247b5350137ff3a7ee7e0)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agomobile-broadband-provider-info: Update SRCREV
Saul Wold [Wed, 25 Jun 2014 00:13:18 +0000 (17:13 -0700)]
mobile-broadband-provider-info: Update SRCREV

(From OE-Core rev: 684c9c8261494e3b66e37052c487c4449d8f9b01)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoman-pages: Update to 3.69
Saul Wold [Wed, 25 Jun 2014 00:13:17 +0000 (17:13 -0700)]
man-pages: Update to 3.69

(From OE-Core rev: 4fe42df0b384383c57d9bf16d0a725778b3477ad)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoxcb-util-renderutil: Update to version 0.3.9
Saul Wold [Wed, 25 Jun 2014 00:13:16 +0000 (17:13 -0700)]
xcb-util-renderutil: Update to version 0.3.9

Updated LIC_FILES_CHKSUM to focus only on header section
no license changes

(From OE-Core rev: 2832cb12b31f171e06b9bdd4e496682813301baf)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocurl: Update to 7.37
Saul Wold [Wed, 25 Jun 2014 00:13:15 +0000 (17:13 -0700)]
curl: Update to 7.37

Remove patches that are fixed upstream

(From OE-Core rev: d5d169af2b34596deb3997c2bfa7398c447c4fac)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agognupg: Update to 2.0.23
Saul Wold [Wed, 25 Jun 2014 00:13:14 +0000 (17:13 -0700)]
gnupg: Update to 2.0.23

(From OE-Core rev: ea397e7060fcb92b0b31c3de7c498c0df3f55ac4)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoliburcu: Update to 0.8.4
Saul Wold [Wed, 25 Jun 2014 00:13:13 +0000 (17:13 -0700)]
liburcu: Update to 0.8.4

Removed patch fixed upstream

(From OE-Core rev: 08a136e6fd9b598fc11787752b1a0a5c53e898ec)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibusb1: Update to 1.0.19
Saul Wold [Wed, 25 Jun 2014 00:13:12 +0000 (17:13 -0700)]
libusb1: Update to 1.0.19

(From OE-Core rev: 94368a16636b05dc21db564a0a55e0a705fbfa29)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosqlite3: Update to 3.8.5.0
Saul Wold [Wed, 25 Jun 2014 00:13:11 +0000 (17:13 -0700)]
sqlite3: Update to 3.8.5.0

(From OE-Core rev: 6b3ac5de53417f130f5335b88aa78f1bd655c4e0)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agou-boot: Optionally deploy an environment or script file
Ash Charles [Tue, 24 Jun 2014 20:10:18 +0000 (13:10 -0700)]
u-boot: Optionally deploy an environment or script file

Some boards are configured to read a script or environment file as part
of the u-boot boot sequence.  This file, typically called 'uEnv.txt' or
'boot.scr', would be deployed alongside the u-boot binary.  If a recipe
uses this u-boot.inc, such a file can be deployed by setting the optional
UBOOT_ENV parameter and including the file in the SRC_URI.  For example:

    SRC_URI_append_overo = "file://uEnv.txt"
    UBOOT_ENV_overo = "uEnv"

(From OE-Core rev: 1506c40c93651356b9fe2f7184b5e26f99e22686)

Signed-off-by: Ash Charles <ashcharles@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocmake.bbclass: restore OECMAKE_SOURCEPATH
Ross Burton [Tue, 24 Jun 2014 20:21:32 +0000 (21:21 +0100)]
cmake.bbclass: restore OECMAKE_SOURCEPATH

Some packages put their CMakeLists.txt file in a subdirectory, so assuming that
it is in ${S} won't work.

Restore OECMAKE_SOURCEPATH (defaulting to ${S}) so that the location of
CMakeLists.txt can be set if required.

Based on a patch by Miroslav KeÅ¡ <miroslav.kes@gmail.com>

(From OE-Core rev: 2c23d7ab913a636aa0ab6a6e899cf6211d1e2714)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobinutils: Add fix for recent patch on older gcc
Richard Purdie [Wed, 25 Jun 2014 09:09:44 +0000 (09:09 +0000)]
binutils: Add fix for recent patch on older gcc

The recent bintuils patch update breaks on older gccs such as CentOS 6.
Backport a patch to address this.

(From OE-Core rev: 76f65e73081f52cea718ef164f9d1d7a5c65d537)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobinutils: Apply the proper fix for PR 16428
H.J. Lu [Tue, 24 Jun 2014 21:18:19 +0000 (14:18 -0700)]
binutils: Apply the proper fix for PR 16428

It is fixed by

commit 4199e3b8669d0a36448687850374fdc2ad7240b6
Author: Alan Modra <amodra@gmail.com>
Date:   Wed Jan 15 21:50:55 2014 +1030

    non-PIC references to __ehdr_start in pie and shared

    Rather than hacking every backend to not discard dynamic relocations
    against an undefined hidden __ehdr_start, make it appear to be defined
    early.  We want __ehdr_start hidden before size_dynamic_sections so
    that it isn't put in .dynsym, but we do need the dynamic relocations
    for a PIE or shared library with a non-PIC reference.  Defining it
    early is wrong if we don't actually define the symbol later to its
    proper value.  (In some cases we want to leave the symbol undefined,
    for example, when the ELF header isn't loaded, and we don't have this
    infomation available in before_allocation.)

So replace the existing patches with this one.

(From OE-Core rev: db37534c412ff3f1460687611060b3c4b3f95a04)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agooe-pkgdata-util: fix help text
Paul Eggleton [Tue, 22 Apr 2014 11:23:08 +0000 (12:23 +0100)]
oe-pkgdata-util: fix help text

This was copy/pasted from another script and not corrected.

(From OE-Core rev: 65b79e8ffffb20b7dd83213c72774745f18d978d)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolist-packageconfig-flags: improve option parsing
Paul Eggleton [Fri, 23 May 2014 13:30:34 +0000 (14:30 +0100)]
list-packageconfig-flags: improve option parsing

* Use optparse instead of getopt (less code & automatic help)
* Change help text / output to use "recipe" instead of "package"
* Print something to indicate the script is still gathering information

Note that the long options have been renamed as appropriate.

(From OE-Core rev: 0ab4da8667cdf027d841e04ed5a35ddd45ad494a)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolist-packageconfig-flags: filter out doc and defaultval varflags
Paul Eggleton [Fri, 23 May 2014 12:20:40 +0000 (13:20 +0100)]
list-packageconfig-flags: filter out doc and defaultval varflags

These are generic flags and shouldn't be listed in the output of this
script.

(From OE-Core rev: 0f8b16c5ea78f1d48b45cef7a317f8a307c48ebe)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoscripts: consolidate code to find bitbake path
Paul Eggleton [Tue, 22 Apr 2014 11:07:35 +0000 (12:07 +0100)]
scripts: consolidate code to find bitbake path

Several of these scripts were using duplicated code (and slightly
different methods) to find the path to bitbake and add its lib
subdirectory to the Python import path. Add some common code to do this
and change the scripts to use it.

Fixes [YOCTO #5076].

(From OE-Core rev: 0b5e94e168819134dcda0433c8ae893df4ab13ce)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosyslinux: fix isohybird overflows on 32 bit system
Kai Kang [Fri, 20 Jun 2014 06:06:30 +0000 (14:06 +0800)]
syslinux: fix isohybird overflows on 32 bit system

When call isohybrid with option '-u', it overflows on a 32 bits host. It
seeks to 512 bytes before the end of the image to install gpt header. If
the size of image is larger than LONG_MAX, it overflows fseek() and
cause error:

isohybrid: wrlinux-image-x86-64-20140505110100.iso: seek error - 8: Invalid argument

Replace fseek with fseeko to fix this issue.

(From OE-Core rev: 41bd9dbf6f3e0add6a9e2cb20cfcbff44d785ea4)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agonfs-utils: fix the --with-statdpath= flag
Yao Xinpan [Fri, 20 Jun 2014 06:47:02 +0000 (14:47 +0800)]
nfs-utils: fix the --with-statdpath= flag

if --with-statdpath= is not the default value, will happen the following questions:
'Failed to open directory sm: No such file or directory'.

Submitted to nfs-utils mailing list here:

    http://git.linux-nfs.org/?p=steved/nfs-utils.git;a=commitdiff;h=3b1457d219ceb1058d44bacc657581f13437ae40#patch1

This has been accepted into upstream nfs-utils so it will not be needed
for future versions.

(From OE-Core rev: 15dbdfc6a7e3f03862d9c670ffd2ae8f4d9d8b69)

Signed-off-by: Yao Xinpan <yaoxp@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogummiboot.bbclass: Ensure MLPREFIX is applied to depends flag
Ming Liu [Thu, 19 Jun 2014 08:43:00 +0000 (16:43 +0800)]
gummiboot.bbclass: Ensure MLPREFIX is applied to depends flag

Add MLPREFIX to depends flag to ensure the correct gummiboot is
dependended upon.

(From OE-Core rev: 9ed2b77aafe5bcd57da56377e6e58dae0c1fcfaf)

Signed-off-by: Ming Liu <ming.liu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogrub-efi.bbclass: Ensure MLPREFIX is applied to depends flag
Ming Liu [Thu, 19 Jun 2014 08:42:59 +0000 (16:42 +0800)]
grub-efi.bbclass: Ensure MLPREFIX is applied to depends flag

Add MLPREFIX to depends flag to ensure the correct grub-efi is
dependended upon.

(From OE-Core rev: b62bf9e1cb8670901cfc37b1cd1822703ebdc000)

Signed-off-by: Ming Liu <ming.liu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosyslinux.bbclass: Ensure MLPREFIX is applied to depends flag
Ming Liu [Thu, 19 Jun 2014 08:42:58 +0000 (16:42 +0800)]
syslinux.bbclass: Ensure MLPREFIX is applied to depends flag

Add MLPREFIX to depends flag to ensure the correct syslinux is
dependended upon.

(From OE-Core rev: c8dc421ea18bb7a810501ab6d07efa9c8f6d6eb9)

Signed-off-by: Ming Liu <ming.liu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoeglibc (2.19): fix hardcoded /sbin path
Matthieu Crapet [Thu, 19 Jun 2014 08:33:59 +0000 (10:33 +0200)]
eglibc (2.19): fix hardcoded /sbin path

Apply for ldconfig and sln packages.

(From OE-Core rev: 8f17b78005bca46ce4b54be3f74bfb39571359c6)

Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoinitscripts: update populate-volatile.sh
Kai Kang [Thu, 19 Jun 2014 07:31:52 +0000 (15:31 +0800)]
initscripts: update populate-volatile.sh

If a partition such as /tmp mounted on a volatile directory which create
by script populate-volatile.sh from initscripts, it will show errors.

In /var/log/boot, error message:

Thu Jun 19 05:39:09 2014: bootlogd.
Thu Jun 19 05:39:10 2014: rm: cannot remove '/tmp': Device or resource busy

Check volatile directories and if it is be mounted then don't force make
it as a link.

(From OE-Core rev: cc4b0936c7a6a1563dc88d62d8c9020791eaa446)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agonss-3.15.1: fix CVE-2013-1739
yzhu1 [Wed, 18 Jun 2014 09:41:30 +0000 (05:41 -0400)]
nss-3.15.1: fix CVE-2013-1739

Mozilla Network Security Services (NSS) before 3.15.2 does
not ensure that data structures are initialized before
read operations, which allows remote attackers to cause a
denial of service or possibly have unspecified other
impact via vectors that trigger a decryption failure.

http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2013-1739
(From OE-Core rev: 9b43af77d112e75fa9827a9080b7e94f41f9a116)

Signed-off-by: yzhu1 <yanjun.zhu@windriver.com>
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agomesa.inc: remove '-' suffix in substitution of package names
Ming Liu [Fri, 20 Jun 2014 10:28:01 +0000 (18:28 +0800)]
mesa.inc: remove '-' suffix in substitution of package names

The current substitution to package names is not correct, its original
purpose is: replace "mesa-" with "mesa-dri-", in which process the
"mesa" package is left out, this leads mesa package to announce to
conflict with itself, and therefore cause build failures when multilib
mesa are being added to rootfs.

Changing the replacement pattern to without a '-' suffix will fix it.

(From OE-Core rev: f02e0ae803b7a37b410c8487916331cdcae98cf3)

Signed-off-by: Ming Liu <ming.liu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodbus-test: fix incorrect checksum
Chong Lu [Tue, 24 Jun 2014 05:46:52 +0000 (13:46 +0800)]
dbus-test: fix incorrect checksum

Modify checksum to match new version.

(From OE-Core rev: 6ba9162c5facc2078d3818b18e628e2a75d9ca26)

Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agomkefidisk.sh: Allow symlink for device
Darren Hart [Mon, 23 Jun 2014 21:44:41 +0000 (14:44 -0700)]
mkefidisk.sh: Allow symlink for device

Allow the user to specify a symlink as the host device. If a link is
used, mkefidisk will now dereference it and use the link target when
looking for sysfs information.

(From OE-Core rev: 67bbfac55555c4e35ed9a84409aedb9b278b3de9)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoiproute2: upgrade to 3.15.0
Cristian Iorga [Mon, 23 Jun 2014 13:18:44 +0000 (16:18 +0300)]
iproute2: upgrade to 3.15.0

The main new features are:
  * ss gets more attention
  * Support for HHF qdisc
  * Updates to bridge command
  * Lots of vxlan related changes
  * Lots of little corrections and build fixes.

(From OE-Core rev: 873bdf8ba578aa91f29cd19e9b235e81f09e156c)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoharfbuzz: upgrade to 0.9.29
Cristian Iorga [Mon, 23 Jun 2014 13:18:43 +0000 (16:18 +0300)]
harfbuzz: upgrade to 0.9.29

Mostly a bugfix release.

(From OE-Core rev: 36d6985faf76b1228d4dafb5bf994b00004d1d77)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobluez5: upgrade to 5.20
Cristian Iorga [Mon, 23 Jun 2014 13:18:42 +0000 (16:18 +0300)]
bluez5: upgrade to 5.20

Mostly bugfix release;
Improved handling of PS3 controllers;
Support for the A2DP aptX codec.

(From OE-Core rev: 26e09b3f9acd90989101c7d597669e1d171ff231)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoscripts/test-remote-image: add value check for rootfs fstype, change method name...
Corneliu Stoicescu [Mon, 23 Jun 2014 12:59:45 +0000 (15:59 +0300)]
scripts/test-remote-image: add value check for rootfs fstype, change method name used.

As per change in the oeqa/targetcontrol.py's BaseTarget class, changing the use of get_image_fstype() to match_image_fstype().

Also because there is no longer a value check done by the target controller's match_image_fstype() method, we have to do one here.

+ one helper comment for the get_controller() method.

(From OE-Core rev: 6d8366bd6145bf3ad484ed9fe4b1ddb4c499f72b)

Signed-off-by: Corneliu Stoicescu <corneliux.stoicescu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agooeqa/targetcontrol.py: Separate the matching of supported image fstypes from the...
Corneliu Stoicescu [Mon, 23 Jun 2014 12:59:44 +0000 (15:59 +0300)]
oeqa/targetcontrol.py: Separate the matching of supported image fstypes from the resulting value check.

Because we used a bb.fatal call inside the get_image_fstype classmethod, this caused problems when accessed without instantiating the object with a valid bb environment.

Separating the matching part of the classmethod(that is usable by outside scripts) from the check of the resulting value.
The matching is done within a new classmethod and the latter keeps the old method name and internal functionality, this way we don't have to change any other target controllers code.

(From OE-Core rev: 50ddd5d0149666ad60133d8eb6cc789c5b97e5e4)

Signed-off-by: Corneliu Stoicescu <corneliux.stoicescu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoinit-install-testfs: create signature file for master image
Cristian Iorga [Fri, 20 Jun 2014 15:42:19 +0000 (18:42 +0300)]
init-install-testfs: create signature file for master image

Also small cosmetic changes.

(From OE-Core rev: 33c464269155f268cb08f086e530187bac61c299)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoinit-install-testfs: fix typo
Cristian Iorga [Fri, 20 Jun 2014 15:42:18 +0000 (18:42 +0300)]
init-install-testfs: fix typo

_EOF marker was not used properly
(space left before end of line).

(From OE-Core rev: 913fd224499c57c7596bd49e1eec5f570c3edf68)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agooe-core/init-install-testfs.sh: do not overwrite /etc/mtab if the link already exist
Cristian Iorga [Fri, 20 Jun 2014 15:42:17 +0000 (18:42 +0300)]
oe-core/init-install-testfs.sh: do not overwrite /etc/mtab if the link already exist

Overwriting of /etc/mtab would fail as below if the /etc/mtab link already
exist during installation phase, this patch fix this problem by checking
existance of the link before try to overwrite it.

Error message during installation if the /etc/mtab exists:
"cat: /proc/mounts: input file is output file"

(From OE-Core rev: 5cd96e28825d345650be878d4b7be4fea2996839)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoinit-install-testfs: add grub serial line support
Cristian Iorga [Fri, 20 Jun 2014 15:42:16 +0000 (18:42 +0300)]
init-install-testfs: add grub serial line support

For automated hardware testing, boot process control
via serial interface is needed. As such, in grub, serial
line support is added upon testmaster image install.

Also add a specific timeout to automatically start
the master image upon start of testing phase.

Tested on multiple hardware targets without issues.

(From OE-Core rev: 219228805a4d5d822894c8f6c2526e1b9a8609ff)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: Fix spacing and layout in no image files notification
Belen Barros [Wed, 11 Jun 2014 09:58:55 +0000 (10:58 +0100)]
bitbake: toaster: Fix spacing and layout in no image files notification

Close the definition list before adding the notification, and
restrict the notification width to avoid uncomfortable line
lenghts.

(Bitbake rev: b82f724c271c43218dc28440219adcea968e2a26)

Signed-off-by: Belen Barros <belen.barros.pena@intel.com>
Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: display message if no images are generated
Farrell Wymore [Fri, 23 May 2014 19:09:29 +0000 (12:09 -0700)]
bitbake: toaster: display message if no images are generated

Display message if no images are generated for a target. This
commit was amended to have more conditions for displaying the
message.

[YOCTO #6094]

(Bitbake rev: ac1911eb857f4759ed085c8a4fc4b47cefafcd7a)

Signed-off-by: Farrell Wymore <farrell.wymore@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: Add performance testing script
Ionut Chisanovici [Wed, 28 May 2014 12:52:26 +0000 (15:52 +0300)]
bitbake: toaster: Add performance testing script

This is implemented as a django management command.
For the moment the 'manage.py perf' command will track the toaster
'gui' urls http response code and load time.

To use it:
1. do your toaster builds
2. ensure toaster is started
1. cd bitbake/lib/toaster
2. ln -s ../../../build/toaster.sqlite
3. ./manage.py perf

(Bitbake rev: 4a1fc6851d21500150715f0e8fa03c0b228ec5f2)

Signed-off-by: Ionut Chisanovici <ionutx.chisanovici@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: refactor the target page
Farrell Wymore [Thu, 22 May 2014 21:58:14 +0000 (14:58 -0700)]
bitbake: toaster: refactor the target page

the target (packages) page had to refactored to
allow the displays to differ depending on the caller
namely the license manifest link. Amended to make the
link from the tag rather than the pathname itself.

[YOCTO #6291]
[YOCTO #6079]

(Bitbake rev: b21a2af9411da17d49521820fa512292e89c856e)

Signed-off-by: Farrell Wymore <farrell.wymore@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: build.py: Ensure shared work siginfo files are written to the correct location
Richard Purdie [Wed, 18 Jun 2014 16:59:39 +0000 (17:59 +0100)]
bitbake: build.py: Ensure shared work siginfo files are written to the correct location

Right now shared work signature data is saved to the non-shared directory
which is confusing to everyone including bitbake. Whilst its messy,
extra the stampbase data instead, which ensures the sig data is written
to the correct location alongside its corresponding stamp file.

(Bitbake rev: 7ae1d4844d9d3a76f86ef32c5a794e51e334e588)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosstatesig: Add try/except around the stat calls
Richard Purdie [Wed, 18 Jun 2014 16:58:56 +0000 (17:58 +0100)]
sstatesig: Add try/except around the stat calls

Its possible sstate symlinks to other sstate mirrors which then my get
removed/cleaned. If we find invalid symlinks, skip over them rather
than error with a backtrace.

(From OE-Core rev: 5ed9bb42abf93aa084dd23ca68cc996a94a51a10)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosstate: Fix shared work preconfigure task handling
Richard Purdie [Wed, 18 Jun 2014 16:58:18 +0000 (17:58 +0100)]
sstate: Fix shared work preconfigure task handling

When the preconfigure task was added to gcc, it wasn't added to sstate's list
of possible shared work tasks. This meant that diffsigs wasn't able to find
the preconfigure sigdata/info file since it has inconsistent naming.

This adds the task name to the list. Ideally this list would be autogenerated
or not even required, right now its a sanity test that the shared work
code works as intended so is best left as is.

(From OE-Core rev: 72032f6dd6724663a3417b1d1b666d9a63fcbfdb)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: bitbake-user-manual-fetching.xml: Grammar, typo, and tweaks.
Robert P. J. Day [Wed, 18 Jun 2014 11:25:40 +0000 (14:25 +0300)]
bitbake: bitbake-user-manual-fetching.xml: Grammar, typo, and tweaks.

Various grammatical and typo tweaks all in fetching chapter, including
moving CVS section after wget section for more logical content flow.

(Bitbake rev: 39bbc8f82894ca521d35645cd618dd131fde38ef)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: bitbake-user-manual-style.css: Removed dead .PNG file
Scott Rifenbark [Fri, 13 Jun 2014 04:38:15 +0000 (07:38 +0300)]
bitbake: bitbake-user-manual-style.css: Removed dead .PNG file

Fixes [YOCTO #6430]

I removed an old .PNG file that is not used.

(Bitbake rev: dc5adbb8ce140b6898f18bb99bac02aac16f2ac8)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: bitbake-user-manual: Added permalink support.
Scott Rifenbark [Fri, 6 Jun 2014 11:41:03 +0000 (14:41 +0300)]
bitbake: bitbake-user-manual: Added permalink support.

Fixes [YOCTO #5772]

I added the five XSL templates to the template folder.  I updated
the bitbake-user-manual-customization.xsl layer file to include
the new templates.

(Bitbake rev: e1c24a79ededb2dd4ac5ce09fcfdf93218261907)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: bitbake-user-manual-customization.xsl: Removed stale TOC variable.
Scott Rifenbark [Fri, 6 Jun 2014 11:34:01 +0000 (14:34 +0300)]
bitbake: bitbake-user-manual-customization.xsl: Removed stale TOC variable.

I deleted the commented out xsl:param line that attempts to
set labeling for Appendices.  It had been replaced by a working
line.

(Bitbake rev: bf79174e02cc113e0512bcadc3ab0fdffd138215)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: bitbake-user-manual-fetching.xml: Edits to the Git Submodule fetcher section.
Scott Rifenbark [Mon, 19 May 2014 13:03:02 +0000 (16:03 +0300)]
bitbake: bitbake-user-manual-fetching.xml: Edits to the Git Submodule fetcher section.

Exchanged "SRC_URI" for "URI" for clarity.

(Bitbake rev: 90cc450671eaabf917c10a8d01b729b6bc0f544c)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: bitbake-user-manual-fetching.xml: Added new Git Submodule Fetcher section.
Scott Rifenbark [Mon, 19 May 2014 11:49:56 +0000 (14:49 +0300)]
bitbake: bitbake-user-manual-fetching.xml: Added new Git Submodule Fetcher section.

Added the "GIT Submodule Fetcher (gitsm://)" section to the
fetchers chapter.  This information was provided by Chris
Morgan.

Reported-by: Chris Morgan <chmorgan@gmail.com>
(Bitbake rev: a3a3331e7118fd3139fe5a80b157a5a5b38631de)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodbus: don't override EXTRA_OECONF
Robert Yang [Wed, 18 Jun 2014 08:28:23 +0000 (01:28 -0700)]
dbus: don't override EXTRA_OECONF

We need use EXTRA_OECONF_append_class-native rather than
EXTRA_OECONF_class-native.

(From OE-Core rev: 5e1560b98680c79c979b8f9325f9f9997f9fd438)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agokernel-module-split: Fix KERNEL_MODULE_AUTOLOAD handling
Richard Purdie [Wed, 18 Jun 2014 09:39:39 +0000 (10:39 +0100)]
kernel-module-split: Fix KERNEL_MODULE_AUTOLOAD handling

Addresses the problem:

The stack trace of python calls that resulted in this exception/failure was:
File: 'split_kernel_module_packages', lineno: 164, function: <module>
     0160:        if len(os.listdir(dir)) == 0:
     0161:            os.rmdir(dir)
     0162:
     0163:
 *** 0164:split_kernel_module_packages(d)
     0165:
File: 'split_kernel_module_packages', lineno: 150, function: split_kernel_module_packages
     0146:     0147:    postinst = d.getVar('pkg_postinst_modules', True)
     0148:    postrm = d.getVar('pkg_postrm_modules', True)
     0149:
 *** 0150:    modules = do_split_packages(d, root='/lib/modules', file_regex=module_regex, output_pattern=module_pattern, description='%s kernel module', postinst=postinst, postrm=postrm, recursive=True, hook=frob_metadata, extra_depends='kernel-%s' % (d.getVar("KERNEL_VERSION", True)))
     0151:    if modules:
     0152:        metapkg = d.getVar('KERNEL_MODULES_META_PACKAGE', True)
     0153:        d.appendVar('RDEPENDS_' + metapkg, ' '+' '.join(modules))
     0154:
File: 'package.bbclass', lineno: 148, function: do_split_packages
     0144:                d.setVar('pkg_postrm_' + pkg, postrm)
     0145:        else:
     0146:            d.setVar('FILES_' + pkg, oldfiles + " " + newfile)
     0147:        if callable(hook):
 *** 0148:            hook(f, pkg, file_regex, output_pattern, m.group(1))
     0149:
     0150:    d.setVar('PACKAGES', ' '.join(packages))
     0151:    return split_packages
     0152:
File: 'split_kernel_module_packages', lineno: 109, function: frob_metadata
File "split_kernel_module_packages", line 109, in frob_metadata

Exception: AttributeError: 'NoneType' object has no attribute 'split'

ERROR: Function failed: split_kernel_module_packages

[YOCTO #6461]

[a revised version of a patch from Nitin Kamble]

(From OE-Core rev: f30d12b4fbfe7d6b581598efa9ceca69dcfb4294)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolttng-modules: update to 2.4.1-stable latest
Bruce Ashfield [Wed, 18 Jun 2014 01:29:51 +0000 (21:29 -0400)]
lttng-modules: update to 2.4.1-stable latest

The 3.15, and 3.14.5+ kernels introduced a change to trace_block_rq_complete,
which triggers the following build error:

    probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:151:6:
    error: conflicting types for 'trace_block_rq_complete'
    |  void trace_##_name(_proto);
    |       ^
    |
    probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:117:2:
    note: in expansion of macro 'DEFINE_EVENT_MAP'
    |   DEFINE_EVENT_MAP(template, name, name, PARAMS(proto), PARAMS(args))
    |   ^
    |
    probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/block.h:235:1:
    note: in expansion of macro 'DEFINE_EVENT'
    |  DEFINE_EVENT(block_rq_with_error, block_rq_complete,

The lttng 2.4.x-stable branch contains the fix (and several other small fixes), so
we bump the SRCREV to import the change.

Build tested against 3.14 and 3.10.

[YOCTO #6459]

(From OE-Core rev: bb304f306c0f6ee496a75a67c0bb8a6c1e41ddf2)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>