scm/bb/tizen-distro.git
10 years agolibsoup-2.4: upgrade to 2.44.2
Valentin Popa [Fri, 22 Nov 2013 10:15:13 +0000 (12:15 +0200)]
libsoup-2.4: upgrade to 2.44.2

(From OE-Core rev: b09d8b117421e8645e80ca321bfae1557fcfcf53)

Signed-off-by: Valentin Popa <valentin.popa@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolighttpd: upgrade to 1.4.33
Valentin Popa [Fri, 22 Nov 2013 10:01:46 +0000 (12:01 +0200)]
lighttpd: upgrade to 1.4.33

(From OE-Core rev: 1d376b40552e60b1fd18d95c6dd24d30aae849c8)

Signed-off-by: Valentin Popa <valentin.popa@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosyslinux: use cross toolchain to compile
Lei Liu [Thu, 21 Nov 2013 19:30:48 +0000 (13:30 -0600)]
syslinux: use cross toolchain to compile

syslinux is compling something with host gcc at do_install
stage, which leads to some unexpected errors with old gcc
on host.  Using our cross toolchain instead.

(From OE-Core rev: b0da7ccde5380726acfccf1a96cdf5560edf9159)

Signed-off-by: Lei Liu <lei.liu2@windriver.com>
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoutil-linux: Package readprofile into it's own package
Mark Hatle [Thu, 21 Nov 2013 17:47:43 +0000 (11:47 -0600)]
util-linux: Package readprofile into it's own package

readprofile was missing from the alternative configuration, which was
causing readprofile to be packaged into the base util-linux.

(From OE-Core rev: cac08f23aaed87148d1825cca3c7586ab891ef04)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosecurity_flags: grub-efi-natve does not build with flags enabled
Saul Wold [Wed, 20 Nov 2013 23:40:23 +0000 (15:40 -0800)]
security_flags: grub-efi-natve does not build with flags enabled

