scm/bb/tizen-distro.git
10 years agowic: Add help text for 'wic list source-plugins'
Tom Zanussi [Sat, 5 Jul 2014 00:15:27 +0000 (19:15 -0500)]
wic: Add help text for 'wic list source-plugins'

Add both short and long text for the new 'wic list source-plugins'
command.

(From OE-Core rev: 4f20acc10b18c7353bd73f253943372dacd957ca)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agowic: Add command to list available source plugins
Tom Zanussi [Sat, 5 Jul 2014 00:11:49 +0000 (19:11 -0500)]
wic: Add command to list available source plugins

Add a 'wic list source-plugins' command enabling users to get a list
of valid partition --sources.  This is useful not only for determining
sources to use in .wks partition statements, but also for making sense
of errors in .wks partition processing.

(From OE-Core rev: 37db9423e7872012fabde67e8858db5b512832f6)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agorpm: disable -Wno-override-init
Robert Yang [Tue, 8 Jul 2014 15:39:20 +0000 (08:39 -0700)]
rpm: disable -Wno-override-init

Fixed rpm-native.do_configure error on CentOS 5.x:
cc1: error: unrecognized command line option "-Wno-override-init"

The -Wno-override-init was commented in rpm-5.4.9, but commented out in
rpm-5.4.14 thus it is failed to build on CentOS 5.x, comment it again to fix
the problem.

(From OE-Core rev: ad4a54a0f5bb667f5d5e3df2bcf841b05e0d0f2c)

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>
10 years agolibnss-mdns: replace hardcoded /etc with ${sysconfdir}
Koen Kooi [Tue, 8 Jul 2014 14:35:27 +0000 (16:35 +0200)]
libnss-mdns: replace hardcoded /etc with ${sysconfdir}

(From OE-Core rev: fd408c49fffbc63dc79954420a5cfa46809bd5ca)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibnss-mdns: support ipv6 in lookups
Koen Kooi [Tue, 8 Jul 2014 14:35:26 +0000 (16:35 +0200)]
libnss-mdns: support ipv6 in lookups

It nothing can resolve the hostname as ipv4 it will also try ipv6.
Ideally the mdns4_minimal should get replaced as well, but there's some
handwaving on the internet stating it will slow things down if your ipv6
network is misconfigured.
Since I can't verify that slowdown I've opted for the safe way and only
do ipv6 lookup in the fallback entry.

(From OE-Core rev: fdb5aaabea9e32d687c055ca25506dcffbb37867)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibpcap: fix depends on libnl
Robert Yang [Tue, 8 Jul 2014 04:40:06 +0000 (21:40 -0700)]
libpcap: fix depends on libnl

Fixed:
* libnl1 -> libnl
* Remove libnl from DEPENDS since we are using PACKAGECONFIG, the
  libnl in the DEPENDS didn't affect libpcap since the --without-libnl
  took effect before this patch, so it is safe to remove it.

(From OE-Core rev: f8abe9fe6e3c371d07711378c0fbfb4fad7eed81)

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>
10 years agoMove boot media to /media/realroot for easy access after boot.
Brian Lloyd [Sat, 28 Jun 2014 15:48:24 +0000 (10:48 -0500)]
Move boot media to /media/realroot for easy access after boot.

There are cases where software after boot may need to know the
current boot disk.  Under the current system, it is not guaranteed
which disk is the boot.  While /media/sda is a good guess, it
isn't always right, nor is it a good assumption that only one boot
disk is in the system.  This gives a standard path to the original
boot disk mount which can be used to, for instance, update the
syslinux file on the boot media with a newer kernel, or updating
the boot parameters to add user options for future boots.  Knowing
which disk is the boot media keeps from updating the non-boot
disk when for instance multiple syslinux boot medias are plugged in
(ie ensure correct syslinux is updated when the booted system is
updated).

(From OE-Core rev: 2be3b2607fd164d18498299dbfc020ff17dd2ca9)

Signed-off-by: Brian Lloyd <blloyd@familyhonor.net>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopackage.bbclass: add a stub implementation of package_name_hook
Ross Burton [Tue, 1 Jul 2014 15:56:53 +0000 (16:56 +0100)]
package.bbclass: add a stub implementation of package_name_hook

do_package() calls package_name_hook so that e.g. debian-style renaming through
debian.bbclass can happen.  If there is no class providing a package_name_hook
then this causes "WARNING: Function package_name_hook doesn't exist" every time
do_package() is executed.

Silence this warning by providing an empty package_name_hook in package.bbclass.

(From OE-Core rev: f6eb8e4e44b66217e4ada9f830a058c5ba120932)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobootimg.bbclass: Add parameter to specify HDDIMG volume ID
Ricardo Neri [Wed, 2 Jul 2014 00:57:38 +0000 (17:57 -0700)]
bootimg.bbclass: Add parameter to specify HDDIMG volume ID

Users and children of the bootimg class may need to specify at build
time the volume ID of the HDDIMG vfat partition. An example of this
may be when at runtime the partition is uniquely identified by
the volume ID.

The HDDIMG_ID is expected to be provided externally. If the variable
is not set, mkdosfs will use the default volume-id.

