scm/bb/tizen-distro.git
10 years agobitbake: toaster: remove author field
Alexandru DAMIAN [Thu, 14 Nov 2013 10:52:59 +0000 (10:52 +0000)]
bitbake: toaster: remove author field

The AUTHOR field in most recipes is not defined,
or it's not really consistently set in the metadata,
Also does it seem particularly useful.

This patch removes the AUTHOR variable from the
toaster system

    [YOCTO #5449]

(Bitbake rev: da3ac049300be84defab7b32b0b99ab07c7d0a27)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: fix tasks showing as NoExec
Alexandru DAMIAN [Thu, 14 Nov 2013 10:52:58 +0000 (10:52 +0000)]
bitbake: toaster: fix tasks showing as NoExec

Tasks without script type information showed by default
as NoExec; this happens for all Prebuild or Covered
tasks, as script type information comes only on TaskStarted
event. Such a default value may drive confusion, as NoExec value
should be reserved for the NoExec-flagged tasks.

This patch adds a new default value named Unknown that will be
used for all tasks that don't have script type information
available.

    [YOCTO #5327]

(Bitbake rev: ec6cac74290f0d4f5b60222019c23416b4b8e1ef)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolinux-yocto/3.10: meta: ARM: OMAP3: Add USB PHY driver for Beagleboard
Bruce Ashfield [Wed, 13 Nov 2013 16:40:10 +0000 (16:40 +0000)]
linux-yocto/3.10: meta: ARM: OMAP3: Add USB PHY driver for Beagleboard

Updating the meta branch SRCREV to update the USB configuration:

    The Beagleboard needs the USB PHY drivers in the kernel in order to enable
    USB and Ethernet functionality. This fix ensures that they are built in
    by tweaking the kernel config.

    Tested on Beagleboard xM Rev. C2.

(From OE-Core rev: 89a372840a957e540bed954e629aa68335b3dfe0)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolinux-yocto-rt/3.10: fix ntp merge issue
Bruce Ashfield [Thu, 14 Nov 2013 16:55:25 +0000 (11:55 -0500)]
linux-yocto-rt/3.10: fix ntp merge issue

Updating the -rt SRCREVs to pick up the following fix:

    ntp: fix ntp_notify_cmos_timer merge issue

    PREEMPT_RT_FULL has a stubbed ntp_notify_cmos_timer due to a bad merge.
    Renaming and restoring the full -rt functionality to this routine.

(From OE-Core rev: 41d4f0feca69bf1b41f16f5f7d21bf7540e6c47a)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolinux-yocto/3.10: meta: ARM: OMAP3: Add USB PHY driver for Beagleboard
Bruce Ashfield [Thu, 14 Nov 2013 16:55:24 +0000 (11:55 -0500)]
linux-yocto/3.10: meta: ARM: OMAP3: Add USB PHY driver for Beagleboard

Updating the meta branch SRCREV to update the USB configuration:

    The Beagleboard needs the USB PHY drivers in the kernel in order to enable
    USB and Ethernet functionality. This fix ensures that they are built in
    by tweaking the kernel config.

    Tested on Beagleboard xM Rev. C2.

(From OE-Core rev: 2a9944514362445ee891f6e77c4ae62950e247b3)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoclasses/license: use "1" to set boolean variables
Paul Eggleton [Wed, 13 Nov 2013 14:32:44 +0000 (14:32 +0000)]
classes/license: use "1" to set boolean variables

The expected usage of COPY_LIC_MANIFEST and COPY_LIC_DIRS appears to be
to set them to "1" to enable; however the test here is just testing
whether they have a value at all, so setting them to "0" would also
enable them which is somewhat disingenuous. Actually check if they are
set to "1" instead in order to fix this.

(From OE-Core rev: 2d8e124adcf27af524eeeae61daf1b21a1c2f27c)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoclasses/pkg_metainfo: remove
Paul Eggleton [Wed, 13 Nov 2013 14:32:48 +0000 (14:32 +0000)]
classes/pkg_metainfo: remove

This is very old, and we now have pkgdata which is much more complete.
Nobody appears to be using this class, and even OE-Classic had no
current references to it.

(From OE-Core rev: e67dbb638044b804738bdd589d64d45963a3297a)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoclasses/pkg_distribute: remove
Paul Eggleton [Wed, 13 Nov 2013 14:32:47 +0000 (14:32 +0000)]
classes/pkg_distribute: remove

This appears to be a very old way of archiving recipes and associated
files. We have better ways of doing this now, and nobody appears to be
using this class - even OE-Classic had no current references to it.

(From OE-Core rev: e3141844ef84d8a48efa81e0c9c85821ced16f7c)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosystemd: fix comments
Paul Eggleton [Wed, 13 Nov 2013 14:32:46 +0000 (14:32 +0000)]
systemd: fix comments

It's DISTRO_FEATURES; DISTRO_FEATURE is invalid.

(From OE-Core rev: d2380c683d5411e7a85c3ce80115aea329187534)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoclasses/license: fix comments
Paul Eggleton [Wed, 13 Nov 2013 14:32:45 +0000 (14:32 +0000)]
classes/license: fix comments

It's LICENSE_FLAGS, LICENSE_FLAG is invalid.

(From OE-Core rev: 70bd620b58ddd90477d9f438922ee3bdc7e8c5a5)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogtk-immodules-cache: fix error message to use correct names
Paul Eggleton [Wed, 13 Nov 2013 14:32:43 +0000 (14:32 +0000)]
gtk-immodules-cache: fix error message to use correct names

It's gtk-immodules-cache and GTKIMMODULES_PACKAGES.

(From OE-Core rev: 10cc4ceb813128676e78d04068ad089f6b4a697b)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake.conf: remove CPU_FEATURES defaults
Paul Eggleton [Wed, 13 Nov 2013 14:32:42 +0000 (14:32 +0000)]
bitbake.conf: remove CPU_FEATURES defaults

This variable has been unused since the tune file overhaul two years
ago.

(From OE-Core rev: a1d9f2374ede768057fd364da6c0e1eeeb10499f)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoclasses/sanity: validate SDKMACHINE value
Paul Eggleton [Wed, 13 Nov 2013 14:32:40 +0000 (14:32 +0000)]
classes/sanity: validate SDKMACHINE value

If SDKMACHINE is set then check that a configuration file matching it
actually exists, otherwise the user won't know that they've set it
incorrectly.

(From OE-Core rev: 8c984f92af821a4048c93f8e308c5f4a3fa39ca4)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake.conf: remove BOOTSTRAP_EXTRA_* variable defaults
Paul Eggleton [Wed, 13 Nov 2013 14:32:41 +0000 (14:32 +0000)]
bitbake.conf: remove BOOTSTRAP_EXTRA_* variable defaults

These were for task-bootstrap in OE-Classic and have never been used in
OE-Core.

(From OE-Core rev: f4692afb518f07e17fbd35a2023877b7041abef9)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoclasses/insane: improve LIC_FILES_CHKSUM messages
Paul Eggleton [Wed, 13 Nov 2013 14:32:39 +0000 (14:32 +0000)]
classes/insane: improve LIC_FILES_CHKSUM messages

* If the md5 parameter is specified with no value, report that the
  checksum is not specified instead of reporting that it has changed
* If the md5 checksum has changed, point directly to the license file in
  a way that is easy to copy and paste and give the line numbers in an
  easy to read form, as well as asking the user to verify that the new
  contents matches the current LICENSE value.

(From OE-Core rev: ec8590aa81e201e28e500935d31cd7266114471f)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoscripts/create-recipe: fix handling of --help
Paul Eggleton [Wed, 13 Nov 2013 14:32:38 +0000 (14:32 +0000)]
scripts/create-recipe: fix handling of --help

If --help is specified as the first argument, show the standard help
text instead of trying to process it as a URL.

(From OE-Core rev: abb139b10c3f431bcebb1847621f97d7ec6249ce)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoperl: perl-ptest.inc polutes package dependencies when ptest not enabled
Jeffrey C Honig [Wed, 13 Nov 2013 16:37:41 +0000 (11:37 -0500)]
perl: perl-ptest.inc polutes package dependencies when ptest not enabled

When ptest is not enabled, the populate_packages_prepend function runs
wheter ptest is enabled or not.  This causes ptest packages to get in the
dependencies list when ptest is not enabled.

(From OE-Core rev: 826f4e4057a221127ac4c1d0658d975032fc7d90)

Signed-off-by: Jeffrey C Honig <jeffrey.honig@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoclasses/image-empty: remove
Paul Eggleton [Wed, 13 Nov 2013 19:05:58 +0000 (19:05 +0000)]
classes/image-empty: remove

We don't actually need this dummy class; "inherit" can be used with an
expression that evaluates to nothing with current BitBake.

(From OE-Core rev: f312eb2d2a2715e772ed9e8afc7aea326d8079ec)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agostaging: Use hardlinking for sysroot_stage_dir
Richard Purdie [Wed, 13 Nov 2013 18:05:30 +0000 (18:05 +0000)]
staging: Use hardlinking for sysroot_stage_dir

This saves about 2GB on a core-image-sato build so is worth doing and is
consistent with our efforts to try and decrease our build footprint.

Build time in my local test seemed unaffected but on more IO bound
machines it should help.

(From OE-Core rev: 7136cbc64e5efb09f3fae3e2e35a181ca3d66dd4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: cooker: replace "w" file opening mode with "a" mode
Cristiana Voicu [Tue, 12 Nov 2013 16:12:17 +0000 (18:12 +0200)]
bitbake: cooker: replace "w" file opening mode with "a" mode

Also removed some redundant file manipulation code
Based on patch sent by Stefan Stanacar <stefanx.stanacar@intel.com>

(Bitbake rev: e054c1e7c8581f66082fcdfb89769401ca6e78a3)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: convert build_package size to bytes to keep consistence
Cristiana Voicu [Tue, 12 Nov 2013 14:50:24 +0000 (16:50 +0200)]
bitbake: toaster: convert build_package size to bytes to keep consistence

[YOCTO #5503]
(Bitbake rev: 19eb6e01b675c439ff0a817be6fa5e34ad42ba37)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: newbb.vim: fix spelling
Trevor Woerner [Mon, 11 Nov 2013 18:51:30 +0000 (13:51 -0500)]
bitbake: newbb.vim: fix spelling

(Bitbake rev: 0bd1a3026a26c2c01abd31e265668541f6201bae)

Signed-off-by: Trevor Woerner <trevor.woerner@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobinutils: Add gnu-config-native to DEPENDS
Phil Blundell [Tue, 12 Nov 2013 13:43:21 +0000 (13:43 +0000)]
binutils: Add gnu-config-native to DEPENDS

do_configure() in binutils.inc includes an explicit call to
gnu-configize so we need to make sure that gnu-config-native is
present.  Previously this was being dragged in with the rest of the
autotools stuff, but commit 54a3e2ee37003fc56af0339f857b0b6442790c26
disabled that for binutils-cross on the grounds that "we don't
autoreconf" the toolchain components.  Fix this by adding
gnu-config-native itself explicitly to DEPENDS.

(From OE-Core rev: 616354f13732d13c17434d5b60b166f691c25761)

Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoinsane, license: Trap MalformedUrl exceptions when parsing LIC_FILES_CHKSUM
Phil Blundell [Tue, 12 Nov 2013 13:29:24 +0000 (13:29 +0000)]
insane, license: Trap MalformedUrl exceptions when parsing LIC_FILES_CHKSUM

bb.fetch.decodeurl() will throw if it doesn't like the look of the URL that
it's given.  (Bitbake's idea of what constitutes a valid URL is somewhat
idiosyncratic so it is fairly easy to trip over this by mistake when writing
a recipe.)

If these exceptions are allowed to propagate all the way up to better_exec()
then we will get a large amount of python stack trace spew when they are
finally caught.  Avoid that by catching them locally and throwing
bb.build.FuncFailed() with a suitable explanation instead.

(From OE-Core rev: ef35e164c62d89806367b822e3baeff482ec237f)

Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoautogen-native: remove the unnecessary RDEPENDS
Jackie Huang [Sat, 9 Nov 2013 05:52:46 +0000 (13:52 +0800)]
autogen-native: remove the unnecessary RDEPENDS

The recipe only provides native packge, the RDEPENDS is not necessary.
Remove it and also two unnecessary comment lines.

(From OE-Core rev: 915c1a35ed3ac7eb650d68c079d6b7cda781b106)

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoRevert "glib-2.0: Specify libiconv when building on uclibc"
Khem Raj [Thu, 7 Nov 2013 06:02:31 +0000 (22:02 -0800)]
Revert "glib-2.0: Specify libiconv when building on uclibc"

This reverts commit 38b6c4df7c215ed7fd6be107fbc2527e66791e2e.

Its not needed anymore after upgrade to 2.38

(From OE-Core rev: 3efd8530053cf54e3f0b0fc6a96272fdb2ee27ba)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake.conf: Default DISTRO to nodistro
Richard Purdie [Thu, 7 Nov 2013 22:35:07 +0000 (22:35 +0000)]
bitbake.conf: Default DISTRO to nodistro

An empty distro value leads to OVERRIDES and FILESOVERRIDES containing
"::" entries which causes odd issues such as files being included when
they shouldn't be. We could put in anonymous python to guard against
empty entries but its messy and setting a default value for DISTRO to
something harmless is much easier.

This patch adds a weak default and ensures the sanity test doesn't
complain about it.

DISTRO_VERSION and SDK_VERSION are also updated to match.

(From OE-Core rev: b7279f99639774674da806d37d252f388f33055f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoe2fsprogs: fix tests/f_extent_oobounds
Robert Yang [Sat, 9 Nov 2013 07:21:41 +0000 (02:21 -0500)]
e2fsprogs: fix tests/f_extent_oobounds

tests/f_extent_oobounds runs debugfs from the system, not from the
source tree, and if the system's debugfs doesn't have the extent_open
command it fails silently.

Use $DEBUGFS and $MKE2FS to get the in-tree executables for this test,
just like other test scripts do.

(Build machines which run make check shouldn't need to have e2fsprogs
installed, and we should be testing just-built versions of the tools
anyway)

This patch is from:
http://www.spinics.net/lists/linux-ext4/msg38880.html

Eric Sandeen had sent it to the linux-ext4 mailing list, but haven't
been merge by now.

[YOCTO #5511]

(From OE-Core rev: 22465cef87b4b1685b3b131751eaf528503b264c)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocore-image-weston: add SSH and hwcodecs to the image
Ross Burton [Mon, 11 Nov 2013 12:21:13 +0000 (12:21 +0000)]
core-image-weston: add SSH and hwcodecs to the image

core-image-sato has these by default so add them here too.

(From OE-Core rev: 1ddcdc9cbc94188a7ca564ca4cb783a356fe7ab6)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoicecc: Fix race condition when packaging toolchain
Tobias Henkel [Tue, 12 Nov 2013 08:34:03 +0000 (09:34 +0100)]
icecc: Fix race condition when packaging toolchain

In the current implementation there can be a race condition while
creating the toolchain archive causing the build to break.

This is fixed by locking the toolchain archiving step using flock.

(From OE-Core rev: 8a30be803e91e66688cfc27ca4c21f26fb22eed8)

Signed-off-by: Tobias Henkel <tobias.henkel@bmw-carit.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoicecc: Add package whitelist
Tobias Henkel [Tue, 12 Nov 2013 08:34:02 +0000 (09:34 +0100)]
icecc: Add package whitelist

There are some recipes which parse the PARALLEL_MAKE variable by their
own and set them to an empty string afterwards. This disables icecc
for this recipe.

Adding a whitelist for forcing icecc makes it possible to use icecc
also with these recipes.

(From OE-Core rev: d2735ac44887c7e01134d6870a4875a786501eba)

Signed-off-by: Tobias Henkel <tobias.henkel@bmw-carit.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoicecc: Support shell evaluation of KERNEL_CC
Tobias Henkel [Tue, 12 Nov 2013 08:34:01 +0000 (09:34 +0100)]
icecc: Support shell evaluation of KERNEL_CC

In the current implementation a KERNEL_CC variable containing shell
evaluation breaks the build process. Shell expansion is not happening
before general expansion in get_cross_kernel_cc which results in a
syntax error and an aborted parse process.

Before expanding the KERNEL_CC variable get_cross_kernel_cc now checks
for backticks or '$(' in the KERNEL_CC variable and performs a shell
evaluation using a call to echo if it finds one.

(From OE-Core rev: b28bae30fc5d8d1d7cc675ddb4159c39fb9bc3fd)

Signed-off-by: Tobias Henkel <tobias.henkel@bmw-carit.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoicecc: Enable icecc also for install step
Tobias Henkel [Tue, 12 Nov 2013 08:34:00 +0000 (09:34 +0100)]
icecc: Enable icecc also for install step

Some packages are calling the compiler in the install step. In this
case either the build breaks or icecc is not used for building. The
proper environment has to be set to enable icecc based building.

(From OE-Core rev: bb1366cebb60593fc21fd7a9a678a159da8ec81c)

Signed-off-by: Tobias Henkel <tobias.henkel@bmw-carit.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoicecc: Add dummy python version of set_icecc_env
Tobias Henkel [Tue, 12 Nov 2013 08:33:59 +0000 (09:33 +0100)]
icecc: Add dummy python version of set_icecc_env

Bitbakes prepend mechanism for the tasks disregards the type of the
function. Thus bitbaking recipes using python functions for configure,
compile or install steps fail due to the missing python version of
set_icecc_env.

Assuming that icecc doesn't need to be used in such situations adding
a dummy python version of set_icecc_env fixes this.

(From OE-Core rev: 365dec500166b8eb9d64c573dd7139d3a26ae445)

Signed-off-by: Tobias Henkel <tobias.henkel@bmw-carit.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoicecc: Add blacklist vars to BB_HASHBASE_WHITELIST
Tobias Henkel [Tue, 12 Nov 2013 08:33:58 +0000 (09:33 +0100)]
icecc: Add blacklist vars to BB_HASHBASE_WHITELIST

Changing any of the ICECC blacklist variables should not change the
sstate checksum as this doesn't influence the build result.

(From OE-Core rev: 0f7dc969e64bc7563e208a4fb7d3ebe7c4e69e79)

Signed-off-by: Tobias Henkel <tobias.henkel@bmw-carit.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoicecc: Reduce verbosity with empty PARALLEL_MAKE
Tobias Henkel [Tue, 12 Nov 2013 08:33:57 +0000 (09:33 +0100)]
icecc: Reduce verbosity with empty PARALLEL_MAKE

Currently the icecc class prints a note for every package which
disables parallel make at parse time. This is unneccessary as many
packages don't support parallel building. Changing the log level from
info to debug hides these messages in normal builds without removing
the information when needed.

(From OE-Core rev: 6d2735629c20560a9406964195726b1a6e2d7d99)

Signed-off-by: Tobias Henkel <tobias.henkel@bmw-carit.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoicecc: Log reason in error cases
Tobias Henkel [Tue, 12 Nov 2013 08:33:55 +0000 (09:33 +0100)]
icecc: Log reason in error cases

The current implementation doesn't give a hint about the cause in case
something went wrong in set_icecc_env. This makes it harder to find
out why a package is not being built using icecc. Therefore warnings
are inserted in the various error cases.

(From OE-Core rev: 0adea170c7019304471d442784fa0eb9bfcdf94b)

Signed-off-by: Tobias Henkel <tobias.henkel@bmw-carit.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoqemu: use PACKAGECONFIG to address xfsprogs dependency
Ming Liu [Fri, 8 Nov 2013 07:17:57 +0000 (15:17 +0800)]
qemu: use PACKAGECONFIG to address xfsprogs dependency

To avoid a implicit build result.

(From OE-Core rev: 3e302e94ba5bcbba2736f37c0f67cfaf7fa45c0c)

Signed-off-by: Ming Liu <ming.liu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agovala: cleanup DEPENDS
Enrico Scholz [Fri, 8 Nov 2013 12:07:57 +0000 (13:07 +0100)]
vala: cleanup DEPENDS

Patch cleans up and fixes dependencies of 'vala' in the following way:

* remove deps on 'gtk+' + 'dbus'; these packages are not required and
  'gkt+' is high barrier preventing using 'vala' on headless systems

* 'bison-native' is required both on native and target builds; 'DEPENDS'
  and 'DEPENDS_virtclass-native' and 'DEPENDS' can be merged hence

* 'flex-native' is required

* although 'xsltproc' (from libxslt-native) is optional, a dependency
  on it was added to make builds deterministic.  An alternative method
  might be 'EXTRA_OECONF += "ac_cv_path_XSLTPROC=:"' but this is error
  prone as it depends on internals of the build system.

(From OE-Core rev: 8834e6b2aa70a2b3d43550d3912e16b8f5c12d7e)

Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agowpa-supplicant: enable CONFIG_CTRL_IFACE_DBUS_NEW
Steve Sakoman [Fri, 8 Nov 2013 20:58:38 +0000 (12:58 -0800)]
wpa-supplicant: enable CONFIG_CTRL_IFACE_DBUS_NEW

Without this option wifi support in connman will fail:

src/technology.c:technology_get() No matching drivers found for wifi

(From OE-Core rev: 403e365e433c54633bcc843b32487a766282226e)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopackagegroup-core-basic: define VIRTUAL-RUNTIME_syslog
Jackie Huang [Sat, 9 Nov 2013 04:36:10 +0000 (12:36 +0800)]
packagegroup-core-basic: define VIRTUAL-RUNTIME_syslog

We have rsyslog and syslog-ng in our layer, and oe-core
has sysklogd, define VIRTUAL-RUNTIME_syslog so that we
can switch them easily. Set sysklogd as default here,
we will have setting in distro confs to override it.

(From OE-Core rev: 532e3efe76b62a4454193af9da59ced24e05bd33)

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogcc-common: Enable building multiarch mips gcc
Lei Liu [Mon, 11 Nov 2013 04:43:51 +0000 (12:43 +0800)]
gcc-common: Enable building multiarch mips gcc

MIPS gcc is not configured with multiarch enabled.  This causes
compiler generates local label with $ prefix, which is specified
in default o32 abi.  It is not recognized as local symbol by n64
assembler, so we get a lot of unexpected external symbols.  We
should configure MIPS gcc with --enable-targets=all, as for other
archs.

(From OE-Core rev: c210393b3e0c54606493e311d7c2040efebc4dcd)

Signed-off-by: Lei Liu <lei.liu2@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosystemd: Upgrade 206 -> 208
Khem Raj [Mon, 11 Nov 2013 05:45:03 +0000 (21:45 -0800)]
systemd: Upgrade 206 -> 208

Remove patches accepted upstream
Forward-port uclibc patches
Create additional packages to bundle zsh support files

(From OE-Core rev: 9131cd014443243dc41c828efdcc8d87b179940d)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoelfutils: remove eu-objdump if it does not work
Roy Li [Mon, 11 Nov 2013 07:52:27 +0000 (15:52 +0800)]
elfutils: remove eu-objdump if it does not work

[YOCTO #5283]

eu-objdump does not work on mips, arm and ppc, so remove it from these
unsupported architectures

(From OE-Core rev: abf01e2f36943b5a5c5d2d827186054a51902130)

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agomklibs: add dependency on dpkg-native
Lei Liu [Mon, 11 Nov 2013 09:27:41 +0000 (17:27 +0800)]
mklibs: add dependency on dpkg-native

mklibs requires the "dpkg-architecture" utility to work.
Add dependency on dpkg-native.

(From OE-Core rev: 9811641e95dd7e1514eb41900e033a0548bd13d8)

Signed-off-by: Lei Liu <lei.liu2@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoimage-mklibs: Fix grep pattern when mklibs collects executables in rootfs
Lei Liu [Mon, 11 Nov 2013 09:27:42 +0000 (17:27 +0800)]
image-mklibs: Fix grep pattern when mklibs collects executables in rootfs

File command in some version could print extra space between
"LSB" and "executable" - it causes mklibs can't find any executables
using grep "LSB executable".  Fix the grep pattern to catch
multiple spaces.

(From OE-Core rev: a52ef8c5dcd71f39bb48c71fb868cc0db662560e)

Signed-off-by: Lei Liu <lei.liu2@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoweston-init: use /run instead of /var/run
Ross Burton [Mon, 11 Nov 2013 12:21:32 +0000 (12:21 +0000)]
weston-init: use /run instead of /var/run

/var/run is just a symlink to /run now, so use /run directly.

(From OE-Core rev: b6201d2a27639f9d384ba1137096a05f6795797a)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoopenssh: upgrade to 6.4p1
Paul Eggleton [Mon, 11 Nov 2013 13:59:12 +0000 (13:59 +0000)]
openssh: upgrade to 6.4p1

(From OE-Core rev: 19a483c157e783ded40e8dacac338a4d770a2d1a)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoethtool: upgrade to 3.12.1
Paul Eggleton [Mon, 11 Nov 2013 13:59:10 +0000 (13:59 +0000)]
ethtool: upgrade to 3.12.1

(From OE-Core rev: 3241f767e08df95f3d839fd50f53e6b88e39e094)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agonfs-utils: upgrade to 1.2.9
Paul Eggleton [Mon, 11 Nov 2013 13:59:11 +0000 (13:59 +0000)]
nfs-utils: upgrade to 1.2.9

(From OE-Core rev: 6ded53ea2bfa80bf0a7b4edd460e739123b96c86)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocmake: upgrade to 2.8.12.1
Paul Eggleton [Mon, 11 Nov 2013 13:59:09 +0000 (13:59 +0000)]
cmake: upgrade to 2.8.12.1

(From OE-Core rev: c38fe8e31d5c84e56f18a7c1b4709cc239e579d7)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoclutter-gtk-1.0: upgrade to 1.4.4
Ross Burton [Mon, 11 Nov 2013 17:25:23 +0000 (17:25 +0000)]
clutter-gtk-1.0: upgrade to 1.4.4

(From OE-Core rev: 779f5b13dce5b86ce7e6518928b9f53de46eb9bc)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agofreetype: upgrade to 2.5.0.1
Ross Burton [Mon, 11 Nov 2013 17:25:22 +0000 (17:25 +0000)]
freetype: upgrade to 2.5.0.1

Add disabled-by-default PACKAGECONFIG for pixmap glyphs (floating dependency on
libpng).

(From OE-Core rev: 7cbf6060ac14b0f4d2f038f821ca980be0d46cb0)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosyslinux: add APPEND to dependency list
Ross Burton [Fri, 8 Nov 2013 12:35:02 +0000 (12:35 +0000)]
syslinux: add APPEND to dependency list

Changing APPEND wasn't causing syslinux to re-run, so add a manual dependency.

(From OE-Core rev: 3c2d7ae5d59cb76a838f227c4cb0c64cea0d9e03)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agokernel: Use hardlinks for do_populate_sysroot for speed
Richard Purdie [Fri, 8 Nov 2013 15:18:00 +0000 (15:18 +0000)]
kernel: Use hardlinks for do_populate_sysroot for speed

The kernel tree is large and doesn't need to be copied. Override
the default sysroot handling function to use a hardlink copying
function in python.

This commit also drops the copying of the /lib directory which
just contains the kernel modules. We never use those in the sysroot
so there is little point in carrying those around.

For linux-yocto this takes the do_populate_sysroot time 24s -> 14s.

(From OE-Core rev: 13259459e200a237ca486cbe1123a0b0a4d1eebf)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoglib-2.0: move more logic to the .inc
Ross Burton [Fri, 8 Nov 2013 16:06:38 +0000 (16:06 +0000)]
glib-2.0: move more logic to the .inc

The .bb was getting larger with configuration being arbitarily split between .bb
and .inc.  To help adding a glib_git recipe, strip the .bb down to SRC_URI.

Also don't remove $libdir/gio as it should be owned by glib.

(From OE-Core rev: 55b950500fd9d944042e3c2b0872685f0a60e8eb)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolib/oe/path: Fixup handling of .* files in top level paths for copyhardlinktree()
Richard Purdie [Fri, 8 Nov 2013 22:13:38 +0000 (22:13 +0000)]
lib/oe/path: Fixup handling of .* files in top level paths for copyhardlinktree()

Files named .* in the top level of directories handled by this function
were getting lost after the directory copying command was fixed. Rather
than complicate the function further, use cpio instead.

(From OE-Core rev: 59612905e9bb865762667aa7b3cb06e53c3a4071)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolib/oe/path: Fix performance issue got copyhardlinktree()
Richard Purdie [Fri, 8 Nov 2013 15:19:05 +0000 (15:19 +0000)]
lib/oe/path: Fix performance issue got copyhardlinktree()

With the directory copy was added to avoid race issues, it wasn't noticed that
tar was recursing the directories and copying files too. This is completely
crazy when we hardlink those files in the next command.

Resolve the issue by telling tar not to recurse. This gives a significant
performance boost to various parts of the system (do_package for linux-yocto
256s -> 178s for example).

(From OE-Core rev: 8b90ed084d59b4e07aa547255d327b25cfb2ee2b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agokernel: Use hardlinks during do_install for speed
Richard Purdie [Fri, 8 Nov 2013 15:17:07 +0000 (15:17 +0000)]
kernel: Use hardlinks during do_install for speed

Whilst the comment says we can't do this, its incorrect, install operates
on WORKDIR and its hard for different parts of WORKDIR to be on different
filesystems. Hardlinking instead of copying is therefore a nice performance
gain.

Also, completely skip the Documentation directory (adding a dummy Makefile
to keep make happy) and tweak the other cp commands to link since if we
don't we'd get "this is the same file" type errors from cp for some kernel
versions.

For do_install on linux-yocto, this takes it from 227s -> 84s.

(From OE-Core rev: 0727e510f8533216518563b1533e804a1dc44402)

(From OE-Core rev: f6e98af6b9f6729bb61f17e3b4203c3c79829205)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agokbd: Fix stdarg related errors on uclibc
Khem Raj [Thu, 7 Nov 2013 05:35:00 +0000 (05:35 +0000)]
kbd: Fix stdarg related errors on uclibc

It does not get stdarg.h included indirectly as it happens
on uclibc due to different include chain

(From OE-Core rev: eac8cb7cacab7f2fb392128aa5ebc2046ca4a793)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoliburcu: upgrade to 0.8.0
Cristiana Voicu [Thu, 31 Oct 2013 08:17:08 +0000 (08:17 +0000)]
liburcu: upgrade to 0.8.0

Fix case where ${B} != ${S}; add patch to allow out
of tree doc exemples build to work
Add patch to remove CC=gcc when CC is defined, in order to
use the cross compiler.

(From OE-Core rev: 4b2aa17a5c5d2ccf9824a4d2fd71f600b18ba2f2)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoxserver-xorg: upgrade to 1.14.4
Ross Burton [Thu, 7 Nov 2013 12:06:04 +0000 (12:06 +0000)]
xserver-xorg: upgrade to 1.14.4

The xinerama and dixstruct patches are merged in 1.14.4, so drop them.

Also drop explicit PR statement.

(From OE-Core rev: 60973d0584e2533f0debfcd8e80c5e29beb68e37)

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 agoavahi: fix avahi status command error prompt
Lu Chong [Thu, 7 Nov 2013 12:40:18 +0000 (12:40 +0000)]
avahi: fix avahi status command error prompt

service --status-all command will display wrong status for avahi-daemon.
This commit fix this error prompt and make service display right status
for avahi-daemon.

(From OE-Core rev: a0525f3da109848e4b1989247b07fac411b270ce)

Signed-off-by: Lu Chong <Chong.Lu@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoweston-init: start weston on a new VT
Ross Burton [Thu, 7 Nov 2013 11:55:35 +0000 (11:55 +0000)]
weston-init: start weston on a new VT

Weston 1.3 needs to run on a VT, which is typically handled by weston-launch.
Currently weston-init doesn't use weston-launch as that depends on the
(non-default) pam DISTRO_FEATURE, so depend on kbd and use openvt directly.

This also fixes problems caused by the init script blocking until Weston exits,
which meant that later init scripts were not actually running.

(From OE-Core rev: 3726eb29cfa79a4a1fbdbcaa96f770063c482858)

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 agoweston: upgrade to 1.3.0
Ross Burton [Thu, 7 Nov 2013 11:55:34 +0000 (11:55 +0000)]
weston: upgrade to 1.3.0

Remove backported patches that are now integrated.

No need to patch build to install examples with --enable-demo-clients, update
FILES now that all examples are being installed.

Remove cairo-gl option as our cairo doesn't support GL (yet), remove
--disable-android-compositor as it was dropped upstream, and add PACKAGECONFIG
for the VAAPI-based recorder as otherwise it's a floating dependency (libva is
in meta-intel).

Based on work by Ewan Le Bideau-Canevet <Ewan.LEBIDEAU-CANEVET@eurogiciel.fr>.

(From OE-Core rev: 7508b61d1cb869233f3d841183edd6fd19d5102e)

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 agowayland: upgrade to 1.3.0
Ross Burton [Thu, 7 Nov 2013 11:55:33 +0000 (11:55 +0000)]
wayland: upgrade to 1.3.0

wayland-scanner now uses pkg-config instead of hard-coding paths, so edit the
script to use pkg-config-native.

Based on work by Ewan Le Bideau-Canevet <Ewan.LEBIDEAU-CANEVET@eurogiciel.fr>.

(From OE-Core rev: 97a3c3bc969ffb7f0c21755c733111d2f4ef8d20)

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 agoclutter: upgrade
Ross Burton [Thu, 7 Nov 2013 11:55:32 +0000 (11:55 +0000)]
clutter: upgrade

Delete fix-wayland-deps.patch, it was a backport from upstream.

Delete enable_tests which installed the non-inuititive interactive test suite,
instead install the examples.

(From OE-Core rev: 927a0065c7ce03465125b5b91258c337d2ac7bd2)

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 agocogl: upgrade to 1.16.0
Ross Burton [Thu, 7 Nov 2013 11:55:31 +0000 (11:55 +0000)]
cogl: upgrade to 1.16.0

Drop two patches that were backported from upstream.

(From OE-Core rev: 598918602cbd65c6d54a6257cd0952c958a93046)

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 agocross-canadian: Let cross-canadian packages build for uclibc
Khem Raj [Thu, 7 Nov 2013 03:52:25 +0000 (03:52 +0000)]
cross-canadian: Let cross-canadian packages build for uclibc

Fixes errors like

Parsing recipes...ERROR: Building cross-candian powerpc for an unknown
TARGET_SYS (powerpc-angstrom-linux-uclibc), please update
cross-canadian.bbclass
ERROR: Building cross-candian powerpc for an unknown TARGET_SYS
(powerpc-angstrom-linux-uclibc), please update cross-canadian.bbclass

(From OE-Core rev: 7928a9e54dfa85cbfd042e25ed883a9795f09f1b)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: HOB: HIG compliant message dialogs
Valentin Popa [Mon, 4 Nov 2013 10:53:12 +0000 (12:53 +0200)]
bitbake: HOB: HIG compliant message dialogs

"More" HIG compliant dialogs for HOB.

(Bitbake rev: a1ccb5e70523be6af7f4bcaabd728af1ddaf6dc5)

Signed-off-by: Valentin Popa <valentin.popa@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: depexp: Improve wording on requirements
Gary Thomas [Thu, 7 Nov 2013 17:04:21 +0000 (10:04 -0700)]
bitbake: depexp: Improve wording on requirements

Since -g is required, tell the user exactly so.

(Bitbake rev: f05f74e98b0dd567a8b0cb85dc8183716619991b)

Signed-off-by: Gary Thomas <gary@mlbassoc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoorc: version 0.4.18 migrated from meta-oe
Carlos Rafael Giani [Wed, 6 Nov 2013 22:59:43 +0000 (23:59 +0100)]
orc: version 0.4.18 migrated from meta-oe

(From OE-Core rev: 1a4af1bf5952fd2f706fd42fdbfeaf2a09960f4f)

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobinutils: remove embedspu
Saul Wold [Wed, 6 Nov 2013 21:56:12 +0000 (13:56 -0800)]
binutils: remove embedspu

This is only built for PPC and not needed, so remove it to fix the QA Issue

ERROR: QA Issue: binutils: Files/directories were installed but not shipped
  /usr/bin/embedspu

(From OE-Core rev: 98c2b40b64785db99b4f02765212ff40301d3034)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agonspr: Update to 4.10.1
Saul Wold [Mon, 4 Nov 2013 22:39:14 +0000 (14:39 -0800)]
nspr: Update to 4.10.1

Move patch directory files to nspr

(From OE-Core rev: 7227ce313586503c0939d0c916464e623ad9c238)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agokbd: upgrade to 2.0.1
Saul Wold [Sat, 2 Nov 2013 10:15:15 +0000 (12:15 +0200)]
kbd: upgrade to 2.0.1

(From OE-Core rev: e1dc714593d3773f27973b4c9cc09495fa00e013)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosysvinit: adjust boot sequence and remove hack from udev
Chen Qi [Sat, 2 Nov 2013 05:22:00 +0000 (13:22 +0800)]
sysvinit: adjust boot sequence and remove hack from udev

Adjust the boot sequence in sysvinit based systems.

The mountall.sh (mounting the local file system) needs to be started
before udev and bootlogd.

This patch makes mountall.sh start before udev and removes the hack of
mounting tmpfs in the udev init script.

This patch also adds some comments to the udev init script to make it
clear why we create the '/var/volatile/tmp' directory.

[YOCTO #5273]

(From OE-Core rev: f6a9df6b7cd411b52e71022b8f7bf8bda6395649)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobootlogd: create log file if not present
Chen Qi [Sat, 2 Nov 2013 05:21:59 +0000 (13:21 +0800)]
bootlogd: create log file if not present

Previously, our system had no boot log even if the bootlogd daemon was
started correctly. The root cause is that the log file doesn't exist
when starting the bootlogd.

Add '-c' option to bootlogd so that it will create the boot log if
it doesn't exist.

[YOCTO #5273]

(From OE-Core rev: 6059be3ab60b8ab463d438c47bb17553d184a790)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolib/oeqa/utils: sshcontrol: make timeout depend on output
Stefan Stanacar [Sun, 3 Nov 2013 12:27:16 +0000 (14:27 +0200)]
lib/oeqa/utils: sshcontrol: make timeout depend on output

Instead of running the commands with a fixed timeout,
we should kill the command if there is no output
for timeout seconds.
Also changed some strings/comments.

(From OE-Core rev: beea86fa9637fd629719980e14beea758847b8f3)

Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolib/oe/sstatesig: Ensure packagegroups don't continually rebuild
Richard Purdie [Tue, 5 Nov 2013 22:15:22 +0000 (22:15 +0000)]
lib/oe/sstatesig: Ensure packagegroups don't continually rebuild

packagegroups are allarch and shouldn't change depending on the target
or machine selected. In general they should have good stable namespaces
for their dependencies. As such we can exclude them from rebuilding when
dependency checksums change.

(From OE-Core rev: 80b065ff46322ec0cad039dfd9eb2d010168dba6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoppp: Fix compilation errors in Makefile
Lu Chong [Tue, 5 Nov 2013 10:39:26 +0000 (18:39 +0800)]
ppp: Fix compilation errors in Makefile

This patch fixes below issues:

1. Make can't exit while compilation error occurs in subdir for plugins building.

2. If build ppp with newer kernel (3.10.10), it will pick 'if_pppox.h' from sysroot-dir and
   'if_pppol2tp.h' from its own source dir, this cause below build errors:

        bitbake_build/tmp/sysroots/intel-x86-64/usr/include/linux/if_pppox.h:84:26:
        error: field 'pppol2tp' has incomplete type
          struct pppol2tpin6_addr pppol2tp;
                                  ^
        bitbake_build/tmp/sysroots/intel-x86-64/usr/include/linux/if_pppox.h:99:28:
        error: field 'pppol2tp' has incomplete type
          struct pppol2tpv3in6_addr pppol2tp;
                                    ^

The 'sysroot-dir/if_pppox.h' enabled ipv6 support but the 'source-dir/if_pppol2tp.h' lost
related structure definitions, we should use both header files from sysroots to fix this
build failure.

(From OE-Core rev: b536824ea64b8d6729b830738bce637fc815e832)

Signed-off-by: Lu Chong <Chong.Lu@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoeglibc_2.17.bb: accept make versions 4.0 and greater
Jonathan Liu [Mon, 4 Nov 2013 06:31:39 +0000 (17:31 +1100)]
eglibc_2.17.bb: accept make versions 4.0 and greater

(From OE-Core rev: a678243d6e4add90c1e9459da42de34d3724db5d)

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoeglibc_2.18.bb: accept make versions 4.0 and greater
Jonathan Liu [Mon, 4 Nov 2013 06:31:15 +0000 (17:31 +1100)]
eglibc_2.18.bb: accept make versions 4.0 and greater

[YOCTO #5391]

(From OE-Core rev: 1969ff9081d06109b7e8e7f9331f31fcb611c393)

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agomakedevs: several fixes
Lu Chong [Tue, 5 Nov 2013 11:49:30 +0000 (19:49 +0800)]
makedevs: several fixes

This patch fixes below issues:

1. In makedevs.c file, it lost related functions definition about "-q" and
"--squash" options. So we should remove help information of these options
from makedevs.c to fix this issue.

2. Previously, It returned nothing when makedevs command be executed with
none or invalid option. We hope to print help information and return non-zero
value.

3. If use '-d' option to pick non-existent dir, error messages should be returned.

(From OE-Core rev: 24089364c3d11665c9ac3210c1fa2488017b6b73)

Signed-off-by: Lu Chong <Chong.Lu@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosqlite3: Add support for column metadata API
Alex J Lennon [Wed, 6 Nov 2013 18:15:39 +0000 (18:15 +0000)]
sqlite3: Add support for column metadata API

I found that Mono.Data.SQlite has a dependency on the column meta-data API, thus enabling this API enables use of Hibernate / Mono with SQLite and no doubt enables other ORMs / utility libraries.

ref: https://bugzilla.xamarin.com/show_bug.cgi?id=6333

The API is present in the used SQLite3 sqlite-autoconf-3080002 source-base. Thus we are enabling pre-existing SQLite support rather than introducing new code.

I am not aware of any issues that enabling this SQLite functionality introduces, other than a slightly increased library size of circa 1.5KB , i.e. coretexa9_vfp_neon i.MX6

- with column meta-data API        610360 libsqlite3.so.0.8.6
- without column meta-data API  608880 libsqlite3.so.0.8.6

(From OE-Core rev: 9fb82ebab552d1808bae3b4898dd05022913165b)

Signed-off-by: Alex J Lennon <ajlennon@dynamicdevices.co.uk>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobinutils: Drop binutils-symlinks
Peter Seebach [Thu, 10 Oct 2013 19:01:40 +0000 (14:01 -0500)]
binutils: Drop binutils-symlinks

The -symlinks package doesn't really add any value if we're
using update-alternatives. Drop it, leaving a spare RPROVIDES
in case anyone thought they needed it.

(From OE-Core rev: 24093e26f246f222c385dc37a2f8cf8b0f183175)

Signed-off-by: Peter Seebach <peter.seebach@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobinutils: Use alternatives for the binutils-symlinks package.
Peter Seebach [Wed, 9 Oct 2013 00:03:57 +0000 (19:03 -0500)]
binutils: Use alternatives for the binutils-symlinks package.

The ar and strings utilities are provided as alternatives, but
the rest of binutils is being done with binutils-symlinks. This
has the side effect that if you want "as", and you install
binutils-symlinks to get it, you don't get "ar" from it, because
it's not in the symlinks package.

Solution: Use the same mechanisms for everything, putting
everything in ALTERNATIVES, so installing binutils on a target
produces the expected behavior of having the various utilities in place.
(We do this only for class-target, though.)

Issues: The "embedspu" and "ld.gold" binaries may or may not exist,
but the determination of whether to list them as alternatives is
being made before the point at which we can easily check for them,
so that can produce warnings.

(From OE-Core rev: 1395aefcaeac94dd0e6ed3a718b7e58dd43b355e)

Signed-off-by: Peter Seebach <peter.seebach@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agotoolchain-scripts/meta-environment: Further cleanup code duplication
Richard Purdie [Wed, 6 Nov 2013 10:55:55 +0000 (10:55 +0000)]
toolchain-scripts/meta-environment: Further cleanup code duplication

There was still duplicated code in toolchain-scripts, this further cleans
up the functions to remove it. The now unused includedir parameter is also
dropped.

The final scripts do end up reordered slightly and the sysroot is parametrised
for the IDE scripts which is an improvement but should have no functional
difference.

(From OE-Core rev: 1dbd65b4d14319e784a66776c1e9943d0179d3ee)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopackage_deb/package_ipk: Cleanup control file handling/races
Richard Purdie [Tue, 5 Nov 2013 22:08:56 +0000 (22:08 +0000)]
package_deb/package_ipk: Cleanup control file handling/races

If you Ctrl+C ppackage_write_{deb/ipk} control files can get left lying around
and make it into another packaging format. This ensures we cleanup all known
control files before starting packaging. We can simplify some of the globbing
as a result.

(From OE-Core rev: 7f8c728c82a17621461be2114c1afab3713a808e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopackage_rpm: Remove need for locking
Richard Purdie [Tue, 5 Nov 2013 22:08:04 +0000 (22:08 +0000)]
package_rpm: Remove need for locking

Currently if multiple package tasks are running against a recipe, package_rpm
is restricted to the slowest speed of them due to the locking. This patch
explicitly ignores the opkg/debian artefacts and hence allows a speedup.

It also removes an issue were a Ctrl+C interrupting a deb.ipk packaging task
would end up with CONTROL/DEBIAN files in the spec file resulting in a build
failure.

(From OE-Core rev: 4c3b3a57aa9ced231f5c0340920195c15a26f2b1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agotoolchain-scripts: Drop darwin8 code
Richard Purdie [Tue, 5 Nov 2013 22:10:30 +0000 (22:10 +0000)]
toolchain-scripts: Drop darwin8 code

The code was clearly broken and isn't used, even by meta-darwin so we
might as well remove it.

(From OE-Core rev: b9d51bfe0d4821f5de75085ba8af732c46de3328)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agotoolchain-scripts/meta-environment: Merge toolchain_create_sdk_env_script and the...
Richard Purdie [Tue, 5 Nov 2013 22:09:51 +0000 (22:09 +0000)]
toolchain-scripts/meta-environment: Merge toolchain_create_sdk_env_script and the for_installer variant

Having two scripts which do basically the same thing is a nightmare. This merges
them together. It also makes the sysroot location a variable in its own right
which may be more useful for end users wanting to change sysroot.

(From OE-Core rev: 213e0c67e938b802e6bb2246f00b7343a6f77b99)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoextrausers.bbclass: avoid infinite loop
Chen Qi [Wed, 6 Nov 2013 02:50:43 +0000 (10:50 +0800)]
extrausers.bbclass: avoid infinite loop

Avoid infinite loop if the last record in EXTRA_USRES_PARAMS doesn't
end with a semicolon.

It's possible the the users will write configurations like below.

INHERIT += "extrausers"
EXTRA_USERS_PARAMS = "useradd tester; useradd developer"

In such situation, the do_rootfs task will enter an infinite loop.
An infinite loop is never acceptable.

This patch fixes the above problem.

(From OE-Core rev: bf4fb345a9db306fa4c7211b7e6795334a649dd5)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agomdadm: Disable the RUN_DIR check
Saul Wold [Mon, 4 Nov 2013 22:07:40 +0000 (14:07 -0800)]
mdadm: Disable the RUN_DIR check

This check was looking for /run/mdadm on the host system, this check is optional so disable it.

[YOCTO #5447]

(From OE-Core rev: d62882794890eeee8e8d5c9ba4837ec77a58d787)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agozisofs-tools-native: add missing DEPENDS on zlib-native
Paul Eggleton [Tue, 5 Nov 2013 10:15:19 +0000 (10:15 +0000)]
zisofs-tools-native: add missing DEPENDS on zlib-native

zisofs-tools links against zlib.

Fixes [YOCTO #5420].

(From OE-Core rev: 6058a34f4f0d907a3a065a0323ca085df690bd9b)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agozisofs-tools-native: fix meta fields
Paul Eggleton [Tue, 5 Nov 2013 10:15:20 +0000 (10:15 +0000)]
zisofs-tools-native: fix meta fields

* Drop redundant DESCRIPTION (same as SUMMARY)
* Set SUMMARY to slightly more descriptive value borrowed from Fedora
* Fix HOMEPAGE URL (repeated http://)

(From OE-Core rev: 0346375152761b2aaa897a546ae9ba2d386d5267)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopython-pycurl: upgrade to 7.19.0.2
Laurentiu Palcu [Tue, 5 Nov 2013 09:25:17 +0000 (11:25 +0200)]
python-pycurl: upgrade to 7.19.0.2

Refreshed no-static-link.patch to work with this release and changed the
lines/checksum (and the file) where the license can be found.

(From OE-Core rev: beaa98867954898f75c8a0987218a2caffb8daba)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodiffstat: upgrade to 1.58
Laurentiu Palcu [Tue, 5 Nov 2013 09:25:16 +0000 (11:25 +0200)]
diffstat: upgrade to 1.58

Adjusted aclocal.patch to apply correctly.

(From OE-Core rev: f5bf674d0497a094682609b74da018e040f8d150)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoxz: upgrade to 5.1.3alpha
Laurentiu Palcu [Tue, 5 Nov 2013 09:25:15 +0000 (11:25 +0200)]
xz: upgrade to 5.1.3alpha

(From OE-Core rev: c93a2f6cb61d7a94249ef6097b3cacac66324fcd)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogit: upgrade to 1.8.4.2
Laurentiu Palcu [Tue, 5 Nov 2013 09:25:14 +0000 (11:25 +0200)]
git: upgrade to 1.8.4.2

(From OE-Core rev: 0288d4337533e32124ff040701d2ef012970e8f2)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoxtrans: upgrade to 1.3.0
Laurentiu Palcu [Tue, 5 Nov 2013 09:25:13 +0000 (11:25 +0200)]
xtrans: upgrade to 1.3.0

(From OE-Core rev: 2a69e7cb48e32b2a6077c4d3738d09254463e54a)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>