]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
11 years agolibav: install libraries to right directory when multilib is enabled
Nick D'Ademo [Tue, 26 Nov 2013 06:26:46 +0000 (17:26 +1100)]
libav: install libraries to right directory when multilib is enabled

Explicitly set libdir and shlibdir to ${libdir} in EXTRA_OECONF. Otherwise, default library path of ${prefix}/lib is used which is incorrect in a multilib build.

Signed-off-by: Nick D'Ademo <nickdademo@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoweston: upgrade to 1.3.1
Ross Burton [Tue, 26 Nov 2013 17:33:43 +0000 (17:33 +0000)]
weston: upgrade to 1.3.1

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agochrpath: Improve crazy code
Richard Purdie [Tue, 26 Nov 2013 22:14:47 +0000 (22:14 +0000)]
chrpath: Improve crazy code

The current code is a little bit overcomplicated, deficient and also
possibly broken.

Issues include:

a) Not maximally optisming rpaths (e.g. a lib in usr/lib might get an
   rpath of $ORIGIN/../../usr/lib)
b) The return in the middle of the for loop look suspiciously like
   it might break on some binaries
c) The depth function, loops of "../" prepending and so on can
   be replaced with a call to os.path.relpath

This patch cleans up the above issues.

Running binaries should result in less "../" resolutions which can't
hurt performance either.