(From OE-Core rev: 869a5c07f0ecc21b8cfbd239e901a9a4501ef087)

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 agoinit-install-efi.sh: improve hard drive searching process
Drew Moseley [Wed, 2 Jul 2014 22:09:28 +0000 (18:09 -0400)]
init-install-efi.sh: improve hard drive searching process

(This patch was originally done against init-install.sh in
OE-Core rev 358f0584d779825307eec08c023b5ff14e72cf9e)

Previously, only unremovable hard drives are searched and are treated
as candidates of target disks to intall into.

However, it's possible that we're going to install the live image into
a removable media such as an USB. This patch enables this possibility.

In addition, this patch presents more information about the hard drives
so that user may have more knowledge about which hard drive they are
going to install their image into.

(From OE-Core rev: 7386acf4ab63a5959e4907b29459b767f2bf2fdb)

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 agoinit-install-efi.sh: fix to handle the boot partition correctly
Drew Moseley [Wed, 2 Jul 2014 22:09:29 +0000 (18:09 -0400)]
init-install-efi.sh: fix to handle the boot partition correctly

(This patch was originally done against init-install.sh in
OE-Core rev aa67b1333b4774e1845f562085f7048df65a644f)

Previously, the boot partition was created for the target hard drive
but there was no corresponding entry for it in /etc/fstab. Besides,
even if the boot partition was mounted, it would just result in odd
directory hierarchy like /boot/boot/grub. However, what we really need
is /boot/grub. This patch fixes this problem.

Besides, for future maintance work, this patch also renames some of the
intermediate directories. It uses more descriptive names like /tgt_root
and /src_root. The name of /ssd is dropped.

(From OE-Core rev: 3b1bae7ad8d36930aae840175c6a3433c1469772)

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 agogcc: Ensure c++ includes are in /usr/include/c++/${BINV}
Richard Tollerton [Thu, 3 Jul 2014 22:00:26 +0000 (17:00 -0500)]
gcc: Ensure c++ includes are in /usr/include/c++/${BINV}

It was observed that code using STLport 4.6 fails to compile under the
SDK with the following error message:

.../includes/cstddef:38:46: fatal error: ../4.7.2/cstddef: No such file
or directory

STLport 4.6 (screwily) assumes that the C++ system headers live in a
gcc-versioned subdirectory, for gcc>=3.0; cf
http://sourceforge.net/p/stlport/code/ci/STLport-4.6-patch/tree/stlport/config/stl_gcc.h#l269.

This assumption is *almost always* valid, because that matches the
default setting of --with-gxx-include-dir. We can match that behavior by
appending "/${BINV}" to our own --with-gxx-include-dir settings.

Natinst-CAR-ID: 446449
Natinst-Reviewboard-ID: 57209
Acked-by: Ken Sharp <ken.sharp@ni.com>
Acked-by: Ben Shelton <ben.shelton@ni.com>
(From OE-Core rev: 5a2ff3e8f7cd7a47a5ab4e581847ecc4df87fca3)

Signed-off-by: Richard Tollerton <rich.tollerton@ni.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobuilder: removed setting of BB_NUMBER_THREADS and PARALLEL_MAKE
Cristian Iorga [Fri, 4 Jul 2014 14:01:44 +0000 (17:01 +0300)]
builder: removed setting of BB_NUMBER_THREADS and PARALLEL_MAKE

This values are now adjusted automatically, based on underlying
hardware CPU cores count, so no need to enable manually.

(From OE-Core rev: 548f51122900ba600030005b888053bdf009fa31)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoweston: make webp explicitly configurable
Tim Orling [Fri, 4 Jul 2014 20:06:16 +0000 (13:06 -0700)]
weston: make webp explicitly configurable

This patch fixes:
    weston/weston/latest lost dependency on  libwebp
    weston/weston-examples/latest lost dependency on  libwebp
from:
http://lists.openembedded.org/pipermail/openembedded-core/2014-June/093704.html

(From OE-Core rev: f688ab0b8c3c1842d60cc2e18ac17af1f901f7b9)

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>
10 years agocogl-1.0: update to 1.18.2
Tim Orling [Fri, 4 Jul 2014 23:54:49 +0000 (16:54 -0700)]
cogl-1.0: update to 1.18.2

Announcement:
http://lists.freedesktop.org/archives/cogl/2014-July/001689.html

(From OE-Core rev: 2c7882cf1d73f26204685729a495771b75cf4f87)

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>
10 years agoinit-install.sh: Verify /sys based files exist before displaying them
Drew Moseley [Mon, 7 Jul 2014 00:43:00 +0000 (20:43 -0400)]
init-install.sh: Verify /sys based files exist before displaying them

Some mmc cards do not have all the data files in /sys/block
populated.  Check for existence before displaying the files
to avoid erroring out of the install process.

(From OE-Core rev: 1d73e3f9d9977382efdb0c111c556c6048bd60b4)

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 agobase-passwd: install passwd and group atomically
Robert Yang [Mon, 7 Jul 2014 04:40:37 +0000 (21:40 -0700)]
base-passwd: install passwd and group atomically

Fixed the race issue:
util-macros.do_package failed: 'getpwnam(): name not found: root'

The error happens when there is a half etc/passwd, fixed by:
$ install usr/share/base-passwd/passwd.master etc/passwd.master
$ mv etc/passwd.master etc/passwd

The "mv" is atomic which will fix this problem.

