scm/bb/tizen-distro.git
10 years agomc: update to 4.8.12
Saul Wold [Sat, 19 Apr 2014 21:14:09 +0000 (14:14 -0700)]
mc: update to 4.8.12

Add PACKAGECONFIG for two optional plugins (smb & sftp), both require
other packages from meta-openembedded

(From OE-Core rev: 64c44f02f1a320399e2f02aeaf83022bf83b69c8)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosystemd: Check for HAVE_POSIX_FALLOCATE
Drew Moseley [Mon, 28 Apr 2014 15:38:57 +0000 (11:38 -0400)]
systemd: Check for HAVE_POSIX_FALLOCATE

The check for the config variable is using the wrong define
resulting in the #else always being used.

(From OE-Core rev: 7e498c4c17e2c1b6928d4c1fd127977bb588991f)

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 agodistrodata.bbclass: Fix checkpkg functionality
Irina Patru [Mon, 28 Apr 2014 11:08:46 +0000 (14:08 +0300)]
distrodata.bbclass: Fix checkpkg functionality

Currently it wasn't working because *COMMAND variables were removed
from fetcher.
Now checkpkg sets the command internally and sends it as a parameter
to _runwget() function from wget fetch.

(From OE-Core rev: b9a51fc1901c378375cca041da27ddbd450c0412)

Signed-off-by: Irina Patru <irina.patru@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoltp: update version to 20140422
Maxin B. John [Sat, 26 Apr 2014 14:51:25 +0000 (16:51 +0200)]
ltp: update version to 20140422

Update ltp version to 20140422
Removed two patches that already exist in the current version:
1. regen-makefile.patch
2. ffsb-remove-hardcoded-configure.patch

(From OE-Core rev: d72430772400c7733da2339f238ab4ea69e48a8e)

Signed-off-by: Maxin B. John <maxin.john@enea.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agooeqa/utils: sshcontrol: realtime logging of output
Stefan Stanacar [Fri, 25 Apr 2014 11:35:27 +0000 (14:35 +0300)]
oeqa/utils: sshcontrol: realtime logging of output

Log the output of the command as it runs not when it finished, else
tail -f tmp/work/minnow-poky-linux/core-image-sato/1.0-r0/testimage/ssh_target_log
isn't as useful as it could be.

(From OE-Core rev: be8f766f43d85c364b9706b464ed0a59d0fbf0b7)

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 agotune-cortexr4.inc: Add thumb and arm to TUNE_FEATURES
Martin Jansa [Fri, 25 Apr 2014 16:40:28 +0000 (18:40 +0200)]
tune-cortexr4.inc: Add thumb and arm to TUNE_FEATURES

(From OE-Core rev: 1ebcbc6d77171b81dfe6432ffad6cae3148dcf2e)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agofeature-arm-thumb.inc, arch-armv4.inc: Add "arm" to TUNE_FEATURES
Martin Jansa [Fri, 25 Apr 2014 16:40:27 +0000 (18:40 +0200)]
feature-arm-thumb.inc, arch-armv4.inc: Add "arm" to TUNE_FEATURES

* it will be inherited by most DEFAULTTUNEs, except few exceptions which
  support only thumb and not arm
* respect missing "arm" in TUNE_FEATURES in feature-arm-thumb.inc, so
  when recipe asks for "arm" and MACHINE supports only "thumb" ignore
  recipe and try to build with "thumb"
* show warning when overriding ARM_INSTRUCTION_SET set by recipe from tune
  config

(From OE-Core rev: 1250d3e009363d20f15bbfaced622c5912a7fb93)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agofeature-arm-thumb.inc: Replace inner quotes with apostrophes
Martin Jansa [Fri, 25 Apr 2014 16:40:26 +0000 (18:40 +0200)]
feature-arm-thumb.inc: Replace inner quotes with apostrophes

* so that it's highlighted correctly

(From OE-Core rev: 31a3525504ad7cf9fe0a4f8da27ad11e6311f299)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoopenssl: enable ptest support
Maxin B. John [Thu, 24 Apr 2014 17:28:25 +0000 (19:28 +0200)]
openssl: enable ptest support

Install openssl test suite and run it as ptest.

(From OE-Core rev: c48981d2d24a20978a17866fa478dde21bd96b91)

Signed-off-by: Maxin B. John <maxin.john@enea.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosstate-cache-management: Minor cleanup of help text
Jacob Kroon [Sat, 26 Apr 2014 15:19:36 +0000 (17:19 +0200)]
sstate-cache-management: Minor cleanup of help text

(From OE-Core rev: a039ef9d116f0bab0bbb6d25867666b10057f2ad)

(From OE-Core rev: 2f22c098c3ada8c0952c7711f7a7f5b6421e6aea)

Signed-off-by: Jacob Kroon <jacob.kroon@mikrodidakt.se>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: Revert "fetch2: Cleanup file checksum generation"
Richard Purdie [Mon, 28 Apr 2014 11:53:31 +0000 (12:53 +0100)]
bitbake: Revert "fetch2: Cleanup file checksum generation"

This reverts commit 6dfb33fd7204e09815bde7ba5bf21941a73fe965.

It causes an unindeded change in behaviour.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: bitbake-diffsigs: Fix runtime error when no arguments are given
Jacob Kroon [Sat, 26 Apr 2014 15:05:30 +0000 (17:05 +0200)]
bitbake: bitbake-diffsigs: Fix runtime error when no arguments are given

If bitbake-diffsigs is run without arguments it will error:

    Traceback (most recent call last):
      File "./bin/bitbake-diffsigs", line 121, in <module>
        if output:
    NameError: name 'output' is not defined

Fix this by moving the check for output into the inner else-clause.

(Bitbake rev: 7d3545a66863ad7183a7650b2af57eee091c45ae)

Signed-off-by: Jacob Kroon <jacob.kroon@mikrodidakt.se>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: fetch2: Cleanup file checksum generation
Jacob Kroon [Sat, 26 Apr 2014 14:32:18 +0000 (16:32 +0200)]
bitbake: fetch2: Cleanup file checksum generation

Cleanup the fix done in f9416e76e272ba3249abff099f6f3a47fe82e03e.

Instead of adding continue statements we can just move the last
statements into the final else-clause.

(Bitbake rev: 6dfb33fd7204e09815bde7ba5bf21941a73fe965)