[YOCTO #3989]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoicecc: Disable icecc for allarch recipes
Martin Jansa [Wed, 27 Nov 2013 01:53:39 +0000 (02:53 +0100)]
icecc: Disable icecc for allarch recipes

* Fix icecc.bbclass failing with:
  ERROR: recipe-name NULL prefix
  when it's used with empty TARGET_PREFIX.
* Allarch recipes cannot use compiler at all (even the local one)
  so there is no point of using icecc for them.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agocronie: fix init.d/crond status return value
Yue Tao [Wed, 27 Nov 2013 07:55:43 +0000 (15:55 +0800)]
cronie: fix init.d/crond status return value

Signed-off-by: Yue Tao <Yue.Tao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agotcf-agent: add init.d/tcf-agent status command
Li Wang [Wed, 27 Nov 2013 07:55:44 +0000 (15:55 +0800)]
tcf-agent: add init.d/tcf-agent status command

Signed-off-by: Li Wang <li.wang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agozlib: Add ptest
Tudor Florea [Wed, 27 Nov 2013 08:02:19 +0000 (09:02 +0100)]
zlib: Add ptest

Install zlib tests and run them as ptest

Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agotcl: fix version string and make recipe multilib build compatible
Nick D'Ademo [Wed, 27 Nov 2013 10:20:01 +0000 (21:20 +1100)]
tcl: fix version string and make recipe multilib build compatible

Explicitly set libdir in EXTRA_OECONF so that the correct library folder is generated in a multilib build.

The version string (VER) has been changed to 8.6.1 and the library paths have been updated accordingly so that the related tk recipe can correctly detect tcl (this search is done using the tclConfig.sh script which contains the tcl version number).

Signed-off-by: Nick D'Ademo <nickdademo@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agofile: remove useless patches
Roy Li [Wed, 27 Nov 2013 09:24:43 +0000 (17:24 +0800)]
file: remove useless patches

no user uses these two patches

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoclutter-1.0: upgrade to 1.16.2
Ross Burton [Tue, 26 Nov 2013 19:49:22 +0000 (19:49 +0000)]
clutter-1.0: upgrade to 1.16.2

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibrsvg: upgrade to 2.40.1
Ross Burton [Tue, 26 Nov 2013 19:49:21 +0000 (19:49 +0000)]
librsvg: upgrade to 2.40.1

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agofontconfig: upgrade to 2.11.0
Ross Burton [Tue, 26 Nov 2013 19:49:19 +0000 (19:49 +0000)]
fontconfig: upgrade to 2.11.0

Drop sysroot patch as a rewritten form has been accepted upstream.

Update license checksums - Google added to COPYING, and the fccache license has
moved.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopango: upgrade to 1.32.6
Ross Burton [Tue, 26 Nov 2013 19:49:20 +0000 (19:49 +0000)]
pango: upgrade to 1.32.6

Drop automake macro patch, merged upstream.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibdrm: upgrade to 2.4.49
Laurentiu Palcu [Mon, 25 Nov 2013 13:51:00 +0000 (15:51 +0200)]
libdrm: upgrade to 2.4.49

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibpng: set reasonable SUMMARY
Paul Eggleton [Tue, 26 Nov 2013 14:41:56 +0000 (14:41 +0000)]
libpng: set reasonable SUMMARY

Also don't set DESCRIPTION to the same value, it's superfluous.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoxproto: upgrade to 7.0.25
Laurentiu Palcu [Mon, 25 Nov 2013 13:51:02 +0000 (15:51 +0200)]
xproto: upgrade to 7.0.25

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogit: upgrade to 1.8.4.4
Upgrade Helper [Mon, 25 Nov 2013 13:51:01 +0000 (15:51 +0200)]
git: upgrade to 1.8.4.4

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibxcb: upgrade to 1.9.3
Laurentiu Palcu [Mon, 25 Nov 2013 13:51:04 +0000 (15:51 +0200)]
libxcb: upgrade to 1.9.3

Added 2 new extensions: dri3 and present. Moved libxcb and xcb-util
recipes to xorg-lib directory.

Removed the following patch(es):
 * automake_1.14_fix.patch (backport)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoxcb-proto: upgrade to 1.9
Laurentiu Palcu [Mon, 25 Nov 2013 13:51:03 +0000 (15:51 +0200)]
xcb-proto: upgrade to 1.9

Also move xcb-proto recipes from xcb directory to xorg-proto directory.

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopowertop: upgrade to 2.5
Laurentiu Palcu [Mon, 25 Nov 2013 13:50:59 +0000 (15:50 +0200)]
powertop: upgrade to 2.5

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agotar: upgrade to 1.27.1
Laurentiu Palcu [Mon, 25 Nov 2013 13:50:58 +0000 (15:50 +0200)]
tar: upgrade to 1.27.1

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopython-setuptools: upgrade to 1.4
Laurentiu Palcu [Mon, 25 Nov 2013 13:50:57 +0000 (15:50 +0200)]
python-setuptools: upgrade to 1.4

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoxtrans: upgrade to 1.3.2
Laurentiu Palcu [Mon, 25 Nov 2013 13:50:56 +0000 (15:50 +0200)]
xtrans: upgrade to 1.3.2

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosystemtap: upgrade to 2.4
Cristiana Voicu [Tue, 26 Nov 2013 12:39:47 +0000 (14:39 +0200)]
systemtap: upgrade to 2.4

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibav: use CCLD as ld
Robert Yang [Tue, 26 Nov 2013 19:34:55 +0000 (03:34 +0800)]
libav: use CCLD as ld

The libav uses gcc as the ld, but it doesn't use CCLD, it may have
problems when target arch is 64 bit since it doesn't use the "-m64", the
poky's toolchain is fine since use "x86_64-poky-linux-gcc" without
"-m64" is default to 64 bit, but external toolchain *may* default to 32
bit (for example, when multilib is enabled and both 64 and 32 bit use
the same gcc, then the default arch can be either of them), then there
would be errors, the error is just like we run this in poky:

$ x86_64-poky-linux-gcc -m32 <file.c>

ld: skipping incompatible /path/to/sysroot/usr/lib64/x86_64-poky-linux/4.8.2/libgcc.a
when searching for -lgcc

Use CCLD as the ld will fix the problem since CCLD has been set
correctly.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibpng: upgrade to 1.6.7
Valentin Popa [Tue, 26 Nov 2013 10:44:05 +0000 (12:44 +0200)]
libpng: upgrade to 1.6.7

License is the same.

Signed-off-by: Valentin Popa <valentin.popa@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agocoreutils 6.9: fix coreutils.texi
Robert Yang [Tue, 26 Nov 2013 10:32:34 +0000 (18:32 +0800)]
coreutils 6.9: fix coreutils.texi

This is used for fixing coreutils 6.9 (GPLv2+) do_installed failed:

[snip]
| coreutils.texi:2499: @itemx must follow @item
| coreutils.texi:2636: @itemx must follow @item
| coreutils.texi:2644: @itemx must follow @item
| coreutils.texi:2654: @itemx must follow @item
| coreutils.texi:2677: @itemx must follow @item
| coreutils.texi:2689: @itemx must follow @item
| coreutils.texi:2820: @itemx must follow @item
| coreutils.texi:3058: @itemx must follow @item
| coreutils.texi:3253: @itemx must follow @item
[snip]

Use '@item' instead of '@itemx' in several places, as Texinfo 5 refuses
to process an '@itemx' that is not preceded by an '@item'.  Ensure that
node extended names in menus and sectioning are consistent, and that
ordering and presence of nodes in menus and in the actual text are
consistent as well.

[YOCTO #5593]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoclasses/image: write image manifest
Paul Eggleton [Tue, 26 Nov 2013 12:09:52 +0000 (12:09 +0000)]
classes/image: write image manifest

Write a list of installed packages to a .manifest file next to the
image, so we can find out what went into the image after it has been
constructed without necessarily having to have buildhistory enabled
(although that will provide more detail.) We can make use of this for
example in the testimage class associated code that checks for installed
packages for determining whether or not to run specific tests.

Note: this replaces the previous ipk-specific manifest code with
something that works for ipk, rpm and deb, and instead of a pruned
status file, packages are listed one per line, in the following format:

<packagename> <packagearch> <version>

Tests for all three backends have shown that the performance impact of
this change is negligible (about 1.5s max).

Implements [YOCTO #5410]

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoharfbuzz: Add PACKAGECONFIG for icu
Richard Purdie [Tue, 26 Nov 2013 14:31:56 +0000 (14:31 +0000)]
harfbuzz: Add PACKAGECONFIG for icu

harfbuzz can be built without icu. We don't need harfbuzz-icu for any
default OE-Core configuration so default to icu being disabled for
performance improvements.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobeecrypt: Add PACKAGECONFIG for cplusplus
Richard Purdie [Tue, 26 Nov 2013 14:32:28 +0000 (14:32 +0000)]
beecrypt: Add PACKAGECONFIG for cplusplus

Add a PACKGECONFIG to control the building of the beecrypt C++
bindings. The only user of beecrypt in OE-Core is rpm and this doesn't
need the C++ bindings so default the option to be off. This means
we can lose the icu dependency by default which is a significant
performance win.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoqemu: add PACKAGECONFIG for vnc, libcurl, nss, uuid, curses, gtk+, libcap-ng
Hongxu Jia [Sat, 2 Nov 2013 06:52:59 +0000 (14:52 +0800)]
qemu: add PACKAGECONFIG for vnc, libcurl, nss, uuid, curses, gtk+, libcap-ng

Use PACKAGECONFIG to explicitly address vnc, libcurl, nss, uuid, curses, gtk+,
libcap-ng dependencies rather than tested by configure.

It avoided potential errors while multiple builds shared a common state_cache.

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobzip2: Remove stange copy line, automake does this for us anyway
Richard Purdie [Mon, 25 Nov 2013 23:22:04 +0000 (23:22 +0000)]
bzip2: Remove stange copy line, automake does this for us anyway

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolinux-firmware: add missing linux-firmware-iwlwifi-7260-7 package
Paul Eggleton [Mon, 25 Nov 2013 15:20:56 +0000 (15:20 +0000)]
linux-firmware: add missing linux-firmware-iwlwifi-7260-7 package

The FILES / RDEPENDS lines were added for this package, but not the
entry in PACKAGES, so it was never being created.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosanity: Use random filename for maximum path length test
Mike Crowe [Mon, 25 Nov 2013 15:20:14 +0000 (15:20 +0000)]
sanity: Use random filename for maximum path length test

check_create_long_filename used a fixed filename for its test files. This
meant that os.remove(testfile) could fail with ENOENT if two instances were
running at the same time against the same sstate directory. Using a
randomly generated filename stops this from happening.

(Although it might seem unlikely, this race did appear to occur multiple
times with Jenkins - presumably because the matrix jobs were all kicked off
at the same time.)

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosanity: Don't hard code value of ENAMETOOLONG
Mike Crowe [Mon, 25 Nov 2013 15:20:15 +0000 (15:20 +0000)]
sanity: Don't hard code value of ENAMETOOLONG

Although ENAMETOOLONG is 36 on Linux x86 and x86_64 it does isn't on other
architectures so the value shouldn't be hard coded.

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobluez4: added dependency on 'libsndfile1'
Enrico Scholz [Mon, 25 Nov 2013 15:10:44 +0000 (16:10 +0100)]
bluez4: added dependency on 'libsndfile1'

bluez4 detects and uses libsndfile1 and the compilation can fail with

| sbc/sbctester.c:32:21: fatal error: sndfile.h: No such file or directory
| ...
| compilation terminated.
| make[1]: *** [sbc/sbctester.o] Error 1

in rebuilds (image with libsndfile1 was built, then some change ->
bluez4 do_configure runs with libsndfile1 -> libsndfile1 gets removed
-> bluez4 do_compile fails).

As there is no trivial way to disable its detection and to make it a
PACKAGECONFIG option, 'libsndfile1' was put into static DEPENDS.

Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoavahi: add leading space to RRECOMMENDS append
Martin Jansa [Sun, 24 Nov 2013 13:28:27 +0000 (14:28 +0100)]
avahi: add leading space to RRECOMMENDS append

* in case update-rc.d is already in RRECOMMENDS it fails with
  ERROR: Nothing RPROVIDES 'update-rc.dlibnss-mdns' (but
  meta/recipes-connectivity/avahi/avahi_0.6.31.bb
  RDEPENDS on or otherwise requires it)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agowebkit/midori: fix COMPATIBLE_HOST
Roy Li [Mon, 25 Nov 2013 08:58:55 +0000 (16:58 +0800)]
webkit/midori: fix COMPATIBLE_HOST

webkit can not be built on mips64 with n32 ABI, but can be built on mips64
n64 and o32 ABI whose TARGET_SYS's name is mips-*-linux

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agox264: install libraries to right directory when enable multilib
Kai Kang [Mon, 25 Nov 2013 08:17:07 +0000 (16:17 +0800)]
x264: install libraries to right directory when enable multilib

x264 use [EPREFIX/lib] as default libdir. When multlib is enabled that
is not right. Packages depends on x264 such as libav configure fails
that can't find library x264.

Pass the right libdir to configure script to fix it.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoattr: attr_2.4.47 release tarball missing configure.ac
Nathan Rossi [Mon, 25 Nov 2013 08:18:15 +0000 (18:18 +1000)]
attr: attr_2.4.47 release tarball missing configure.ac

The release tarball of attr 2.4.47 is missing the configure.ac file.
This prevents the autotools bbclass from being able to regenerate the
configure script which leads to other side affects. (e.g. using
outdated config.sub)

This patch adds the configure.ac file via a patch.
(obtained via the source repository at the v2.4.47 tag)

See the mailing list thread for additional information:
http://lists.nongnu.org/archive/html/acl-devel/2013-05/msg00024.html

Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoadt-installer: Switch from svn to tarball release for opkg
Richard Purdie [Fri, 22 Nov 2013 16:12:58 +0000 (16:12 +0000)]
adt-installer: Switch from svn to tarball release for opkg

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agometadata_scm: Avoid crashing on new svn version layouts
Richard Purdie [Fri, 22 Nov 2013 15:07:34 +0000 (15:07 +0000)]
metadata_scm: Avoid crashing on new svn version layouts

This avoids crashing on newer svn layouts where the entries files
don't contain three lines. If someone wants to fix this to
get the right version on newer subversion checkouts, patches
welcome but this at least stops things crashing.

[YOCTO #5363]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agokernel.bbclass: Stop bundle_initramfs thwarting sstate cache and fix race
Mike Crowe [Fri, 22 Nov 2013 14:23:02 +0000 (14:23 +0000)]
kernel.bbclass: Stop bundle_initramfs thwarting sstate cache and fix race

The new do_bundle_initramfs task introduced in
609d5a9ab9e58bb1c2bcc2145399fbc8b701b85a defeats using the sstate
cache. The kernel is resurrected from the sstate cache but ends up being
built again since do_bundle_initramfs depends on do_compile.

The task is no longer nostamp to avoid causing unnecessary rebuilds. The
sstate checksum stamps should know when to rebuild.

The task now runs before do_deploy and part of the work has been moved to
do_deploy where it now writes to ${DEPLOYDIR} rather than
${DEPLOY_DIR_IMAGE} so that the files end up in sstate.

The task can also race against do_install since both call into the kernel
build system. This is fixed by making do_bundle_initramfs run after
do_install (which therefore also fixes the problem that
3baa63b4d588c3262254528b406ede265dd117bf was addressing.)

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoRevert "kernel.bbclass: move bundle_initramfs after kernel_link_vmlinux"
Mike Crowe [Fri, 22 Nov 2013 14:23:01 +0000 (14:23 +0000)]
Revert "kernel.bbclass: move bundle_initramfs after kernel_link_vmlinux"

This reverts commit 3baa63b4d588c3262254528b406ede265dd117bf. It broke
builds that aren't using kernel-yocto.

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agokconfig-frontends: add python to kconfig-frontends's RDEPENDS
Hongxu Jia [Thu, 21 Nov 2013 13:14:35 +0000 (21:14 +0800)]
kconfig-frontends: add python to kconfig-frontends's RDEPENDS

| Note: adding Smart RPM DB channel
|
| Note: to be installed:  kconfig-frontends@x86_64 run-postinsts@x86_64 kernel-modules@qemux86_64 packagegroup-core-boot@qemux86_64
| Loading cache...
| Updating cache...               ######################################## [100%]
|
| Computing transaction...error: Can't install kconfig-frontends-3.10.0.0-r0.0@x86_64: no package provides /usr/bin/python
|
| Saving cache...
|
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_rootfs (log file is located at tmp/work/qemux86_64-wrs-linux/wrlinux-image-glibc-small/1.0-r1/temp/do_rootfs/log.do_rootfs.30959)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoinitscripts: remove erroneous call to /etc/default/rcS in mountnfs.sh
Ross Burton [Fri, 22 Nov 2013 10:31:26 +0000 (10:31 +0000)]
initscripts: remove erroneous call to /etc/default/rcS in mountnfs.sh

This doesn't exist when using systemd as it's part of the sysvinit package, and
this script doesn't need it.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopciutils: upgrade to 3.2.1
Valentin Popa [Fri, 22 Nov 2013 10:24:34 +0000 (12:24 +0200)]
pciutils: upgrade to 3.2.1

Signed-off-by: Valentin Popa <valentin.popa@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 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

Signed-off-by: Valentin Popa <valentin.popa@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 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

Signed-off-by: Valentin Popa <valentin.popa@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 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.

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

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 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]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 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.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 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.

Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 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.

Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 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

Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 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.

Signed-off-by: Olof Johansson <olof.johansson@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 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.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 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.

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

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

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

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

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

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

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 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.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 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.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 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.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 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

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 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.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 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.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 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.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 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

Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 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.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 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

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 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.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 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

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 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.

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

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 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"

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 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

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 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.

Signed-off-by: Jack Mitchell <jmitchell@cbnl.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 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]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 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

Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 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

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

Signed-off-by: Ming Liu <ming.liu@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 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]

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 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.

Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 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.

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

Signed-off-by: Hans Beckerus <hans.beckerus AT gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 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.

Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 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} = .

Signed-off-by: Florin Sarbu <florin.sarbu@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 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.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 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.

Signed-off-by: Tobias Henkel <tobias.henkel@bmw-carit.de>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 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 ]

Signed-off-by: Irina Patru <irina.patru@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 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

Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 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.

Signed-off-by: Phil Blundell <pb@pbcl.net>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 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.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 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

Signed-off-by: Paul Woegerer <paul_woegerer@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 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

Signed-off-by: Paul Woegerer <paul_woegerer@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>