[YOCTO #6124]

(From OE-Core rev: cdbe55215e3dd1b82a6c147a31c7c40186a8bf80)

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>
10 years agokernel.bbclass: update KERNEL_IMAGE_MAXSIZE
Robert Yang [Mon, 7 Jul 2014 09:33:59 +0000 (02:33 -0700)]
kernel.bbclass: update KERNEL_IMAGE_MAXSIZE

* Make KERNEL_IMAGE_MAXSIZE and IMAGE_ROOTFS_SIZE have the same algorithm:
  - Use Kbytes as the unit since we use this in other codes.
  - Use "du" rather than "ls" to figure out the size since we use this in
    image.py.

[YOCTO #2610]

(From OE-Core rev: 7384d2831c713ac5999aca83c312154dc15cec56)

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>
10 years agogzip: move uncompress bin to avoid cross-fs link
Saul Wold [Tue, 24 Jun 2014 23:21:04 +0000 (16:21 -0700)]
gzip: move uncompress bin to avoid cross-fs link

(From OE-Core rev: 16aa94e4543fc6e6540b203bc716e6f275f514c7)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopackage.bbclass: Generate runtime-rprovides data
Richard Purdie [Wed, 9 Jul 2014 20:18:04 +0000 (21:18 +0100)]
package.bbclass: Generate runtime-rprovides data

Currently, given a list of rdepends its near impossible to figure out
which ones are potentially invalid and which might be an RPROVIDES of a
package.

This problem is simple to solve, we can write lookup data into the
pkgdata. This patch does that, accounting for the fact that multiple
packages can RPROVIDE the same thing (particularly with locales). Its
done with symlinks so the performance overhead is minimal.

(From OE-Core rev: 30b4bff944c4625696e9be97ce4912a2710d13e9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoinsane: Split do_package_qa into a separate task (from do_package)
Richard Purdie [Wed, 9 Jul 2014 20:15:34 +0000 (21:15 +0100)]
insane: Split do_package_qa into a separate task (from do_package)

Its possible to run the package QA checks as a separate task rather than
as part of the do_package task. This offers more parallelism but the
fact that made me propose this is that ideally we'd like to access
pkgdata to help add new tests and to do that, we need to run later in
the task list. We also need to add in RDEPENDS to the task which apply
to do_package_write_* but not do_package. See the subsequent patches
for why this is desireable.

If we split into a separate task, we need to add in calls to read
the sub package data, build the cache structure used by do_package and
cover the task with sstate (which is empty and just acts as a stamp
saying it passed package QA). We also need to handle our own
dependencies.

(From OE-Core rev: d31f75a72cb2322f753d945da86d5f3287eef06b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopackage.bbclass: Rewrite shlib_provider handling to include RPATH
Richard Purdie [Mon, 7 Jul 2014 17:40:55 +0000 (18:40 +0100)]
package.bbclass: Rewrite shlib_provider handling to include RPATH

Change the do_package shlibs code to account for RPATHS. This means that
for library dependency purposes, only libraries in system paths or in
any declared RPATH will be seen. This is important to resolve problems
people have been having where similarly named libraries in "private"
paths were conflicting, e.g. with gstreamer.

For now this code assumes the default search path is libdir and
base_libdir and places ASSUME_SHLIBS in libdir so they are searched by
default.

(From OE-Core rev: 48b9ecd5335f63fb2bcc47c4b23d067122734fe9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopackage.bbclass: Improve shlibs pkgdata file format
Richard Purdie [Mon, 7 Jul 2014 17:41:03 +0000 (18:41 +0100)]
package.bbclass: Improve shlibs pkgdata file format

Instead of having a .list file and a .ver file, place the version
information into the .list file in a ":" delimited string.

Also place the path to the library here, this can then be used to
evaluate RPATHs in the shlib dependency code.

Since the disk format has changed, the easiest way to avoid build
failures in the same TMPDIR is to change the shlibs directory to
shlibs2. sstate dependency code with ensure everything rebuilds.

(From OE-Core rev: 8dd09b3ddc572a338b4a6f1d859b68b2b4482d00)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopackage.bbclass: Rewrite sonames data structure to include library path
Richard Purdie [Mon, 7 Jul 2014 20:42:54 +0000 (21:42 +0100)]
package.bbclass: Rewrite sonames data structure to include library path

In order to do more advanced processing of the shared libraries, we need
to know where a given library is located on disk so we can know whether
its a system path or a private directory for example.

This patch adds this information into the 'sonames' data structure.

(From OE-Core rev: 5f48d53c5ed94b5c6aad9f73ff177aa35af90397)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopackage.bbclass: Improve shlibs needed data structure
Richard Purdie [Mon, 7 Jul 2014 17:41:23 +0000 (18:41 +0100)]
package.bbclass: Improve shlibs needed data structure

Improve the shlibs 'needed' data structure to include the file and
any rpath information. This allows various cleanups to the data structure
and moves us closer to being able to resolve shlibs providers issues
based on path in due course.

This commit doesn't change any stored data, just cleans up internal data
structures (for example dropping the needed_from dict).

(From OE-Core rev: d3aa7668a9f001044d0a0f1ba2de425a36056102)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosanity.bbclass: Update minimum git version to 1.7.8
Richard Purdie [Fri, 4 Jul 2014 10:49:50 +0000 (11:49 +0100)]
sanity.bbclass: Update minimum git version to 1.7.8

To quote "Maxin B. John" <maxin.john@enea.com>:

git version 1.7.8 added the --list option to git-branch. Since we depend on this
option in git.py, the minimum requiremnt for git should be updated to Git
1.7.8+

(From OE-Core rev: a5776ae532d6af1e880ab1a712dc768c900f88db)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoadt_installer: not download repo page
Chong Lu [Fri, 4 Jul 2014 08:45:16 +0000 (16:45 +0800)]
adt_installer: not download repo page

Add "--spider" argument to wget command, since we don't need to download
repo page, just check that it is there.

(From OE-Core rev: 72f24557bceace990e8e5d2d3b91586fc394cc3b)

Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoadt_installer: check the result of updating opkg
Chong Lu [Fri, 4 Jul 2014 08:45:15 +0000 (16:45 +0800)]
adt_installer: check the result of updating opkg

We should check the result of updating opkg rather than echo_info.
So we should call check_result function after updating opkg.

(From OE-Core rev: d55df5c6a707a3cf5e8d95896b1e43193482d95f)

Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoadt_installer: fix syntax error
Chong Lu [Fri, 4 Jul 2014 08:45:14 +0000 (16:45 +0800)]
adt_installer: fix syntax error

We need to check YOCTOADT_QEMU variable whether is equal to "y".
So we should use "==" rather than "=".

(From OE-Core rev: 656a784a7c43b619d51a47aab926d7c519cc3b4b)

Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoadt_installer: remove unnecessary variable
Chong Lu [Fri, 4 Jul 2014 08:45:13 +0000 (16:45 +0800)]
adt_installer: remove unnecessary variable

YOCTOADT_VERSION is not included in adt_installer.conf file.
Remove this variable, because we don't need it.

(From OE-Core rev: 9b7720f4efc578f0673935ab9ad98ad3f392716e)

Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobinconfig-disabled: add a default value and comment for BINCONFIG
Ross Burton [Mon, 7 Jul 2014 14:22:20 +0000 (15:22 +0100)]
binconfig-disabled: add a default value and comment for BINCONFIG

To avoid syntax errors when inheriting this class without setting BINCONFIG, add
a default value and a comment.

(From OE-Core rev: a7e808e9a0ff45f14235b2de3c53d89d98fde714)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoxserver-xorg: fix xshmfence autodetection
Ross Burton [Mon, 7 Jul 2014 13:40:49 +0000 (14:40 +0100)]
xserver-xorg: fix xshmfence autodetection

Add a PACKAGECONFIG for xshmfence.  If DRI3 is enabled, xshmfence also needs to
be enabled.

[ YOCTO #6507 ]

(From OE-Core rev: ff2e96cacc116cf362d4c5dc36f1b846672f98e0)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoxserver-xorg: add PACKAGECONFIG for libunwind
Ross Burton [Mon, 7 Jul 2014 13:40:48 +0000 (14:40 +0100)]
xserver-xorg: add PACKAGECONFIG for libunwind

The automatic detection of libunwind causes non-deterministic builds, so add a
PACKAGECONFIG option for it.

(From OE-Core rev: 6b1418a2ba1544ea481fd4a89b5aa25111ca20e8)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobluez5: upgrade to 5.21
Cristian Iorga [Mon, 7 Jul 2014 15:36:27 +0000 (18:36 +0300)]
bluez5: upgrade to 5.21

Bug fixes;
Features parity with Bluedroid and additional
support for Bluetooth 4.1 core technology and
upgraded profiles including HFP 1.6 + Wideband speech,
A2DP 1.3, AVRCP 1.5 and MPS;
It also provides full integration for aptX(R)
high-quality low-latency codec from CSR (codec license not included).

(From OE-Core rev: 1aeda16c353d855dc7e58aef5cbfebe2b462b1d8)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibcroco: disable /usr/bin/croco-6.0-config
Ming Liu [Sat, 5 Jul 2014 06:05:34 +0000 (14:05 +0800)]
libcroco: disable /usr/bin/croco-6.0-config

librsvg is the only recipe depending on libcroco, which doesn't refer to
croco-6.0-config any more, so we inherit binconfig-disabled here to
disable it.

(From OE-Core rev: 6776b9210deab868557e7871ad5f6ade4c79376c)

Signed-off-by: Ming Liu <ming.liu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibcap: use PACKAGECONFIG for attr and pam configurations
Ross Burton [Mon, 7 Jul 2014 15:44:24 +0000 (16:44 +0100)]
libcap: use PACKAGECONFIG for attr and pam configurations

Instead of hard-coding PAM/xattr on for target and off for native, slightly
abuse PACKAGECONFIG to add options (and pass them to make in do_compile).

(From OE-Core rev: 51540b64f62234c145fc32cfa3fbbaaebbeece08)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogroff: fix bindir transaction error
Ming Liu [Thu, 3 Jul 2014 09:30:01 +0000 (17:30 +0800)]
groff: fix bindir transaction error

bindir is transfered to Makefile as ${D}${bindir}, hence it should not
use DESTDIR as the prefix directory any more during the install.

(From OE-Core rev: c050e5c9490e9e8e07db7fbd5e6c1e1dbef3bf8c)

Signed-off-by: Ming Liu <ming.liu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agorpm_5.4+cvs: Add RPM community tree for future development
Mark Hatle [Thu, 3 Jul 2014 00:57:47 +0000 (19:57 -0500)]
rpm_5.4+cvs: Add RPM community tree for future development

Enable the rpm-5_4 branch via a specific recipe to help track the latest
community development.  This should allow us to more quickly move to the next
release when it is available.

(From OE-Core rev: c461454d7f3a20ccf9ca20c5c41c80c9becd985c)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopackage_rpm.bbclass: Should be using HOST_* not TARGET_*
Mark Hatle [Thu, 3 Jul 2014 00:57:46 +0000 (19:57 -0500)]
package_rpm.bbclass: Should be using HOST_* not TARGET_*

When building target packages, HOST_OS and TARGET_OS are the same, as is the
VENDOR field.  However, when building an SDK this is not true.  The patch
corrects the oversight and switches to using the 'HOST' version and resolves
the issue of meta-mingw not working w/ the rpm packaging.

(From OE-Core rev: 0fa1eb5c1296a38b332b63d539608da7ef56c3c0)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agorpm: Replace patch with backport from SCM version of RPM5
Mark Hatle [Thu, 3 Jul 2014 00:57:45 +0000 (19:57 -0500)]
rpm: Replace patch with backport from SCM version of RPM5

(From OE-Core rev: 17419e4577eb4b5786d4c0120f070e1660fa28ec)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agorpm: Upgrade to 5.4.14
Mark Hatle [Thu, 3 Jul 2014 00:57:44 +0000 (19:57 -0500)]
rpm: Upgrade to 5.4.14

Update various patches.  A few corrections to the patch descriptions,
otherwise simple quilt refresh or conflict resolution.

Remove rpm-solvedb.patch and rpm-respect-arch.patch.  These are both related
to the old solvedb package dependency solver.  This is no longer used since
we moved to smartpm.

rpm-stub-out-git_strerror was a backport and is no longer needed.

RPM 5.4.12 and newer normally requires Berkley DB 6.0 or newer.  A small
patch to configure allows RPM to dynamically select DB 5.3 or DB 6.0 based
on what is available at configure time.

(From OE-Core rev: 0c7b4a5e23836889196f85f472f081d51529e94e)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodb: Add version 6.0.30
Mark Hatle [Thu, 3 Jul 2014 00:57:43 +0000 (19:57 -0500)]
db: Add version 6.0.30

The latest version of RPM5 requires Berkley DB 6.0.20 or newer.

The license is now AGPL-3.0 in BDB 6.0.  This may not be acceptable to some, so
the previous version is retained as an alternative.

(From OE-Core rev: 04bb223110da2f92725c341bc3ec0cf26325f675)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoperl, perl-native, perl-ptest: upgrade from 5.14.3 to 5.20.0
Hongxu Jia [Tue, 1 Jul 2014 07:51:53 +0000 (15:51 +0800)]
perl, perl-native, perl-ptest: upgrade from 5.14.3 to 5.20.0

Changed:

- The Copying has no change, except the company address.

- pick patches from debian
  http://ftp.de.debian.org/debian/pool/main/p/perl/perl_5.20.0-1.debian.tar.xz
  - Not used by oe:
    deprecate-with-apt.diff
    patchlevel.diff
    fakeroot.diff

- Create/Update perl-rdepends_${PV}.inc by the hardcode script;

- Update config.sh by:
  1) Copy the Perl 5.20.0 source code onto your TARGET machine
    linux qemuarm 3.14.5-yocto-standard from OE-Core rev:
    f506d0660c9949485268a92724ac770b5457b0ca
  2) Execute sh Configure as normal and configure as required,
     do not "make";
  3) Compare with the old config.sh files, and update;

- perl-ptest.inc
  1) Copy the souce code to ptest since almost 112 test cases
     failed with the reason that no souce code found;
  2) Add two patches to fix test case issue;

- perl-native
  Reference perl (5.20.0-1) in debian to update perl shared library headers
  https://packages.debian.org/experimental/i386/perl/filelist

Obsolete:

- 09_fix_installperl.patch
  The dead code was removed from installperl
  http://perl5.git.perl.org/perl.git/commit/236818e0b9d9fe874831086b4d0b94dc6f245dfd

- perl-build-in-t-dir.patch
  The upstream has fix it. The issue description:
  Perl cannot cross build in a path containing a directory that has the
  name of "t".  As an example, you can make the perl build fail with
  "mkdir -p /tmp/build/t", go to the directory, unpack the sources,
  configure and cross build.

- 0001-Fix-misparsing-of-maketext-strings.patch
  as they are part of the upstream code now:
  http://perl5.git.perl.org/perl.git/commit/1735f6f53ca19f99c6e9e39496c486af323ba6a8

- 0001-Prevent-premature-hsplit-calls-and-only-trigger-REHA.patch
  the hash function changed:
  http://perl5.git.perl.org/perl.git/commit/7dc8663964c66a698d31bbdc8e8abed69bddeec3

(From OE-Core rev: c7ac82415efc42ff7a93c6df163f88f2dde00d26)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agokexec-tools: upgrade to 2.0.7
Ricardo Neri [Wed, 2 Jul 2014 00:56:51 +0000 (17:56 -0700)]
kexec-tools: upgrade to 2.0.7

Kexec-tools v2.0.7 is out, upgrade accordingly.

(From OE-Core rev: 318a8e65c8a9cc016fd9e0b7093443a27ade79a2)

Signed-off-by: Ricardo Neri <ricardo.neri-calderon@linux.intel.com>
CC: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibtasn1: update to 4.0
Maxin B. John [Wed, 2 Jul 2014 11:25:30 +0000 (13:25 +0200)]
libtasn1: update to 4.0

Bump version to 4.0

(From OE-Core rev: b4b52af3781b2c32b78b8a897a027bc51e056016)

Signed-off-by: Maxin B. John <maxin.john@enea.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agognutls: update to 3.3.5
Maxin B. John [Wed, 2 Jul 2014 11:25:29 +0000 (13:25 +0200)]
gnutls: update to 3.3.5

Bump version to 3.3.5

(From OE-Core rev: daa99947cb03d9e1a7d6c2c2fa71ab0399209689)

Signed-off-by: Maxin B. John <maxin.john@enea.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodb_5.3.*: Upgrade to 5.3.28
Mark Hatle [Thu, 3 Jul 2014 00:57:42 +0000 (19:57 -0500)]
db_5.3.*: Upgrade to 5.3.28

Simple upgrade, the license checksum change is related to a copyright date
change.

(From OE-Core rev: cc6223d24bfd85240399272ebf5f1dddb6150c79)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: fetch2/svn: Add transportuser parameter
Richard Purdie [Thu, 3 Jul 2014 10:39:34 +0000 (11:39 +0100)]
bitbake: fetch2/svn: Add transportuser parameter

There may be a need to set the user for the transport rather than the subversion
command itself. Add a parameter to the url to allow this.

[YOCTO #6475]

(Bitbake rev: 56c294dc30b6c2575b1cf904e26b8b8bef7677c2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: lib: fix no newline at end of file
Robert Yang [Thu, 3 Jul 2014 06:12:12 +0000 (14:12 +0800)]
bitbake: lib: 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

(Bitbake rev: 54f1359ed2e9d47980cd221b7b43ef56543fe06d)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: fix no newline at end of file
Robert Yang [Thu, 3 Jul 2014 06:12:12 +0000 (14:12 +0800)]
bitbake: toaster: 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

(Bitbake rev: 5eb65d92c35264087e5d82c35638f3b8805b1b3e)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoyocto-bsp: Drop GLIBC_ADDONS setting
Richard Purdie [Fri, 4 Jul 2014 08:09:54 +0000 (08:09 +0000)]
yocto-bsp: Drop GLIBC_ADDONS setting

This has been copied and pasted around and is not needed, simply drop it.
The defaults in the recipe work just fine.

(From meta-yocto rev: 037bce9a5f196df3cded9dfe6200188c1dd1d84a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoyocto-bsp: Update qemu inclusion lists
Richard Purdie [Fri, 4 Jul 2014 08:06:37 +0000 (08:06 +0000)]
yocto-bsp: Update qemu inclusion lists

Update qemu tune definitions to match changes in main qemu machines.

[YOCTO #6482]

(From meta-yocto rev: 0d78ffd509c6caba6c74c6e75c485fb8d923cd31)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobuild-appliance-image: Update to master head revision
Richard Purdie [Thu, 3 Jul 2014 16:48:55 +0000 (17:48 +0100)]
build-appliance-image: Update to master head revision

(From OE-Core rev: ee70d0cd42a280fd230abf35036ad237c96b3065)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibxml-parser-perl: fix do_compile failed with unrecognized option '-Wl, -O1'
Hongxu Jia [Tue, 1 Jul 2014 07:51:54 +0000 (15:51 +0800)]
libxml-parser-perl: fix do_compile failed with unrecognized option '-Wl, -O1'

Use '${CCLD}' as '${LD}' which the cpan was doing.
...
i586-poky-linux-ld: unrecognized option '-Wl,-O1'
i586-poky-linux-ld: use the --help option for usage information
...

Also fix do_configure warnings
...
'--SYSROOT' is not a known MakeMaker parameter name.
'-MARCH' is not a known MakeMaker parameter name.
...

(From OE-Core rev: c67dc89179977b2df80f25ebf66b7e983819a833)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoopenssh: avoid checking empty passwords to mess up with PAM modules
Chen Qi [Wed, 2 Jul 2014 06:24:39 +0000 (14:24 +0800)]
openssh: avoid checking empty passwords to mess up with PAM modules

Previously, even if PAM is enabled for ssh, the daemon still tries to
authenticate an empty password. This leads to authentication failure
which would mess up with PAM modules.

As a result, if 'UsePAM', 'PermitEmptyPasswords' and 'PasswordAuthentication'
are enabled, no user can login correctly. We would meet the following error
message at the client side.

Write failed: Broken Pipe

This patch fixes the above problem by checking whether PAM is enabled before
authenticating an empty password. After all, if PAM is enabled, the task of
authenticating passwords should be handled to PAM modules.

[YOCTO #6466]

(From OE-Core rev: e017ae71dad4837b0d22f291b0b0e0949075f822)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoautotools.bbclass: remove autotools_set_crosscompiling
Ross Burton [Wed, 2 Jul 2014 10:24:11 +0000 (11:24 +0100)]
autotools.bbclass: remove autotools_set_crosscompiling

The only reference to this function is a commented-out assignment, and nothing
in oe-core nor meta-oe uses autotools_set_crosscompiling directly.  As it's
unused, remove it.

(From OE-Core rev: adaa0568390d0dfef1c4d87809601aab85299e97)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoscripts/contrib/verify-homepage.py: add a script to verify HOMEPAGE
Chong Lu [Wed, 25 Jun 2014 09:39:44 +0000 (17:39 +0800)]
scripts/contrib/verify-homepage.py: add a script to verify HOMEPAGE

Add a script to verify all the recipes' HOMEPAGE.

[YOCTO #5689]

(From OE-Core rev: 2dfb2ef06763cb6044dc1630875024e7310b3df4)

Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake.conf: automatically add libexecdir/BPN/.debug to -dbg
Ross Burton [Tue, 1 Jul 2014 16:04:41 +0000 (17:04 +0100)]
bitbake.conf: automatically add libexecdir/BPN/.debug to -dbg

pkglibexecdir is a fairly common location for package-specific binaries (in
automake this is $libexecdir/$PACKAGE), and binaries in there are already
installed to FILES_PN, so add the corresponding .debug directory to
FILES_PN-dbg.

(From OE-Core rev: 4d3ffde4649ed116a1c21afef41f71bfe1d471de)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoglib-2.0: silence QA warnings about libraries outside ${libdir}
Ross Burton [Tue, 1 Jul 2014 15:59:14 +0000 (16:59 +0100)]
glib-2.0: silence QA warnings about libraries outside ${libdir}

The test suite is installed into ${libexecdir} and as that may be outside of
${libdir} the QA test needs to be silenced.

(From OE-Core rev: d354d339a38d22f1a5bca14341229d2282647fbb)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoAdded testcase decorator to use in logging. Added class decorator LogResults that...
Lucian Musat [Fri, 27 Jun 2014 14:32:13 +0000 (17:32 +0300)]
Added testcase decorator to use in logging. Added class decorator LogResults that outputs test results in separate log file.

(From OE-Core rev: 7e2b73f1ccfe2968ef780fef2edfaa31c3dae853)

Signed-off-by: Lucian Musat <georgex.l.musat@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoelfutils/elfutils-native: Fix patching generated files
Roxana Ciobanu [Tue, 1 Jul 2014 14:17:00 +0000 (17:17 +0300)]
elfutils/elfutils-native: Fix patching generated files

 Patch redhat-portability.diff was patching generated files.
 This patch removes every hunk related to Makefile.in and configure files.

 [YOCTO #6491]

(From OE-Core rev: 60efcf67ba2b556bcd5ffea0056884189d5bed52)

Signed-off-by: Roxana Ciobanu <roxana.ciobanu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolib/oe/package_manager.py: Fix _pkg_translate_smart_to_oe function
Mark Hatle [Thu, 3 Jul 2014 00:57:41 +0000 (19:57 -0500)]
lib/oe/package_manager.py: Fix _pkg_translate_smart_to_oe function

File: '/home/mhatle/git/oss/oe-core/meta/lib/oe/package_manager.py', lineno: 278, function: _pkg_translate_smart_to_oe
     0274:
     0275:            if found == 1 and fixed_arch == fixed_cmp_arch:
     0276:                break
     0277:        #bb.note('%s, %s -> %s, %s' % (pkg, arch, new_pkg, new_arch))
 *** 0278:        return new_pkg, new_arch
     0279:
     0280:    def _list_pkg_deps(self):
     0281:        cmd = [bb.utils.which(os.getenv('PATH'), "rpmresolve"),
     0282:               "-t", self.image_rpmlib]
Exception: UnboundLocalError: local variable 'new_arch' referenced before assignment

(From OE-Core rev: acd8bfc9378df0a2e1d6ea3858675b9fe350946d)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibav: add PACKAGECONFIG for theora, libvorbis, speex and openssl
Matthieu Crapet [Mon, 30 Jun 2014 14:23:21 +0000 (16:23 +0200)]
libav: add PACKAGECONFIG for theora, libvorbis, speex and openssl

Dropped libvorvis dependency because there is already a (better) builtin vorbis codec.
Don't confuse codec names: "vorbis" (builtin) and "libvorbis" (using external library).

Changes:
- add --enable-nonfree when faac or openssl are used
- add DESCRIPTION
- sort PACKAGECONFIG entries

Tested with libav-0.8.11 & libav-9.13.

Note: Be sure to have a recent version of bitbake (2014-06-11 or better) including this:
http://cgit.openembedded.org/bitbake/commit/?id=2e742c03e8dfdfa67899e7f5d579ed14bd87e139
It affects behavior of bb.utils.contains_any

(From OE-Core rev: 62eede9de6fa1c76fa97ca5c6ba2d31309759b10)

Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogtk+: Add PACKAGECONFIG for directfb
Martin Jansa [Mon, 16 Dec 2013 13:14:51 +0000 (14:14 +0100)]
gtk+: Add PACKAGECONFIG for directfb

* building without x11 doesn't work, because it sets default
  gdkbackend to x11 and then requires cairo-xlib to be available
* checking for CAIRO_BACKEND... no
  configure: error: Package requirements (cairo-xlib >= 1.6) were not met:

  No package 'cairo-xlib' found

(From OE-Core rev: a9f36bee8ef79ce7c9e3545ab5c854a45c232661)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoadt_installer: Fix real envrionment script issues
Richard Purdie [Tue, 1 Jul 2014 17:01:07 +0000 (18:01 +0100)]
adt_installer: Fix real envrionment script issues

The previous change to adt_installer was incorrect, this reverts it and
fixes the real issue. The real issue is that if a previous installation was
present, it may have been moved and therefore the paths returned by opkg
could be a little odd.

To address this, when we move files to a different location, ensure we
update the *.list files with the revised paths. This means later installs
over the top return consistent values from opkg and the script works
as intended.

(From OE-Core rev: 8a206f88e5396d7d136480e0efdb5071d5aafeb6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agotoolchain-scripts: Add handling for CANADIANEXTRAOS
Richard Purdie [Tue, 1 Jul 2014 17:00:36 +0000 (18:00 +0100)]
toolchain-scripts: Add handling for CANADIANEXTRAOS

When we build a general toolchain script we should add all the OS
variants to PATH, not just the current one. This is because some can
cross reference each other and if the triplet prefixed ld can't be found
for example, you recieve strange errors.

Doing this resolves bugs exposed during SDK testing.

[YOCTO #6490]

(From OE-Core rev: 5f8bbb15c2b79a94ad547347306b59bd67dba3e8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agometa: fix no newline at end of file
Robert Yang [Thu, 3 Jul 2014 06:54:37 +0000 (14:54 +0800)]
meta: 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 OE-Core rev: b3090263ba31702631270643c7a7d7af8f4d9234)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agorunqemu-extract-sdk: normalize paths to improve output
Chen Qi [Thu, 3 Jul 2014 03:02:21 +0000 (11:02 +0800)]
runqemu-extract-sdk: normalize paths to improve output

Previously, we would have output like below from runqemu-extract-sdk.

    Creating directory /home/chenqi/poky/build-systemd/./nfs-root

Normalize paths for runqemu-extract-sdk so that we have output like below.

    Creating directory /home/chenqi/poky/build-systemd/nfs-root

(From OE-Core rev: c85f5ec502fecb1ff63f8e795a0da5fc92eca0c1)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoqemu: fix qemu-native pkg-config paths
Cristian Iorga [Thu, 3 Jul 2014 12:57:32 +0000 (15:57 +0300)]
qemu: fix qemu-native pkg-config paths

For qemu-native, the pkg-config paths do not
include build host paths.
This is an issue for libsdl for example, where SDL is
used by qemu, but for qemu-native libsdl-native is not
built, but assumed to be provided by the build host.
Because pkg-config do not search for libsdl config files
on the build host sysroot, the configure stage of qemu-native
will fail because it will not find SDL as being installed.
Usually, the isssue is masked by a functional sdl-config that
will be interogated instead of pkg-config. However, on Build
Appliance, sdl-config is deliberately made non-functional,
so the issue manifests itself.

The fix will create an extended PKG_CONFIG_PATH, which does
include the build host sysroot paths for pkg-config.

Fix for [YOCTO #6495].

(From OE-Core rev: 68a5ed337f8f7ee8e5bf55542ec82d786eb754db)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoinit-install-testfs.sh: add '--hotkey x' to 'test' menuentry
Corneliu Stoicescu [Thu, 3 Jul 2014 13:04:57 +0000 (16:04 +0300)]
init-install-testfs.sh: add '--hotkey x' to 'test' menuentry

Add a hotkey for the GRUB 'test' menuentry. This can be used by expect scripts to boot into 'test' when doing runtime hardware tests.

(From OE-Core rev: 17b97fd6c724ba6e506cbadb18facdfd9c472e79)

Signed-off-by: Corneliu Stoicescu <corneliux.stoicescu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: templates: Added newline character to end of script.
Scott Rifenbark [Thu, 3 Jul 2014 12:26:35 +0000 (15:26 +0300)]
bitbake: templates: Added newline character to end of script.

Prevents errors when editing in vi and writing and quiting.

(Bitbake rev: 01692654cd792eaf6362bbac9c34314db4a7ffea)

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 OVERRIDES variable.
Scott Rifenbark [Fri, 27 Jun 2014 12:44:00 +0000 (15:44 +0300)]
bitbake: bitbake-user-manual-ref-variables.xml: Edits to OVERRIDES variable.

More detail.

(Bitbake rev: 0ac8a504de1798dae02eb2dade2776e7e25d034d)

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: Minor fixes.
Robert P. J. Day [Fri, 27 Jun 2014 04:50:56 +0000 (07:50 +0300)]
bitbake: bitbake-user-manual-execution.xml: Minor fixes.

Collection of typo and grammar fixes from "Execution"
chapter.

(Bitbake rev: ebca1b7847ff34213e6da71c79f00cb4b6b0757b)

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: Minor fixes mostly grammar adjustments.
Robert P. J. Day [Fri, 27 Jun 2014 04:29:11 +0000 (07:29 +0300)]
bitbake: bitbake-user-manual-intro.xml: Minor fixes mostly grammar adjustments.

(Bitbake rev: fedc5470e9f4f5438d3de957f47985f76a484533)

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 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>