]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
13 years agopython-native: add link for python2
Saul Wold [Thu, 8 Sep 2011 07:18:20 +0000 (00:18 -0700)]
python-native: add link for python2

Add link for python2 as some configuration tools search from a python2
and could find the host python instead of the python-native.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobase.bbclass: fix substring matching in COMMERCIAL_LICENSE
Paul Eggleton [Wed, 7 Sep 2011 16:05:42 +0000 (17:05 +0100)]
base.bbclass: fix substring matching in COMMERCIAL_LICENSE

Previously, if for example you had a package called "mx", and a second
package called "libomxil" listed in COMMERCIAL_LICENSE (without mx being
listed there), it would match mx as being commercially licensed because
mx is a substring of libomxil. Fix the search to ensure it only matches
the listed package name exactly.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoavahi: only use gtk if DISTRO_FEATURES includes x11
Phil Blundell [Wed, 7 Sep 2011 20:23:48 +0000 (21:23 +0100)]
avahi: only use gtk if DISTRO_FEATURES includes x11

Otherwise avahi isn't buildable for an x11-less DISTRO.

Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agouseradd.bbclass: use correct value for $D in postinst functions
Phil Blundell [Wed, 7 Sep 2011 20:20:12 +0000 (21:20 +0100)]
useradd.bbclass: use correct value for $D in postinst functions

This corrects the location of the password file used during package installation.

See http://lists.linuxtogo.org/pipermail/openembedded-core/2011-September/009183.html and subsequent discussion.

Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoresolvconf: switch to 1.59 as 1.58 was removed from debian ftp
Eric Bénard [Wed, 7 Sep 2011 06:35:43 +0000 (08:35 +0200)]
resolvconf: switch to 1.59 as 1.58 was removed from debian ftp

Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agosstate: Avoid contention between sstate packages
Richard Purdie [Wed, 7 Sep 2011 17:34:47 +0000 (18:34 +0100)]
sstate: Avoid contention between sstate packages

If several sstate packages are decompressing at the same time, they can
conflict over the "fixmepath". If two packages try to write to this at
the same time it results in an error. To avoid this we remove the file
once we've finished processing it.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agogettext: use included libxml and libcroco
Saul Wold [Fri, 2 Sep 2011 22:25:02 +0000 (15:25 -0700)]
gettext: use included libxml and libcroco