Signed-off-by: Jacob Kroon <jacob.kroon@mikrodidakt.se>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: fetch2/git: Stop git from triggering fsync() calls
Richard Purdie [Sat, 26 Apr 2014 10:20:04 +0000 (11:20 +0100)]
bitbake: fetch2/git: Stop git from triggering fsync() calls

We only ever clone other repositories, if there were a problem such as power
failure, we'd blow away data and rebuild. As such we don't need fsync(). With
filesystems like ext*, the fsync pushes nearly all the data out to disk
which impacts all running processes.

We therefore set a configuration parameter to disable the fsync() calls.

Also fixup a case where basecmd wasn't being used for no good reason.

(Bitbake rev: 0a26abaf3a1e34d556c9375068dd17c879568d0f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocross: Drop package tasks
Richard Purdie [Sat, 26 Apr 2014 10:20:53 +0000 (11:20 +0100)]
cross: Drop package tasks

Cross packages are not packaged so we can drop all the packaging tasks
for some small performance improvements.

(From OE-Core rev: be07344397b383ab5e56048acb64eb56272fe95e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agouclibc: Add libgcc-initial to DEPENDS
Khem Raj [Sat, 26 Apr 2014 21:45:02 +0000 (14:45 -0700)]
uclibc: Add libgcc-initial to DEPENDS

Now Separated out libgcc-initial is there

(From OE-Core rev: 161bfc91e92a5080d3d4c27b3bebcd9c5dac01e1)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodefault-distrovars.inc: Add libgcc-initial to the GPLv3 whitelist (same as libgcc)
Richard Purdie [Fri, 25 Apr 2014 17:00:15 +0000 (18:00 +0100)]
default-distrovars.inc: Add libgcc-initial to the GPLv3 whitelist (same as libgcc)

(From OE-Core rev: 7f951c0185cea5174a8582bf6da4438636990121)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoGlobally replace 'base_contains' calls with 'bb.utils.contains'
Otavio Salvador [Thu, 24 Apr 2014 18:59:20 +0000 (15:59 -0300)]
Globally replace 'base_contains' calls with 'bb.utils.contains'

The base_contains is kept as a compatibility method and we ought to
not use it in OE-Core so we can remove it from base metadata in
future.

(From meta-yocto rev: 5021839af713cb34bea5888981f2184104b6d35e)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoUpstream-Status Cleanups
Saul Wold [Wed, 23 Apr 2014 16:42:39 +0000 (16:42 +0000)]
Upstream-Status Cleanups

(From OE-Core rev: ea438b58c9a90e4c3147f99d63a9afc66963c5a1)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobumps to remove PRINC use in meta-fsl-ppc
Chunrong Guo [Fri, 25 Apr 2014 05:01:51 +0000 (13:01 +0800)]
bumps to remove PRINC use in meta-fsl-ppc

(From OE-Core rev: 1a91d791a903ab837a7695cfe47828618b8be6a6)

Signed-off-by: Chunrong Guo <B40290@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoinitscripts: Fix PR reversal
Richard Purdie [Fri, 25 Apr 2014 16:16:43 +0000 (17:16 +0100)]
initscripts: Fix PR reversal

(From OE-Core rev: 343f1c49ed223cd188287d4815f9dd956376c94d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodbus: fix a hard dependency about dbus-ptest
Chong Lu [Tue, 8 Apr 2014 03:30:56 +0000 (11:30 +0800)]
dbus: fix a hard dependency about dbus-ptest

If image contains dbus and ptest is in DISTRO_FEATURES, dbus-ptest package
is installed, regardless of whether ptest-pkgs is in IMAGE_FEATURES. This
issue will increase size for most small images.
This patch fixes this problem.

[YOCTO #5702]

(From OE-Core rev: 0416583f014138656babdf78a574357ae5ff25bd)

Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoudev-extraconf: update mount.sh to use /run/media instead of /media
Denys Dmytriyenko [Tue, 1 Apr 2014 03:54:11 +0000 (03:54 +0000)]
udev-extraconf: update mount.sh to use /run/media instead of /media

This is done to work around the issue of auto-mounting block devices
(i.e. SD cards) when root filesystem is still in read-only mode and
creating /media/<device> mount-points by udev is not possible. That
is due to udev (/etc/rcS.d/S03udev) getting started earlier than
checkroot (/etc/rcS.d/S10checkroot.sh) gets a chance to re-mount the
rootfs as read-write.

Although, canonical FHS specifies /media/<device> as a mount point
for removable media devices, the latest 2.3 version was released in
2004 and since then FreeDesktop/udisks and other tools adopted the
new /run/media/<user>/<device> location. That was done to overcome
read-only rootfs limitation, since /run is usually a tmpfs mounted
partition, plus avoid name-clash between users.

For our embedded systems environment we assume single-user operation
and hence simplify mount point to just /run/media/<device>. But for
proper per-user mounting to /run/media/<user>/<device>, some sort of
session management is required along with the tool like udisks, that
is out of scope of this simple udev-based auto-mounting.

(From OE-Core rev: acfe3014d41de5e87cdbc58d0396349c6b9c3ffd)

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agofiles/device_table-minimal.txt: cleanup
Matthieu Crapet [Wed, 2 Apr 2014 16:46:26 +0000 (16:46 +0000)]
files/device_table-minimal.txt: cleanup

This device list is only used if USE_DEVFS is set to '0' (which is NOT the default since 2013-12-14,
see commit f54fdd6673a136ee1cee1f3263a8a7820de43ca3) and if IMAGE_DEVICE_TABLE and IMAGE_DEVICE_TABLES are not set.

This is, of course a very subjective list but minimal with 62 (special) files.
However, you should be able to boot correctly a lot of embedded linux around.

Changes:
- add sda, sdb, sda[1234], sdb[1234]
- add mmcblk0, mmcblk0p[1234]
- add rtc0, rtc1
- restrict maximum hdaX from 19 to 4 (pata is old)
- add ttyS1
- remove initctl, apm_bios, tty8, ttySA
- sorted entries

(From OE-Core rev: 72c011d272d0ffbd349858f16127058c74276866)

Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agokernel: don't populate source symbolic link
Ming Liu [Tue, 1 Apr 2014 02:57:15 +0000 (02:57 +0000)]
kernel: don't populate source symbolic link

/usr/src/kernel/source deployed by kernel-dev package is symbolically
linking to a build-time kernel source folder, which make no sense when
cross-compiling.

Fixed by not populating it at install stage.

(From OE-Core rev: edb85a9589be54a1e9c980aa669a380222a76cf4)

Signed-off-by: Ming Liu <ming.liu@windriver.com>
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobind: add support for read-only rootfs
Chen Qi [Thu, 27 Mar 2014 02:34:41 +0000 (02:34 +0000)]
bind: add support for read-only rootfs

This patch adds support for read-only rootfs to the bind service.
Basically it just bind mounts several directories so that the bind
service could start correctly without reporting any error.

(From OE-Core rev: 99cc96eaee28bfde89096689b1296d28937ead88)

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 agoopkg: Upgrade to v0.2.2
Paul Barker [Thu, 24 Apr 2014 21:56:14 +0000 (21:56 +0000)]
opkg: Upgrade to v0.2.2

The patches for opkg have been rebased using git so that they apply cleanly onto
the new release.

(From OE-Core rev: 354e25fe51a8e85122898d1849008ace5dbe9461)

Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoGlobally replace 'base_contains' calls with 'bb.utils.contains'
Otavio Salvador [Thu, 24 Apr 2014 18:59:20 +0000 (15:59 -0300)]
Globally replace 'base_contains' calls with 'bb.utils.contains'

The base_contains is kept as a compatibility method and we ought to
not use it in OE-Core so we can remove it from base metadata in
future.

(From OE-Core rev: d83b16dbf0862be387f84228710cb165c6d2b03b)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoGlobally replace oe.utils.contains to bb.utils.contains
Otavio Salvador [Thu, 24 Apr 2014 18:59:19 +0000 (15:59 -0300)]
Globally replace oe.utils.contains to bb.utils.contains

BitBake has the exact same code as oe.utils.contains so there's no
reason to duplicate it. We now rely on the bb.utils.contains code for
metadata.

(From OE-Core rev: 93499ebc46547f5bf6dcecd5a786ead9f726de28)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoopenssh: enable ptest support
Maxin B. John [Thu, 24 Apr 2014 16:00:22 +0000 (18:00 +0200)]
openssh: enable ptest support

Install openssh test-suite and run it as ptest.

(From OE-Core rev: 4d0ecccae671bffb40c870a6e33d20be869b89bc)

Signed-off-by: Maxin B. John <maxin.john@enea.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoiproute2: upgrade to 3.14
Cristian Iorga [Thu, 24 Apr 2014 09:19:06 +0000 (12:19 +0300)]
iproute2: upgrade to 3.14

- switched to ${BP} variable;
- removed parallel make restriction;

(From OE-Core rev: c27e1c8961e438f2c354ce3cd7682eaf98231776)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoharfbuzz: upgrade to 0.9.27
Cristian Iorga [Thu, 24 Apr 2014 09:19:05 +0000 (12:19 +0300)]
harfbuzz: upgrade to 0.9.27

(From OE-Core rev: 76447043a36472b7f673b423d584199d9d3dec8b)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobluez5: upgrade to 5.18
Cristian Iorga [Thu, 24 Apr 2014 09:19:04 +0000 (12:19 +0300)]
bluez5: upgrade to 5.18

(From OE-Core rev: 9713a7ce28669db2456400f280ea19b67401e3f9)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoconnman: upgrade to 1.23
Cristian Iorga [Thu, 24 Apr 2014 09:19:03 +0000 (12:19 +0300)]
connman: upgrade to 1.23

- License file copyright years updated;

(From OE-Core rev: 4c6b7634c21261f13b40036998b8204f8e3dee13)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogcc-cross-initial: Separate out libgcc-initial
Richard Purdie [Thu, 24 Apr 2014 14:24:09 +0000 (15:24 +0100)]
gcc-cross-initial: Separate out libgcc-initial

Its useful to separate out the native (cross) binaries from the target
compilation. We already do this for libgcc, this now takes the same
approach for -initial.

(From OE-Core rev: 8a2aaf8b6bdca2d28c0047093c7f668750d57666)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogcc-cross: Improve handling of unwind.h
Richard Purdie [Thu, 24 Apr 2014 09:19:42 +0000 (10:19 +0100)]
gcc-cross: Improve handling of unwind.h

Rather than building the whole of libgcc to obtain the unwind.h header
file, simply configure it and then install the file. This avoids copying
chunks of data around when we don't need to and building the same thing
twice.

After doing this we need to make sure the target build directory exists
in the libgcc case since it will no longer be created automatically.

(From OE-Core rev: 459e4dc25462771038459567c22e87d4cd38b117)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibgcc: Spit out common code into libgcc-common.inc
Richard Purdie [Thu, 24 Apr 2014 09:18:42 +0000 (10:18 +0100)]
libgcc: Spit out common code into libgcc-common.inc

Prepare the ground for the creation of libgcc-initial by splitting common
libgcc code into a libgcc-common.inc file.

(From OE-Core rev: 7c9f4a22d5c14d768be872beb9fc798163d6d204)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogcc: Convert to use hardlinkdir
Richard Purdie [Thu, 24 Apr 2014 09:18:03 +0000 (10:18 +0100)]
gcc: Convert to use hardlinkdir

(From OE-Core rev: 204bc1f39030a3c0dd3eadadabb013aca8bb9cc6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoutils: Add hardlinkdir shell function
Richard Purdie [Thu, 24 Apr 2014 09:17:18 +0000 (10:17 +0100)]
utils: Add hardlinkdir shell function

In a number of places it would be helpful to be able to copy trees of
files using hardlinks. This turns out to be harder than you'd expect
since there is no good single command that does this well and handles
all file types correctly.

Abstracting this into a function therefore makes sense, cpio seems
as good an option as any other.

(From OE-Core rev: 14ef03182e1e5fe7cf6b4112f29e6609631aa78d)

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

(From OE-Core rev: 866d2854139e0b00063dde06bc3a34d635ae2fc8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agonative.bbclass: Override TARGET_ flags too
Mike Crowe [Wed, 16 Apr 2014 09:31:36 +0000 (10:31 +0100)]
native.bbclass: Override TARGET_ flags too

TARGET_LDFLAGS is currently defined in bitbake.conf to contain
${TARGET_LINK_HASH_STYLE} which differs between MIPS and other
targets. Since TARGET_LDFLAGS is an exported variable it affects the hash
of every shell task even if it is not used.

We don't want native recipe tasks to have different hashes purely because
they happen to have been built in order to satisfy dependencies for
different MACHINEs since this causes lots of churn in the native sysroot
when switching between MACHINEs.

Making native.bbclass override TARGET_LDFLAGS to use BUILD_LDFLAGS ensures
consistent hashes and is a sensible thing to be doing anyway.

Although they don't appear to have the same detrimental affect on task
hashes TARGET_CPPFLAGS, TARGET_CFLAGS and TARGET_CXXFLAGS should be
overridden too.

(From OE-Core rev: 05a70ac30b37cab0952f1b9df501993a9dec70da)

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocryptodev-tests: recipe for cryptodev test suite based on OpenSSL
Denys Dmytriyenko [Thu, 10 Apr 2014 17:55:28 +0000 (13:55 -0400)]
cryptodev-tests: recipe for cryptodev test suite based on OpenSSL

(From OE-Core rev: c54fa061da6195081cd29817a351a36377b58e53)

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocryptodev-module: recipe for out-of-tree cryptodev device driver
Denys Dmytriyenko [Thu, 10 Apr 2014 17:55:27 +0000 (13:55 -0400)]
cryptodev-module: recipe for out-of-tree cryptodev device driver

Depends on cryptodev-linux for providing a header file

(From OE-Core rev: b7587d2ef7642dcc248744ade8f85f815185e78c)

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocryptodev-linux: create common .inc file to be shared by module and tests
Denys Dmytriyenko [Thu, 10 Apr 2014 17:55:26 +0000 (13:55 -0400)]
cryptodev-linux: create common .inc file to be shared by module and tests

(From OE-Core rev: a3a834cf9f35682655661a7c6ba66c1de3491320)

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocryptodev-linux: move to recipes-kernel to be shared with module and tests
Denys Dmytriyenko [Thu, 10 Apr 2014 17:55:25 +0000 (13:55 -0400)]
cryptodev-linux: move to recipes-kernel to be shared with module and tests

(From OE-Core rev: e7aace7658fabe41839a3ec1b596bf28c6a4c02e)

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agotcf-agent: add systemd support
Chen Qi [Wed, 23 Apr 2014 09:40:53 +0000 (17:40 +0800)]
tcf-agent: add systemd support

Add systemd unit file tcf-agent.service.

(From OE-Core rev: 1a4feebf98780f586bf2e81cf9844e6805a50799)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoppp: add systemd support
Chen Qi [Wed, 23 Apr 2014 09:40:52 +0000 (17:40 +0800)]
ppp: add systemd support

Add systemd support for ppp.
The unit file mostly comes from ArchLinux.

(From OE-Core rev: e84f7ea24b08e3127b70731908b819fbdc1cbfd5)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobind: add systemd support
Chen Qi [Wed, 23 Apr 2014 09:40:51 +0000 (17:40 +0800)]
bind: add systemd support

Add systemd support for bind.

(From OE-Core rev: 812f69fee5fceef853c42960f3d90491bda8378a)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocronie: add systemd support
Chen Qi [Wed, 23 Apr 2014 09:40:50 +0000 (17:40 +0800)]
cronie: add systemd support

Add systemd support for cronie.

(From OE-Core rev: 8a92601f8a2030f7875ee1fc6f09fd8242bd7e0d)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoreport-error: Add posting in the public note
Saul Wold [Tue, 22 Apr 2014 23:42:25 +0000 (16:42 -0700)]
report-error: Add posting in the public note

(From OE-Core rev: c2eb5cd1aa4632f7ee8c261414e599dcb6f40a8b)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibnl: update to 3.2.24
Saul Wold [Tue, 22 Apr 2014 23:49:32 +0000 (16:49 -0700)]
libnl: update to 3.2.24

Remove patch that is now in the upstream version
Add new package for idiag libraries.

(From OE-Core rev: 407db800da02032e07e94b0b837a89cfb3e204a0)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosqlite3: Update to 3080403
Saul Wold [Tue, 22 Apr 2014 23:49:31 +0000 (16:49 -0700)]
sqlite3: Update to 3080403

And rename the PV to match the upstream versioning
This requires a PE Bump to ensure package versions don't
go backwards.

(From OE-Core rev: dbcb25038959e4cf252ba812176a112a49a382d5)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoutil-macros: update to 1.19.0
Saul Wold [Tue, 22 Apr 2014 23:49:30 +0000 (16:49 -0700)]
util-macros: update to 1.19.0

(From OE-Core rev: 79a849f86161e506655b5d2b0cff81fa63408af5)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibxkbcommon: update to 0.4.1
Saul Wold [Tue, 22 Apr 2014 23:49:29 +0000 (16:49 -0700)]
libxkbcommon: update to 0.4.1

(From OE-Core rev: 21562ba0c4746d9c63779d63996109200454c088)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agomsmtp: update to 1.4.32
Saul Wold [Tue, 22 Apr 2014 23:49:28 +0000 (16:49 -0700)]
msmtp: update to 1.4.32

(From OE-Core rev: f7cf5fa6fff149e30472ad5123eae7bb68169b2c)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoman-pages: update to 3.64
Saul Wold [Tue, 22 Apr 2014 23:49:26 +0000 (16:49 -0700)]
man-pages: update to 3.64

(From OE-Core rev: 5a4fa113ee49f916daddba8ef340649ac788101c)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolsbinitscripts: update to 9.53
Saul Wold [Tue, 22 Apr 2014 23:49:25 +0000 (16:49 -0700)]
lsbinitscripts: update to 9.53

(From OE-Core rev: 96c8ef95c9e491485c33bb89f2edc67d63b0a0b5)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocups: update to 1.7.2
Saul Wold [Tue, 22 Apr 2014 23:49:24 +0000 (16:49 -0700)]
cups: update to 1.7.2

(From OE-Core rev: 7286cc71dc7641ce08bf0a0f13e1e90a4a5470c8)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agohelp2man update to 1.44.1
Saul Wold [Tue, 22 Apr 2014 23:49:23 +0000 (16:49 -0700)]
help2man update to 1.44.1

(From OE-Core rev: dde45f7da96ce9a3afb5713ea84f18f42541a002)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogsettings-desktop-schemas: add missing dependency on intltool-native
Martin Jansa [Fri, 18 Apr 2014 21:27:47 +0000 (23:27 +0200)]
gsettings-desktop-schemas: add missing dependency on intltool-native

* do_configure fails with:
  | NOTE: Executing intltoolize --copy --force --automake
  | /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/gsettings-desktop-schemas/3.10.1-r1/temp/run.do_configure.1111: 180:
  /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/gsettings-desktop-schemas/3.10.1-r1/temp/run.do_configure.1111:
   intltoolize: not found
  | WARNING: exit code 127 from a shell command.
  | ERROR: Function failed: do_configure (log file is located at
  /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/gsettings-desktop-schemas/3.10.1-r1/temp/log.do_configure.1111)
  NOTE: recipe gsettings-desktop-schemas-3.10.1-r1: task do_configure:

* introduced in:
  commit 1138976f7bdcd24ef57451a2c2ceffa43666610f
  Author: Alexandru Palalau <alexandrux.palalau@linux.intel.com>
  Date:   Tue Mar 11 13:27:46 2014 +0000

    gsettings-desktop-schemas: removed unneeded class inheritance

(From OE-Core rev: 4a159a086db42467c310b1fa80fee13c53168729)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoapr: do not try to use sctp.h
Joe Slater [Fri, 18 Apr 2014 22:38:35 +0000 (15:38 -0700)]
apr: do not try to use sctp.h

If we let configure look for sctp.h it might find it
on the host, so suppress the search with two cached
config variables.

(From OE-Core rev: 4aa6616661cc7a0eda4e9ba3e82a22472b444595)

Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoPR bumps to remove PRINC use in meta-openpli
Mike Looijmans [Sun, 20 Apr 2014 12:39:38 +0000 (14:39 +0200)]
PR bumps to remove PRINC use in meta-openpli

Resolves warnings of this kind in the OpenPLi layer:
 WARNING: Use of PRINC * was detected in the recipe *

(From OE-Core rev: 5ffb38d6ace7faae839c8cac7327b5b1c2daae1a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoconsole-tools: Remove floating runtime dependency on flex
Jacob Kroon [Mon, 21 Apr 2014 10:23:00 +0000 (12:23 +0200)]
console-tools: Remove floating runtime dependency on flex

The 'loadkeys' program defines its own yywrap()/yylex() functions,
there is no need to link with flex shared library.

(From OE-Core rev: 69a7c9345360b61eda79f818775656fc1aa9932c)

Signed-off-by: Jacob Kroon <jacob.kroon@mikrodidakt.se>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agooprofileui-server_git: add avahi-daemon to RDEPENDS list
Adrian Calianu [Tue, 22 Apr 2014 08:04:14 +0000 (10:04 +0200)]
oprofileui-server_git: add avahi-daemon to RDEPENDS list

oprofileui-server recipe depends on avahi recipe. But avahi recipe
generates more packages and one of those packages(avahi-daemon) which
oprofileui-server expected to be available is not found into image.
A runtime dependency of oprofileui-server on avahi-daemon is required.

Upstream-Status: Pending

(From OE-Core rev: 1163b6e619102bea08c429e49a4792abfa234c1c)

Signed-off-by: Adrian Calianu <adrian.calianu@enea.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoliberror-perl: add 0.17022
Koen Kooi [Thu, 17 Apr 2014 09:07:38 +0000 (11:07 +0200)]
liberror-perl: add 0.17022

This is needed for git-perltools to work:

koen@beast:/build/v2014.06/sources/meta-openembedded$ git send-email -M -1 --to openembedded-devel@lists.openembedded.org --subject-prefix=meta-oe][PATCH
Can't locate Error.pm in @INC (@INC contains: /usr/lib/perl/5.14.3 /etc/perl /usr/lib/perl/site_perl/5.14.3/ /usr/lib/perl/site_perl/5.14.3 /usr/lib/perl/vendor_perl/5.14.3/ /usr/lib/perl/vendor_perl/5.14.3 /usr/lib/perl/5.14.3/ /usr/local/lib/site_perl .) at /usr/lib/git/git-core/git-send-email line 30.

(From OE-Core rev: b4f453e435739b2a692980a87504393156aaaaf5)

Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibpng: bump to 1.6.10
Maxin B. John [Wed, 23 Apr 2014 12:41:39 +0000 (14:41 +0200)]
libpng: bump to 1.6.10

1. Fixes CVE-2014-0333
2. There are changes in License checksums. This is due to new
   contributor names being added to LICENSE and png.h file
   contains version of the new release.So, license remains the same.

(From OE-Core rev: 270e82399915d1f620756e380464f984c8a2cda8)

Signed-off-by: Maxin B. John <maxin.john@enea.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopixbufcache: add error exit in pixbufcache_sstate_postinst
Joe Slater [Tue, 22 Apr 2014 18:00:41 +0000 (11:00 -0700)]
pixbufcache: add error exit in pixbufcache_sstate_postinst

In order to attempt recovery of a failed populate_sysroot_setscene,
we need to explicitly error exit an SSTATEPOSTINSTFUNC.  So, we test
the return value of gdk-pixbuf-query-loaders.

(From OE-Core rev: 17bdb2538e6b723e11afb1079c71363603dba63d)

Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoautotools: Enable separate builddir by default
Richard Purdie [Thu, 27 Feb 2014 17:55:50 +0000 (17:55 +0000)]
autotools: Enable separate builddir by default

(From OE-Core rev: baf5b230af919b6b0fd14ac5fc3e734bf7c464d5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: bitbake-worker: Drop BBHASH variables
Richard Purdie [Sun, 13 Apr 2014 10:49:45 +0000 (11:49 +0100)]
bitbake: bitbake-worker: Drop BBHASH variables

Iterating through and calling setVar on this number of variables has significant
overhead in the profiling data. By not setting this, we save 3,000 calls
to setVar which gives a noticeable improvement to the speed of task execution.

The BBHASH variables have since been replaced by accessing that data through
the siggen code and going forward, that is the preferred way work with it.

(Bitbake rev: 92526eadd09d19938762290e0492076174367583)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: parse/ast: Optimise data finalisation
Richard Purdie [Sun, 13 Apr 2014 10:48:53 +0000 (11:48 +0100)]
bitbake: parse/ast: Optimise data finalisation

The optimisation where only the data we're interested in was finalised
was good but it turns out we can do better. In the case where a
class-extension is to be targeted, we can skip the other targets.

This change does that and speeds up parsing at the bitbake-worker
execution time. Specifically, you can see an improvement in the speed
of bitbake X -n.

(Bitbake rev: b56918c7ef7913e84356c69ee9b269844a446728)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: runqueue: Do not write out stamp files in dry_run mode
Richard Purdie [Sun, 13 Apr 2014 10:45:58 +0000 (11:45 +0100)]
bitbake: runqueue: Do not write out stamp files in dry_run mode

In dry run mode, stamps for noexec tasks are being written out which
is incorrect. Avoid this.

(Bitbake rev: aa6448a0552ba2947ac262b8b5314a593d1058d3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: runqueue: Fix task weighting algorithm
Richard Purdie [Sun, 13 Apr 2014 10:45:03 +0000 (11:45 +0100)]
bitbake: runqueue: Fix task weighting algorithm

When looking at a list of tasks, do_patch and do_unpack were being
given equal priority when one clearly depends on another. The
reason for this was the default task weights of 0 being to tasks.
This is therefore changed to 1 to allow correct weighting of dependencies
which means the scheduler has better information available to it about
tasks.

Weight endpoints differently (10) for clearer debugging of priorities.

(Bitbake rev: 12dc1d17fac3e8ec420fcafb06186d32fd847d89)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: runqueue: Fix handling of zero priority task
Richard Purdie [Sun, 13 Apr 2014 10:44:25 +0000 (11:44 +0100)]
bitbake: runqueue: Fix handling of zero priority task

The zero priority task should be run first but was being confused with
the None value the priority field defaulted to. Check for None
explicitly to avoid this error.

In the real world this doesn't change much but it confused the debug
output from the schedulers.

(Bitbake rev: 49c9d8c9400f74c804c2f36462639236e0841ff0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: bitbake: toaster: Fix Empty tasks filter
Belen Barros Pena [Fri, 11 Apr 2014 16:32:31 +0000 (17:32 +0100)]
bitbake: bitbake: toaster: Fix Empty tasks filter

Somehow the counter was set to count tasks with outcome
'not available', instead of outcome 'empty'. This patch
fixes the problem.

[YOCTO #6146]

(Bitbake rev: 1cc2a299c842185ba14074817d5cd2925275610b)

Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: bitbake: toaster: Fix total number of tasks in build dashboard
Belen Barros Pena [Fri, 11 Apr 2014 16:32:30 +0000 (17:32 +0100)]
bitbake: bitbake: toaster: Fix total number of tasks in build dashboard

The total number of tasks in the build dashboard was counting
_setscene tasks, which are not exposed by Toaster as separate
tasks. This patch makes sure that _setscene tasks are not
counted when calculating that number.

[YOCTO #6145]

(Bitbake rev: f8817c060042147a173d3451121304b25ffc4b6c)

Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agokmod: upgrade to v17 via git
Cristiana Voicu [Fri, 18 Apr 2014 06:40:36 +0000 (09:40 +0300)]
kmod: upgrade to v17 via git

Just one patch has some small changes because the new code
has another fix for unaligned access.

(From OE-Core rev: 1d82fb4f1980bbe3c9cf0fffb45702bddda73307)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agomtd-utils: upgrade to 1.5.1+gitAUTOINC+12158de
Cristiana Voicu [Fri, 18 Apr 2014 06:40:35 +0000 (09:40 +0300)]
mtd-utils: upgrade to 1.5.1+gitAUTOINC+12158de

(From OE-Core rev: d2a7665ac5615482d1d212410064a7d23dd196de)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoat-spi2-core: upgrade to 2.12.0
Cristiana Voicu [Fri, 18 Apr 2014 06:40:34 +0000 (09:40 +0300)]
at-spi2-core: upgrade to 2.12.0

(From OE-Core rev: c27b4b47b1d69965ce3da7560f57c972cbf8085d)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoat-spi2-atk: upgrade to 2.12.0
Cristiana Voicu [Fri, 18 Apr 2014 06:40:33 +0000 (09:40 +0300)]
at-spi2-atk: upgrade to 2.12.0

(From OE-Core rev: 982443d0d9373aba3d86a977c16a8780425b736e)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoatk: upgrade to 2.12.0
Cristiana Voicu [Fri, 18 Apr 2014 06:40:32 +0000 (09:40 +0300)]
atk: upgrade to 2.12.0

(From OE-Core rev: 95d85136a4ab62ce60e915755a1252e5472108cc)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocurl: upgrade to 7.36.0
Cristiana Voicu [Fri, 18 Apr 2014 06:40:31 +0000 (09:40 +0300)]
curl: upgrade to 7.36.0

(From OE-Core rev: a4b5173dcba0384589debceebf90e98a2cbadd63)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopango: upgrade to 1.36.3
Cristiana Voicu [Fri, 18 Apr 2014 06:40:30 +0000 (09:40 +0300)]
pango: upgrade to 1.36.3

(From OE-Core rev: e61afbdf0227b8905092571c84ffd6fdeccc34be)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agomklibs-native: upgrade from 0.1.38 to 0.1.39
Robert Yang [Thu, 20 Mar 2014 02:19:06 +0000 (10:19 +0800)]
mklibs-native: upgrade from 0.1.38 to 0.1.39

* Fix the HOMEPAGE
* Fix the SRC_URI, .tar.gz has gone, only .tar.xz now.

(From OE-Core rev: f441f0693670da976ca38fa85717878f6958a359)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoautomake: upgrade from 1.14 to 1.14.1
Robert Yang [Thu, 20 Mar 2014 02:19:05 +0000 (10:19 +0800)]
automake: upgrade from 1.14 to 1.14.1

(From OE-Core rev: 07c158691f298b1a561a73c40480176625f309d9)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agowget: upgrade from 1.14 to 1.15
Robert Yang [Thu, 20 Mar 2014 02:19:04 +0000 (10:19 +0800)]
wget: upgrade from 1.14 to 1.15

* Removed:
  - fix_doc.patch (backport)
* Add the HOMEPAGE.

(From OE-Core rev: c5ed2e443d8f3d6c31a3fa99cddc20b8f89f7d0e)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agofile: upgrade from 5.16 to 5.17
Robert Yang [Thu, 20 Mar 2014 02:19:03 +0000 (10:19 +0800)]
file: upgrade from 5.16 to 5.17

(From OE-Core rev: cf1a4a8b1a0ece2f75fab9d79c69ce2726ef78b9)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolttng-modules: update to 2.4.1 version
Chunrong Guo [Mon, 14 Apr 2014 06:13:43 +0000 (14:13 +0800)]
lttng-modules: update to 2.4.1 version

    *This updates lttng-modules for 2.4.1 and
     it also fixes the build with 3.13 Linux kernel.

(From OE-Core rev: 023c2401677f9af6895887d6e8bca2fd1d730985)

Signed-off-by: Chunrong Guo <B40290@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogrub-efi: Use a variable to specify built-in grub modules.
Philip Tricca [Wed, 16 Apr 2014 01:16:48 +0000 (01:16 +0000)]
grub-efi: Use a variable to specify built-in grub modules.

The previous behavior defines a static set of modules that are built
into the grub efi executable. This works fine for a limited set of boot
environments namely the standard linux/initrd. This patch conditionally
 assigns the same modules to a variable. This allows other meta layers
to add additional modules or completely override the defaults. The use
case driving this patch is the use of multiboot2 and related modules.

(From OE-Core rev: 597f8e0040ba3135220000b23767858c64b5c9b8)

Signed-off-by: Philip Tricca <flihp@twobit.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoopenssh-sshd: host contamination fix
Matthieu Crapet [Mon, 14 Apr 2014 13:56:05 +0000 (15:56 +0200)]
openssh-sshd: host contamination fix

If you do a readelf -x .rodata /path/.../to/openssh/6.5p1-r0/packages-split/openssh-sshd/usr/sbin/sshd

You'll see two references to OE's sysroots/${BUILD_SYS} login and passwd binaries.
First one can be overridden with LOGIN_PROGRAM environment variable (see configure.ac),
second needs a cached variable definition.

(From OE-Core rev: 2127c80d0cc2a3a4d676bd3c0890454a175fba8e)

Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogrub git: workaround debugedit problems
Koen Kooi [Mon, 14 Apr 2014 08:03:37 +0000 (10:03 +0200)]
grub git: workaround debugedit problems

Debugedit errors out on bare metal binaries. The first version of this patch limited it to 64 bit targets, but the problem now shows up on 32 bit targets (minnowboard) as well.

(From OE-Core rev: f95c7611007ddda3fe36db90168c7d5de096f9cd)

Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agomake menuconfig work for recent xfce environment
Andreas Müller [Thu, 17 Apr 2014 08:13:26 +0000 (10:13 +0200)]
make menuconfig work for recent xfce environment

xfce terminal was renamed 'Terminal' -> 'xfce4-teminal' mainline end of 2012,
so the distros supporting 'Terminal' will dissapear. The distros not
mentionied in  __init__ do (e.g fedora 19 - tested) fail - or will fail
sooner or later.

(From OE-Core rev: d07f3812ec371da6f18fa1dd920cdde470bd89ad)

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolinux-yocto/3.14: aufs, edgerouter config and -rt
Bruce Ashfield [Sat, 12 Apr 2014 04:10:11 +0000 (00:10 -0400)]
linux-yocto/3.14: aufs, edgerouter config and -rt

Updating the 3.14 SRCREVs to import the following changes:

  - enable AUFS: a missing Kbuild patch was preventing aufs from compiling
  - edgerouter: remove RTC configuration options
  - preempt-rt recipe. The patch for 3.14 is availble, so we populate the recipe.

(From OE-Core rev: 8e38a24a9d9cd44733a25d3de307907a788d643d)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agorecipe_sanity.bbclass: avoid error when running 'bitbake -e'
Andreas Oberritter [Fri, 11 Apr 2014 18:56:13 +0000 (20:56 +0200)]
recipe_sanity.bbclass: avoid error when running 'bitbake -e'

Running 'bitbake -e' without further arguments causes a stack trace on stderr:

| ERROR: Command execution failed: Traceback (most recent call last):
|   File "[...]/bitbake/lib/bb/command.py", line 99, in runAsyncCommand
|     commandmethod(self.cmds_async, self, options)
|   File "[...]/bitbake/lib/bb/command.py", line 405, in showEnvironment
|     command.cooker.showEnvironment(bfile)
|   File "[...]/bitbake/lib/bb/cooker.py", line 453, in showEnvironment
|     logger.plain("\npython %s () {\n%s}\n", e, data.getVar(e, envdata, 1))
|   File "[...]/bitbake/lib/bb/data.py", line 89, in getVar
|     return d.getVar(var, exp)
|   File "[...]/bitbake/lib/bb/data_smart.py", line 522, in getVar
|     return self.getVarFlag(var, "_content", expand, noweakdefault)
|   File "[...]/bitbake/lib/bb/data_smart.py", line 612, in getVarFlag
|     value = self.expand(value, cachename)
|   File "[...]/bitbake/lib/bb/data_smart.py", line 350, in expand
|     return self.expandWithRefs(s, varname).value
|   File "[...]/bitbake/lib/bb/data_smart.py", line 340, in expandWithRefs
|     raise ExpansionError(varname, s, exc)
| ExpansionError: Failure expanding variable can_delete_FILESPATH, expression was def can_delete_FILESPATH(cfgdata, d):
|     expected = cfgdata.get("FILESPATH")
|     #expected = "${@':'.join([os.path.normpath(os.path.join(fp, p, o)) for fp in d.getVar('FILESPATHBASE', True).split(':') for p in d.getVar('FILESPATHPKG', True).split(':') for o in (d.getVar('OVERRIDES', True) + ':').split(':') if os.path.exists(os.path.join(fp, p, o))])}:${FILESDIR}"
|     expectedpaths = d.expand(expected)
|     unexpanded = d.getVar("FILESPATH", 0)
|     filespath = d.getVar("FILESPATH", True).split(":")
|     filespath = [os.path.normpath(f) for f in filespath if os.path.exists(f)]
|     for fp in filespath:
|         if not fp in expectedpaths:
|             # __note("Path %s in FILESPATH not in the expected paths %s" %
|             # (fp, expectedpaths), d)
|             return False
|     return expected != unexpanded
|  which triggered exception AttributeError: 'NoneType' object has no attribute 'split'

Removing the commented second line in can_delete_FILESPATH() hides the error.

(From OE-Core rev: a84c36e0e5e8332ddc5a6c34e1f598d5cb87cee2)

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoscripts/send-error-report: simple hack to use proxy from the enviroment
Stefan Stanacar [Fri, 11 Apr 2014 17:49:14 +0000 (20:49 +0300)]
scripts/send-error-report: simple hack to use proxy from the enviroment

People behind a proxy couldn't send an error report to an upstream server,
this should fix the issue if they use a proxy that doesn't require authentication,
or one that uses basic http authentication and it's correctly exported in the enviroment.

(From OE-Core rev: a8511ee80246b4e2caa353b87f4b586f1539e6d4)

Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoicecc: don't create unnecessary 'ice' dirs in sysroots when disabled
Martin Jansa [Fri, 11 Apr 2014 15:07:39 +0000 (17:07 +0200)]
icecc: don't create unnecessary 'ice' dirs in sysroots when disabled

* parsing ICE_PATH="${@icc_path(bb, d)}" causes "ice" directories
  to be created in every sysroot, that could be a bit confusing for
  people who inherit icecc.bbclass, but disabled it
* shorten ICECC_VERSION="${@icc_version(bb, d)}" path a bit
  by returning sooner when disabled
* remove ICECC_PATH and ICECC_ENV_EXEC from signatures, we assume that
  using icecc doesn't influence the output, so it shouldn't matter when
  user supplies own version of icecc or env script
* always compare ICECC_DISABLED with "1", boolean typed_value isn't used
  because documentation already mentions using empty value to keep icecc
  enabled and that's not valid boolean value when oe.data.typed_value is
  used:
  ERROR: ICECC_DISABLED: Invalid boolean value ''

(From OE-Core rev: c3e8bfe30685e2357a6eb3ba8f4a014c7dc9f58e)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoshadow: fix building systemd with useradd-staticids.bbclass enabled
Andreas Müller [Thu, 10 Apr 2014 18:07:48 +0000 (20:07 +0200)]
shadow: fix building systemd with useradd-staticids.bbclass enabled

| groupadd: 'systemd-journal-gateway' is not a valid group name

Without useradd-staticids enabled, group 'systemd-journal-gateway' is created
by useradd and that seems not to care for GROUP_NAME_MAX_LENGTH which has 16 by
default.

(From OE-Core rev: 33c7892326de296cc6d143577be5b395ac887d91)

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoselftest: DiskMonTest: use a high value for free space
Stefan Stanacar [Fri, 11 Apr 2014 11:04:49 +0000 (14:04 +0300)]
selftest: DiskMonTest: use a high value for free space

Using the free space of the host works when
oe-selftest is the only build running, but if something else
on the host remove things this will fail (as seen on AB).
Using an absurdly high value should fix this.

(From OE-Core rev: 413fc934fadbd3603b7f78dfd3cc0ac83bb0377f)

Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibav: Add libsdl to DEPENDS only when x11 is enabled
Khem Raj [Sat, 19 Apr 2014 09:59:28 +0000 (02:59 -0700)]
libav: Add libsdl to DEPENDS only when x11 is enabled

When we have opengl in distro features but not x11 and try to
build libav then it calls out to build libsdl which inturn has depependency on libglu
and libglu fails to build

ld: error: cannot find -lGL
| collect2: error: ld returned 1 exit status
| make: *** [libGLU.la] Error 1
| ERROR: oe_runmake failed

since libglu wants glx enabled in mesa and glx in mesa is (righly) enabled only when x11
is in distro features.

This breaks the dependency chain leading to this problem

(From OE-Core rev: fe9fe5ca5039743fc80d14f0518b95929c458b1a)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibnotify: add dbus-glib dependency
Martin Jansa [Fri, 18 Apr 2014 20:01:18 +0000 (22:01 +0200)]
libnotify: add dbus-glib dependency

* | No package 'dbus-glib-1' found
  | configure:11865: error: Package requirements (gtk+-2.0 >= 2.18, glib-2.0 >= 2.6,
    dbus-1 >= 0.76, dbus-glib-1 >= 0.76 gmodule-2.0) were not met:

* introduced in:
  commit 5c1eeb5d16566521e45947b07fdcd9f552fec45b
  Author: Alexandru Palalau <alexandrux.palalau@intel.com>
  Date:   Thu Feb 27 12:05:41 2014 +0200

      libnotify: don't use gnome.bbclass

  because gnome.bbclass was adding gconf->dbus-glib dependency

* it was also causing other recipes to fail when they were depending
  on libnotify which has dbus-glib in pkg-config and dbus-glib was
  missing, e.g. firefox:
  | checking for libnotify >= 0.4... Package dbus-glib-1 was not found
  in the pkg-config search path. Perhaps you should add the directory
  containing `dbus-glib-1.pc' to the PKG_CONFIG_PATH environment
  variable Package 'dbus-glib-1', required by 'libnotify', not found
  | configure: error: Library requirements (libnotify >= 0.4) not met;
  consider adjusting the PKG_CONFIG_PATH environment variable if your
  libraries are in a nonstandard prefix so pkg-config can find them.

(From OE-Core rev: abb2571a6352fc33a8b78ab0886d443894cda3b6)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoapr: remove the use of ${SHELL} to avoid bash/dash confliction
Hongxu Jia [Fri, 11 Apr 2014 10:31:38 +0000 (18:31 +0800)]
apr: remove the use of ${SHELL} to avoid bash/dash confliction

While multible hosts sharing a common sstate cache, the fist host using
bash as default shell and build apr, the second host using dash as
default shell and build apr-util, there was a failure in apr-util:
...
| /bin/sh: 0: Can't open i586-poky-linux-libtool
| make[1]: *** [dbm/apr_dbm_gdbm.lo] Error 127
| make[1]: *** Waiting for unfinished jobs....
| make[1]: Leaving directory
`tmp/work/i586-poky-linux/apr-util/1.5.2-r0/apr-util-1.5.2'
...

The quick way to reproduce the defect in Ubuntu 1204:
1. Create a new build
2. sudo dpkg-reconfigure dash <set bash as /bin/sh>
3. bitbake apr
4. sudo dpkg-reconfigure dash <set dash as /bin/sh>
5. bitbake apr-util

Remove the use of $(SHELL) in the apr could avoid this issue.

(From OE-Core rev: 53af71200b6f6d117e1e7dc2e7a7d21c6faab8f9)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>