]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
13 years agolinux-yocto: kernel configuration cleanups
Bruce Ashfield [Wed, 21 Sep 2011 18:57:48 +0000 (18:57 +0000)]
linux-yocto: kernel configuration cleanups

There were some config fragment warnings that were being hidden
by virtue of being output while generating the full config versus
the ones that were generated during the configuration audit task.

This change does the following:

  - Updates the kern-tools SRCREV to include changes that move
    all kernel configuration warnings to the audit script

  - Updates the meta SRCREV for linux-yocto to get updated
    kernel configuration fragments that are warning-free. These
    are duplicated configs, and other changes that have a net
    result of no runtime changes.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolinux-yocto: add blktrace feature
Bruce Ashfield [Mon, 19 Sep 2011 14:11:56 +0000 (14:11 +0000)]
linux-yocto: add blktrace feature

Updating the 3.0 kernel to enable blktrace to match our previous
functionality. This is done by the following meta branch commit:

[
    meta: add blktrace feature

    Add a 'blktrace feature' that turns on kernel support for blktrace, a
    block I/O tracing tool.  Added to 'standard' alongside similar tracing
    tool config.

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: simplify kernel configuration check expression
Bruce Ashfield [Fri, 16 Sep 2011 18:38:01 +0000 (18:38 +0000)]
linux-yocto: simplify kernel configuration check expression

kernel configuration validation takes place between two files. An
unprocessed configuration file (which is all the options found in
the various configuration fragments) and the final .config produced
by the lkc.

The unprocessed configuration file's name historically is based on
the name of the branch that was used to build the BSP. But with the
ability to map machine names to arbitrary branches, this is no longer
always true.

Searching for the pattern *-config-* in the meta subdirectory will
only match the config file, and frees the config validation phase
from being concerned with what branch was used to build the BSP.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agodistro tracking: Update Distro Aliases
Saul Wold [Wed, 21 Sep 2011 22:46:30 +0000 (15:46 -0700)]
distro tracking: Update Distro Aliases

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agorootfs_rpm: two step installation
Dongxiao Xu [Wed, 21 Sep 2011 19:06:52 +0000 (03:06 +0800)]
rootfs_rpm: two step installation

Firstly we install a base image.
Then install those multilib packages listed in MULTILIB_IMAGE_INSTALL.

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Acked-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibpng: Add RPROVIDES for backwards compatibiliy with previous libpng packaging
Richard Purdie [Wed, 21 Sep 2011 12:42:12 +0000 (13:42 +0100)]
libpng: Add RPROVIDES for backwards compatibiliy with previous libpng packaging

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agodebian.bbclass: Fix hardcoded "lib" reference
Richard Purdie [Wed, 21 Sep 2011 11:38:31 +0000 (12:38 +0100)]
debian.bbclass: Fix hardcoded "lib" reference

This patch removes a hardcoded "lib" reference from debian.bbclass
allowing libdirs like "lib64" to be used. Whilst working on this area of
code, a similar assumption about "bin" is removed and the regular
expression compilation is moved to the parent function since it doesn't
change and this will improve the speed of the code.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoUpdate python dependencies to be simply to "python"
Mark Hatle [Mon, 19 Sep 2011 15:11:11 +0000 (10:11 -0500)]
Update python dependencies to be simply to "python"

Previously python dependencies were of the format "python(abi) = ..."
This format is not yet supportable within OE, so revert to a form
we know we can handle.

Introduce a change to package.bbclass that ensures it will causes the
sstate-cache's "package" to invalidate.  Since pythondeps changed, the
output of rpmdeps changes, which causes the per-file dependency
information to change.... thus we need to invalidate the cache!

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
13 years agolibpng: avoid dangling link in libpng package
Dongxiao Xu [Wed, 21 Sep 2011 08:12:45 +0000 (16:12 +0800)]
libpng: avoid dangling link in libpng package

As for libpng recipe, the libpng.pc is a symbol link to libpng12.pc,
if packaging them into two different packages, we will get a dangling
link for libpng.pc, and when calculating rpm dependency with that file,
we will get nothing.

Only keep one version of dev package to fix the issue.

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
13 years agooprofileui: Change avahi to avahi-ui depends
Saul Wold [Wed, 21 Sep 2011 05:43:46 +0000 (22:43 -0700)]
oprofileui: Change avahi to avahi-ui depends

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agoFix alsa-utils package dependencies
Daniel Lazzari [Tue, 20 Sep 2011 23:15:42 +0000 (23:15 +0000)]
Fix alsa-utils package dependencies

Make alsa-utils main package depend on all of the more specific alsa-utils packages (such as alsa-utils-alsamixer).

Signed-off-by: Daniel Lazzari Jr <dlazzari@leapfrog.com>
PR Bump

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agomultilib_global.bbclass: Fix non-multilib package provides
Mark Hatle [Tue, 20 Sep 2011 17:06:54 +0000 (12:06 -0500)]
multilib_global.bbclass: Fix non-multilib package provides

In non-multilib packages, configured in a multilib configuration we
need to adjust the system provides and rprovides to include the
virtual multilib variant.

This resolves a problem introduced in the
329d864f9bbf94ad3aae8df43d63fe10e4237e4f commit.  Where "allarch"
packages were suddenly providing all variants of an object.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
13 years agobusybox: Enhance to add dynamic per-file provides
Mark Hatle [Mon, 19 Sep 2011 19:53:02 +0000 (14:53 -0500)]
busybox: Enhance to add dynamic per-file provides

When using the RPM package backend, we need a full list of per-file
provides (and requires).  The busybox package provides a number of
command line utilities, such as /usr/bin/env.  However, because
the utilities are created at post install time via scripting the
provide of each of the links was never made.  So any programs,
such as python, that require /usr/bin/env were unable to resolve
the dependency and failed.

This change only affects packaging backends that use per-file
dependency data.  Currently RPM is the only packaging backend
with this ability.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
13 years agoAdd a run-time dependency that eglibc support GNU_HASH
Mark Hatle [Mon, 19 Sep 2011 14:38:44 +0000 (09:38 -0500)]
Add a run-time dependency that eglibc support GNU_HASH

RPM checks to see if binaries require GNU_HASH, if they do it adds
an automatic dependency of "rtld(GNU_HASH)".  We need to satisfy
this dependency, and we do it by providing rtld(GNU_HASH) in the
package(s) that provide a runtime-linker.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
13 years agoFix RPM dependencies
Mark Hatle [Mon, 19 Sep 2011 14:37:42 +0000 (09:37 -0500)]
Fix RPM dependencies

When packaging for RPM, dependencies were not being properly added
to the packages.  Only the "providing" dependencies were added due
to a typo.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
13 years agomultilib: install MULTILIB_IMAGE_INSTALL
Dongxiao Xu [Fri, 9 Sep 2011 13:30:08 +0000 (21:30 +0800)]
multilib: install MULTILIB_IMAGE_INSTALL

If user set MULTILIB_IMAGE_INSTALL, we need to install those multitlib
packages into the final image.

Also fix the logic in handling multilib prefix. For certain case like a
normal image contains several multilib libraries, the image recipe isn't
extended with MLPREFIX, therefore we need to enumerate the possible
multilib prefixes and compare them with package prefixes.

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
13 years agorpm: add multilib prefix for archs under deploy/rpm
Dongxiao Xu [Thu, 8 Sep 2011 13:35:37 +0000 (21:35 +0800)]
rpm: add multilib prefix for archs under deploy/rpm

Currently MACHINE_ARCH deploy folder is unique in multilib system, thus
a lib32 version of rpm package will override a normal rpm package if
its PACKAGE_ARCH is ${MACHINE_ARCH}.

Define different deploy folder for multilib architectures to avoid the
confliction.

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
13 years agoavahi: Refactor recipe to move UI to avahi-ui
Saul Wold [Tue, 20 Sep 2011 15:14:46 +0000 (08:14 -0700)]
avahi: Refactor recipe to move UI to avahi-ui

[YOCTO #1492]

This patch refactors avahi into a core non ui and avahi-ui, OE-Classic
has a similar factoring, and it was used as a refernce to make this
occur correctly here.

This allows the package to be built without gtk and GPLv3 issues.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agodistrodata: fix distro_check code
Saul Wold [Tue, 20 Sep 2011 20:40:48 +0000 (13:40 -0700)]
distrodata: fix distro_check code

This fixes a problem with package names from inherits showing up

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agozypper: git repo moved to github
Anders Darander [Tue, 20 Sep 2011 08:21:06 +0000 (10:21 +0200)]
zypper: git repo moved to github

Signed-off-by: Anders Darander <anders@chargestorm.se>
13 years agosat-solver: git repo moved to github
Anders Darander [Tue, 20 Sep 2011 08:20:51 +0000 (10:20 +0200)]
sat-solver: git repo moved to github

Signed-off-by: Anders Darander <anders@chargestorm.se>
13 years agolibzypp: git repo moved to github
Anders Darander [Tue, 20 Sep 2011 08:20:29 +0000 (10:20 +0200)]
libzypp: git repo moved to github

Signed-off-by: Anders Darander <anders@chargestorm.se>
13 years agodeb packages support: switch from /var/dpkg to /var/lib/dpkg
Dexuan Cui [Mon, 19 Sep 2011 08:00:38 +0000 (16:00 +0800)]
deb packages support: switch from /var/dpkg to /var/lib/dpkg

[YOCTO #1086]

The pach was backported from OE:
http://git.openembedded.net/cgit.cgi/openembedded/commit/?id=41e0fbf792037f249d1b8d283b3de81718887c9f

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
13 years agoscripts/combo-layer: fix still overzealous regex in default hook script
Paul Eggleton [Mon, 19 Sep 2011 14:07:30 +0000 (15:07 +0100)]
scripts/combo-layer: fix still overzealous regex in default hook script

In the previous fix to this hook script (OE core revision
e7aae45414e4597e9244f86a81fbc940f73785c8) a start-of-line (^) marker was
missed, so if a commit had no Signed-off-by line but it contained an
inner patch that did, the inner patch was modified causing a "corrupt
patch" error.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
13 years agofreetype: disable bzip2 compressed font support
Paul Eggleton [Mon, 19 Sep 2011 10:58:36 +0000 (11:58 +0100)]
freetype: disable bzip2 compressed font support

If we do not disable this then it is enabled sometimes and disabled at
others depending on whether bzip2 has been built at the time, and worst
case it will cause a race condition if bzip2 is building at the same
time.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibgnome-keyring: add libgcrypt to DEPENDS
Paul Eggleton [Mon, 19 Sep 2011 10:58:35 +0000 (11:58 +0100)]
libgnome-keyring: add libgcrypt to DEPENDS

libgcrypt is a required dependency according to the configure script, so
add it to DEPENDS. (This fixes a race condition when libgcrypt happens
to be building at the same time as libgnome-keyring.)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibgcrypt: add libcap to DEPENDS
Paul Eggleton [Mon, 19 Sep 2011 10:58:34 +0000 (11:58 +0100)]
libgcrypt: add libcap to DEPENDS

We explicitly enable capabilities, so libcap is required. (This fixes a
race condition when libcap happens to be building at the same time as
libgcrypt.)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agosanity.bbclass: add a sanity check for KDE 4.x konsole in TERMCMD
Paul Eggleton [Fri, 16 Sep 2011 16:44:45 +0000 (17:44 +0100)]
sanity.bbclass: add a sanity check for KDE 4.x konsole in TERMCMD

If the user has specified konsole in TERMCMD and it is version 2.x from
KDE 4.x, raise an error as this version will not work for patch
resolution purposes (it forks into the background and returns
immediately).

Addresses [YOCTO #1294]

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
13 years agolib/oe/terminal.py: declare konsole from KDE 4.x as unsupported
Paul Eggleton [Fri, 16 Sep 2011 16:36:12 +0000 (17:36 +0100)]
lib/oe/terminal.py: declare konsole from KDE 4.x as unsupported

Konsole 2.x (from KDE 4.x) does not work as devshell - it does not pass
the environment or current working directory through among other issues,
so do a version check and disable it if it is found (skipping to the
next available terminal application.)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
13 years agotexinfo: several changes to build without zlib and ncurses headers on host
Joshua Lock [Fri, 16 Sep 2011 22:35:48 +0000 (15:35 -0700)]
texinfo: several changes to build without zlib and ncurses headers on host

Texinfo very cleverly detects cross-compilation and builds host versions
of the texinfo binaries it requires to bootstrap the build, however this
was causing the host to require ncurses and zlib libraries and headers.

Instead, since we require texinfo to be installed on the host, remove this
feature from the texinfo configure.ac (disable-native-tools.patch).

Further, fix texinfo to link with newer binutils (link-zip.patch) and to
generate translations with newer gettext (gettext-macros.patch).

With this patch I am able to build texinfo on Fedora without ncurses-devel
and zlib-devel installed.

This fixes [YOCTO #1483]

Signed-off-by: Joshua Lock <josh@linux.intel.com>
13 years agobase.bbclass: add crosssdk items to INCOMPATIBLE_LICENSE exclude list
Saul Wold [Fri, 16 Sep 2011 22:30:32 +0000 (15:30 -0700)]
base.bbclass: add crosssdk items to INCOMPATIBLE_LICENSE exclude list

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agosanity: disable mirrors for connectivity check
Joshua Lock [Wed, 14 Sep 2011 22:09:28 +0000 (15:09 -0700)]
sanity: disable mirrors for connectivity check

It's difficult to test a range of fetchers when using mirrors, therefore create a throwaway
copy of the datastore and delete the MIRROR and PREMIRROR variables to ensure they aren't
used in the connectivity check.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobugzilla.bbclass: add a class to report build problems to bugzilla
Dmitry Eremin-Solenikov [Fri, 16 Sep 2011 06:55:17 +0000 (10:55 +0400)]
bugzilla.bbclass: add a class to report build problems to bugzilla

Add a class to report build errors to bugzilla. Idea largely based on
sepukku.bbclass, however it's rewritten nearly fully to use XML-RPC
interface of bugzilla. Tested with bugzilla 4.0, other version might
require some sort of adaptation.

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoicecc.bbclass: replace with updated version
Dmitry Eremin-Solenikov [Fri, 16 Sep 2011 06:55:16 +0000 (10:55 +0400)]
icecc.bbclass: replace with updated version

Replace a non-working icecc class with a rewritten one. It's cleaned up,
most things are handled now in shell scripts, as it's possible that
toolchains won't exist at the time of parsing/python substitution.
Packages which empty PARALLEL_MAKE are ignored now, as not to break
them.

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoicecc-create-env: a tool to create icecc toolchain tarballs
Dmitry Eremin-Solenikov [Fri, 16 Sep 2011 06:55:15 +0000 (10:55 +0400)]
icecc-create-env: a tool to create icecc toolchain tarballs

IceCC needs tarballs with toolchains to work correctly. This is a
version largely based on one from org.openembedded.dev, plus a patch to
support recent compilers, LTO, etc.

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoimage/package.bbclass: Revise multilib support for DEBIAN_NAME.
Lianhao Lu [Fri, 16 Sep 2011 12:41:36 +0000 (20:41 +0800)]
image/package.bbclass: Revise multilib support for DEBIAN_NAME.

[YOCTO #1486]
1. image.bbclass: In multilib_sanity_check, duplicated files except
those matching to MULTILIBRE_ALLOW_REP are allowed if they're equal.

2. pacakge.bbclass: Allow DEBIAN_NOAUTONAMES variable to be
automatically mapped in multilib case.

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
13 years agoMisc: Added MLPREFIX to final pkg names in case of DEBIAN_NAMES.
Lianhao Lu [Fri, 16 Sep 2011 12:32:50 +0000 (20:32 +0800)]
Misc: Added MLPREFIX to final pkg names in case of DEBIAN_NAMES.

[YOCTO #1486]
Added MLPREFIX to the final package names of library packages in case of
DEBIAN_NAMES.

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
13 years agodebian/_ipk.bbclass: Added multilib support for package_name_hook()
Lianhao Lu [Fri, 16 Sep 2011 12:28:29 +0000 (20:28 +0800)]
debian/_ipk.bbclass: Added multilib support for package_name_hook()

[YOCTO #1486]
1. Added multilib support for package_name_hook() so MLPREFIX is kept in
the final package name.

2. clean the output of log_check_ipk.

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
13 years agopackage.bbclass: fix spurious 'installed but not shipped' warning
Tom Zanussi [Fri, 16 Sep 2011 15:28:27 +0000 (10:28 -0500)]
package.bbclass: fix spurious 'installed but not shipped' warning

For packages that have files installed that aren't in a subdirectory,
the following build WARNING is emitted (this for initramfs-live-boot
as an example):

WARNING: For recipe initramfs-live-boot, the following files were
 installed but not shipped in any package:
WARNING:   init

The problem is that the filenames added to the 'seen' array are always
added with a path separator at the beginning of the filename, but when
the package dir is walked for comparison, any files at the top-level
will be missing the beginning path separator and the comparison will
fail despite the fact that the file was actually packaged.  This
because the remainder between the dirname and the dvar base name is
used in the path join and in the case of files at the top-level, the
remainder is the empty string, where it should be '/' for comparison
purposes.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoqemu: Fix reversed BGR values on ARM Versatile emulation
Richard Purdie [Fri, 16 Sep 2011 14:57:12 +0000 (15:57 +0100)]
qemu: Fix reversed BGR values on ARM Versatile emulation

[YOCTO #1469]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoPrevent IMAGE_FEATURES from contaminating initrd
Darren Hart [Thu, 15 Sep 2011 22:41:38 +0000 (15:41 -0700)]
Prevent IMAGE_FEATURES from contaminating initrd

Set IMAGE_FEATURES="" in core-image-initramfs to prevent
the setting of things like EXTRA_IMAGE_FEATURES in local.conf
from contaminating the initrd with features meant for the rootfs.

Suggested-by: Richard Purdie <richardpurdie@linuxfoundation.org>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoSet an explicit path for the initrd scripts
Darren Hart [Thu, 15 Sep 2011 22:41:37 +0000 (15:41 -0700)]
Set an explicit path for the initrd scripts

If we don't set PATH, then the shell will specify one for us.
Busybox adds the sbin dirs, but bash does not. I hit an
issue where bash (among other things) ended up in my initrd
and the boot scripts failed due to a bad default PATH. While
that is a separate issue, we should not be at the mercy of the
shell's default PATH. Update the initrdscripts to all specify:

PATH=/sbin:/bin:/usr/sbin:/usr/bin

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoeglibc-2.13: Replace oewarn with bbwarn
Khem Raj [Fri, 16 Sep 2011 01:59:55 +0000 (18:59 -0700)]
eglibc-2.13: Replace oewarn with bbwarn

oewarn does not exist

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoinitramfs-live-install: add PN to RDEPENDS
Tom Zanussi [Fri, 16 Sep 2011 01:40:55 +0000 (20:40 -0500)]
initramfs-live-install: add PN to RDEPENDS

RDEPENDS is package-specific, so add ${PN} to it.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agogrub_1.99: add PN to RDEPENDS
Tom Zanussi [Fri, 16 Sep 2011 02:20:50 +0000 (19:20 -0700)]
grub_1.99: add PN to RDEPENDS

RDEPENDS is package-specific, so add ${PN} to it.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agottf-bitstream-vera_1.10: add PN to RDEPENDS
Tom Zanussi [Fri, 16 Sep 2011 02:20:49 +0000 (19:20 -0700)]
ttf-bitstream-vera_1.10: add PN to RDEPENDS

RDEPENDS is package-specific, so add ${PN} to it.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoliberation-fonts_1.06: add PN to RDEPENDS
Tom Zanussi [Fri, 16 Sep 2011 02:20:48 +0000 (19:20 -0700)]
liberation-fonts_1.06: add PN to RDEPENDS

RDEPENDS is package-specific, so add ${PN} to it.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoliberation-fonts_1.04: add PN to RDEPENDS
Tom Zanussi [Fri, 16 Sep 2011 02:20:47 +0000 (19:20 -0700)]
liberation-fonts_1.04: add PN to RDEPENDS

RDEPENDS is package-specific, so add ${PN} to it.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoweb: Fix SRCREV due to lost commit in web-sato
Saul Wold [Fri, 16 Sep 2011 02:20:46 +0000 (19:20 -0700)]
web: Fix SRCREV due to lost commit in web-sato

[YOCTO #1454]

This SRCREV fixes the number of parameters

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agodistro-tracking: Update package alias
Dexuan Cui [Fri, 16 Sep 2011 02:20:45 +0000 (19:20 -0700)]
distro-tracking: Update package alias

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoliboil-0.3.17: add upstream Fix-enable-vfp-flag patch
Bernhard Guillon [Thu, 15 Sep 2011 08:23:58 +0000 (10:23 +0200)]
liboil-0.3.17: add upstream Fix-enable-vfp-flag patch

Add upstream 1921498bcc06408e8b051a3a9e9ce4182998f748 patch to fix
compiling with vfp

Without this patch this error occours on arm with vfp and softfloat:

| math_vfp_asm.S:273: Error: selected processor does not support `fnegd d12,d4'
| math_vfp_asm.S:273: Error: selected processor does not support `fstmiad r0!,{d12,d13,d14,d15}'
| math_vfp_asm.S:273: Error: selected processor does not support `fmxr fpscr,lr'
| make[3]: *** [math_vfp_asm.lo] Error 1

Signed-off-by: Bernhard Guillon <Bernhard.Guillon@hale.at>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoclaws-mail: be carefull with # comments ending with backslash
Martin Jansa [Thu, 15 Sep 2011 14:14:44 +0000 (16:14 +0200)]
claws-mail: be carefull with # comments ending with backslash

* next line after #foo \ is not parsed correctly!
* but http://bugzilla.pokylinux.org/show_bug.cgi?id=813 says NOTABUG, so
  be *very carefull*

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
13 years agoabiword: be carefull with # comments ending with backslash
Martin Jansa [Tue, 6 Sep 2011 08:33:32 +0000 (10:33 +0200)]
abiword: be carefull with # comments ending with backslash

* next line after #foo \ is not parsed correctly!
* but http://bugzilla.pokylinux.org/show_bug.cgi?id=813 says NOTABUG, so be *very carefull*

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
13 years agosubversion: remove neon-detection.patch and --with-neon option
Martin Jansa [Fri, 26 Aug 2011 08:01:04 +0000 (10:01 +0200)]
subversion: remove neon-detection.patch and --with-neon option

* upstream detection seems to be doing its job right now
* I don't see how this is supposed to work
  --      neon_config="$withval/bin/neon-config"
  -+      neon_config="env env PKG_CONFIG_PATH=${withval}:${PKG_CONFIG_PATH} pkg-config neon"
  when neon_config should be sysroots/nokia900/usr/bin/crossscripts/neon-config
"

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
13 years agotask-core-boot: allow distributions to define login and init manager
Martin Jansa [Thu, 25 Aug 2011 07:24:14 +0000 (09:24 +0200)]
task-core-boot: allow distributions to define login and init manager

* for example someone prefers shadow instead of tinylogin and upstart instead of sysvinit

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
13 years agoopenssh: update init script to create ECDSA keys if needed
Martin Jansa [Thu, 15 Sep 2011 14:10:50 +0000 (16:10 +0200)]
openssh: update init script to create ECDSA keys if needed

* Starting with openssh-5.8p1, the server will default to a newer key
  algorithm (ECDSA).

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
13 years agocml1/kernel: Update do_menuconfig to use oe.terminal()
Richard Purdie [Thu, 15 Sep 2011 10:22:39 +0000 (11:22 +0100)]
cml1/kernel: Update do_menuconfig to use oe.terminal()

The recent environment fixes broke the menuconfig task since it couldn't access
variables like DISPLAY. This patch updates it to use oe.terminal instead
allowing it to work again.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agodistro-tracking: Update alias
Zhai Edwin [Tue, 13 Sep 2011 22:57:45 +0000 (06:57 +0800)]
distro-tracking: Update alias

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
13 years agodistro_tracking: update package alias
Dongxiao Xu [Wed, 14 Sep 2011 05:34:50 +0000 (13:34 +0800)]
distro_tracking: update package alias

Update package alias which exist in other two distributions.

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
13 years agotask-core-sdk: change task-core -> task-core-console
Saul Wold [Wed, 14 Sep 2011 21:40:00 +0000 (14:40 -0700)]
task-core-sdk: change task-core -> task-core-console

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agogrub2: new recipe
Tom Zanussi [Wed, 14 Sep 2011 18:44:29 +0000 (13:44 -0500)]
grub2: new recipe

This adds the grub-1.98 from meta-intel while upgrading it to 1.99.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
13 years agoinitramfs-live-install: add support for grub2
Tom Zanussi [Wed, 14 Sep 2011 18:01:55 +0000 (13:01 -0500)]
initramfs-live-install: add support for grub2

grub2 needs a different set of install steps from grub 0.97.  This
adds them to init-install.sh and adds an install-time check that
determines which version is being used and which steps to use
depending on the version of grub selected.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
13 years agolinux-yocto-rt: correct 3.0.3->3.0.4 mismerge for, stop_machine.c
Bruce Ashfield [Wed, 14 Sep 2011 17:30:59 +0000 (13:30 -0400)]
linux-yocto-rt: correct 3.0.3->3.0.4 mismerge for, stop_machine.c

Merging the following commit for the -rt machines:

[
    preempt-rt/base: correct 3.0.3->3.0.4 mismerge for, stop_machine.c

    Commit 0b805cce57f61a244eb3b8fce460b14f1be442b3 dropped a change making
    stop_cpus_mutex non-static, resulting in a build failure for 3.0.4-rt
    kernels.

    Restore the move to non-static from commit
    6857336c7fddaf460a13adc0c395698fcf9423ff.

Reported-by: Kishore Bodke <kishore.k.bodke@intel.com>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
]

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
13 years agolinux-yocto: split e100 and e1000 support
Bruce Ashfield [Sat, 10 Sep 2011 04:04:58 +0000 (00:04 -0400)]
linux-yocto: split e100 and e1000 support

Merging the following meta changes:

12574e5 meta: create seperate feature for 10/100 LAN support
c8b37bf meta: Remove 10/100 LAN support.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
13 years agolinux-yocto: move common tasks to a common location
Bruce Ashfield [Fri, 9 Sep 2011 22:27:46 +0000 (18:27 -0400)]
linux-yocto: move common tasks to a common location

During the initial development of the linux-yocto recipes there were
several additional tasks that needed to be run in any inheriting
recipe. At that time, they didn't seem to fire if they were in the
include file versus the recipes themselves. As it turns out, these
tasks do work fine if placed in the linux-yocto.inc file, and the
rest of the recipes can be simplified as a result.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
13 years agotask-core: split into task-core-console and task-core-x11
Paul Eggleton [Wed, 14 Sep 2011 16:19:55 +0000 (17:19 +0100)]
task-core: split into task-core-console and task-core-x11

[YOCTO #1481]

Since tasks are referred to almost exclusively via RDEPENDS, and bitbake
will build an entire task recipe when only one of its task packages are
actually needed, building a console-only image that uses
task-core-apps-console (or less directly, has apps-console in its
IMAGE_FEATURES) will cause a build of a whole list of X11 applications
that aren't needed. Splitting the task-core recipe into X11 and console
portions prevents this issue.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
13 years agodistro_tracking_field: add distro checking field
Yu Ke [Wed, 14 Sep 2011 02:23:55 +0000 (10:23 +0800)]
distro_tracking_field: add distro checking field

add the missing distro checking field for some recipes

Signed-off-by: Yu Ke <ke.yu@intel.com>
13 years agoqt4: add blacklist-diginotar-certs patch
Eric Bénard [Sat, 10 Sep 2011 20:07:45 +0000 (22:07 +0200)]
qt4: add blacklist-diginotar-certs patch

- this patch comes from Nokia and blacklist all DigiNotar intermediates
and root certificates, more details are available here :
http://labs.qt.nokia.com/2011/09/07/what-the-diginotar-security-breach-means-for-qt-users-continued/

Signed-off-by: Eric Bénard <eric@eukrea.com>
13 years agopackage_deb.bbclass, populate_sdk_deb.bbclass: fix meta-toolchain-gmae build
Dexuan Cui [Wed, 14 Sep 2011 14:30:14 +0000 (22:30 +0800)]
package_deb.bbclass, populate_sdk_deb.bbclass: fix meta-toolchain-gmae build

[YOCTO #1070]

Currently with deb packaging, we have 2 issues when running
"bitbake meta-toolchain-gmae".

1) when MACHINE="qemux86", SDKMACHINE="i686", INSTALL_BASEARCH_DEB is "i686",
too. This causes the following ERROR:
| E: Couldn't find package task-sdk-host-nativesdk
NOTE: package meta-toolchain-gmae-1.0-r6: task do_populate_sdk: Failed

This is becasue: due to the DPKG_ARCH mapping, we create such a deb package
tmp/deploy/deb/i686-nativesdk/task-sdk-host-nativesdk_1.0-r10_i386.deb; dpkg
can't recoginze the package. We need to map INSTALL_BASEARCH_DEB in the same
way.

2) when MACHINE="qemux86", SDKMACHINE="x86_64", INSTALL_BASEARCH_DEB is
"x86_64", too.
We get such an ERROR:
| E: Couldn't find package task-cross-canadian-i586
NOTE: package meta-toolchain-gmae-1.0-r6: task do_populate_sdk: Failed

This is because: dpkg can't recognize the generated package
tmp/deploy/deb/x86_64-nativesdk/task-cross-canadian-i586_1.0-r0_i386.deb
Here the "i386" suffix is incorrect and should be "x86_64" -- the i386
comes from the line
DPKG_ARCH_i586 ?= "i386" in package_deb.bbclass.
However, for canadian package, actually here the overriding of DPKG (from
"x86-64" to "i386") should not happen -- it accidently happens just because
TARGET_ARCH exists in OVERRIDES. We can move the overriding logic to the
anonymous python function to work this around.

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
13 years agoUprev to latest version of prelink_git, fixing TLS issues
Mark Hatle [Wed, 14 Sep 2011 00:38:02 +0000 (19:38 -0500)]
Uprev to latest version of prelink_git, fixing TLS issues

[YOCTO #1473]

From the upstream cross prelink respository:

    Fix printf typecast problem

    Without this fix the printed TLS(...) information is incorrect, which
    causes the core prelinker code to incorrectly prelink.  This bug triggers
    primarily on x86 (32-bit) hosts, targeting x86 (32-bit) targets and arm
    targets.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
13 years agocore-image-minimal: Add missing POKY_EXTRA_IMAGE variable
Richard Purdie [Wed, 14 Sep 2011 00:27:08 +0000 (01:27 +0100)]
core-image-minimal: Add missing POKY_EXTRA_IMAGE variable

Whilst this needs renaming it at least brings this image into
line with the other images and ensures consistent behaviour.
Renaming can take place at a future point.

This fixes the problem where extra packages could be added to other
image types using this varibale but not in the case of the minimal
image.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibzypp: move package-manger to it own package
Saul Wold [Tue, 13 Sep 2011 23:10:24 +0000 (16:10 -0700)]
libzypp: move package-manger to it own package

[YOCTO #1234]

This moves a couple of files to a pkgmgt package so that
they will not be installed by default. This removes the
Add/Remove Software Icon from rpm based rootfs.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agodpkg: fix pkg_postinst_dpkg, don't supply {bindir}/update-alternatives
Dexuan Cui [Tue, 13 Sep 2011 13:30:37 +0000 (21:30 +0800)]
dpkg: fix pkg_postinst_dpkg, don't supply {bindir}/update-alternatives

[YOCTO #1070].

The pkg_postinst_dpkg seems buggy, e.g., for dpkg-native,
${IMAGE_ROOTFS}/${sysconfdir}/rcS.d doesn't exist.
I think OE's version(do_install_prepend) at
http://git.openembedded.org/cgit.cgi/openembedded/tree/recipes/dpkg/dpkg.inc
is correct, so let's change to OE's version.

And, bth dpkg and update-alternatives-cworth supply
/usr/bin/update-alternatives and this causes conflict. e.g., bug 1070.
We can resolve the issue by ask dpkg not to supply the binary.

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agomultilib: Remove recipe from multilib.conf that inherits allarch
Dongxiao Xu [Tue, 13 Sep 2011 11:52:45 +0000 (19:52 +0800)]
multilib: Remove recipe from multilib.conf that inherits allarch

Recipes like update-rc.d and qemu-config inherit "allarch", thus we
shouldn't add multilib BBCLASSEXTEND for them in multilib.conf.

Besides, we need to add multilib packages as the RPROVIDER contents for
those recipes, in order to avoid the NoProvider error when parsing.

[YOCTO #1471]

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobase.bbclass: do not expand PREFERRED_PROVIDER for kernel recipe
Dongxiao Xu [Tue, 13 Sep 2011 11:52:44 +0000 (19:52 +0800)]
base.bbclass: do not expand PREFERRED_PROVIDER for kernel recipe

With Richard's commit f9c36392, we only build one kernel for a system,
thus we shouldn't extend PREFERRED_PROVIDER for virtual/kernel.

[YOCTO #1471]

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoRevert "pango: use qemu to generate pango.modules during rootfs construction"
Richard Purdie [Tue, 13 Sep 2011 16:04:55 +0000 (17:04 +0100)]
Revert "pango: use qemu to generate pango.modules during rootfs construction"

This reverts commit 62381fd3a135318794f14dc3740b04facd32446e.

This commit has issues with the rpm rootfs generation which need
resolving before it can be accepted.

13 years agoopensp: Fix hard path in native nsgmls.
Zhai Edwin [Tue, 13 Sep 2011 16:02:51 +0000 (17:02 +0100)]
opensp: Fix hard path in native nsgmls.

This relocation issues caused following bug and introduce one partial fix bb024d:
[YOCTO #1440]

But the environment val hacking is not working all the time, as nsgmsl may
append wrong path in some case. This fix use search directory "-D" as solution.
And more important, change the iputils' way to make doc: Use the sysid in
current directory instead of parent directory, as "../" is also appended to the
search directory then lead searching failure.

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
CC: Saul Would <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoshadow: add patch for useradd lossage
Phil Blundell [Wed, 7 Sep 2011 12:02:10 +0000 (13:02 +0100)]
shadow: add patch for useradd lossage

This fixes (or, at least, papers over) a failure in do_install for recipes which
inherit useradd.bbclass.  Rewinding optind in this way is not entirely portable
but in practice it seems to work on GNU-ish build hosts at least.

Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agorunqemu: improve auto-detection of rootfs filenames
Scott Garman [Fri, 9 Sep 2011 09:59:27 +0000 (02:59 -0700)]
runqemu: improve auto-detection of rootfs filenames

This refactors the way rootfs filenames are auto-detected when you
run the runqemu script without an explicit rootfs filename argument.
It allows the script to use rootfs files generated by hob, and when
there are mutliple rootfs files to choose from, it will pick the
most recently created one.

Fixes [YOCTO #1437].

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobitbake.conf: Default to explicitly setting the variable to disable pseudo
Richard Purdie [Fri, 9 Sep 2011 17:21:24 +0000 (18:21 +0100)]
bitbake.conf: Default to explicitly setting the variable to disable pseudo

If we don't do this, sometimes pseudo can end up enabling itself when
it isn't required. Setting this value into the environment explicitly
ensures that does not happen.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agorunqemu-internal: Hide some harmless warning messages
Richard Purdie [Fri, 9 Sep 2011 17:18:44 +0000 (18:18 +0100)]
runqemu-internal: Hide some harmless warning messages

If sudo is used in the pseudo environment, as done in image tests when
the user hasn't pre-setup the tap device, ensure the LD_PRELOAD error
message isn't seen by the user.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoimagetest-qemu/runqueue: Since we no longer support BUILDDIR, use TMPDIR
Richard Purdie [Fri, 9 Sep 2011 17:14:56 +0000 (18:14 +0100)]
imagetest-qemu/runqueue: Since we no longer support BUILDDIR, use TMPDIR

Commit 993672fa2739794a6dd0dbd7bb232fa60522b897 removed the BUILDDIR
support from runqueue which broke the imagetest-qemu integration. We now
therefore need to set TMPDIR and pass this through the environment to
ensure the runqueue script finds the right locations without running
bitbake directly.

This patch also adds a sleep to the qemu command in the error case so that
this remains on the screen for a period of time so the user can see errors
more easily.

This change unbreaks automated testing failures on the autobuilder.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoRevert "opensp: Fix sstate relocation issue"
Saul Wold [Thu, 8 Sep 2011 22:22:56 +0000 (22:22 +0000)]
Revert "opensp: Fix sstate relocation issue"

This patch causes the linuxdoc-tools-native to fail, cause it's
overriding the SGML_CATALOG_FILES, need to find a better way to
set the CATALOG_FILE information for opensp / nsgmls

Signed-off-by: Saul Wold <sgw@linux.intel.com>
This reverts commit bb024d7a8c771c189b94b1ae177e29f3c318e236.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoterminal.bbclass: Improve environment handling
Richard Purdie [Wed, 7 Sep 2011 17:39:54 +0000 (18:39 +0100)]
terminal.bbclass: Improve environment handling

Currently the environment handling for terminals is inconsistent. There
are two fixes here:

a) Ensure the environment is setup before all oe.terminal call

b) Actually set the environment before the spawn calls since we need
variables like DISPLAY when the commands are being executed, not just
within the terminal environment. If this doesn't happen, DISPLAY can end
up not set with the errors that brings with it when trying to run X
commands.

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