]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
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>
11 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

Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
[YOCTO #5338]
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 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'.

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

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

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

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

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

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

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

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

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

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 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,

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

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

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

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

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

Signed-off-by: Zhangle Yang <zhangle.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 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]

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

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 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

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 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

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 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.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 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.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 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.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 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

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 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

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 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

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

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 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.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 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

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 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

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 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.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 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.

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

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

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

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolttng-tools: Fixes incorrect path of ptest cases
Chong Lu [Mon, 18 Nov 2013 05:41:14 +0000 (13:41 +0800)]
lttng-tools: Fixes incorrect path of ptest cases

In ptest cases, some paths are still the source code path.
Continue to fix the paths of executable files in ptest cases
to make them work on target.

Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopackagegroup-core-boot: Drop build-time dependency on virtual/kernel
Martin Jansa [Sun, 17 Nov 2013 13:52:13 +0000 (14:52 +0100)]
packagegroup-core-boot: Drop build-time dependency on virtual/kernel

* because kernel isn't needed to build packagegroup and building
  it doesn't influence if it's included in image or not.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoofono: upgrade to 1.13
Cristian Iorga [Fri, 15 Nov 2013 20:01:12 +0000 (22:01 +0200)]
ofono: upgrade to 1.13

obsolete_automake_macros.patch and
missing-ssize_t.patch no longer needed,
included in upstream.
Better support for BlueZ5.

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobuildhistory_analysis: fix error when comparing image contents
Paul Eggleton [Sun, 17 Nov 2013 12:28:19 +0000 (12:28 +0000)]
buildhistory_analysis: fix error when comparing image contents

OE-Core commit b7de1eaac9eed559b2d68058f5de67de74a6cb58 added an extra
argument to the compare_dict_blobs() function but missed adding the
argument to one call to compare two versions of the image-info.txt file.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agokernel.bbclass: fix hardlink test
Bruce Ashfield [Sat, 16 Nov 2013 06:17:24 +0000 (01:17 -0500)]
kernel.bbclass: fix hardlink test

The commit [kernel.bbclass: test for hardlinks before installing] doesn't
work on all build machines without a space between the ! and the test for
hardlink equivalance. The build continues, while the test fails and no
copy is made into the sysroot. Eventually tasks like build_hdimg will fail
with the missing kernel with the root cause being less than obvious.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agokernel.bbclass: test for hardlinks before installing
Bruce Ashfield [Thu, 14 Nov 2013 16:55:26 +0000 (11:55 -0500)]
kernel.bbclass: test for hardlinks before installing

commit df564c4 [kernel: Use hardlinks for do_populate_sysroot for speed]
does indeed speed up the build, but it also means that the KERNEL_OUPUT
and KERNEL_IMAGETYPE may be hardlinks.

If they are hardlinks, install complains that they are actually the same
file and stops the build. We can easily test and avoid the copy if the
file is already in place.

[YOCTO #5527]

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

Updating the meta branch SRCREV to update the USB configuration:

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

    Tested on Beagleboard xM Rev. C2.

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

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

    ntp: fix ntp_notify_cmos_timer merge issue

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

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

Updating the meta branch SRCREV to update the USB configuration:

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

    Tested on Beagleboard xM Rev. C2.

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

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

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

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

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

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

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

It's DISTRO_FEATURES; DISTRO_FEATURE is invalid.

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

It's LICENSE_FLAGS, LICENSE_FLAG is invalid.

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

It's gtk-immodules-cache and GTKIMMODULES_PACKAGES.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

This reverts commit 38b6c4df7c215ed7fd6be107fbc2527e66791e2e.

Its not needed anymore after upgrade to 2.38

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

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

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

DISTRO_VERSION and SDK_VERSION are also updated to match.

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

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

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

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

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

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

[YOCTO #5511]

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

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

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

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

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

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

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

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

Signed-off-by: Tobias Henkel <tobias.henkel@bmw-carit.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>