]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
12 years agolocal.conf.sample: change valgrind support architecture comment
Jack Mitchell [Thu, 13 Sep 2012 12:27:21 +0000 (13:27 +0100)]
local.conf.sample: change valgrind support architecture comment

The comment for debug-tools states valgrind will only be installed for x86
targets. This is not true as valgrind now supports x86*, PPC* and ARMv7a;
delete the comment as the architecture support is now so varied.

Signed-off-by: Jack Mitchell <jack.mitchell@dbbroadcast.co.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopatch.bbclass: increase security
Constantin Musca [Fri, 14 Sep 2012 14:25:02 +0000 (17:25 +0300)]
patch.bbclass: increase security

- Use mkdtemp for generating temp dir names
- Use bb.utils.remove for removing temp dirs
- Add comment for explaining the "patch" workaround

[YOCTO #3070]

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolinux-yocto/3.4: make uprobes select perf events
Bruce Ashfield [Fri, 14 Sep 2012 04:57:27 +0000 (00:57 -0400)]
linux-yocto/3.4: make uprobes select perf events

uprobes depends on functionality provided by perf events. After
uprobes was enabled in the standard kernel the mpc8315 board showed
link errors due to missing perf event functions.

This problem isn't isolated to the board or powerpc arch, but all
other boards have PERF_EVENTS enabled. To fix this, we make UPROBE_EVENT
select PERF_EVENTS, and any new boards will be protected from the
same failure.

We also update the configuration fragments since CONFIG_UPROBES depends on
CONFIG_PERF_EVENTS being set, so PERF_EVENTS needs to be added whenever
uprobes are enabled.

[YOCTO #3111]

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agobitbake.conf: Assign SRCPV so that it will be tracked correcting in the sstate checksum
Richard Purdie [Fri, 14 Sep 2012 08:41:59 +0000 (09:41 +0100)]
bitbake.conf: Assign SRCPV so that it will be tracked correcting in the sstate checksum

Currently, SRCPV is just listed as having a value of ${@bb.fetch2.get_srcrev(d)}
which isn't helpful. This can mean that if PV changes, two recipes can have the
same sstate checksum despite having different PV values since the PV value itself
isn't tracked anywhere.

Adding this line means that the real PV value is expanded and recorded in the sstate
checksum, meaning the sstate packages no longer overlap. This is critical in ensuring
consistent builds for revipes using SRCPV.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoopkg: Fix package dependency issue for preinsts
Richard Purdie [Thu, 13 Sep 2012 22:40:29 +0000 (23:40 +0100)]
opkg: Fix package dependency issue for preinsts

When processing dependencies, we need to look for both the SW_INSTALL and
SW_UNKNOWN states. If we don't do this, dependencies can be missed
and preinst scripts can run before dependencies are all installed.

This leads to package installation errors for packages like dbus-1
and associated user permission errors.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agotaglib: Update to v1.8
Andrei Gherzan [Thu, 13 Sep 2012 22:22:26 +0000 (01:22 +0300)]
taglib: Update to v1.8

Patches not needed anymore - they switched to cmake.
LGPL license was replaced with the actual LGPL 2.1 file.
License section in audioproperties.h file was modified as it includes the
new address of Free Software Foundation.
libtag static library is not built by default anymore and if cmake is
instructed to build static library than shared library is deactivated.
So actually this is a switch now.

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agobinutils-2.22: Backport PR fixes from 2.22 branch
Khem Raj [Thu, 13 Sep 2012 21:59:10 +0000 (14:59 -0700)]
binutils-2.22: Backport PR fixes from 2.22 branch

These are fixes mainly cherrypicks for mips/ppc/x86
mainly fixing PRs in ld and gold

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolinux-yocto: virtio and KVM guest configuration
Bruce Ashfield [Thu, 13 Sep 2012 18:59:35 +0000 (14:59 -0400)]
linux-yocto: virtio and KVM guest configuration

Updating the meta branch SRCREV to pick up virtio and kvm guest
configuration fragments.

  79947f1 meta: add paravirtualized KVM guest config fragment
  3ed86ed meta: add MMIO support in virtio config fragment

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agokernel-yocto: fix kernel configuration audit for custom yocto kernels
Bruce Ashfield [Thu, 13 Sep 2012 12:59:08 +0000 (08:59 -0400)]
kernel-yocto: fix kernel configuration audit for custom yocto kernels

It was reported that the kernel configuration checks for custom yocto
kernels had the following output:

  NOTE: validating kernel configuration
  grep: /meta-series: No such file or directory
  grep: /meta-series: No such file or directory
  WARNING: Can't find any BSP hardware or required configuration fragments.
  WARNING: Looked at //cfg///hdw_frags.txt and //cfg///required_frags.txt in directory: //cfg//
  NOTE: Tasks Summary: Attempted 375 tasks of which 367 didn't need to be rerun and all succeeded.

which is not inspire confidence in the output of the process.

Completely inhibiting the check is one option to remove the messages,
but that removes the ability see output, which can help move users to
a better or more fully configured linux-yocto based kernel.

To fix this, we have to ensure that the path to the meta-series is
always valid, and that the tools can deal with not all files existing
in the audit directory.

Since custom yocto kernels do not set KMETA (they don't have a meta branch),
we ensure that a default of 'meta' is passed to the audit ('meta' is always
valid), and that kconf_check itself can deal with an incomplete set of
input audit files.

The net result is output like this (using a defconfig with invalid options
for the kernel being built):

  NOTE: validating kernel configuration
  This BSP sets 19 invalid/obsolete kernel options.
  These config options are not offered anywhere within this kernel.
  The full list can be found in your kernel src dir at:
  meta/cfg/standard/qemux86/invalid.cfg

  There were 1 instances of config fragment errors.
  The full list can be found in your kernel src dir at:
  meta/cfg/standard/qemux86/fragment_errors.txt

  The full list can be found in your kernel src dir at:
  meta/cfg/standard/qemux86/missing_required.cfg

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agopseudo_1.4.1.bb: update to pseudo 1.4.1, fixing 32-bit host problems
Peter Seebach [Thu, 13 Sep 2012 18:29:59 +0000 (13:29 -0500)]
pseudo_1.4.1.bb: update to pseudo 1.4.1, fixing 32-bit host problems

There were a number of cases where pseudo used plain old stat()
to get dev/inode data for files; on 32-bit hosts, this could fail
if the files were over 2GB, causing pseudo to prevent removing of
large files. This is fixed in 1.4.1.

Signed-off-by: Peter Seebach <peter.seebach@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoscripts/combo-layer: ensure we validate branch/revision on init
Paul Eggleton [Thu, 13 Sep 2012 16:23:12 +0000 (17:23 +0100)]
scripts/combo-layer: ensure we validate branch/revision on init

If both branch and last_revision are specified for a component when
combo-layer init is run, ensure that the specified revision is actually
on the specified branch and error out if not. Also ensure that the error
message mentions the component.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoscripts/combo-layer: use last_revision if specified in init
Paul Eggleton [Thu, 13 Sep 2012 16:23:11 +0000 (17:23 +0100)]
scripts/combo-layer: use last_revision if specified in init

If last_revision is specified for a component when running combo-layer
init, then use that revision instead of the latest revision on the
branch. Also, remove unnecessary git checkout during init since we
specify the revision to all calls to git when dealing with the component
repositories.

Fixes [YOCTO #3040].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolibffi upgrade to 3.0.11
Andrei Dinu [Thu, 13 Sep 2012 08:26:45 +0000 (11:26 +0300)]
libffi upgrade to 3.0.11

Changes :

- Added ax_append_flags.m4 and ax_check_compile_flag.m4 to the m4 directory.
  The files were missing and aclocal.m4 was generated without those two macros.

- Added a new license md5 checksum to the recipe because the old LICENSE file
  differs from the new one here :

        OLD : libffi - Copyright (c) 1996-2011

        NEW : libffi - Copyright (c) 1996-2012

Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agogst-fluendo-mpegdemux: add LICENSE_FLAGS
Paul Eggleton [Thu, 13 Sep 2012 11:03:02 +0000 (12:03 +0100)]
gst-fluendo-mpegdemux: add LICENSE_FLAGS

This likely requires some form of license to use in a commercial
product.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolibx11: update patch to a backport from upstream git
Ross Burton [Thu, 13 Sep 2012 10:10:32 +0000 (11:10 +0100)]
libx11: update patch to a backport from upstream git

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolibrsvg: remove spurious popt dependency
Ross Burton [Thu, 13 Sep 2012 10:04:30 +0000 (11:04 +0100)]
librsvg: remove spurious popt dependency

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolibrsvg: --disable-gnome-vfs doesn't exist anymore, remove
Ross Burton [Thu, 13 Sep 2012 10:04:29 +0000 (11:04 +0100)]
librsvg: --disable-gnome-vfs doesn't exist anymore, remove

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agogit: define NO_PYTHON=1 to stop git requiring python as a dependancy
Jack Mitchell [Thu, 13 Sep 2012 12:58:30 +0000 (13:58 +0100)]
git: define NO_PYTHON=1 to stop git requiring python as a dependancy

Git requires python by default as an included script to link git
to perforce is written in Python. Define NO_PYTHON to stop the
script being included and thus remove the dependancy on Python.

Signed-off-by: Jack Mitchell <jack.mitchell@dbbroadcast.co.uk>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoimage_types.bbclass: Round up ROOTFS_SIZE after base_size check
Andrei Gherzan [Mon, 10 Sep 2012 16:26:27 +0000 (19:26 +0300)]
image_types.bbclass: Round up ROOTFS_SIZE after base_size check

If we round up ROOTFS_SIZE to IMAGE_ROOTFS_ALIGNMENT before checking if
base_size is greater then IMAGE_ROOTFS_SIZE, we can end up adding an
unaligned value to IMAGE_ROOTFS_SIZE. Obviously, if
IMAGE_ROOTFS_EXTRA_SPACE was overwritten with an unaligned value. So
let's add the round up code after the base_size calculus and it's
comparison.

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agokernelshark: add missing ${D}
Saul Wold [Thu, 13 Sep 2012 03:22:34 +0000 (20:22 -0700)]
kernelshark: add missing ${D}

This was noticed by the following warnings of files that should have been removed!

WARNING: QA Issue: kernelshark: Files/directories were installed but not shipped
  /usr/share
  /usr/share/trace-cmd
  /usr/share/trace-cmd/plugins
  /usr/share/trace-cmd/plugins/plugin_blk.so
  /usr/share/trace-cmd/plugins/plugin_sched_switch.so
  /usr/share/trace-cmd/plugins/plugin_kmem.so
  /usr/share/trace-cmd/plugins/plugin_kvm.so
  /usr/share/trace-cmd/plugins/plugin_function.so
  /usr/share/trace-cmd/plugins/plugin_jbd2.so
  /usr/share/trace-cmd/plugins/plugin_hrtimer.so
  /usr/share/trace-cmd/plugins/plugin_mac80211.so
  /usr/share/trace-cmd/plugins/.debug
  /usr/share/trace-cmd/plugins/.debug/plugin_blk.so
  /usr/share/trace-cmd/plugins/.debug/plugin_sched_switch.so
  /usr/share/trace-cmd/plugins/.debug/plugin_kmem.so
  /usr/share/trace-cmd/plugins/.debug/plugin_kvm.so
  /usr/share/trace-cmd/plugins/.debug/plugin_function.so
  /usr/share/trace-cmd/plugins/.debug/plugin_jbd2.so
  /usr/share/trace-cmd/plugins/.debug/plugin_hrtimer.so
  /usr/share/trace-cmd/plugins/.debug/plugin_mac80211.so

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agooprofileui: Add Icons to oprofileui-viewer package
Saul Wold [Thu, 13 Sep 2012 03:21:02 +0000 (20:21 -0700)]
oprofileui: Add Icons to oprofileui-viewer package

Fixes the following warning:

WARNING: QA Issue: oprofileui: Files/directories were installed but not shipped
  /usr/share/icons
  /usr/share/icons/hicolor
  /usr/share/icons/hicolor/16x16
  /usr/share/icons/hicolor/32x32
  /usr/share/icons/hicolor/48x48
  /usr/share/icons/hicolor/24x24
  /usr/share/icons/hicolor/scalable
  /usr/share/icons/hicolor/22x22
  /usr/share/icons/hicolor/16x16/apps
  /usr/share/icons/hicolor/16x16/apps/oprofile-viewer.png
  /usr/share/icons/hicolor/32x32/apps
  /usr/share/icons/hicolor/32x32/apps/oprofile-viewer.png
  /usr/share/icons/hicolor/48x48/apps
  /usr/share/icons/hicolor/48x48/apps/oprofile-viewer.png
  /usr/share/icons/hicolor/24x24/apps
  /usr/share/icons/hicolor/24x24/apps/oprofile-viewer.png
  /usr/share/icons/hicolor/scalable/apps
  /usr/share/icons/hicolor/scalable/apps/oprofile-viewer.svg
  /usr/share/icons/hicolor/22x22/apps
  /usr/share/icons/hicolor/22x22/apps/oprofile-viewer.png

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agovalgrind_3.7.0.bb: fix missing leading space on _append
Matthew McClintock [Wed, 12 Sep 2012 21:07:03 +0000 (16:07 -0500)]
valgrind_3.7.0.bb: fix missing leading space on _append

Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agopatch.bbclass: Use one TMPDIR per patching process
Constantin Musca [Wed, 12 Sep 2012 11:58:18 +0000 (14:58 +0300)]
patch.bbclass: Use one TMPDIR per patching process

We must use one TMPDIR per process (/tmp/${PID}) so that the patching
processes don't generate the same temp file name (the "patch" program
uses the TMPDIR environment variable for deciding where to create the
temp files).

[YOCTO #3070]

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agorunqemu: Explicitly specify MACHINE when calling bitbake
Khem Raj [Wed, 12 Sep 2012 05:59:14 +0000 (22:59 -0700)]
runqemu: Explicitly specify MACHINE when calling bitbake

When using runqemu with distros outside oe-core then
MACHINE may not be there in local.conf so use the one
thats available in environment of runqemu which is actually
the correct one.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agouclibc: Revert systemd regressing patch from upsteam uclibc and uprev SRCREV
Khem Raj [Wed, 12 Sep 2012 07:55:03 +0000 (00:55 -0700)]
uclibc: Revert systemd regressing patch from upsteam uclibc and uprev SRCREV

This patch is causing systemd based systemd to not boot
Revert of patch has been tested on tip of master hence the new SRCREV

New SRCREV brings in one another regression fix as described here
http://lists.uclibc.org/pipermail/uclibc/2012-August/046993.html

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoconnman: remove trailing whitespace
Ross Burton [Tue, 11 Sep 2012 09:57:15 +0000 (10:57 +0100)]
connman: remove trailing whitespace

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agort: Add hwlatdetect to rt images
Darren Hart [Wed, 12 Sep 2012 04:17:07 +0000 (21:17 -0700)]
rt: Add hwlatdetect to rt images

This adds the newly separated hwlatdetect package to the rt images.
While this pulls in a python dependency, it is worth have hwlatdetect
installed by default on these images as they are intended to assist in
the evaluation of platforms for use in real-time environments.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agort-tests: Add hwlatdetect package
Darren Hart [Wed, 12 Sep 2012 04:17:06 +0000 (21:17 -0700)]
rt-tests: Add hwlatdetect package

Split out rt-tests into rt-tests and hwlatdetect packages as the latter
requires python and we want to be able to install the core rt-tests on
minimal systems without python.

This also addresses QA warnings about the hwlatdetect files not being
packaged.

Add an RRECOMMENDS on the hwlat kernel module package for the new
hwlatdetect package as the python test requires the kernel module to
function properly (but we probably don't want to kill a build if the
exact kernel module package is not available).

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agort-tests: Update to 0.84, use the kernel.org git repository
Darren Hart [Wed, 12 Sep 2012 04:17:05 +0000 (21:17 -0700)]
rt-tests: Update to 0.84, use the kernel.org git repository

The maintainer of rt-tests has recreated the git repository on kernel.org and
has stated that kernel.org is now the official source for rt-tests.

Update to 0.84. Remove the user cflags and ldflags patch as it is
included in the 0.84 release.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoquota 4.00: add DEPENDS gettext-native
Jackie Huang [Mon, 23 Jul 2012 08:38:09 +0000 (16:38 +0800)]
quota 4.00: add DEPENDS gettext-native

do_install needs command 'msgfmt', it would fail if the command
doesn't exist on the host, add DEPENDS gettext-native to fix this.

[YOCTO #2811]

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogst-plugins-good: fix compile error with recent linux-libc-headers
Andreas Müller [Wed, 5 Sep 2012 17:50:11 +0000 (19:50 +0200)]
gst-plugins-good: fix compile error with recent linux-libc-headers

With linux-libc-headers-3.5.0 (for tests) the error message was:

| gstv4l2bufferpool.c: In function 'gst_v4l2_buffer_new':
| gstv4l2bufferpool.c:184:3: error: 'struct v4l2_buffer' has no member named 'input'

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agovalgrind: fix debug info reading error when do memcheck on ppc targets
Zhenhua Luo [Wed, 12 Sep 2012 08:20:46 +0000 (16:20 +0800)]
valgrind: fix debug info reading error when do memcheck on ppc targets

    following is the error message:
        --2263-- WARNING: Serious error when reading debug info
        --2263-- When reading debug info from /lib/ld-2.13.so:
        --2263-- Can't make sense of .got section mapping
        --2263-- WARNING: Serious error when reading debug info
        --2263-- When reading debug info from /home/root/lzh:
        --2263-- Can't make sense of .data section mapping
        --2263-- WARNING: Serious error when reading debug info
        --2263-- When reading debug info from /usr/lib/valgrind/vgpreload_core-ppc32-linux.so:
        --2263-- Can't make sense of .data section mapping
        --2263-- WARNING: Serious error when reading debug info
        --2263-- When reading debug info from /usr/lib/valgrind/vgpreload_memcheck-ppc32-linux.so:
        --2263-- Can't make sense of .data section mapping
        --2263-- WARNING: Serious error when reading debug info
        --2263-- When reading debug info from /lib/libc-2.13.so:
        --2263-- Can't make sense of .data section mapping

Signed-off-by: Zhenhua Luo <b19537@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibx11-trim: remove, it's the same as libx11 now
Ross Burton [Tue, 11 Sep 2012 19:18:03 +0000 (20:18 +0100)]
libx11-trim: remove, it's the same as libx11 now

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomesa-dri: remove DEFAULT_PREFERENCE, this is the preferred now
Ross Burton [Wed, 12 Sep 2012 10:23:48 +0000 (11:23 +0100)]
mesa-dri: remove DEFAULT_PREFERENCE, this is the preferred now

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomesa-xlib: remove, it serves no useful purpose
Ross Burton [Wed, 12 Sep 2012 10:23:47 +0000 (11:23 +0100)]
mesa-xlib: remove, it serves no useful purpose

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibx11: revise keysymdef patch based on submission upstream
Ross Burton [Tue, 11 Sep 2012 19:18:08 +0000 (20:18 +0100)]
libx11: revise keysymdef patch based on submission upstream

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibx11-diet: remove un-needed chunk from stubs patch
Ross Burton [Tue, 11 Sep 2012 19:18:07 +0000 (20:18 +0100)]
libx11-diet: remove un-needed chunk from stubs patch

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibx11: makekeys can be cross-compiled now, so don't hack around
Ross Burton [Tue, 11 Sep 2012 19:18:06 +0000 (20:18 +0100)]
libx11: makekeys can be cross-compiled now, so don't hack around

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibx11: drop makekeys_crosscompile.patch, effectively merged upstream
Ross Burton [Tue, 11 Sep 2012 19:18:05 +0000 (20:18 +0100)]
libx11: drop makekeys_crosscompile.patch, effectively merged upstream

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodefault-providers: default to libx11, not -trim
Ross Burton [Tue, 11 Sep 2012 19:18:02 +0000 (20:18 +0100)]
default-providers: default to libx11, not -trim

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibx11-diet: remove statements that are redundant
Ross Burton [Tue, 11 Sep 2012 19:18:01 +0000 (20:18 +0100)]
libx11-diet: remove statements that are redundant

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibx11: make bigfont an optional (disabled by default) packageconfig option
Ross Burton [Tue, 11 Sep 2012 19:18:00 +0000 (20:18 +0100)]
libx11: make bigfont an optional (disabled by default) packageconfig option

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibx11: refresh dependencies, and centralise into libx11.inc
Ross Burton [Tue, 11 Sep 2012 19:17:59 +0000 (20:17 +0100)]
libx11: refresh dependencies, and centralise into libx11.inc

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibx11: merge patches into a single directory
Ross Burton [Tue, 11 Sep 2012 19:17:58 +0000 (20:17 +0100)]
libx11: merge patches into a single directory

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibx11: remove redundant license data
Ross Burton [Tue, 11 Sep 2012 19:17:57 +0000 (20:17 +0100)]
libx11: remove redundant license data

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibx11: move keysymdefdir option to .inc
Ross Burton [Tue, 11 Sep 2012 19:17:56 +0000 (20:17 +0100)]
libx11: move keysymdefdir option to .inc

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibx11: move xcms disabling to PACKAGECONFIG in libx11.inc
Ross Burton [Tue, 11 Sep 2012 19:17:55 +0000 (20:17 +0100)]
libx11: move xcms disabling to PACKAGECONFIG in libx11.inc

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoxorg-lib: move options to disable documentation to xorg-lib-common
Ross Burton [Tue, 11 Sep 2012 19:17:54 +0000 (20:17 +0100)]
xorg-lib: move options to disable documentation to xorg-lib-common

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibx11-diet: you can't disable UDC, because it's always disabled
Ross Burton [Tue, 11 Sep 2012 19:17:53 +0000 (20:17 +0100)]
libx11-diet: you can't disable UDC, because it's always disabled

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibx11-diet: you can't disable XCB anymore, so don't try
Ross Burton [Tue, 11 Sep 2012 19:17:52 +0000 (20:17 +0100)]
libx11-diet: you can't disable XCB anymore, so don't try

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibx11: use INC_PR
Ross Burton [Tue, 11 Sep 2012 19:17:51 +0000 (20:17 +0100)]
libx11: use INC_PR

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolinux-yocto/3.4: add x32 configuration fragment
Bruce Ashfield [Tue, 11 Sep 2012 15:04:41 +0000 (15:04 +0000)]
linux-yocto/3.4: add x32 configuration fragment

When x32 is the tuning for a x86 MACHINE, the kernel should also have
CONFIG_X86_X32=y. This adds a x32 fragment that can be used to trigger
the right ABI.

The commit also contains a check for mx32 in TUNE_FEATURES, and if
present, the new fragment will be appended to KERNEL_FEATURES and
trigger the support in the kernel.

cc: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosysstat: upgrade to 10.1.1
Constantin Musca [Tue, 11 Sep 2012 06:59:28 +0000 (09:59 +0300)]
sysstat: upgrade to 10.1.1

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolibexif: upgrade to 0.6.21
Constantin Musca [Tue, 11 Sep 2012 07:23:42 +0000 (10:23 +0300)]
libexif: upgrade to 0.6.21

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoglew: upgrade to 1.9.0
Constantin Musca [Tue, 11 Sep 2012 06:54:01 +0000 (09:54 +0300)]
glew: upgrade to 1.9.0

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoboost: upgrade to 1.51.0
Constantin Musca [Tue, 11 Sep 2012 07:37:35 +0000 (10:37 +0300)]
boost: upgrade to 1.51.0

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoclasses/license: place all found licenses on one line
Vladimir Zapolskiy [Tue, 11 Sep 2012 01:51:01 +0000 (04:51 +0300)]
classes/license: place all found licenses on one line

Cosmetic change, settle all found licenses into one line and report warning
about missing licenses loudly.

Signed-off-by: Vladimir Zapolskiy <vladimir_zapolskiy@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoclasses/license: correct license info in lisense.manifest
Vladimir Zapolskiy [Tue, 11 Sep 2012 01:18:15 +0000 (04:18 +0300)]
classes/license: correct license info in lisense.manifest

Trivial change, do not cut off plus symbol from license name, otherwise
information about package license is corrupted.

Signed-off-by: Vladimir Zapolskiy <vladimir_zapolskiy@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoclasses/license: account LICENSE_${pkg} values in manifest
Vladimir Zapolskiy [Tue, 11 Sep 2012 01:18:14 +0000 (04:18 +0300)]
classes/license: account LICENSE_${pkg} values in manifest

Trivial change, process LICENSE_${pkg} and LICENSE values. This fixes multiple
cases, when license is not specified at all in license.manifest

Signed-off-by: Vladimir Zapolskiy <vladimir_zapolskiy@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoclasses/license: remove redundant nested if statements
Vladimir Zapolskiy [Tue, 11 Sep 2012 01:13:45 +0000 (04:13 +0300)]
classes/license: remove redundant nested if statements

Cosmetic change, which improves code perception. Also check for locale
packages firstly, this shall improve performance a little.

Signed-off-by: Vladimir Zapolskiy <vladimir_zapolskiy@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoclasses/license: check license manifest for double records
Vladimir Zapolskiy [Tue, 11 Sep 2012 01:13:44 +0000 (04:13 +0300)]
classes/license: check license manifest for double records

Trivial typo bugfix, avoid multiple records in license.manifest.

Signed-off-by: Vladimir Zapolskiy <vladimir_zapolskiy@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoclasses/license: define LICENSE_MANIFEST variable
Vladimir Zapolskiy [Tue, 11 Sep 2012 01:13:43 +0000 (04:13 +0300)]
classes/license: define LICENSE_MANIFEST variable

Cosmetic change, saves space and reduces code line length.

Signed-off-by: Vladimir Zapolskiy <vladimir_zapolskiy@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoeglibc: Restore ${PN} to before ${PN}-dev in PACKAGES
Phil Blundell [Tue, 11 Sep 2012 18:14:25 +0000 (19:14 +0100)]
eglibc: Restore ${PN} to before ${PN}-dev in PACKAGES

Commit 13544fbc6217fee1731a6da1e2cf94901a500842 changed the ordering
of PACKAGES so that ${PN}-dev came before ${PN}.  However, this caused
the FILES matching to go wrong if ${libdir} == ${base_libdir}.  Fix this
by moving ${PN} ahead of ${PN}-dev once again.

Signed-off-by: Phil Blundell <pb@pbcl.net>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agosysvinit-inittab_2.88dsf.bb: only run serial checks at boot if we have items to check
Matthew McClintock [Tue, 11 Sep 2012 17:56:53 +0000 (12:56 -0500)]
sysvinit-inittab_2.88dsf.bb: only run serial checks at boot if we have items to check

Right now, we delay running the serial console checks to we boot up. This causes
issues for read only file systems. So, if have not configured any serial ports to
check via SERIAL_CONSOLES_CHECK we can skip the check at boot. This fixes any
issues with read only file systems and ipk packaging.

Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolinux-yocto*: append to KERNEL_FEATURES instead of assigning
Bruce Ashfield [Tue, 11 Sep 2012 13:05:14 +0000 (09:05 -0400)]
linux-yocto*: append to KERNEL_FEATURES instead of assigning

It is sometimes useful for KERNEL_FEATURES to be set in a machine
or other configuration file. The linux-yocto recipes currently
initialize the variable, which clobbers any values set by .conf
files.

Appending to the variables allows these settings to propagate to
the kernel configuration, while maintaining the existing set of
added kernel features.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolibgnome-keyring: add missing DEPENDS on intltool-native
Jackie Huang [Tue, 11 Sep 2012 15:13:22 +0000 (23:13 +0800)]
libgnome-keyring: add missing DEPENDS on intltool-native

libgnome-keyring requires command 'intltoolize' in configure,
so add DEPENDS intltool-native.

[YOCTO #3081]

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolibgpg-error: Use the source file for the licence checksum
Richard Purdie [Tue, 11 Sep 2012 14:25:37 +0000 (15:25 +0100)]
libgpg-error: Use the source file for the licence checksum

It makes sense to us the license checksum from the source .in file rather
than that from the generated file which configure can change (or remove).

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoautotools.bbclass: Add functionality to force a clean of ${B} when reconfiguring...
Richard Purdie [Tue, 11 Sep 2012 14:22:29 +0000 (15:22 +0100)]
autotools.bbclass: Add functionality to force a clean of ${B} when reconfiguring (and ${S} != ${B})

Unfortunately whilst rerunning configure and make against a project will mostly
work there are situations where it does not correctly do the right thing.

In particular, eglibc and gcc will fail out with errors where settings
do not match a previously built configuration. It could be argued they are
broken but the situation is what it is. There is the possibility of more subtle
errors too.

This patch adds removal of the build directory (${B}) when configure is
rerunning, the sstate checksum for do_configure has changed and ${S} != ${B}.
We could simply use a stamp but saving out the previous configuration checksum
adds some data at no real overhead.

If we find there are things where we want to disable this behaviour with
CONFIGURESTAMPFILE = "" in the recipe, or users could disable it globally.

[YOCTO #2774]
[YOCTO #2848]

This is particularly helpful for eglibc and gcc which use split builds by default and
are a particular source of reconfigure type problems.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agonativesdk-qemu: fix SDK relocation issue
Laurentiu Palcu [Tue, 11 Sep 2012 13:55:31 +0000 (16:55 +0300)]
nativesdk-qemu: fix SDK relocation issue

User mode emulation binaries are linked using a local linker script. The
nativesdk ones were not used and the resulting binaries did not have the
interp section resized. Hence, those binaries could not be relocated.

[YOCTO #3083]

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoclasses/sanity: remove obsolete code
Paul Eggleton [Tue, 11 Sep 2012 09:40:15 +0000 (10:40 +0100)]
classes/sanity: remove obsolete code

We can now rely upon the minimum BitBake version having the
SanityCheckFailed event, so remove the code to handle if this is not
there.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoclasses/sanity: skip tune checks if machine is invalid
Paul Eggleton [Tue, 11 Sep 2012 09:40:14 +0000 (10:40 +0100)]
classes/sanity: skip tune checks if machine is invalid

If there is no valid machine configuration it's almost guaranteed that
the tune checks will fail, so just suppress them in that case.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agogettext: Make gettext 0.16.1 extend native and nativesdk.
Martin Ertsaas [Tue, 11 Sep 2012 08:30:18 +0000 (10:30 +0200)]
gettext: Make gettext 0.16.1 extend native and nativesdk.

gettext 0.16.1 is a GPLv2 version of gettext. Making that extend native and
nativesdk makes sure we use the same version of gettext for compiling internally
as well as in our toolchain.

Signed-off-by: Martin Ertsaas <mertsas@cisco.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolinux-yocto/3.4: v3.4.10 and uprobes/kprobes configuration updates
Bruce Ashfield [Mon, 10 Sep 2012 17:51:00 +0000 (13:51 -0400)]
linux-yocto/3.4: v3.4.10 and uprobes/kprobes configuration updates

Updating to 3.4.10 which has been soaking for a bit now, as well
as picking up the following meta commits from Tom Z:

  a82db2f meta: have systemtap use kprobes and uprobes feature
  d5d5b80 meta: add kprobes support to ktypes/standard
  b32d373 meta: add kprobes feature
  d40ed99 meta: have uprobe feature use uprobe.cfg
  a69d1db meta: add uprobe.cfg

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agogcc-4.7: Backport libgcc fixes to appease the new build sequence
Khem Raj [Thu, 6 Sep 2012 00:38:25 +0000 (17:38 -0700)]
gcc-4.7: Backport libgcc fixes to appease the new build sequence

This makes the libgcc builds identical when done with gcc-cross-initial
or final gcc-cross. Since eglibc only sees gcc-cross-initial it is
important that the final libgcc that appears on root file system is same
as the one against which eglibc was built.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agogcc-4.7: Fix build for armv4/EABI and ppc/Os
Khem Raj [Fri, 17 Aug 2012 05:42:07 +0000 (22:42 -0700)]
gcc-4.7: Fix build for armv4/EABI and ppc/Os

arm patch is a forward port from OE/classic
ppc patch should help in building images with Os

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agotelepathy-idle: fix parallel build
Ross Burton [Mon, 10 Sep 2012 12:49:37 +0000 (13:49 +0100)]
telepathy-idle: fix parallel build

Apply a patch from upstream git, and clean up our other patch so that it
applies.

[ YOCTO #3056 ]

Signed-off-by: Ross Burton <ross.burton@intel.com>
12 years agowebkit-gtk: work around Make bug by re-running make
Ross Burton [Mon, 10 Sep 2012 16:02:22 +0000 (17:02 +0100)]
webkit-gtk: work around Make bug by re-running make

GNU make 3.82 has a bug where it drops required dependencies.
https://bugs.webkit.org/show_bug.cgi?id=79498 is the WebKitGTK+
bug, and http://savannah.gnu.org/bugs/?30653 is the GNU Make bug.

Work around this by running make again if it fails just in case the failure is
due to the bug.

Based on a patch by Andreas Müller <schnitzeltony@googlemail.com>.

[ YOCTO #2816 ]

Signed-off-by: Ross Burton <ross.burton@intel.com>
12 years agoshadow-native: Ensure that ${sbindir} and ${base_sbindir} are respected
Phil Blundell [Sun, 9 Sep 2012 10:48:45 +0000 (11:48 +0100)]
shadow-native: Ensure that ${sbindir} and ${base_sbindir} are respected

These values need to be passed on the command line to "make install" otherwise
shadow will use its own built-in idea of where those directories are located.

Signed-off-by: Phil Blundell <pb@pbcl.net>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoshadow: Fix various invalid assumptions about directory layout
Phil Blundell [Sun, 9 Sep 2012 10:22:53 +0000 (11:22 +0100)]
shadow: Fix various invalid assumptions about directory layout

The makefiles in the shadow package have their own hard-coded paths
for ${base_bindir} and ${base_sbindir} (known as "bindir" and "sbindir"
in shadow-speak).  Ensure that they install into our paths rather than
their own.

Also check that ${base_bindir} and ${bindir} are different before trying
to move files from one to the other; likewise for ${base_sbindir} and
${sbindir}.

Signed-off-by: Phil Blundell <pb@pbcl.net>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoperl-native: PROVIDE libmodule-build-perl-native for consistency with non-native...
Phil Blundell [Sun, 9 Sep 2012 09:13:08 +0000 (10:13 +0100)]
perl-native: PROVIDE libmodule-build-perl-native for consistency with non-native perl

This module is, apparently, included in the standard perl distribution
since 5.10.1 or so.  The regular perl recipe has had this PROVIDES for a
while but it seems to have been overlooked in the native version.

Signed-off-by: Phil Blundell <pb@pbcl.net>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoqt4: Update qt4.inc to remove staticdev deps in -dbg packages
Mark Hatle [Fri, 7 Sep 2012 22:07:11 +0000 (17:07 -0500)]
qt4: Update qt4.inc to remove staticdev deps in -dbg packages

It appears that the qt4.inc had a copy/paste error relating to creating
a list of staticdev packages, that caused them to show up as dependencies
in the -dbg package.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agobase-files: provide a mechanism to skip creation of the hostname file
Mark Asselstine [Sat, 8 Sep 2012 13:42:21 +0000 (08:42 -0500)]
base-files: provide a mechanism to skip creation of the hostname file

The existence of a /etc/hostname file causes any hostname provided on
the kernel command line or via dhcp to be overwritten by the
initscripts 'init.d/hostname.sh'. This change allows you to set a
value of "" for 'hostname' which will skip the creation of the
/etc/hostname file by the base-files package.

Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agopackage_rpm.bbclass: Avoid unnecessary installs in complementary pass
Mark Hatle [Fri, 7 Sep 2012 22:05:44 +0000 (17:05 -0500)]
package_rpm.bbclass: Avoid unnecessary installs in complementary pass

When called with the complementary install option, the first step is to
backup the install manifest so that we can avoid installing items previously
installed.  However, this backup process skipped the initial_install portion
of the manifest, causing early install items like libc6, bash, and base-files
to be installed a second time.

Fix this by cating the files to original_solution.  This is done as an append to
allow multiple calls to package_install_internal_rpm to work.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoimage.bbclass: Enable the complementary install to be called w/ globbing params
Mark Hatle [Fri, 7 Sep 2012 22:05:43 +0000 (17:05 -0500)]
image.bbclass: Enable the complementary install to be called w/ globbing params

If the image.bbclass is called with arguments, and these arguments are not
"populate_sdk", they will be passed in as the expected GLOBS.

This enables external components and scripting to use the
rootfs_install_complementary code.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agosstate: Append to EXTRASSTATEMAPS and add comment
Richard Purdie [Wed, 12 Sep 2012 13:23:37 +0000 (14:23 +0100)]
sstate: Append to EXTRASSTATEMAPS and add comment

Appending to EXTRA_SSTATEMAPS is better than just hardcoding a value. Also
add a comment about why this is necessary.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoclasses/packageinfo: use better method to check if package exists
Paul Eggleton [Mon, 10 Sep 2012 12:58:10 +0000 (13:58 +0100)]
classes/packageinfo: use better method to check if package exists

Instead of using a rather error-prone method of looking for output
package files in order to determine if a package got created, use the
.packaged file within pkgdata.

This fixes two separate issues:
* Some packages apparently not being found by this code e.g. all
  apm/apmd packages when using ipk packaging.
* Buggy implementation of this checking code which triggered an
  exception during the event handler if PKGV was overridden on a
  per-package basis (as it is with external-sourcery-toolchain), which
  blocked Hob from completing parsing at 99% - fixes [YOCTO #2651].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopackagegroup-core-x11-xserver: remove redundant PACKAGES statement
Ross Burton [Mon, 10 Sep 2012 12:22:36 +0000 (13:22 +0100)]
packagegroup-core-x11-xserver: remove redundant PACKAGES statement

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoeglibc-initial-2.16: add kconfig-frontends-native to depends
Martin Jansa [Mon, 10 Sep 2012 14:04:38 +0000 (16:04 +0200)]
eglibc-initial-2.16: add kconfig-frontends-native to depends

* fixes:
  | make[1]: Entering directory `/OE/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/eglibc-initial-2.16-r8+svnr20393/eglibc-2_16/libc'
  | make[1]: *** No rule to make target `/OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/bin/conf', needed by `config'.  Stop.
  | make[1]: Leaving directory `/OE/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/eglibc-initial-2.16-r8+svnr20393/eglibc-2_16/libc'

* it's because, eglibc-initial.inc overwrites DEPENDS from eglibc_2.16.bb
  $ grep DEPENDS eglibc_2.16.bb
  DEPENDS += "gperf-native kconfig-frontends-native"
  $ grep DEPENDS eglibc-initial.inc
  DEPENDS = "linux-libc-headers virtual/${TARGET_PREFIX}gcc-initial"

  and it's included after eglibc_2.16.bb
  $ head -n 3 eglibc-initial_2.16.bb
  require eglibc_${PV}.bb
  require eglibc-initial.inc

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolib/oe/sstatesig.py: add signature data query function
Paul Eggleton [Mon, 27 Aug 2012 20:45:14 +0000 (20:45 +0000)]
lib/oe/sstatesig.py: add signature data query function

Add a function that can be used from BitBake code which will find
signature data (sigdata/siginfo) files based on specified criteria, and
hook it into BitBake as bb.siggen.find_siginfo.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agorunqemu-internal: New qemu calls it qemu-system-i386 for x86
Khem Raj [Fri, 7 Sep 2012 08:01:17 +0000 (01:01 -0700)]
runqemu-internal: New qemu calls it qemu-system-i386 for x86

New qemu calls the x86 system emulator to be qemu-system-i386
which is consistent now so change it in scripts

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoqemu-git: Move to tip of git past 1.2 release
Khem Raj [Wed, 25 Apr 2012 22:46:20 +0000 (15:46 -0700)]
qemu-git: Move to tip of git past 1.2 release

There are a lot of armv7 and sh4 fixes that
its worth moving to latest version. The patch
forward porting can happen later.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoqemu: Update from 0.15 to 1.2
Khem Raj [Thu, 6 Sep 2012 22:22:55 +0000 (15:22 -0700)]
qemu: Update from 0.15 to 1.2

Forward port the patches which were not applied upstream

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoAdd package wget and perl modules.
Saul Wold [Thu, 6 Sep 2012 18:38:23 +0000 (11:38 -0700)]
Add package wget and perl modules.

LSB needs wget to download packages but wget provided by busybox doesn't
support some options such as '-N'.

LSB perl test 4.1.6-2 case all/tst_perlModPresent.pl,
../lib/Class/ISA/t/00_about_verbose and ../lib/Class/ISA/t/01_old_junk.t
fail because of lack of these modules, add them to make test pass.

File CORE/config.h which is provided by perl-dev and file
unicore/version which is provided by perl-doc are required by LSB perl
test cases.

Add perl-dev and perl-doc to packagegroups-core-lsb.

[Yocto #3030 #3031 #3052 #3054 #3055]

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Rebased for packagegroup change -sgw
These perl libraries are being added directly to OE-Core for 4.1
LSB Complainace, when 5.0 comes out early next year (2013), we will
remove these changes.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolibi18n-collate-perl: add it
Kang Kai [Fri, 31 Aug 2012 10:00:11 +0000 (18:00 +0800)]
libi18n-collate-perl: add it

This module is deprecated from perl 5.003_06.
But LSB perl test 4.1.6-2 still test it.
So add it.

[Yocto #3031]

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolibfile-checktree-perl: add it
Kang Kai [Fri, 31 Aug 2012 10:00:10 +0000 (18:00 +0800)]
libfile-checktree-perl: add it

LSB perl test 4.1.6-2, all/tst_perlModPresent.pl 1 fails with:
test 88 'use File::CheckTree;' failed

Add it to fix this issue.

[Yocto #3031]

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolibenv-perl: add it
Kang Kai [Fri, 31 Aug 2012 10:00:09 +0000 (18:00 +0800)]
libenv-perl: add it

Just add it for LSB 4.1 perl tests.

[Yocto #3031]

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolibdumpvalue-perl: add it
Kang Kai [Fri, 31 Aug 2012 10:00:08 +0000 (18:00 +0800)]
libdumpvalue-perl: add it

LSB perl test 4.1.6-2 case all/tst_perlModPresent.pl 1 fails with:
test 44 'use Dumpvalue;' failed

So add libdumpvalue-perl to fix it.

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolibpod-plainer-perl: add it
Kang Kai [Fri, 31 Aug 2012 10:00:07 +0000 (18:00 +0800)]
libpod-plainer-perl: add it

LSB perl test 4.1.6-2 case all/tst_perlModPresent.pl 1 fails with:
test 190 'use Pod::Plainer;' failed

Add libpod-plainer-perl to fix it.

[Yocto #3031]

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoperl: package modules Pod-Html and Tie-Hash-NamedCapture
Kang Kai [Fri, 31 Aug 2012 10:00:06 +0000 (18:00 +0800)]
perl: package modules Pod-Html and Tie-Hash-NamedCapture

Package modules Pod-Html and Tie-Hash-NamedCapture.

Without module Tie::Hash::NameCapture.pm, call "use English;" will fail.

Module Pod::Html is required by LSB perl test 4.1 case
all/tst_perlModPresent.pl 1.

[Yocto #3031]

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolibclass-isa-perl: add it
Kang Kai [Fri, 31 Aug 2012 10:00:05 +0000 (18:00 +0800)]
libclass-isa-perl: add it

perl module Class::ISA is needed by LSB 4.1 perl test, so add it.
When LSB 5.0 release, it will be deprecated. But we need it now.

[Yocto #3030]

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>