[YOCTO #5505]

(From OE-Core rev: db628ccad9db49d0e83fb534ddfb05a57132f2fa)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibrsvg: move gdk-pixbuf-native dependency
Ross Burton [Wed, 20 Nov 2013 20:28:55 +0000 (20:28 +0000)]
librsvg: move gdk-pixbuf-native dependency

This dependency is only needed by the gdk-pixbuf loader PACKAGECONFIG, so move
it there.

(From OE-Core rev: aef01dc9fed0c54dc6a0ebfde5b53b6400aa3cef)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoopkg: Don't use update-alternatives
Paul Barker [Wed, 20 Nov 2013 16:41:10 +0000 (16:41 +0000)]
opkg: Don't use update-alternatives

The symlink from 'opkg' to 'opkg-cl' doesn't need to be created with
update-alternatives as there isn't any alternative. Instead it can be created by
hand in do_install_append.

(From OE-Core rev: c28bb9126eed92c13a50a2557eb48402a9d12537)

Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoopkg: Add PACKAGECONFIG options
Paul Barker [Wed, 20 Nov 2013 16:41:09 +0000 (16:41 +0000)]
opkg: Add PACKAGECONFIG options

Instead of hardcoding EXTRA_OECONF to disable things, we add PACKAGECONFIG
options for gpg, curl, ssl-curl, openssl, sha256 and pathfinder. By default all
these options are disabled.

(From OE-Core rev: 7d227c5764d71f21432a6a56dc4616c5b917c42c)

Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoopkg: Update to version 0.2.0
Paul Barker [Wed, 20 Nov 2013 16:41:08 +0000 (16:41 +0000)]
opkg: Update to version 0.2.0

(From OE-Core rev: d29a55e170b721d8844984ab50d2f08926c42edb)

Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agojson-c: do rm -f on config.status before do_configure
Olof Johansson [Fri, 22 Nov 2013 13:24:34 +0000 (14:24 +0100)]
json-c: do rm -f on config.status before do_configure

This change adds -f when doing rm on config.status. .config.status is
not always present when doing do_configure, and that would without this
change lead to a fatal error.

(From OE-Core rev: b16d312ce03ae68da46ead3fc855b5879b2013fd)

Signed-off-by: Olof Johansson <olof.johansson@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogettext-minimal-native/iconv.m4: remove the test to convert euc-jp
Jackie Huang [Thu, 21 Nov 2013 07:39:26 +0000 (15:39 +0800)]
gettext-minimal-native/iconv.m4: remove the test to convert euc-jp

Remove the test "Test against HP-UX 11.11 bug: No converter from
EUC-JP to UTF-8 is provided" since we don't support HP-UX and it
causes guile-native compile failure if the euc-jp is not installed
on the host.

(From OE-Core rev: ac902d0fdf44beda2d0954cc477a4e2b177a2f2a)

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agorootfs_*.bbclass: List which post-install scripts can not be run
Jeffrey C Honig [Thu, 21 Nov 2013 07:34:41 +0000 (01:34 -0600)]
rootfs_*.bbclass: List which post-install scripts can not be run

When preping a read-only rootfs and finding some post-install
scripts that can not be run, list the names of said scripts to
avoid having to look around the rootfs to find a list.

(From OE-Core rev: 0188120691f433fdccf71b92618115195278c0af)

Signed-off-by: Jeffrey C Honig <jeffrey.honig@windriver.com>
Signed-off-by: Jeff Polk <jeff.polk@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopackage_rpm.bbclass: Replace -linux-gnun32 with -linux.* in RPM platform file
Lei Liu [Thu, 21 Nov 2013 07:30:58 +0000 (01:30 -0600)]
package_rpm.bbclass: Replace -linux-gnun32 with -linux.* in RPM platform file

On a multilib system when one of the multibs has a different OS then
other multilibs a failure can occur during the install process because
RPM assumes all systems have the same OS.

When an n32 platform is selected as an alternative multilib, it shows
up as mips64_n32-.*-linux-gnun32 in /etc/rpm/platform.  This causes
problems when the smart tool tries to add a channel for the multilib.
RPM archScore call always returns zero for arch "mips64_n32" -
after appending default vendor and os, it finds "mips64_n32-wrs-linux"
doesn't match any predefined platforms.  Fix this by removing the
restriction of -gnun32 suffix in platform file.

(From OE-Core rev: d9489c44ee4f195ae1b09f340b9545cddba58145)

Signed-off-by: Lei Liu <lei.liu2@windriver.com>
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Jeff Polk <jeff.polk@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogst-ffmpeg: fix CVE-2013-3674
Ming Liu [Thu, 21 Nov 2013 07:05:05 +0000 (01:05 -0600)]
gst-ffmpeg: fix CVE-2013-3674

The cdg_decode_frame function in cdgraphics.c in libavcodec in FFmpeg before
1.2.1 does not validate the presence of non-header data in a buffer, which
allows remote attackers to cause a denial of service (out-of-bounds array
access and application crash) via crafted CD Graphics Video data.

http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2013-3674

(From OE-Core rev: f1721553a873b242bc26ad3e4d618aea39dfd507)

Signed-off-by: Ming Liu <ming.liu@windriver.com>
Signed-off-by: Jeff Polk <jeff.polk@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoacpid: fix acpid break down
Baogen Shang [Thu, 21 Nov 2013 06:53:27 +0000 (00:53 -0600)]
acpid: fix acpid break down

when execute the command "/etc/init.d/acpid stop" and "/etc/init.d/acpid
restart", it prompt "no /usr/sbin/acpid found;none killed",The acpid could
not be restarted because the script start with "!/bin/sh –e", that will
make the script stop when an error occurred. So when no 'acpid' running
(we have stopped it), the script would exit and 'restart' operation would
be stopped by ‘stop’ operation.so avoiding the error occurred, add "-o"
option,exit status 0 (not 1)if nothing done.

(From OE-Core rev: b7a8daf52c9befc773f320e54999bb91efdac334)

Signed-off-by: Baogen Shang <baogen.shang@windriver.com>
Signed-off-by: Jeff Polk <jeff.polk@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoacpid: fix acpid boot error
Baogen Shang [Thu, 21 Nov 2013 06:53:26 +0000 (00:53 -0600)]
acpid: fix acpid boot error

when booting board,the acpid daemon display some error information.
the information as follow:
acpid: opendir(/etc/acpi/events): No such file or directory
the path "/etc/acpi/events" does not exist,so building the directory
to fix the bug.

(From OE-Core rev: 8c0cc8815919c23033a4bb937331c2650c8aee4e)

Signed-off-by: Baogen Shang <baogen.shang@windriver.com>
Signed-off-by: Jeff Polk <jeff.polk@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobase.bbclass: Fix incorrect setting of multilib PREFERRED_PROVIDER_virtual_pkg
Lei Liu [Thu, 21 Nov 2013 06:54:00 +0000 (00:54 -0600)]
base.bbclass: Fix incorrect setting of multilib PREFERRED_PROVIDER_virtual_pkg

PREFERRED_PROVIDER_virtual_pkg has been incorrectly set with more
than one multilib prefixes.  For example, if we have two alternative
multilibs lib64 and lib32, PREFERRED_PROVIDER_virtual_pkg will be
set to lib32-lib64-pkg or lib64-lib32-pkg, depending on which
multilib shows up first in the list.

(From OE-Core rev: 17a432dc059e24ba10d4baec988828c0025a5e46)

Signed-off-by: Lei Liu <lei.liu2@windriver.com>
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: fetch2: Stop passing around the pointless url parameter
Richard Purdie [Tue, 19 Nov 2013 14:32:08 +0000 (14:32 +0000)]
bitbake: fetch2: Stop passing around the pointless url parameter

There is no good reason to keep passing around the url parameter when
its contained within urldata (ud). This is left around due to
legacy reasons, some functions take it, some don't and its time
to cleanup.

This is fetcher internal API, there are a tiny number of external users
of the internal API (buildhistory and distrodata) which can be fixed up
after this change.

(Bitbake rev: 6a48474de9505a3700863f31839a7c53c5e18a8d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: fetch2: Clean up some url parameters to functions
Richard Purdie [Tue, 19 Nov 2013 13:59:14 +0000 (13:59 +0000)]
bitbake: fetch2: Clean up some url parameters to functions

urldata contains the url so we might as well stop passing around
pointless function parameters. This was done for legacy reasons but
its time to clean this mess up.

This is a first step in cleanup and is a standalone patch but there is
more to be done in a second patch.

(Bitbake rev: 06590cfebbcf6565a17b80cc298e3ecdfaba4656)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoethtool: Fix ptest compile
Richard Purdie [Fri, 22 Nov 2013 09:24:04 +0000 (09:24 +0000)]
ethtool: Fix ptest compile

buildtest-TESTS is a phony target and does nothing which results in a
do_install error since the tests aren't built. Since there isn't
a suitable make target but the number of tests are small, hardcode
the two to build to unbreak the build when ptest is enabled.

(From OE-Core rev: 5dd8653fdcda5e0e8b4f3c37a46f357bc97ec66c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobuildhistory/distrodata: Adapt to updated fetcher API
Richard Purdie [Wed, 20 Nov 2013 14:44:11 +0000 (14:44 +0000)]
buildhistory/distrodata: Adapt to updated fetcher API

The buildhistory code has fallback paths for older bitbakes for now. The
distrodata class is much less used and it can be assumed a recent bitbake
is used in that case rather than adding fallback code.

(From OE-Core rev: 570cc145029fd9d5528aef5c27cb65164265c799)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopackagegroup-core-tools-profile: add systemd-analyze
Ross Burton [Thu, 21 Nov 2013 15:21:39 +0000 (15:21 +0000)]
packagegroup-core-tools-profile: add systemd-analyze

If the systemd DISTRO_FEATURE is enabled, then recommend systemd-analyze for
profiling boot performance.

(From OE-Core rev: 20d2fad0d08eb337fdc80385bce32469a97e988a)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agooeqa/connman: disable unique test
Ross Burton [Thu, 21 Nov 2013 14:57:46 +0000 (14:57 +0000)]
oeqa/connman: disable unique test

The connman unique test starts another instance of connmand and then does a ps to
verify that there's only one of these running, on the assumption that the new
one has quit because there's already one running (started by init).

However, connmand is forking into the background straight away so there's a race
between running ps and the second connmand discovering the first and exiting.
This race can be seen because the test displays the output of ps, and by the
time that second ps has been executed the new connmand has exited.

This is a classic race condition and on a heavily loaded autobuilder inserting
an arbitrary sleep isn't wise.  In the scheme of things this test isn't very
useful, so delete it.

(From OE-Core rev: 80ef721140c79e29430d0a5692a5c176db0061e6)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogcc: Upgrade to 4.8.2
Khem Raj [Thu, 21 Nov 2013 14:59:44 +0000 (06:59 -0800)]
gcc: Upgrade to 4.8.2

The details for bug fixes between 4.8.1 and 4.8.2 is here

http://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=4.8.2

Remove the patches that were applied upstream

(From OE-Core rev: 3e5922a2ed250361e76ea616baba2f8d9332e20f)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoia32-base: Remove cpio and ext3 defaults
Richard Purdie [Thu, 21 Nov 2013 15:25:36 +0000 (15:25 +0000)]
ia32-base: Remove cpio and ext3 defaults

On real IA hardware, neither the ext3 or cpio images are particularly useful
or used. cpio is legacy from initramfs and that specific image now overrides
FSTYPES accordingly. The size difference in filesystems makes ext3 as a file
format less useful, mainly being useful in the qemu case.

When needed users can still override the default FSTYPES so having
saner defaults makes sense. This improves build times and uses less
network bandwidth for builds and releases.

(From OE-Core rev: 42484d72ed52a1a6f9d3f5b4bf46a72fbfbc490e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agomatcbox-keyboard: bump SRCREV
Ross Burton [Thu, 21 Nov 2013 16:27:21 +0000 (16:27 +0000)]
matcbox-keyboard: bump SRCREV

Bump to the latest commit on the 0.1 branch.

Drop two redundant patches, and update the license data since upstream has been
re-licensed to LGPL v2.1.

(From OE-Core rev: a9bc6140e6cf24a5bad942f68348c02c446eac17)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoyocto-bsp: Add missing format specifier in bblayers error message
Bastien JAUNY [Wed, 13 Nov 2013 19:21:14 +0000 (20:21 +0100)]
yocto-bsp: Add missing format specifier in bblayers error message

If the build environment is misconfigured (e.g. a bad path
for a layer in bblayers.conf) the yocto-bsp script crashes with a
standard python error, not very explicit.  This fixes the problem.

Signed-off-by: Bastien JAUNY <bastien.jauny@gmail.com>
(From meta-yocto rev: 4a8e80b812eebdc1c9570b5d88aa0f3b34824b68)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toasterui: fix typo
Alexandru DAMIAN [Tue, 19 Nov 2013 10:53:39 +0000 (10:53 +0000)]
bitbake: toasterui: fix typo

A typo in buildinfo helper leads to a bug where
information about tasks is not correctly stored.

This patch fixes the typo.

(Bitbake rev: 67b752993a2c64cba9ccc4fa662f0bddf081e74a)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: bitbake: cooker, toaster: mark interrupted builds as failed
Alexandru DAMIAN [Tue, 19 Nov 2013 16:46:41 +0000 (16:46 +0000)]
bitbake: bitbake: cooker, toaster: mark interrupted builds as failed

This patch changes bitbake to log an error to the
command line when the build is interrupted via Ctrl-C.

This is needed to inform the user that not all tasks
required for the build have been executed, and
the build is not complete.

Internally, the Bitbake server will return a CommandFailed
event that will be logged by Toaster as build failure.

(Bitbake rev: 9a658e8b1511f1b9f91663f546f748fdfbc8965f)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: build.py: add single-quotes around already-expanded directory name
Peter Seebach [Wed, 20 Nov 2013 00:31:39 +0000 (18:31 -0600)]
bitbake: build.py: add single-quotes around already-expanded directory name

If the computed name of a directory contains an undefined variable
reference, bitbake dutifully creates a directory with a name that has
${...} in it. However, the actual task script created then tries to cd
to that directory, and the cd command fails, because no such directory
exists -- because the shell has helpfully removed the ${...} which did
not match any actual variables.

Since we want the name to be used exactly-as-is, add single quotes around
the name so this doesn't cause strange failures running tasks, which
allows us to progress past such failures and get to a point where they
can be diagnosed.

(Bitbake rev: 2809c2e6f2f35f9b08058950be896947ab5a0284)

Signed-off-by: Peter Seebach <peter.seebach@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibrsvg: upgrade to 2.40.0
Ross Burton [Tue, 19 Nov 2013 17:02:30 +0000 (17:02 +0000)]
librsvg: upgrade to 2.40.0

Add local-m4.patch and install a local vapigen.m4 so that we can autoreconf
without needing Vala installed.

Refresh build dependencies removing stale recipes and adding libcroco as it's a mandatory dependency now.

Explicitly disable Vala, with a patch from upstream until 2.40.1.

The GTK+ 2 theme engine has been removed, delete all traces of it.

Add a patch to make GTK+ use deterministic, and a disabled PACKAGECONFIG for it.

Enable parallel make, as some testing shows that it works fine.

Drop librsvg-CVE-2011-3146, merged upstream.  Drop doc_Makefile.patch, our
gtk-doc.mk isn't buggy and this isn't needed anymore.

Merge multiple -dev and -dbg packages into ${PN}-dev and -dbg, and remove the
loader module .a and .la files as they are pointless.

(From OE-Core rev: ee3e2e5ce15a3bf78c7e9d76d7bf68131f2d3ef7)

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 agokconfig-frontends: upgrade to 3.12.0.0
Saul Wold [Sat, 16 Nov 2013 11:55:31 +0000 (13:55 +0200)]
kconfig-frontends: upgrade to 3.12.0.0

(From OE-Core rev: c102667fe480d5321cbc7a2b513e55f62485ac96)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoweston: remove reference to gles in PACKAGECONFIG
Ross Burton [Fri, 15 Nov 2013 23:54:40 +0000 (23:54 +0000)]
weston: remove reference to gles in PACKAGECONFIG

The "gles" configuration was removed in the upgrade to 1.3.0, and it was enabled
only if the unknown/rare opengles2 DISTRO_FEATURE was enabled.

(From OE-Core rev: d618f739f3631178cf61cfb8313b6c2c7ee6a9a6)

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 agojson-glib: upgrade to 0.16.2
Ross Burton [Fri, 15 Nov 2013 23:49:09 +0000 (23:49 +0000)]
json-glib: upgrade to 0.16.2

(From OE-Core rev: 2eca920275e5e3180eef9479961f7b19400df085)

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 agosysvinit: use ALTERNATIVE to manage sulogin
Chen Qi [Fri, 15 Nov 2013 10:45:43 +0000 (18:45 +0800)]
sysvinit: use ALTERNATIVE to manage sulogin

Busybox also provides sulogin command, so we need to use the ALTERNATIVE
mechanism to manage it.

(From OE-Core rev: 8b3a799a87d18b1d113d59b3e7a681db5683e5f8)

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 agogstreamer1.0: upgrade to 1.2.0
Carlos Rafael Giani [Sat, 16 Nov 2013 20:23:57 +0000 (21:23 +0100)]
gstreamer1.0: upgrade to 1.2.0

starting with this version, the recipes enable Orc acceleration by
default

(From OE-Core rev: 686ee2f13673d48d8c7666d4fa1806e98b037561)

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 agoutil-linux: collect libs for related libxx-dev package
Qiang Chen [Mon, 18 Nov 2013 02:18:32 +0000 (10:18 +0800)]
util-linux: collect libs for related libxx-dev package

Commit 91c0f9e3 moves library files to base_libdir for safe while
symbol link libblkid.so, libmount.so and libuuid.so are placed in
libdir, not base_libdir.

Meanwhile, libblkid.la, libmount.la and libuuid.la are placed in
libdir too.

Thus they are missed by related develop package and
collected by util-linux's develop package at last. Fix it.

(From OE-Core rev: 4571c9e963c667bce8b61e88816b34ba74b2aab7)

Signed-off-by: Zhang Xiao <xiao.zhang@windriver.com>
Signed-off-by: Qiang Chen <qiang.chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolicense.bbclass: fix missing of license files on ubuntu build host
Chen Qi [Mon, 18 Nov 2013 07:20:44 +0000 (15:20 +0800)]
license.bbclass: fix missing of license files on ubuntu build host

The license_create_manifest function contains bashism, this will lead
to unexpected results on ubuntu build host, as sh is linked to dash on
ubuntu. Even if COPY_LIC_MANIFEST and COPY_LIC_DIRS are enabled, the
license files will still be missing on target.

This patch fixes the above problem.

[YOCTO #5549]

(From OE-Core rev: 4df9daee5c732c0a20dabe8515577238a1508512)

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 agoliburcu: upgrade to 0.8.1
Cristiana Voicu [Mon, 18 Nov 2013 15:03:15 +0000 (17:03 +0200)]
liburcu: upgrade to 0.8.1

One patch was removed because it was merged upstream; converted
"files" directory to "liburcu"

(From OE-Core rev: f599315f2d944a465dd0081f9e7bfc7294fcd299)

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 agoat-spi2-core: upgrade to 2.10.2
Cristiana Voicu [Mon, 18 Nov 2013 15:03:14 +0000 (17:03 +0200)]
at-spi2-core: upgrade to 2.10.2

(From OE-Core rev: 29702920adebefd2cf1ea1fde0b0f5b44b14ee40)

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 agolibjson: update to 0.11 and rename to json-c
Jack Mitchell [Mon, 18 Nov 2013 16:14:25 +0000 (16:14 +0000)]
libjson: update to 0.11 and rename to json-c

libjson is now known as json-c. Config.status is removed as it breaks
seperate build dir builds. Built without parallel make as it fails,
official word is not to bother trying.

(From OE-Core rev: 533c1db22eddaaaea7d58d1fc75d608b9ba8122a)

Signed-off-by: Jack Mitchell <jmitchell@cbnl.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobtrfs-tools: Update to git HEAD
Saul Wold [Fri, 15 Nov 2013 21:33:16 +0000 (13:33 -0800)]
btrfs-tools: Update to git HEAD

btrfs-tools has had numerous bugfix and recently fixed the issue that do_rootfs
was failing, there is no offical release, they just roll the head.

Removed 2 parallel make patches that we resolved slightly differently upstream

[YOCTO #5146]

(From OE-Core rev: 9ae204660814a8dc50b67d6c35b872dfa78c17e1)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoimage_types: newer btrfs.mkfs needs an empty file to build the disk in
Saul Wold [Fri, 15 Nov 2013 21:37:27 +0000 (13:37 -0800)]
image_types: newer btrfs.mkfs needs an empty file to build the disk in

(From OE-Core rev: 836396a3450e7bf151956e87bd92f70c5050c995)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agotelepathy-idle: upgrade to 0.2.0
Cristian Iorga [Fri, 15 Nov 2013 20:01:13 +0000 (22:01 +0200)]
telepathy-idle: upgrade to 0.2.0

(From OE-Core rev: 27539e9db24dad26c6f0e952458c68f778ed97a5)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
[Renamed patch directory to remove version - sgw]
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agokernel.bbclass: move bundle_initramfs after kernel_link_vmlinux
Ming Liu [Wed, 13 Nov 2013 05:40:59 +0000 (13:40 +0800)]
kernel.bbclass: move bundle_initramfs after kernel_link_vmlinux

${KERNEL_OUTPUT} is being renamed/restored in bundle_initramfs task, so we
must ensure bundle_initramfs run after kernel_link_vmlinux where the link
of vmlinux is created as the bootable image.

(From OE-Core rev: 3baa63b4d588c3262254528b406ede265dd117bf)

Signed-off-by: Ming Liu <ming.liu@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoxorg-driver: fix qa issue while multilib enabled - contains Xorg driver but no xorg-abi
Hongxu Jia [Fri, 15 Nov 2013 02:31:56 +0000 (10:31 +0800)]
xorg-driver: fix qa issue while multilib enabled - contains Xorg driver but no xorg-abi

...
WARNING: QA Issue: Package lib32-xf86-video-vesa contains Xorg driver (vesa_drv.so) but no xorg-abi- dependencies
WARNING: QA Issue: Package lib32-xf86-video-intel contains Xorg driver (intel_drv.so) but no xorg-abi- dependencies
WARNING: QA Issue: Package lib32-xf86-video-omap contains Xorg driver (omap_drv.so) but no xorg-abi- dependencies
WARNING: QA Issue: Package lib32-xf86-video-vmware contains Xorg driver (vmware_drv.so) but no xorg-abi- dependencies
WARNING: QA Issue: Package lib32-xf86-video-fbdev contains Xorg driver (fbdev_drv.so) but no xorg-abi- dependencies
WARNING: QA Issue: Package lib32-xf86-video-modesetting contains Xorg driver (modesetting_drv.so) but no xorg-abi- dependencies
...

In oe-core 87be2314fe0e67a616b4f713106b4ae46931f5cb, it fixed add_abi_depends
issue while enable multilib.

We did the same thing for qa check: package_qa_check_xorg_driver_abi.

[YOCTO #5545]

(From OE-Core rev: 3132d8b52eb05b03df4d4589f94cff38ab69b81d)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake.conf: Remove obsolete/unused MIRROR cruft
Phil Blundell [Thu, 14 Nov 2013 18:15:46 +0000 (18:15 +0000)]
bitbake.conf: Remove obsolete/unused MIRROR cruft

ADOBE_MIRROR, HANDHELDS_CVS and E_SVN were broken links and not used by
any recipe in oe-core.

FREEDESKTOP_CVS is no longer useful because all the source code that
matters is in git; no recipe in oe-core still uses the CVS repository.

E_MIRROR, FREEBSD_MIRROR, FREESMARTPHONE_GIT still point to valid-seeming
locations but there are no recipes in oe-core that use them.  Any layers
which need these variables can define them for themselves.

GPE_SVN, GPE_EXTRA_SVN, GPEPHONE_MIRROR and GPEPHONE_SVN are not used by
any recipe in oe-core and the corresponding projects seem to be mostly
dead upstream.  Again, any layers which still wish to use these variables
can define them locally.

All the above are just wasting space in bitbake's datastore and would be
better deleted.

(From OE-Core rev: 3b333896c71689c664475d53daed52404bf6b21b)

Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoqemu: explicitly disable xen support
Ming Liu [Wed, 13 Nov 2013 08:15:47 +0000 (16:15 +0800)]
qemu: explicitly disable xen support

We don't make use of xen and when building on Ubuntu 13.04 when
libxen-dev is installed on the build host you will get errors like the
following:

| /usr/include/x86_64-linux-gnu/bits/string3.h:81: warning: memset used with constant zero length parameter; this could be due to transposed parameters
| /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib/libxenguest.so: undefined reference to `lzma_alone_decoder@XZ_5.0'
| /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib/libxenguest.so: undefined reference to `lzma_code@XZ_5.0'
| /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib/libxenguest.so: undefined reference to `lzma_stream_decoder@XZ_5.0'
| /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib/libxenguest.so: undefined reference to `lzma_end@XZ_5.0'

This change disables xen for both -native and target packages but
since it is a PACKAGECONFIG a user could tune this to have xen support
in the target package.

(From OE-Core rev: fd638b975aac826d7137fd11db94b64ba82de592)

Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Ming Liu <ming.liu@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoinitscripts: add missing dmesg.sh to run-level S
Hans Beckerus [Fri, 15 Nov 2013 14:25:33 +0000 (15:25 +0100)]
initscripts: add missing dmesg.sh to run-level S

In commit faa8cc6c2a582a32c695f3f2b0d45b6892c769fd dmesg.sh was
added to the set of init.d scripts. But the script was never put
in any run-level. This patch will add dmesg.sh to run-level S.

(From OE-Core rev: 7d2767d4e27c6d0eaa56f3e126df56e65a5364c9)

Signed-off-by: Hans Beckerus <hans.beckerus AT gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agokernel.bbclass: Use lzma not lzmash for decompressing
Phil Blundell [Fri, 15 Nov 2013 13:31:01 +0000 (13:31 +0000)]
kernel.bbclass: Use lzma not lzmash for decompressing

If kernel_do_compile() encounters a .lzma image for the initramfs, it
attempts to decompress it using the little-known "lzmash" utility.  This
may not be present, which will cause the build to fail.

Fortunately, it appears that the more mainstream "lzma" tool is
compatible so we can use that one instead.

(From OE-Core rev: f7a04cbdee67675ff6a8787709f3a312dc25bfec)

Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosystemd: Fix packaging of pam config files.
Florin Sarbu [Fri, 15 Nov 2013 12:10:11 +0000 (14:10 +0200)]
systemd: Fix packaging of pam config files.

Removed early FILES_${PN} += for the pam config
files which would subesequently be overwritten by
a FILES_${PN} = .

(From OE-Core rev: e4cead9e97aecdc3d45910aca71eb1d9e9e9a2b6)

Signed-off-by: Florin Sarbu <florin.sarbu@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoia32-base.inc: remove eee-acpi-scripts from MACHINE_EXTRA_RRECOMMENDS
Paul Eggleton [Fri, 15 Nov 2013 11:58:39 +0000 (11:58 +0000)]
ia32-base.inc: remove eee-acpi-scripts from MACHINE_EXTRA_RRECOMMENDS

We shouldn't bring this in unconditionally for all ia32 machines.

(From OE-Core rev: d573d424788d56c6fee02c1ee0cdeb96fe610b85)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoicecc: Use bb.utils.which instead of calling which
Tobias Henkel [Fri, 15 Nov 2013 07:36:41 +0000 (08:36 +0100)]
icecc: Use bb.utils.which instead of calling which

The icecc class often calls 'which' for determining paths. This leads
to many messages on stderr in case 'which' doesn't find the
executable. Using bb.utils.which is more appropriate here and doesn't
pollute stderr.

(From OE-Core rev: 7ed7aa38182ce8c7300a08e3aefcc65da2b524a8)

Signed-off-by: Tobias Henkel <tobias.henkel@bmw-carit.de>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodistrodata.bbclass: Add fetch2 handlers to svn case in checkpkg
Irina Patru [Thu, 14 Nov 2013 08:54:19 +0000 (10:54 +0200)]
distrodata.bbclass: Add fetch2 handlers to svn case in checkpkg

The existing code in checkpkg from distrodata.bbclass had similar
functionality with fetch when searching for latest package version.

For packages that use svn protocol that part was rewrote in order
to use fetcher API.
It now calls latest_revision method from Svn class in fetch2 so
that it gets latest version.

[ YOCTO #1813 ]

(From OE-Core rev: 2686b92bbab88cc777fdc0e4dded5aeabca7ac77)

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 agodbus: Don't depend on dbus-ptest-ptest for the nativesdk-dbus package
Dominik Holland [Thu, 14 Nov 2013 16:15:51 +0000 (17:15 +0100)]
dbus: Don't depend on dbus-ptest-ptest for the nativesdk-dbus package

I also changed RDEPENDS_class-native to RDEPENDS_dbus_class-native now

(From OE-Core rev: 2678e2ee7ec4de75a9e50a6a0d5f2b7f1b95aee8)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoboost: Add patch to avoid undefined references to boost::atomic::lockpool::get_lock_for()
Phil Blundell [Thu, 14 Nov 2013 14:41:21 +0000 (14:41 +0000)]
boost: Add patch to avoid undefined references to boost::atomic::lockpool::get_lock_for()

Boost::thread uses functions from boost::atomic but doesn't actually
link with libboost_atomic.  This works fine on platforms where
BOOST_ATOMIC_FLAG_LOCK_FREE is true but will lead to undefined
symbol references otherwise.  Fix this by applying a patch from
the upstream bug tracker to add the missing library linkage.

(From OE-Core rev: 1ffc27173576589191b037d111ecb59d94631de0)

Signed-off-by: Phil Blundell <pb@pbcl.net>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolttng-modules: Update to 2.3.3 version
Otavio Salvador [Thu, 14 Nov 2013 17:43:49 +0000 (15:43 -0200)]
lttng-modules: Update to 2.3.3 version

This updates lttng-modules for 2.3.3 and it also fixes the build with
3.12 Linux kernel.

While on that, we also renamed the recipe file to follow the other
lttng recipes which use the version number on it.

(From OE-Core rev: 2d01bd48e689656bbe6189243d077f822092a14a)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolttng-tools: Update to version 2.3.1
Paul Woegerer [Thu, 14 Nov 2013 12:34:34 +0000 (13:34 +0100)]
lttng-tools: Update to version 2.3.1

(From OE-Core rev: 7719162d69e71fa59faff81f5f94f23b9d6d056a)

Signed-off-by: Paul Woegerer <paul_woegerer@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolttng-ust: Update to version 2.3.1
Paul Woegerer [Thu, 14 Nov 2013 12:34:33 +0000 (13:34 +0100)]
lttng-ust: Update to version 2.3.1

(From OE-Core rev: c471a63ecacf38752a64d0827d37f8a934319bed)

Signed-off-by: Paul Woegerer <paul_woegerer@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoutil-linux: Fix QA warnings about ALTERNATIVES
Lu Chong [Thu, 14 Nov 2013 02:47:58 +0000 (10:47 +0800)]
util-linux: Fix QA warnings about ALTERNATIVES

Previously, EXTRA_OECONF would be overwritten by EXTRA_OECONF_class-native
and EXTRA_OECONF_class-nativesdk.
As a result, some applications such as `last', `mesg' and `reset' didn't get
compiled.

The patch rewrote EXTRA_OECONF_class-native, EXTRA_OECONF_class-nativesdk
and EXTRA_OECONF variables to fix QA warnings.

usr/share/man/man1/last.1.util-linux does not exist
usr/share/man/man1/mesg.1.util-linux does not exist
usr/bin/last.util-linux does not exist
usr/bin/mesg.util-linux does not exist
bin/reset does not exist

(From OE-Core rev: 4cff0bd254667b145d765e1135f254c1916e2ee8)

Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
[YOCTO #5338]
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoudev: remove extra -dev/-dbg packages
Wenzong Fan [Thu, 14 Nov 2013 02:45:48 +0000 (21:45 -0500)]
udev: remove extra -dev/-dbg packages

We don't support multiple -dbg/-dev packages, the package can generate
them but the system does not correctly handle them. Just move all devel
stuffs into 'udev-dev' and all debug stuffs into 'udev-dbg'.

(From OE-Core rev: 014f7a33f399192268f28acac835551413c4768d)

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoqemu-helper-native: remove unneeded FILESEXTRAPATH
Saul Wold [Thu, 14 Nov 2013 18:22:03 +0000 (10:22 -0800)]
qemu-helper-native: remove unneeded FILESEXTRAPATH

(From OE-Core rev: a11a260f36aa1458c44a5b22e996252a5f3b2e4e)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosquashfs-tools: remove FILESEXTRAPATH and move patches directory
Saul Wold [Thu, 14 Nov 2013 17:43:53 +0000 (09:43 -0800)]
squashfs-tools: remove FILESEXTRAPATH and move patches directory

(From OE-Core rev: 60375dd8d0a849a7a23badb0f195a662c93a4922)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibpcre: Cleanup FILESPATH
Saul Wold [Thu, 14 Nov 2013 17:20:19 +0000 (09:20 -0800)]
libpcre: Cleanup FILESPATH

Setting of the FILESPATH is not needed anymore, so clean it up.
Move files to libprce patch directory

(From OE-Core rev: 32b2e20e7f6484830bac0510414b1950abbc1a96)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogrub: add xz RDEPENDS
Ming Liu [Wed, 13 Nov 2013 08:19:21 +0000 (16:19 +0800)]
grub: add xz RDEPENDS

grub_2.0.0 requires xz to run or an error may occur.

(From OE-Core rev: ffa2877c06c587d4ea56c55bfd0f67a88e42a772)

Signed-off-by: Ming Liu <ming.liu@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolib32-qt4-examples: fix QA warnings and INSANE_SKIP not work
Hongxu Jia [Wed, 13 Nov 2013 08:46:07 +0000 (16:46 +0800)]
lib32-qt4-examples: fix QA warnings and INSANE_SKIP not work

Fix the following warnings:
...
lib32-qt4-examples: found library in wrong location: /usr/bin/qt4/examples/tools/echoplugin/plugin/libechoplugin.so
lib32-qt4-examples: found library in wrong location: /usr/bin/qt4/examples/tools/plugandpaint/plugins/libpnp_extrafilters.so
...

In oe-core f119566477243ce43b727492dc78b9cb3dd76de4, it added INSANE_SKIP
libdir for examples packages as it includes plugin shared libraries outside
of libdir.

But it hardcoded ${QT_BASE_NAME} as INSANE_SKIP's package name
and it didn't work while multilib enabled.

Add ${MLPREFIX} as package name's prefix in INSANE_SKIP

[YOCTO #5516]

(From OE-Core rev: d63588ddd5a1f08fff90f5bb3f7278490e359720)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoflex: fix m4 issue on target
Laurentiu Palcu [Wed, 6 Nov 2013 13:07:58 +0000 (15:07 +0200)]
flex: fix m4 issue on target

Flex needs m4 to run (see below) and, since the create_wrapper
introduces a bash dependency on target, give the path to m4 binary in
the configure command line.

Snippet from the flex documentation:
"The macro processor m4 must be installed wherever flex is installed.
<...>
m4 is only required at the time you run flex."

[YOCTO #5329]

(From OE-Core rev: 64030f37b34f75144f53eef42d5822ede79e08bd)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoexpect: Add recipe
Mihaela Sendrea [Mon, 11 Nov 2013 09:23:53 +0000 (01:23 -0800)]
expect: Add recipe

Nedeed for gcc-runtime tests.

Fixed build on multilib and add patch to remove
!/depot/path/expect -f
which caused rpm to puke on rfs generation

(From OE-Core rev: 8f06d2975ed7d5db3828dc116c0df72d1161e8e5)

Signed-off-by: Mihaela Sendrea <mihaela.sendrea@enea.com>
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 agolibnl: Fix random segfaults due to memory corruption
Khem Raj [Tue, 12 Nov 2013 04:15:53 +0000 (20:15 -0800)]
libnl: Fix random segfaults due to memory corruption

This is a backport from upstream fixes a severe problem
w.r.t memory management, where it would result in random
segfaults in applications depending on libnl

(From OE-Core rev: 3c58ea10f90c657d34133d7244a550456bc93cf9)

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 agotcl: Install header into 8.6 instead of PN-PV in user/include
Khem Raj [Tue, 12 Nov 2013 04:07:15 +0000 (20:07 -0800)]
tcl: Install header into 8.6 instead of PN-PV in user/include

This helps in compiling other programs like expect which
depend on private headers but 8.5, 8.6 and so on is enough
granularity and currently we had 8.6.x and so on which
means that expect recipe will need to be touched whenever there
is minor update of tcl.

Additionally the encode creating symlink to shared object in
patch and remove it from recipe

Refresh patches after making changes to Configure.in we
propertly generate configure and not patch is directly as
was the case.

(From OE-Core rev: 67f44193135c789e478410347ff58ed110ed9484)

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 agomdadm: flag __SANE_USERSPACE_TYPES__ to include int-ll64.h for powerpc64
Chunrong Guo [Tue, 12 Nov 2013 03:40:49 +0000 (11:40 +0800)]
mdadm: flag __SANE_USERSPACE_TYPES__ to include int-ll64.h for powerpc64

      *PPC64 uses long long for u64 in the kernel, but powerpc's asm/types.h
       prevents 64-bit userland from seeing this definition, instead defaulting
       to u64 == long in userspace.

      *fix the below error
       |super-ddf.c:4542:5: error: format '%llu' expects argument of type 'long long unsigned int',
       |but argument 5 has type '__u64' [-Werror=format=]
       |dprintf("BVD %u has %08x at %llu\n", 0,

(From OE-Core rev: d3caab6eb03264b4f4d744f914598022299011ba)

Signed-off-by: Chunrong Guo <B40290@freescale.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agokernel-grub.bbclass: support /boot area within root partition
Hongxu Jia [Mon, 11 Nov 2013 11:56:54 +0000 (19:56 +0800)]
kernel-grub.bbclass: support /boot area within root partition

Previously, it supported the situation that /boot area with separate boot
partition:
...
menuentry "Update bzImage-3.10.10-WR6.0.0.0_standard-3.10" {
    set root=(hd0,1)
    linux /bzImage-3.10.10-WR6.0.0.0_standard root=/dev/sdb1 rw ip=dhcp
}
...

But didn't consider the situation that /boot within root partition:
...
menuentry "Update bzImage-3.10.10-WR6.0.0.0_standard-3.10" {
    set root=(hd0,1)
    linux /boot/bzImage-3.10.10-WR6.0.0.0_standard root=/dev/sdb1 rw ip=dhcp
}
...

This fix supported them both.
[YOCTO #5514]

(From OE-Core rev: 53d342db9f9995564573715f28c3e4c9c8c68bf9)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosysvinit: fix problem in switching runlevels
Chen Qi [Mon, 11 Nov 2013 09:26:09 +0000 (17:26 +0800)]
sysvinit: fix problem in switching runlevels

Previously, if we switch to runlevel 1 and then switch back to runlevel
5, the network interface will be brought down and the NFS service will
not be restarted correctly.

The problem is that the networking and rpcbind services are brought down
in runlevel 1 but not brought up in runlevel 5.

This patch fixes the above problem. It's based on the assumption that
in sysvinit-based system, runlevel 1 does not have networking support.

This patch adjusts some init script parameters used by update-rc.d. It
makes sure that networking starts before rpcbind which in turn starts
before mountnfs.sh. When switching to runlevel 0, 1 and 6, the umountnfs.sh
is run first before stopping rpcbind service, and the network is brought
down afterwards.

[YOCTO #5513]

(From OE-Core rev: f12e1291b51ba6692b6809570d6a9b73c70a7fe9)

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 agolibcheck: upgrade to 0.9.11
Saul Wold [Sat, 9 Nov 2013 09:30:00 +0000 (11:30 +0200)]
libcheck: upgrade to 0.9.11

Both patches have been merged upstream.

(From OE-Core rev: 9982f9836f06b1a9282d657ee249eb08261518cb)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosysstat: upgrade to 10.2.0
Saul Wold [Sat, 9 Nov 2013 11:16:21 +0000 (13:16 +0200)]
sysstat: upgrade to 10.2.0

Cleanup by moving files to $PN

(From OE-Core rev: b9d63e318c2d8edb9b360544cca4c76be2904552)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: runqueue: Fix hole in setsceneverify skipped task logic
Richard Purdie [Wed, 20 Nov 2013 10:46:28 +0000 (10:46 +0000)]
bitbake: runqueue: Fix hole in setsceneverify skipped task logic

We have do_bundle_initramfs which is a task inserted after compile and
before build. It is not covered by sstate.

If we run a build with a valid sstate cache present, the setsceneverify
function realises it will rerun the do_compile step (due to the
bundle_initramfs task) and hence marks do_populate_sysroot to rerun.
do_install, a dependency of do_populate_sysroot is left as marked as
covered by sstate.

What we need to do is traverse the dependency tree for any setsceneverify
invalided task and ensure any dependencies are also invalidated. We can
stop at any point we reach another setscene task though.

This means the do_populate_sysroot task has the data from do_install
available and doesn't crash.

(Bitbake rev: f21910157d873c030b149c4cdc5b57c5062ab5a6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: fetch2: Fix handling of SCM mirrors in MIRRORS
Richard Purdie [Tue, 19 Nov 2013 13:09:14 +0000 (13:09 +0000)]
bitbake: fetch2: Fix handling of SCM mirrors in MIRRORS

If an SCM mirror is in PREMIRRORS, the tarball is downloaded and then found
by the "upstream" check and handled correctly.

If an SCM mirror is in MIRRORS, the tarball is downloaded but not used
since there is no "upstream" run after MIRRORS completes. It therefore
sits there useless and unused. This code change forces the upstream to
run after a mirror tarball is found and fixes the usage of SCM mirrors
in MIRRORS.

(Bitbake rev: a66ee0994645aa5658b2f5ea134ed17d89f8751a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: git: Use git branch for ancestor checks
Richard Purdie [Tue, 19 Nov 2013 13:08:59 +0000 (13:08 +0000)]
bitbake: git: Use git branch for ancestor checks

Using git merge-base for checking for ancestors is nice but required git 1.8.0
which is not in many distrbutions yet. We therefore revert to a more ugly
check using git branch --contains until such times as we can upgrade.

(Bitbake rev: 31467c0afe0346502fcd18bd376f23ea76a27d61)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: serv.py: Give pr-server up to 5 seconds to commit data
Konrad Scherer [Fri, 15 Nov 2013 20:51:47 +0000 (15:51 -0500)]
bitbake: serv.py: Give pr-server up to 5 seconds to commit data

The default value of 0.5 seconds before sending the pr-server a
SIGTERM is not enough to guarantee that sqlite has committed all
the pr data to the database. By polling the pid to see if it is
still running, this allows the pr-server process to shutdown
cleanly and finish the final pr data commit.

(Bitbake rev: 22eec978e70794923c85689928c6be0cfe71cdcd)

Signed-off-by: Konrad Scherer <Konrad.Scherer@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: git: Use merge-base instead of log for testing if a commit is present
Richard Purdie [Mon, 18 Nov 2013 17:17:16 +0000 (17:17 +0000)]
bitbake: git: Use merge-base instead of log for testing if a commit is present

The current use of git log to check if a given revision is present can be
a little fragile.

For example if revision X was on branch A, and then later added to branch
B, the update checks would not notice this since they just check for X
being in the repository.

We also had some autobuilder corruption where an older packed-refs file
was copied over a new repository containing newer pack files. There
was no update to the refs file since the revision was present but
not accessible in any branch.

The correct fix is to check that the required revisions are present
on the specific branches. This patch does this using merge-base.

(Bitbake rev: 89abfbc1953e3711d6c90aff793ee622c22609b1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopython: Fix ptest not working problems
Zhangle Yang [Mon, 18 Nov 2013 12:54:55 +0000 (20:54 +0800)]
python: Fix ptest not working problems

The run-ptest contained in python uses a Makefile. The path of the
Makefile is changed to ${libdir}/python/ptest in do_install_ptest.
However, the directory is wrong when the project is configured with
"--enable-multilib=lib32"

In addition, do_install_ptest is defined before "inherit ptest", so
it is overriden by the one in ptest.bbclass. do_install_ptest is
moved down.

(From OE-Core rev: 0eb947454e1c92467283e6f1adeca67c7c57698b)

Signed-off-by: Zhangle Yang <zhangle.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosysvinit: unmount the psplash lazyily
Saul Wold [Fri, 15 Nov 2013 01:52:13 +0000 (17:52 -0800)]
sysvinit: unmount the psplash lazyily

There is an race condition where psplash is not quite exited before the unmount occurs
causing a umount: /mnt/.psplash: target is busy message to appear, it's ok to lazyily
unmount and not get this message

[YOCTO #5244]

(From OE-Core rev: 9ded366084f22f48ef72aa22acf6a38982d16d97)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopybootchartgui: Add option --minutes to show time in minutes
Peter Kjellerstedt [Fri, 15 Nov 2013 17:09:03 +0000 (18:09 +0100)]
pybootchartgui: Add option --minutes to show time in minutes

(From OE-Core rev: b93eefd039a956b7d1d184592dd4342eb43f9341)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopybootchartgui: Add a color for the package_write_* tasks
Peter Kjellerstedt [Fri, 15 Nov 2013 17:09:02 +0000 (18:09 +0100)]
pybootchartgui: Add a color for the package_write_* tasks

(From OE-Core rev: 2cec29b47a1de5da712cf4e2c6e25daf45d9f265)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopybootchartgui: Reorder the legend to match the task execution order
Peter Kjellerstedt [Fri, 15 Nov 2013 17:09:01 +0000 (18:09 +0100)]
pybootchartgui: Reorder the legend to match the task execution order

(From OE-Core rev: a12cf87471de40ce432d0176eabfb111de5310c6)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopybootchartgui: Make bars without a specified color white
Peter Kjellerstedt [Fri, 15 Nov 2013 17:09:00 +0000 (18:09 +0100)]
pybootchartgui: Make bars without a specified color white

Previously they were transparent.

(From OE-Core rev: 4ebdd8672cc5589a3e2f8d1b75cde7fae9fd6c99)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopybootchartgui: Make "Show more" show all processes
Peter Kjellerstedt [Thu, 14 Nov 2013 15:11:16 +0000 (15:11 +0000)]
pybootchartgui: Make "Show more" show all processes

While "Show more" is enabled, all processes are shown, regardless of
--mintime.

This also has the added benefit of making the first shown bar start at
its correct offset from the start time, rather than always starting at
0.

(From OE-Core rev: 5f1b8730f90099c0f73a6b08599990ee71e831b5)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopybootchartgui: Draw a lot less ticks
Peter Kjellerstedt [Fri, 15 Nov 2013 17:08:58 +0000 (18:08 +0100)]
pybootchartgui: Draw a lot less ticks

With this, one second ticks are only enabled if the width of a second is
five pixels or more. It is also possible to distinguish 1, 5 and 30
second ticks.

(From OE-Core rev: bd0bde6d04fd6cd9f8e7773d68da127144afa7de)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopybootchartgui: Disable options that do not make sense
Peter Kjellerstedt [Fri, 15 Nov 2013 17:08:57 +0000 (18:08 +0100)]
pybootchartgui: Disable options that do not make sense

(From OE-Core rev: e1cde0c8b65a56657a5a5669890dad442223fef4)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopybootchartgui: No need to do a double list comprehension over files
Peter Kjellerstedt [Fri, 15 Nov 2013 17:08:56 +0000 (18:08 +0100)]
pybootchartgui: No need to do a double list comprehension over files

(From OE-Core rev: bd00a768d88c22eabee90407684f1fb84139acfb)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopybootchartgui: Avoid having overlapping process bars
Peter Kjellerstedt [Fri, 15 Nov 2013 17:08:55 +0000 (18:08 +0100)]
pybootchartgui: Avoid having overlapping process bars

(From OE-Core rev: 901afb35da814661ed20b2895f1d4055bf73fae2)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopybootchartgui: Use correct header height
Peter Kjellerstedt [Fri, 15 Nov 2013 17:08:54 +0000 (18:08 +0100)]
pybootchartgui: Use correct header height

(From OE-Core rev: f7d1f49aa46a46ecb881386f0399aa7da288d805)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopybootchartgui: Correct the X offset for the chart
Peter Kjellerstedt [Fri, 15 Nov 2013 17:08:53 +0000 (18:08 +0100)]
pybootchartgui: Correct the X offset for the chart

This will make the first bar actually start within the graph. It will
also move the graph to the right so the names of the first tasks are
more likely to be visible.

(From OE-Core rev: 388daa9a8ce7f2216fb55ce65cab1d4060f6c41d)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopybootchartgui: Set the initial state of "Show more" correctly
Peter Kjellerstedt [Fri, 15 Nov 2013 17:08:52 +0000 (18:08 +0100)]
pybootchartgui: Set the initial state of "Show more" correctly

(From OE-Core rev: 55fa7f768bb7618f2daaf43f147609c76e077b8b)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopybootchartgui: Make the horizontal scaling stay within bounds
Peter Kjellerstedt [Fri, 15 Nov 2013 17:08:51 +0000 (18:08 +0100)]
pybootchartgui: Make the horizontal scaling stay within bounds

(From OE-Core rev: 50c2c3435915ef1ecbde395c71c5c9581c83fb2e)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopybootchartgui: Import pybootchartgui 0.14.5
Peter Kjellerstedt [Fri, 15 Nov 2013 17:08:50 +0000 (18:08 +0100)]
pybootchartgui: Import pybootchartgui 0.14.5

This update the pybootchartgui code to the latest release from its new
location at "https://github.com/mmeeks/bootchart". This only imports
the relevant parts, and not all of bootchart2.

(From OE-Core rev: 6f1568e54a7808b2ab568618fc5bb244249579f1)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agomtdev: upgrade to 1.1.4
Ross Burton [Fri, 15 Nov 2013 23:49:24 +0000 (23:49 +0000)]
mtdev: upgrade to 1.1.4

Refresh fixsepbuild.patch to apply cleanly, and clean up the description.

(From OE-Core rev: 3cfce710faf82024c5d8973fe83a125d0375309b)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibxrandr: upgrade to 1.4.1
Ross Burton [Fri, 15 Nov 2013 23:49:22 +0000 (23:49 +0000)]
libxrandr: upgrade to 1.4.1

License checksum changes as COPYING was updated upstream with additional
copyright notices.

(From OE-Core rev: 1261cf6fdc14529d10d61e2f21d675555ed6bec6)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogdk-pixbuf: upgrade to 2.30.1
Ross Burton [Fri, 15 Nov 2013 23:49:23 +0000 (23:49 +0000)]
gdk-pixbuf: upgrade to 2.30.1

(From OE-Core rev: e5b861c5ff2e9e0e20ffcc12acb193db677227d7)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agonfs-utils: Add new option to disable nfsidmap and PACKAGECONFIG for that
Martin Jansa [Sat, 16 Nov 2013 01:22:39 +0000 (02:22 +0100)]
nfs-utils: Add new option to disable nfsidmap and PACKAGECONFIG for that

* it's autodetecting keyutils from meta-ivi

(From OE-Core rev: 64d04c7449f47cc49468b54cd6529700e0c7a608)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>