[YOCTO #1400]

By using the included libxml and libcroco, we do not create additional
on this core library. There was an ordering issue that when one library
was not built, but gettext detected the other library a compliation would
fail, this will force it to always use the included libraries.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agogcc: add patch for ice 50099, which caused lttng-ust not to build
Saul Wold [Wed, 7 Sep 2011 17:19:34 +0000 (10:19 -0700)]
gcc: add patch for ice 50099, which caused lttng-ust not to build

[YOCTO #1381]

This patch came from from GCC Bugzilla via Khem

Cc: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agometa/recipes.txt: correct Qt capitalisation
Paul Eggleton [Wed, 7 Sep 2011 16:05:41 +0000 (17:05 +0100)]
meta/recipes.txt: correct Qt capitalisation

"Qt" is correct according to the documentation.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agosanity.bbclass: re-enable DISTRO check
Paul Eggleton [Wed, 7 Sep 2011 16:05:40 +0000 (17:05 +0100)]
sanity.bbclass: re-enable DISTRO check

If DISTRO has been specified, ensure it is valid. (Unset or empty string
is valid for DISTRO in OE-core by the use of defaultsetup.conf.)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agocore-image.bbclass: zap root password if debug-tweaks not enabled
Paul Eggleton [Wed, 7 Sep 2011 16:05:39 +0000 (17:05 +0100)]
core-image.bbclass: zap root password if debug-tweaks not enabled

If you do not have debug-tweaks in IMAGE_FEATURES, then zap the root
password so that you can't log in as root without a password in an image
potentially intended for a production system.

Also mention debug-tweaks in the comments listing IMAGE_FEATURES in this
file.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agohal: Add virtual/kernel as hal's build dependency
Dongxiao Xu [Wed, 7 Sep 2011 08:58:13 +0000 (16:58 +0800)]
hal: Add virtual/kernel as hal's build dependency

hal may need some kernel headers, thus we need virtual/kernel as its
dependency.

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agomultilib: Remove the multilib extension for linux-yocto
Dongxiao Xu [Wed, 7 Sep 2011 08:33:42 +0000 (16:33 +0800)]
multilib: Remove the multilib extension for linux-yocto

Kernel should be unique in a multilib system, so we remove the
linux-yocto's extension in multilib.conf

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agomultilib_global.bbclass: handle kernel-module-* for multilib
Dongxiao Xu [Wed, 7 Sep 2011 08:33:41 +0000 (16:33 +0800)]
multilib_global.bbclass: handle kernel-module-* for multilib

bitbake would report failed dependency of kernel-module-* when testing
multilib. kernel-module-* are recommended by some other recipes.

Do not extend name for kernel-module-* related packages.

[YOCTO #1456]

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agotelepathy-python: avoid duplicated installation of errors.py
Dongxiao Xu [Wed, 7 Sep 2011 08:18:06 +0000 (16:18 +0800)]
telepathy-python: avoid duplicated installation of errors.py

telepathy-python install fails on latest Fedora 16 due to the tighter
check of duplicated file installation.

Remove one errors.py entry in Makefile.am to fix this issue.

[YOCTO #1453]

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agocpan.bbclass: fix native perl issue
Saul Wold [Wed, 7 Sep 2011 00:06:58 +0000 (17:06 -0700)]
cpan.bbclass: fix native perl issue

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agoprelink: Update to latest upstream version
Mark Hatle [Fri, 2 Sep 2011 16:52:04 +0000 (11:52 -0500)]
prelink: Update to latest upstream version

[YOCTO #1374] - Fixes underlying issue
[YOCTO #1331] - Detects bad GNU_HASH tables

Update to the latest upstream version.  This includes a number of
generic fixes, as well as a complete refresh of the prelink-rtld.

(Prelink-rtld is similar to the ld.so/ldd functionality on a normal
system.)

The new prelink-rtld update syncs to eglibc-2.13 and enables new
symbol resolution, include GNU_UNIQUE, that was causing problems on
x86_64 and potentially other architectures with C++.

An assert has been added to also detect a bad GNU_HASH situation
which was detected on some PPC64 systems.  The underlying problem is
within the toolchain, however prelink was making it worse leaving the
problem undetected.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
13 years agoglib-networking: Ensure certificates are consistently disabled
Richard Purdie [Tue, 6 Sep 2011 16:15:59 +0000 (17:15 +0100)]
glib-networking: Ensure certificates are consistently disabled

Currently configure is looking whether the build system has certificates
to determine the certificate paths. This is clear contamination so
this patch disables that functionality to ensure builds are consistent.

We could equally set this option to a consistent path if we start
installing certificates.

[YOCTO #1451]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agopackage_deb.bbclass: put the stderr into log.do_xxx-attemptonly.xxx
Dexuan Cui [Tue, 6 Sep 2011 09:14:52 +0000 (17:14 +0800)]
package_deb.bbclass: put the stderr into log.do_xxx-attemptonly.xxx

Currently the stderr msgs go into log.do_rootfs and can cause a fatal failure
in "log_check rootfs".

However, the err msg could be spurious since we *only attempt* to install the
the packages, which may not exist actually. E.g., without this patch, we can
get a fatal ERROR due to
E: Couldn't find package task-core-tools-dev.

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
13 years agopopulate_sdk_deb.bbclass: add the missing parameter - for tar
Dexuan Cui [Tue, 6 Sep 2011 09:12:20 +0000 (17:12 +0800)]
populate_sdk_deb.bbclass: add the missing parameter - for tar

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
13 years agobusybox: update to 1.8.5
Denis Carikli [Tue, 6 Sep 2011 07:39:39 +0000 (09:39 +0200)]
busybox: update to 1.8.5

Signed-off-by: Denis Carikli <denis@eukrea.com>
13 years agosite/x86_64: Add entries to fix conf error on x86_64
Zhai Edwin [Mon, 5 Sep 2011 08:29:20 +0000 (16:29 +0800)]
site/x86_64: Add entries to fix conf error on x86_64

Add entries for ashldi3, bswapsi2... to fix autoconf error of grub on x86_64

[YOCTO #1434] got fixed.

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
13 years agoxserver-nodm-init: Change hidraw mode to allow normal user access
Zhai Edwin [Fri, 26 Aug 2011 11:59:54 +0000 (19:59 +0800)]
xserver-nodm-init: Change hidraw mode to allow normal user access

USB HID like touch screen could be presented as hidraw* device, this change
make user under rootless X can access them.

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
13 years agoinitramfs-live-install: Be consistent with grub.
Lianhao Lu [Mon, 5 Sep 2011 06:00:41 +0000 (14:00 +0800)]
initramfs-live-install: Be consistent with grub.

[YOCTO #1428]
Because the underlying grub 0.97 the initramfs-live-install RDEPDNEDS on
only supports 32bit x86 target, set the COMPATIBLE_HOST accordingly.

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
13 years agoweb: Update SRCREV to address ccs_parser_parse_stylesheet arg mismatch
Saul Wold [Tue, 6 Sep 2011 16:37:57 +0000 (09:37 -0700)]
web: Update SRCREV to address ccs_parser_parse_stylesheet arg mismatch
[YOCTO #1454]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agomtd-utils: update to version to 1.4.6
Denis Carikli [Fri, 2 Sep 2011 14:07:32 +0000 (16:07 +0200)]
mtd-utils: update to version to 1.4.6

mtd-utils 1.4.6 is the lastest release of mtd-utils
  at this time.

Signed-off-by: Denis Carikli <denis@eukrea.com>
13 years agopango: use qemu to generate pango.modules during rootfs construction
Phil Blundell [Wed, 31 Aug 2011 15:35:31 +0000 (16:35 +0100)]
pango: use qemu to generate pango.modules during rootfs construction

This allows pango to be installed in an image with read-only-rootfs.

Signed-off-by: Phil Blundell <philb@gnu.org>
13 years agolinux-yocto: re-enable utrace
Bruce Ashfield [Tue, 6 Sep 2011 17:09:29 +0000 (13:09 -0400)]
linux-yocto: re-enable utrace

Upating the meta data and machine branch contents with the up
to date merge of utrace.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolinux-yocto: re-enable systemtap
Bruce Ashfield [Tue, 6 Sep 2011 17:09:28 +0000 (13:09 -0400)]
linux-yocto: re-enable systemtap

[
  Author: Tom Zanussi <tom.zanussi@intel.com>
  Date:   Fri Sep 2 23:45:12 2011 -0500

    meta: re-enable systemtap feature for linux-yocto

    Re-enable the 'systemtap feature' that turns on the kernel options required
    for systemtap, a system-wide tracing tool.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
]

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoicu-3.6: fix building with big make -j
Dmitry Eremin-Solenikov [Sat, 3 Sep 2011 18:22:44 +0000 (22:22 +0400)]
icu-3.6: fix building with big make -j

icu-3.6 buildsystem contains small problem which causes some parallel
builds to fail. Fix that.

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoqt-demo-init: fix init script
Dmitry Eremin-Solenikov [Sat, 3 Sep 2011 18:22:45 +0000 (22:22 +0400)]
qt-demo-init: fix init script

qt-demo-init initscript lacks some quotes, which makes it bave not fulle
correct. Fix that.

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoimage_types: Fix ubi images creation
Denis Carikli [Mon, 5 Sep 2011 19:34:34 +0000 (20:34 +0100)]
image_types: Fix ubi images creation

Without that commit ubinize.cfg lack a volume name value,
  and the related ubinize.cfg line looks like that:
    vol_name=
  which result in a broken ubi image,which after beeing flashed produce
  the following error:
    UBI error: vtbl_check: volume table check failed: record 0, error 11
  wich result in a kernel panic because the rootfs can't be mounted.

[RP: Moved from bitbake.conf to the .bbclass file]
Signed-off-by: Denis Carikli <denis@eukrea.com>
Acked-by: Anders Darander <anders@chargestorm.se>
Acked-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoscripts/hob: notify the user when the GUI won't launch immediately
Joshua Lock [Fri, 2 Sep 2011 21:47:18 +0000 (14:47 -0700)]
scripts/hob: notify the user when the GUI won't launch immediately

If the wrapper script needs to build pseudo before we can launch hob we need
to notify the user so they aren't shocked by the action of launching a GUI
and seeing a bunch of text whiz by on the console.

Fixes [YOCTO #1435]

Signed-off-by: Joshua Lock <josh@linux.intel.com>
13 years agoscripts/hob: update to match recent hob changes
Joshua Lock [Fri, 2 Sep 2011 21:30:43 +0000 (14:30 -0700)]
scripts/hob: update to match recent hob changes

hob now uses both a pre and post file, update the wrapper script to generate
and use both of these.

Addresses [YOCTO #1281]

Signed-off-by: Joshua Lock <josh@linux.intel.com>
13 years agolinux-yocto: clean configuration for v3.0.4
Bruce Ashfield [Sat, 3 Sep 2011 03:03:26 +0000 (23:03 -0400)]
linux-yocto: clean configuration for v3.0.4

Fixes [YOCTO #940]

Since v3.0.4 is likely the last stable update in the the release
timeframe a configuration audit was performed. This updates the
SRCREV to remove obselete, and improperly defined configuration
items. With this, all qemu* BSPs configure with no warnings.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolinux-yocto: update to v3.0.4
Bruce Ashfield [Sat, 3 Sep 2011 03:03:25 +0000 (23:03 -0400)]
linux-yocto: update to v3.0.4

The v3.0.4 stable kernel is available and it can now be merged
into linux-yocto. Build and boot tested on all qemu* machines.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolinux-yocto: generalize kernel config search pattern
Bruce Ashfield [Sat, 3 Sep 2011 03:03:24 +0000 (23:03 -0400)]
linux-yocto: generalize kernel config search pattern

After constructing a kernel configuration file it then needs
to be located in the tree so it can be audited against the
final .config. The previous string that was used for the search
pattern contains the kernel version. If the recipe space kernel
version and internal tree version are out of sync, this will
cause the constructed config to not be found. By removing the
version from the search string, we can still find out config and
gracefully adapt to minor version skew.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoimage_types.bbclass: use per-image dirs for extX.gz images generation
Dmitry Eremin-Solenikov [Sat, 3 Sep 2011 19:27:17 +0000 (23:27 +0400)]
image_types.bbclass: use per-image dirs for extX.gz images generation

Currently image_types.bbclass uses deploy/images/${MACHINE}tpm.gz dir for
temporary files when generating extX.gz images. This can lead to races
and strange errors during image generation. To overcome this use
deploy/images/${MACHINE}tpm.gz-${PN} dir for temporary files.

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agorunqemu: standardize ability to specify custom qemu/kenel boot options
Scott Garman [Sat, 3 Sep 2011 22:50:30 +0000 (15:50 -0700)]
runqemu: standardize ability to specify custom qemu/kenel boot options

The old manner of specifying custom options to QEMU in this script
using angle brackets was a frequent source of confusion. Meanwhile,
Otavio Salvador added a decent method of specifying custom kernel
boot options to this script. This patch documents the bootparams
option and adds a similar way of specifying custom QEMU options
using qemuparams="".

This fixes [YOCTO #1019]

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agotask-core-tools: add systemtap to qemuarm
Tom Zanussi [Sun, 4 Sep 2011 04:18:36 +0000 (23:18 -0500)]
task-core-tools: add systemtap to qemuarm

Systemtap now works with arm, so include it in task-core-tools-profile
for qemuarm.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agosystemtap: upgrade to 1.6
Tom Zanussi [Sun, 4 Sep 2011 04:18:32 +0000 (23:18 -0500)]
systemtap: upgrade to 1.6

Also enable for arm, since systemtap now works on arm and remove the
gcc-4.6 compile fix patch since the problems it addresses have been
fixed upstream.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoqt4e-demo-image: Ensure a shell is present
Xiaofeng Yan [Mon, 5 Sep 2011 01:47:41 +0000 (09:47 +0800)]
qt4e-demo-image: Ensure a shell is present

"/bin/sh" is needed by qt4e-demo-image, So I add busybox for fixing this problem.

[YOCTO #999]

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agogit: fix sstate relocation for git-native
Paul Eggleton [Mon, 5 Sep 2011 15:37:04 +0000 (16:37 +0100)]
git: fix sstate relocation for git-native

Create a wrapper for git to set GIT_EXEC_PATH and GIT_TEMPLATE_DIR so
that git-native is relocatable.

Fixes specific example given in [YOCTO #1137]

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
13 years agoopensp: Fix sstate relocation issue
Saul Wold [Sun, 4 Sep 2011 03:52:12 +0000 (20:52 -0700)]
opensp: Fix sstate relocation issue

[YOCTO #1440]

This fixes a problem where the native nsgmls has a path hard coded into
it, therefor add a wrapper to set the environment with the correct
paths for catalog files.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agogroff: Fix sstate relocation issue
Saul Wold [Sun, 4 Sep 2011 03:51:02 +0000 (20:51 -0700)]
groff: Fix sstate relocation issue

[YOCTO #1439]

This fixes a problem where the native groff has a path hard coded into
it, therefor add a wrapper to set the command line with the correct
paths for fonts and tmac directories.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agopopulate_sdk: We need to ensure that the SDK sysroot reflects PACKAGE_ARCH
Richard Purdie [Tue, 9 Aug 2011 17:54:27 +0000 (18:54 +0100)]
populate_sdk: We need to ensure that the SDK sysroot reflects PACKAGE_ARCH

If we don't do this, the SDK target sysroot is named generically even
when it contains package architecture specific optimisations.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agosanity.bbclass: fix splitting on newlines of SANITY_TESTED_DISTROS
Paul Eggleton [Thu, 1 Sep 2011 11:36:12 +0000 (12:36 +0100)]
sanity.bbclass: fix splitting on newlines of SANITY_TESTED_DISTROS

This variable should be split with \n sequences and these need to be
specified literally in the string. A corrected version of the example
given in the original commit (OE-core rev
75e3875341ddc8940e9ee2ccbbb2ec18194a68e6):

SANITY_TESTED_DISTROS = " \
        Ubuntu 11.04 \n \
        Fedora release 14 (Laughlin) \n \
        "

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agouseradd.bbclass: remove hardcoded reference to /usr/bin
Phil Blundell [Thu, 1 Sep 2011 15:03:52 +0000 (16:03 +0100)]
useradd.bbclass: remove hardcoded reference to /usr/bin

Otherwise the class doesn't work if ${bindir} is set to a different value;
likewise for /var vs ${localstatedir}.

Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agogcc: Fix multilib baselib confusion
Richard Purdie [Mon, 15 Aug 2011 13:05:21 +0000 (14:05 +0100)]
gcc: Fix multilib baselib confusion

Commit 35fa8dc5f7da90fdd40091a3c3600d3fcd232922 changed the gcc recipes to use
baselib for the compiler location. This is fine as long as baselib happens to
match the platform multilib definition which is enabled at the time.

This patch fixes things so that gcc will honour whatever ${base_libdir} is
set to re-allowing suitable customisation of the system layout.

[YOCTO #1362]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agomultilib: Only build one kernel
Richard Purdie [Mon, 15 Aug 2011 22:59:32 +0000 (23:59 +0100)]
multilib: Only build one kernel

For a given system we only want one kernel to be built. This change makes
the main kernel recipe provide all of the provides of the various enabled
multilibs hence allowing it to fulfil all the appropriate dependencies.

To make this work a global multilib class file needed to be created.

This patch also enables this multi provider functionality for "allarch"
packages.

[YOCTO #1361]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agomultilib: extend multilib prefix for libsdl
Dongxiao Xu [Fri, 2 Sep 2011 03:52:06 +0000 (11:52 +0800)]
multilib: extend multilib prefix for libsdl

libsdl is required by sato image, so extend it for multilib.

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
13 years agomultilib: Using different sysroot for multilib recipes
Dongxiao Xu [Fri, 2 Sep 2011 03:45:01 +0000 (11:45 +0800)]
multilib: Using different sysroot for multilib recipes

Thinking of the senario that, if we already built out a 64bit image
along with the full toolchain bootstrapped, then we need to build some
32bit libraries, which needs lib32 versions of gcc and eglibc. These
toolchain recipes will bootstrap again in the same sysroot, resulting
that lib32-gcc-cross-initial will find some macros owned by eglibc have
already been defined and thus it includes non-existed headers that
provided by later lib32-eglibc.

The solution for the above issue is to use different sysroot for
multilib recipes, here we add ${MLPREFIX} in front of the machine
specific sysroot directory name.

[YOCTO #1372]

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
13 years agorootfs_rpm: setting DEFAULTTUNE for multilib archs
Dongxiao Xu [Fri, 2 Sep 2011 03:38:43 +0000 (11:38 +0800)]
rootfs_rpm: setting DEFAULTTUNE for multilib archs

To get the MULTILIB_PACKAGE_ARCHS, we need to get the corresponding
DEFAULTTUNE value. This fixes the multilib arch directory missing issue
in solvedb-ml_archs.conf.

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
13 years agohal: Remove build time dependency of virtual/kernel
Dongxiao Xu [Fri, 2 Sep 2011 03:54:30 +0000 (11:54 +0800)]
hal: Remove build time dependency of virtual/kernel

hal has runtime dependency on kernel, but not build time. Remove it from
"DEPENDS" list.

Also fix a wrong PACKAGE_ARCH setting when building multilib lib32-hal,
because ":=" will be extended immediately which is not the right value.
Using TUNE_PKGARCH instead.

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
13 years agodropbear: add missing files
Koen Kooi [Fri, 2 Sep 2011 07:08:38 +0000 (09:08 +0200)]
dropbear: add missing files

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agotzcode: Update to 2011i
Saul Wold [Thu, 1 Sep 2011 05:13:54 +0000 (22:13 -0700)]
tzcode: Update to 2011i

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agosato recipes: Update PR because of libowl conversion to git
Saul Wold [Thu, 1 Sep 2011 05:17:25 +0000 (22:17 -0700)]
sato recipes: Update PR because of libowl conversion to git

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agoo-hand recipes: convert from svn.o-hand.org to git.yoctoproject.org
Saul Wold [Thu, 25 Aug 2011 18:20:21 +0000 (11:20 -0700)]
o-hand recipes: convert from svn.o-hand.org to git.yoctoproject.org

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agoutil-linux: fix packaging of readprofile
Joshua Lock [Thu, 1 Sep 2011 22:25:25 +0000 (15:25 -0700)]
util-linux: fix packaging of readprofile

We rename readprofile to readprofile.util-linux so we need to use that binary
name in the FILES entry for the readprofile package.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoscripts: Show sensible warning messages if expected binaries don't exist
Richard Purdie [Thu, 1 Sep 2011 21:04:48 +0000 (22:04 +0100)]
scripts: Show sensible warning messages if expected binaries don't exist

[YOCTO #1438]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoscripts: Don't show errors from which ifconfig failing
Richard Purdie [Thu, 1 Sep 2011 19:49:44 +0000 (20:49 +0100)]
scripts: Don't show errors from which ifconfig failing

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoFix powerpc term and provide more template for different arches
Jessica Zhang [Wed, 31 Aug 2011 19:03:07 +0000 (12:03 -0700)]
Fix powerpc term and provide more template for different arches

Signed-off-by: Jessica Zhang <jessica.zhang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoRevert "Fix adt-installer for consistent naming for powerpc and add all arch template...
Jessica Zhang [Wed, 31 Aug 2011 19:03:06 +0000 (12:03 -0700)]
Revert "Fix adt-installer for consistent naming for powerpc and add all arch template for installation"

This reverts commit ae4ad20edbb6ea023155f7ae2b00871d479e370d.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibcap: only enable pam if DISTRO_FEATURES requests it
Phil Blundell [Tue, 30 Aug 2011 16:27:13 +0000 (17:27 +0100)]
libcap: only enable pam if DISTRO_FEATURES requests it

Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoshadow: Fix rpm failed dependencies when install
Zhai Edwin [Tue, 30 Aug 2011 08:05:01 +0000 (16:05 +0800)]
shadow: Fix rpm failed dependencies when install

There are some links become invalid after rename, so that failed dependencies
detected when install rpm package. This commit update links to resolve it.

[YOCTO #1158] got fixed.

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agodropbear: Change the path to find configuration file and add a configuration file...
Xiaofeng Yan [Wed, 31 Aug 2011 02:48:11 +0000 (10:48 +0800)]
dropbear: Change the path to find configuration file and add a configuration file for dropbear

dropbear will check "/etc/pam.d/sshd" which comes from package "openssh" \
When enabling pam supporting. But if we only install dropbear \
package without package "openssh", then "dropbear" will not \
find a configuration file.
The changes are as follow for fixing this bug:

- Change the path to find configuration file (/etc/pam.d/sshd --> /etc/pam.d/dropbear)
- Add a configuration file "/etc/pam.d/dropbear"

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoqt-demo-init: Fix bug 999
Xiaofeng Yan [Wed, 31 Aug 2011 01:39:58 +0000 (09:39 +0800)]
qt-demo-init: Fix bug 999

[YOCTO #999]
qt4e-demo-image needs qt-demo-init when starting qtdemoE.
qt-demo-init was pulled from Openembeded.

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoconnman-gnome: Fix WiFi security display issue
Dongxiao Xu [Wed, 31 Aug 2011 06:47:33 +0000 (14:47 +0800)]
connman-gnome: Fix WiFi security display issue

Latest connman-0.75 change the WiFi security type, causing the
incompatibility of connman-gnome. Fix connman-gnome accordingly to show
the correct security informtion.

[YOCTO #1343]

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agogdb: Further S vs. PV fixups
Richard Purdie [Wed, 31 Aug 2011 18:43:27 +0000 (19:43 +0100)]
gdb: Further S vs. PV fixups

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoxserver-nodm: Disable dbus-wait as it causes users too much confusion
Richard Purdie [Tue, 30 Aug 2011 21:23:38 +0000 (22:23 +0100)]
xserver-nodm: Disable dbus-wait as it causes users too much confusion

In the event the xserver fails to start the dbus-wait has to time out and
this causes many users a lot of confusion. If we wish to reinstate this,
we need to find a safer mechanism to do it where X failing to start cancels
the timeout (sends a dbus event at that point?) The comments are left in the
file as an example in case some user does wish to enable is.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agosanity.bbclass: Clean up various MACHINE checks
Richard Purdie [Tue, 30 Aug 2011 16:14:55 +0000 (17:14 +0100)]
sanity.bbclass: Clean up various MACHINE checks

[YOCTO #1398]

Firstly we should start checking if MACHINE is set. It if isn't lets
make this a sanity warning since its very hard to successfully build
without setting one (and anyone wanting to do that can disable the
sanity checks easily enough anyway).

Some of the checks depend on a MACHINE being specified. This change
moves those checks to a separate function so they only run if MACHINE
has been set correctly.

Both these issues combine to ensure the user sees a sane message
and avoids the nasty tracebacks in the bug report referenced above.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agosanity.bbclass: Fix broken whitespace
Richard Purdie [Tue, 30 Aug 2011 13:53:15 +0000 (14:53 +0100)]
sanity.bbclass: Fix broken whitespace

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agosanity.bbclass: Fix broken indentation leading to code being skipped unintentionally
Richard Purdie [Tue, 30 Aug 2011 13:52:41 +0000 (14:52 +0100)]
sanity.bbclass: Fix broken indentation leading to code being skipped unintentionally

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agopackage.bbclass: Ensure task's variable dependencies are correctly caputred in the...
Richard Purdie [Tue, 30 Aug 2011 13:22:21 +0000 (14:22 +0100)]
package.bbclass: Ensure task's variable dependencies are correctly caputred in the sstate checksum

[YOCTO #1388]

This change is needed to correctly add the dependencies for the do_package
task which bitbake is unable to automatically detect itself.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agointltool: Fix perl paths
Richard Purdie [Wed, 31 Aug 2011 10:26:58 +0000 (11:26 +0100)]
intltool: Fix perl paths

Currently in the native case we have a path that can easily exceed the
interpretor limit so use "env nativeperl" in that case.

This patch also fixes up the target version's interpretor path but
to do this we need to bypass the configure checks.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibc-package: restore correct mangling behavior for locale names
Phil Blundell [Fri, 26 Aug 2011 16:51:47 +0000 (17:51 +0100)]
libc-package: restore correct mangling behavior for locale names

This reverts 19fb07bf337e1d724798e2eb4479c35fc45b1941 and restores
the behaviour of the code to the way it was prior to 561d875404ef1783f94f37314b6e756766db8411.

See http://lists.linuxtogo.org/pipermail/openembedded-core/2011-August/007407.html and subsequent messages.

Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agogdb: Fix broken source directory
Richard Purdie [Tue, 30 Aug 2011 23:46:57 +0000 (00:46 +0100)]
gdb: Fix broken source directory

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoeglibc-locale.inc: Add eglibc-binaries, eglibc-localedatas, eglibc-gconvs and eglibc...
Xiaofeng Yan [Fri, 26 Aug 2011 09:29:44 +0000 (17:29 +0800)]
eglibc-locale.inc: Add eglibc-binaries, eglibc-localedatas, eglibc-gconvs and eglibc-charmps to variable PACKAGE

There are no locales resources in an lsb image because the locale resources were splitted from eglibc-package.inc \
and putted into a new file "eglibc-locale.inc". So the above variables lost their function in eglibc-package.inc and
caused no locale resources in an lsb image. The purpose of moving the above variables from eglibc-package.inc to \
eglibc-locale.inc is to make the above variables to take effect.

eglibc-binaries include packages "eglibc-binary-*"
eglibc-localedatas include packages "eglibc-localedata-*"
eglibc-gconvs include packages "eglibc-gconv-*"
eglibc-charmaps include packages "eglibc-charmap-*"

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agogdb: upgrade from 7.3 to 7.3a
Sebastian Krzyszkowiak [Mon, 29 Aug 2011 13:13:32 +0000 (15:13 +0200)]
gdb: upgrade from 7.3 to 7.3a

* because 7.3 archive is not fetchable anymore

Signed-off-by: Sebastian Krzyszkowiak <dos@dosowisko.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibidn_1.22: add SRC_URI checksums
Sebastian Krzyszkowiak [Mon, 29 Aug 2011 13:16:23 +0000 (15:16 +0200)]
libidn_1.22: add SRC_URI checksums

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoimage.bbclass: use ${TARGET_PREFIX}depmod
Chris Larson [Mon, 29 Aug 2011 16:26:46 +0000 (09:26 -0700)]
image.bbclass: use ${TARGET_PREFIX}depmod

Currently it uses ${TARGET_SYS}-. This is inconsistent, as the recipe
and kernel bbclass both use the prefix. While there aren't many cases
where the two differ, it is harmless to ensure that we are behaving
consistently.

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoimage_types_uboot: fix a number of issues
Chris Larson [Mon, 29 Aug 2011 18:00:29 +0000 (11:00 -0700)]
image_types_uboot: fix a number of issues

- Don't use a variable reference in the IMAGE_DEPENDS
- Inherit kernel-arch to get UBOOT_ARCH
- Don't include the .bz2 variants, since the base types aren't in
  oe-core
- Add the new types to IMAGE_TYPES
- Inherit image_types, to be certain we load after it

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoimage_types: add ext4 types from OE
Chris Larson [Mon, 29 Aug 2011 18:00:28 +0000 (11:00 -0700)]
image_types: add ext4 types from OE

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agodistro_tracking_fields: update binutils to 2.21.1a
Paul Eggleton [Mon, 29 Aug 2011 18:44:21 +0000 (19:44 +0100)]
distro_tracking_fields: update binutils to 2.21.1a

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
13 years agotcmode-default: update binutils version
Paul Eggleton [Mon, 29 Aug 2011 18:43:53 +0000 (19:43 +0100)]
tcmode-default: update binutils version

binutils is now at version 2.21.1a.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
13 years agobinutils: update to 2.21.1a
Paul Eggleton [Sun, 28 Aug 2011 20:43:31 +0000 (21:43 +0100)]
binutils: update to 2.21.1a

2.21.1 has disappeared upstream. There is no ChangeLog information for
2.21.1a, however diff reports only the addition of some cpu/opc files in
cgen/ subdirectory; the source code is otherwise identical.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
13 years agokernel.bbclass: Find the kernel consistently.
Mike Crowe [Fri, 26 Aug 2011 09:21:19 +0000 (10:21 +0100)]
kernel.bbclass: Find the kernel consistently.

Use KERNEL_OUTPUT variable to find the generated kernel image rather than
duplicating the existing path. This also means it can be overridden simply.

Signed-off-by: Mike Crowe <mac@mcrowe.com>
13 years agopango: make x11 support conditional on DISTRO_FEATURES
Phil Blundell [Fri, 26 Aug 2011 14:23:02 +0000 (15:23 +0100)]
pango: make x11 support conditional on DISTRO_FEATURES

This allows pango to build on DISTROs which don't enable x11.
Also adjust the SECTION since pango isn't really an X library.

Signed-off-by: Phil Blundell <philb@gnu.org>
13 years agoopkg-utils: ignore packages disapperaring filelist generation
Dmitry Eremin-Solenikov [Fri, 26 Aug 2011 13:49:25 +0000 (17:49 +0400)]
opkg-utils: ignore packages disapperaring filelist generation

Package files disappearing during index generation don't cause a fatal
error. Make package file disappearing during filelist generation also
a non-fatal error.

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
13 years agoeglibc: fix gconv packaging after 5486cac29db6e67051fff7637a0abc9aeab661e5
Martin Jansa [Fri, 26 Aug 2011 11:41:18 +0000 (13:41 +0200)]
eglibc: fix gconv packaging after 5486cac29db6e67051fff7637a0abc9aeab661e5

* gconv is directory so test -f was always false as reported by Phil Blundell in
  http://lists.linuxtogo.org/pipermail/openembedded-core/2011-August/008973.html
* -e used also for localedef which is file, just to be more consistent

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
13 years agomultilib.bbclass: add renaming for INITSCRIPT related variables
Dongxiao Xu [Fri, 26 Aug 2011 05:04:07 +0000 (13:04 +0800)]
multilib.bbclass: add renaming for INITSCRIPT related variables

Initscripts are missing in target image in multilib case. This commit
adds the renaming logic for the related variables in multilib.bbclass.

This fixes the no response of mouse/keyboard in target system due to
the missing of udev startup script.

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
13 years agomultilib.bbclass: add "pkg_postinst" and "pkg_postrm" as renaming elements
Dongxiao Xu [Fri, 26 Aug 2011 00:27:41 +0000 (08:27 +0800)]
multilib.bbclass: add "pkg_postinst" and "pkg_postrm" as renaming elements

Add "pkg_postinst" and "pkg_postrm" as renaming elements, which fixes
missing post install/rm scripts in target image.

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
13 years agomultilib.bbclass: Fix renaming logic for "FILES_", "RDEPENDS_", etc
Dongxiao Xu [Thu, 25 Aug 2011 13:30:12 +0000 (21:30 +0800)]
multilib.bbclass: Fix renaming logic for "FILES_", "RDEPENDS_", etc

In the orignal logic, the renaming will not work for "FILES_" if defined
variables as:

PACKAGES = "${PN}"
FILES_abc = "/usr/include/abc.h"

It is because ${PN} is "lib64-abc" so it will not be contained in
pkgrename.

This commit enumerates all element in PACKAGES, getting the original
packages and multilib packages, then doing renaming for "FILES_",
"RDEPENDS_", etc. This fixes a lot of missing files and incorrect
dependencies.

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
13 years agobitbake.conf: Use BPN in FILES paths
Dongxiao Xu [Thu, 25 Aug 2011 08:29:09 +0000 (16:29 +0800)]
bitbake.conf: Use BPN in FILES paths

Use BPN instead of PN in FILES path to support multilib.

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
13 years agobase-passwd: Use BPN in FILES paths
Dongxiao Xu [Thu, 25 Aug 2011 08:27:51 +0000 (16:27 +0800)]
base-passwd: Use BPN in FILES paths

Use BPN instead of PN in FILES paths.
This fixes the login issue by /etc/passwd missing in multilib images.

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
13 years agoqt4e-demo-image: Fix bug 999
Xiaofeng Yan [Fri, 26 Aug 2011 02:13:11 +0000 (10:13 +0800)]
qt4e-demo-image: Fix bug 999

[YOCTO #999]
Copy metadata of qt4e-demo-image from OE for easy testing qt4embeded on embedded platform.
This image was tested on qemuarm and can run program "qtdemoE".

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
13 years agolinux-yocto-rt: qemumips: fix boot panic
Bruce Ashfield [Thu, 25 Aug 2011 20:45:57 +0000 (16:45 -0400)]
linux-yocto-rt: qemumips: fix boot panic

Fixes [YOCTO #1392]

Updating the SRCREVs to pickup:

[
    mips/rt: convert cascade interrupt non threaded

    The preempt_rt kernel forces all irq interrupts to be threaded,
    but special interrupts can be excluded from this conversion.
    The cascade interrupt should be part of these exceptions.

    In this case, irq2 is initialized before "kthreadd" task, which
    converts irq interrupt to threaded.

    If this irq is threaded, the kernel calls "try_to_wake_up" function
    to wake up "kthreadd" task, but at that moment, "kthreadd" task
    has no been initialize and try_to_wake_up wakes up a NULL task.

Signed-off-by: Liming Wang <liming.wang@windriver.com>
]

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
13 years agoscripts/runqemu: disable unfs boot mode for qemuppc
Liming Wang [Thu, 25 Aug 2011 14:45:29 +0000 (22:45 +0800)]
scripts/runqemu: disable unfs boot mode for qemuppc

Because unfs boot mode is unstable for qemuppc, disable
it temporarily.

Signed-off-by: Liming Wang <liming.wang@windriver.com>
13 years agokernel.bbclass: support kernel image type of vmlinux.gz
Mike Crowe [Thu, 25 Aug 2011 12:59:28 +0000 (13:59 +0100)]
kernel.bbclass: support kernel image type of vmlinux.gz

Add support for a gzipped vmlinux kernel by specifying:

  KERNEL_IMAGETYPE = "vmlinux.gz"

Signed-off-by: Mike Crowe <mac@mcrowe.com>
13 years agocmake-nativesdk: remove gcc standard paths
Kang Kai [Thu, 25 Aug 2011 02:55:40 +0000 (10:55 +0800)]
cmake-nativesdk: remove gcc standard paths

Because of the gcc-crosssdk bug, cmake-nativesdk needs to search gcc
standard paths itself. Right now it was fixed, so remove the additional
CXXFLAG for cmake-nativesdk.

Signed-off-by: Kang Kai <kai.kang@windriver.com>