]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
13 years agobase.bbclass: show layer's branches/revisions in the banner info
Dexuan Cui [Tue, 28 Jun 2011 05:18:59 +0000 (13:18 +0800)]
base.bbclass: show layer's branches/revisions in the banner info

The patch removes METADATA_BRANCH and METADATA_REVISION, and treats the meta/
in the same way as other layers.
In the case some layers belonging to the same repo, the branch and revision
are only printed once, but all the layer names are still printed.

An example output can be:

OE Build Configuration:
BB_VERSION        = "1.13.1"
TARGET_ARCH       = "i586"
TARGET_OS         = "linux"
MACHINE           = "emenlow"
DISTRO            = "poky"
DISTRO_VERSION    = "1.0+snapshot-20110702"
TARGET_FPU        = ""
meta
meta-yocto        = "dcui/banner_v3:4b712dba68a98c827b8f3d0242da9153c4f65473"
meta-emenlow
meta-sugarbay
meta-n450         = "dcui/test1:76d1178ba1a43cf6457c89717134aeb9f1275fae"

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
13 years agolibxml-parser-perl: convert to BBCLASSEXTEND, merge in OE fixes
Koen Kooi [Sat, 2 Jul 2011 12:24:33 +0000 (14:24 +0200)]
libxml-parser-perl: convert to BBCLASSEXTEND, merge in OE fixes

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agopackage.bbclass: Make unshipped packages message more readable
Richard Purdie [Tue, 5 Jul 2011 12:33:52 +0000 (13:33 +0100)]
package.bbclass: Make unshipped packages message more readable

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoqt4: ensure target packages don't include host binaries
Paul Eggleton [Tue, 5 Jul 2011 09:44:55 +0000 (10:44 +0100)]
qt4: ensure target packages don't include host binaries

Remove uic, rcc, moc and lrelease from packaged files. This fixes the
following QA warnings:

qt4-x11-free-4.7.3, wrong architecture, qt4-tools-dbg,
  ${WORKDIR}/packages-split/qt4-tools-dbg/usr/bin/.debug/uic
qt4-x11-free-4.7.3, wrong architecture, qt4-tools-dbg,
  ${WORKDIR}/packages-split/qt4-tools-dbg/usr/bin/.debug/rcc
qt4-x11-free-4.7.3, wrong architecture, qt4-tools-dbg,
  ${WORKDIR}/packages-split/qt4-tools-dbg/usr/bin/.debug/moc
qt4-x11-free-4.7.3, wrong architecture, qt4-tools,
  ${WORKDIR}/packages-split/qt4-tools/usr/bin/uic
qt4-x11-free-4.7.3, wrong architecture, qt4-tools,
  ${WORKDIR}/packages-split/qt4-tools/usr/bin/rcc
qt4-x11-free-4.7.3, wrong architecture, qt4-tools,
  ${WORKDIR}/packages-split/qt4-tools/usr/bin/moc
qt4-x11-free-4.7.3, wrong architecture, qt4-linguist,
  ${WORKDIR}/packages-split/qt4-linguist/usr/bin/lrelease

These utilities are all provided by qt4-tools-nativesdk in any case.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
13 years agogettext: fix ERROR: QA Issue: gettext rdepends on gettext-dev
Koen Kooi [Fri, 1 Jul 2011 10:01:43 +0000 (12:01 +0200)]
gettext: fix ERROR: QA Issue: gettext rdepends on gettext-dev

This was fixed in 2008 already, see http://dominion.thruhere.net/koen/cms/the-testlab-strikes-again but regressed during the 0.16.x -> 0.18.x update. Strangely enough the comment was kept.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agodb: Add INSANE_SKIP to avoid warning about .so file
Richard Purdie [Tue, 5 Jul 2011 10:15:02 +0000 (11:15 +0100)]
db: Add INSANE_SKIP to avoid warning about .so file

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoqemu: Clean up various QA warnings, add approproate INSANE_SKIP for firmware files...
Richard Purdie [Tue, 5 Jul 2011 10:14:36 +0000 (11:14 +0100)]
qemu: Clean up various QA warnings, add approproate INSANE_SKIP for firmware files, ensure files aren't stripped

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoelfutils: Update INSANE_SKIP to new syntax
Richard Purdie [Tue, 5 Jul 2011 10:13:43 +0000 (11:13 +0100)]
elfutils: Update INSANE_SKIP to new syntax

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agou-boot: Drop INSANE_SKIP since it insane no longer trips up on this recipe
Richard Purdie [Tue, 5 Jul 2011 10:13:02 +0000 (11:13 +0100)]
u-boot: Drop INSANE_SKIP since it insane no longer trips up on this recipe

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agogcc-package-cross: Switch to using pattern matching to detect when to stash libgcc...
Richard Purdie [Fri, 17 Jun 2011 16:27:25 +0000 (17:27 +0100)]
gcc-package-cross: Switch to using pattern matching to detect when to stash libgcc into the sysroot

Currently, we stash libgcc if PN is gcc-cross or gcc-crosssdk. This patch
changes it to work for *gcc-cross and *-gcc-crosssdk which means it
will patch for multilib extended toolchains.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolttng-viewer: Fixup various QA warnings and a false positive
Richard Purdie [Mon, 4 Jul 2011 16:12:10 +0000 (17:12 +0100)]
lttng-viewer: Fixup various QA warnings and a false positive

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoinsane.bbclass: Allow INSANE_SKIP to work on a per test basis
Richard Purdie [Mon, 4 Jul 2011 16:12:32 +0000 (17:12 +0100)]
insane.bbclass: Allow INSANE_SKIP to work on a per test basis

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agogcc: Remove unneeded module .la file and .so link
Richard Purdie [Mon, 4 Jul 2011 14:58:30 +0000 (15:58 +0100)]
gcc: Remove unneeded module .la file and .so link

This avoids a QA error.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agogettext: Disable both git and cvs for autopoint's archive format.
Richard Purdie [Mon, 4 Jul 2011 14:57:00 +0000 (15:57 +0100)]
gettext: Disable both git and cvs for autopoint's archive format.

The git-native dependency is between a 2-10% build performance hit
for a small reduction in autopoint's archive size (500kb vs 3.5MB).
We could always enable this for the target version only I guess.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agogcc: Fix removal of libiberty.a
Richard Purdie [Mon, 4 Jul 2011 14:37:18 +0000 (15:37 +0100)]
gcc: Fix removal of libiberty.a

The changes in commit 553a92c442bc3a35d1520a22e640a3a0e377b8f7 were not applying correctly
due to the error: "find: paths must precede expression"

This patch corrects the find syntax.

[YOCTO #1199]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibgsmd: Fix QA warnings
Richard Purdie [Fri, 1 Jul 2011 17:09:38 +0000 (18:09 +0100)]
libgsmd: Fix QA warnings

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agooprofile: Fix QA warnings
Richard Purdie [Fri, 1 Jul 2011 17:09:20 +0000 (18:09 +0100)]
oprofile: Fix QA warnings

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoxauth: upgrade from 1.05 to 1.06
Yu Ke [Wed, 29 Jun 2011 07:52:13 +0000 (15:52 +0800)]
xauth: upgrade from 1.05 to 1.06

Signed-off-by: Yu Ke <ke.yu@intel.com>
13 years agosqlite: upgrade from 3.7.6.2 to 3.7.7.1
Yu Ke [Sat, 2 Jul 2011 06:54:39 +0000 (14:54 +0800)]
sqlite: upgrade from 3.7.6.2 to 3.7.7.1

Signed-off-by: Yu Ke <ke.yu@intel.com>
13 years agodistro_tracking_field: update the manually check field
Yu Ke [Sat, 2 Jul 2011 06:50:19 +0000 (14:50 +0800)]
distro_tracking_field: update the manually check field

sqlite3
qemugl
console-tools
gconf-dbus

Signed-off-by: Yu Ke <ke.yu@intel.com>
13 years agolibdrm: upgrade to 2.4.26
Yu Ke [Wed, 29 Jun 2011 07:52:13 +0000 (15:52 +0800)]
libdrm: upgrade to 2.4.26

Signed-off-by: Yu Ke <ke.yu@intel.com>
13 years agolibidn: upgrade from 1.20 to 1.22
Yu Ke [Fri, 17 Jun 2011 07:00:12 +0000 (15:00 +0800)]
libidn: upgrade from 1.20 to 1.22

- update the license checksum due to some text indent change

Signed-off-by: Yu Ke <ke.yu@intel.com>
13 years agoresolvconf: update to version 1.58.
Anders Darander [Mon, 4 Jul 2011 09:18:21 +0000 (11:18 +0200)]
resolvconf: update to version 1.58.

The old version has become unavailable from the download site.

Signed-off-by: Anders Darander <anders@chargestorm.se>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agodistro_tracking_fields.inc: update recipes upgrade information
Mei Lei [Sun, 3 Jul 2011 15:22:22 +0000 (23:22 +0800)]
distro_tracking_fields.inc: update recipes upgrade information

Signed-off-by: Mei Lei <lei.mei@intel.com>
13 years agocoreutils: Upgrade from 8.9 to 8.12
Mei Lei [Sun, 3 Jul 2011 10:39:42 +0000 (18:39 +0800)]
coreutils: Upgrade from 8.9 to 8.12

Signed-off-by: Mei Lei <lei.mei@intel.com>
13 years agocurl: Upgrade from 7.21.6 to 7.21.7
Mei Lei [Sun, 3 Jul 2011 03:45:16 +0000 (11:45 +0800)]
curl: Upgrade from 7.21.6 to 7.21.7

Signed-off-by: Mei Lei <lei.mei@intel.com>
13 years agouclibc: Fix compilation in thumb mode
Khem Raj [Fri, 1 Jul 2011 05:25:00 +0000 (22:25 -0700)]
uclibc: Fix compilation in thumb mode

It was not setting COMPILE_IN_THUMB_MODE in .config
when ARM_INSTRUCTION_MODE = thumb. Reason was that
this entry has to exist in merged defconfig
so we add it disabled which means no harm to other
architectures

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agodistro_tracking_fields: remove modutils.
Anders Darander [Fri, 1 Jul 2011 13:08:04 +0000 (15:08 +0200)]
distro_tracking_fields: remove modutils.

Signed-off-by: Anders Darander <anders@chargestorm.se>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agomodutils: remove modutils
Anders Darander [Fri, 1 Jul 2011 13:08:02 +0000 (15:08 +0200)]
modutils: remove modutils

As 2.4 support is being phased out, remove modutils.

Signed-off-by: Anders Darander <anders@chargestorm.se>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agokernel.bblass: remove get_kernelmajorversion
Anders Darander [Fri, 1 Jul 2011 13:08:00 +0000 (15:08 +0200)]
kernel.bblass: remove get_kernelmajorversion

It is now unused.

Signed-off-by: Anders Darander <anders@chargestorm.se>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agomodutils-initscripts: move recipe prior to modutils removal
Anders Darander [Fri, 1 Jul 2011 13:08:01 +0000 (15:08 +0200)]
modutils-initscripts: move recipe prior to modutils removal

Signed-off-by: Anders Darander <anders@chargestorm.se>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agomodules-init-tools(-cross): update to 3.16
Anders Darander [Fri, 1 Jul 2011 13:07:59 +0000 (15:07 +0200)]
modules-init-tools(-cross): update to 3.16

Update to get support for Linux 3.0.
Delete the ignore_arch_directory.patch (as it does not apply to 3.16).

Signed-off-by: Anders Darander <anders@chargestorm.se>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoimage|kernel.bblass|module-init-tools: do not use depmod-2.6
Anders Darander [Fri, 1 Jul 2011 13:07:58 +0000 (15:07 +0200)]
image|kernel.bblass|module-init-tools: do not use depmod-2.6

Change to only depend on virtual/*/depmod.
Change all calls to only use depmod.
Do not install depmod as depmod-2.6
Bump PR in module-init-tools-cross.

Signed-off-by: Anders Darander <anders@chargestorm.se>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoRemove support for building 2.4 kernels
Anders Darander [Fri, 1 Jul 2011 13:07:57 +0000 (15:07 +0200)]
Remove support for building 2.4 kernels

Signed-off-by: Anders Darander <anders@chargestorm.se>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoDrop PRIORITY variable
Richard Purdie [Fri, 1 Jul 2011 22:25:36 +0000 (23:25 +0100)]
Drop PRIORITY variable

As discussed on the mailing list, this variable isn't useful and if wanted
would be better implemented by distros using pn-X overrides.

This patch executes:

find . -regex ".*\.\(bb\|inc\)$" | xargs sed -i '/^PRIORITY = ".*"$/d'

against the tree removing the referenced. Thanks to Phil Blundell for
the command.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoinsane.bbclass: Start to rework this so specific checks can be easily made warnings...
Richard Purdie [Fri, 1 Jul 2011 14:47:12 +0000 (15:47 +0100)]
insane.bbclass: Start to rework this so specific checks can be easily made warnings/errors

This patch means the warning/error handling can be controlled from local.conf
and/or from the distro level and no longer uses numbers but strings instead.

The system becomes extensible so that other classes can extend the path QA
checks at least.

It also removes all th duplicate error message code, we should have *one*
good error message.

Much work remains including making INSANE_SKIP take the classes of QA test
to skip but its a start.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobeecrypt: Fix up packaging QA warnings
Richard Purdie [Fri, 1 Jul 2011 13:13:54 +0000 (14:13 +0100)]
beecrypt: Fix up packaging QA warnings

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agopython: Ensure libpython.so ends up in the .dev package
Richard Purdie [Fri, 1 Jul 2011 13:13:09 +0000 (14:13 +0100)]
python: Ensure libpython.so ends up in the .dev package

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibpcre: Fix QA warnings
Richard Purdie [Fri, 1 Jul 2011 12:20:00 +0000 (13:20 +0100)]
libpcre: Fix QA warnings

This drops the split -dev packaging since it was broken and overcomplex. It ensures .so
symlinks end up in the correct package.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agokernel.bbclass: Ensure kernel/* internal sysroot working directory don't get packaged
Richard Purdie [Fri, 1 Jul 2011 10:59:38 +0000 (11:59 +0100)]
kernel.bbclass: Ensure kernel/* internal sysroot working directory don't get packaged

This removes a couple of megabytes of QA warnings!

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agocairo: Clean up packaging and fix warnings
Richard Purdie [Fri, 1 Jul 2011 09:06:02 +0000 (10:06 +0100)]
cairo: Clean up packaging and fix warnings

There were a number of QA errors being reported when packaging cairo. This patch
ensures the debug files go in the -dbg package, the .so development links go into
the -dev package, .a files into -staticdev.

It also switches back to relying on debian package naming for the library name.
Since this is working correctly now the files are in the correct packages, we
can simplify the recipe and there is no change in the resulting package names
from a package feed perspective.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoppp: sync packaging with OE .dev
Koen Kooi [Fri, 1 Jul 2011 18:17:47 +0000 (20:17 +0200)]
ppp: sync packaging with OE .dev

This fixes the QA errors and the 2.4.3 vs 2.4.5 copy/paste mistake

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoperl: Fix package qa rpath warnings.
Nitin A Kamble [Fri, 1 Jul 2011 18:51:15 +0000 (11:51 -0700)]
perl: Fix package qa rpath warnings.

Fix these kinds of Package QA warnings before they are converted into fetal errors:

WARNING: QA Issue: package perl-module-compress contains bad RPATH /build_disk/poky_build/build0/tmp/sysroots/qemux86/usr/lib in file /build_disk/poky_build/build0/tmp/work/i586-poky-linux/perl-5.12.3-r1/packages-split/perl-module-compress/usr/lib/perl/5.12.3/auto/Compress/Raw/Zlib/Zlib.so

This fixes this warning for perl recipe as well as libxml-parser-perl recipe.
It is a fix to MakeMaker within perl, so all such perl recipes will get
fixed with this perl fix.

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
13 years agoconsolekit: Add glib-2.0 to DEPENDS
Khem Raj [Fri, 1 Jul 2011 17:46:03 +0000 (10:46 -0700)]
consolekit: Add glib-2.0 to DEPENDS

Otherwise it ends up with this error
| configure: error: Package requirements (dbus-glib-1 >= 0.82
|   gobject-2.0 >= 2.14
|   gthread-2.0 >= 2.14
| ) were not met:
|
| No package 'gobject-2.0' found
| No package 'gthread-2.0' found
|
| Consider adjusting the PKG_CONFIG_PATH environment variable if you
| installed software in a non-standard prefix.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agouseradd-example: example recipe for using inherit useradd
Scott Garman [Wed, 18 May 2011 17:44:59 +0000 (10:44 -0700)]
useradd-example: example recipe for using inherit useradd

An example recipe for demonstrating/documenting how user and
group manipulation is done with 'inherit useradd'

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
13 years agouseradd.bbclass: new class for managing user/group permissions
Scott Garman [Tue, 17 May 2011 18:13:49 +0000 (11:13 -0700)]
useradd.bbclass: new class for managing user/group permissions

This class is to be used by recipes that need to set up specific
user/group accounts and set custom file/directory permissions.

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
13 years agouclibc: Add default uClibc.machine files
Khem Raj [Thu, 30 Jun 2011 23:33:17 +0000 (16:33 -0700)]
uclibc: Add default uClibc.machine files

Add generic machine config file

uClibc.machine in topdir should work mostly
and odd ones like mips should have a copy
of their own as explained

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobitbake.conf: update PSEUDO_PASSWD variable
Scott Garman [Thu, 30 Jun 2011 22:39:38 +0000 (15:39 -0700)]
bitbake.conf: update PSEUDO_PASSWD variable

The internal use of PSEUDO_PASSWD adds the /etc path
automatically.

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolinux-firmware: Add Realtex rt8192* firmwares
Michael Lippautz [Thu, 30 Jun 2011 18:09:11 +0000 (20:09 +0200)]
linux-firmware: Add Realtex rt8192* firmwares

This patch adds the firmware files for:
 * rt8192cu
 * rt8192ce
 * rt8192su

[RP: Changed file modes to 0644]
Signed-off-by: Michael Lippautz <michael.lippautz@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agouclibc: Fix bug exposed by udev 168+ for mips architecture
Khem Raj [Thu, 30 Jun 2011 08:07:15 +0000 (01:07 -0700)]
uclibc: Fix bug exposed by udev 168+ for mips architecture

newer udev uses sgnalfd + epoll and this exposed a bug
in uclibc for mips where SFD_NONBLOCK should be defined
with 0200 for mips but was using 04000. This would cause
random segfaults in udev during boot process

Tested on qemumips/angstrom console-image since angstrom
uses udev 171. It worked well when we did not use meta-oe
layer because udev in oe-core will then be used which is
at version 164.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoclasses/package.bbclass: Add fixup_perms
Mark Hatle [Mon, 20 Jun 2011 15:57:49 +0000 (10:57 -0500)]
classes/package.bbclass: Add fixup_perms

Add a new function that is responsible for fixing directory and file
permissions, owners and groups during the packaging process.  This will fix
various issues where two packages may create the same directory and end up
with different permissions, owner and/or group.

The issue being resolved is that if two packages conflict in their ownership
of a directory, the first installed into the rootfs sets the permissions.
This leads to a least potentially non-deterministic filesystems, at worst
security defects.

The user can specify their own settings via the configuration files
specified in FILESYSTEM_PERMS_TABLES.  If this is not defined, it will
fall back to loading files/fs-perms.txt from BBPATH.  The format of this
file is documented within the file.

By default all of the system directories, specified in bitbake.conf, will
be fixed to be 0755, root, root.

The fs-perms.txt contains a few default entries to correct documentation,
locale, headers and debug sources.  It was discovered these are often
incorrect due to being directly copied from the build user environment.

The entries needed to match the base-files package have also been added.

Also tweak a couple of warnings to provide more diagnostic information.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
13 years agobinutils: allow distro to select gold as default linker
Phil Blundell [Mon, 27 Jun 2011 15:51:16 +0000 (16:51 +0100)]
binutils: allow distro to select gold as default linker

But ensure that gcc-cross-intermediate always uses ld.bfd since
(e)glibc won't build with gold.

Signed-off-by: Phil Blundell <philb@gnu.org>
13 years agouclibc: Add UCLIBC_HAS_FLOATS=y to uClibc.distro
Khem Raj [Tue, 28 Jun 2011 01:40:53 +0000 (18:40 -0700)]
uclibc: Add UCLIBC_HAS_FLOATS=y to uClibc.distro

Remove unused uClibc.distro from topdir. It just creates
confusion

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agouclibc_git.bb: Untether UCLIBC_HAS_FPU from UCLIBC_HAS_FLOATS
Khem Raj [Tue, 28 Jun 2011 01:40:52 +0000 (18:40 -0700)]
uclibc_git.bb: Untether UCLIBC_HAS_FPU from UCLIBC_HAS_FLOATS

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agouclibc.inc: Use ARCH_WANTS_{LITTLE|BIG}_ENDIAN to denote endian
Khem Raj [Tue, 28 Jun 2011 01:40:51 +0000 (18:40 -0700)]
uclibc.inc: Use ARCH_WANTS_{LITTLE|BIG}_ENDIAN to denote endian

ARCH_{BIG|LITTLE}_ENDIAN is governed by ARCH_WANTS_{LITTLE|BIG}_ENDIAN
therefore we tame the superior

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agouclibc-config.inc: Fix regexp to determine big-endian arm
Khem Raj [Tue, 28 Jun 2011 01:40:50 +0000 (18:40 -0700)]
uclibc-config.inc: Fix regexp to determine big-endian arm

Without this even arm-*-* was being treated as big endian
but normal convention is the arm-*-* is little endian

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agouclibc: Remove redundant machine/arch configs
Khem Raj [Tue, 28 Jun 2011 01:40:49 +0000 (18:40 -0700)]
uclibc: Remove redundant machine/arch configs

Big endian counterparts are not needed since
we already add the proper endianness to final
config as seen in uclibc-config.inc

The difference between arm and armv5te configs
were also superficial since all it did was select
arm926t which made sure that right mtune and march
flags were passed to gcc when building uclibc
We already do that via passing them in
UCLIBC_EXTRA_CFLAGS.

Similarly for other architectures the features
are really taken care of in config mangler and
machine config fragments are no longer needed

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agoshadow-native: fix creation of home directories
Scott Garman [Tue, 28 Jun 2011 22:15:39 +0000 (15:15 -0700)]
shadow-native: fix creation of home directories

Pseudo was recently changed so that when system() calls are
made after a chroot(), the host binaries can no longer be found,
breaking the system("mkdir -p") approach when useradd creates
home directories.

Instead, use mkdir(2) to create home directories with a helper
function to ensure parent directories get created.

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
13 years agoAdd OECORE_ACLOCAL_OPTS to env setup scripts for autotool project using correct libto...
Jessica Zhang [Wed, 29 Jun 2011 21:18:20 +0000 (14:18 -0700)]
Add OECORE_ACLOCAL_OPTS to env setup scripts for autotool project using correct libtool 2.4

Signed-off-by: Jessica Zhang <jessica.zhang@intel.com>
13 years agoconsolekit 0.4.5: remove patch that forcibly disables consolekit
Koen Kooi [Sat, 25 Jun 2011 09:24:45 +0000 (11:24 +0200)]
consolekit 0.4.5: remove patch that forcibly disables consolekit

Polkit support is actually needed for consolekit to function properly, without you get things like:

** (gnome-panel:547): WARNING **: Could not ask session manager if shut down is available: Timeout was reached

Various applications will timeout and less well written ones will crash (e.g. the clock applet).

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
13 years agoconsolekit 0.4.5: add pam support based on distro features
Koen Kooi [Sat, 25 Jun 2011 09:24:44 +0000 (11:24 +0200)]
consolekit 0.4.5: add pam support based on distro features

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
13 years agowebkit-gtk: fix packaging
Koen Kooi [Fri, 24 Jun 2011 13:59:32 +0000 (15:59 +0200)]
webkit-gtk: fix packaging

Somewhere in the past webkit changed from webkit-x to webkitgtk-x but the person updating the recipe didn't catch that

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
13 years agodbus: update to 1.4.12
Koen Kooi [Thu, 23 Jun 2011 11:56:48 +0000 (13:56 +0200)]
dbus: update to 1.4.12

The tmpdir patch has been regenerated and can now be applied with git-am, no functional changes.

The biggest improvement is that dbus will log to syslog nowadays:

[   22.238708] <29>dbus[237]: [system] Activating service name='fi.w1.wpa_supplicant1' (using servicehelper)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
13 years agolinux-libc-headers: add 2.6.39
Koen Kooi [Tue, 21 Jun 2011 13:00:23 +0000 (15:00 +0200)]
linux-libc-headers: add 2.6.39

The 2.6.37.2 version is kept to allow the qemu kernels and libc headers version to match

13 years agoccache: Remove duplicate 'ccache.inc' from 'meta/class/'
Wenzong Fan [Fri, 24 Jun 2011 07:57:12 +0000 (15:57 +0800)]
ccache: Remove duplicate 'ccache.inc' from 'meta/class/'

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
13 years agoccache: Add 'ccache' for SDK images
Wenzong Fan [Fri, 24 Jun 2011 07:51:38 +0000 (15:51 +0800)]
ccache: Add 'ccache' for SDK images

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
13 years agoccache: Set CCACHE on a per recipe basis
Wenzong Fan [Fri, 24 Jun 2011 07:42:14 +0000 (15:42 +0800)]
ccache: Set CCACHE on a per recipe basis

Set 'CCACHE_DIR' in 'bitbake.conf' and create the dirs for every
package before task 'do_configure' started.

[RP: Merge dirs variables into one]
Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoccache: Integrate ccache-native to poky
Wenzong Fan [Fri, 24 Jun 2011 07:38:24 +0000 (15:38 +0800)]
ccache: Integrate ccache-native to poky

Add ccache as a native tool and put its recipe files to:
'meta/recipes-devtools/ccache'.

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
13 years agoAdd umask task control
Mark Hatle [Wed, 22 Jun 2011 04:56:25 +0000 (23:56 -0500)]
Add umask task control

Bitbake now allows the umask to be specified per task.  The
following tasks will have a umask of 022 set by default:

do_configure
do_compile
do_install
do_package
do_populate_sysroot
do_rootfs

do_configure and do_compile need a umask of 022 set because -many- recipes
directly copy generated files out of recipe's build directory.  Instead of
fixing each existing and future recipe, it was shown to be much easier to
just set the umask.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
13 years agolinux-firmware: Fix file permissions
Mark Hatle [Fri, 24 Jun 2011 18:29:29 +0000 (13:29 -0500)]
linux-firmware: Fix file permissions

The firmware was installed 0666 which could have been a security
issue.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
13 years agoscripts/runqemu: enable btrfs
Nitin A Kamble [Fri, 17 Jun 2011 00:58:39 +0000 (17:58 -0700)]
scripts/runqemu: enable btrfs

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
13 years agobase-files: add btrfs to /etc/filesystems
Nitin A Kamble [Fri, 17 Jun 2011 00:47:13 +0000 (17:47 -0700)]
base-files: add btrfs to /etc/filesystems

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
13 years agoimage_types.bbclass: enable btrfs as one of the image type
Nitin A Kamble [Tue, 21 Jun 2011 19:10:20 +0000 (12:10 -0700)]
image_types.bbclass: enable btrfs as one of the image type

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
13 years agoimage-types.bbclass: get the image size in the whole number
Nitin A Kamble [Tue, 21 Jun 2011 19:08:43 +0000 (12:08 -0700)]
image-types.bbclass: get the image size in the whole number

Avoid fractions like 80.72 and round them to whole numbers.

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
13 years agosanity.bbclass: pass the data object to the less frequent test harnesses
Joshua Lock [Thu, 28 Apr 2011 22:31:19 +0000 (15:31 -0700)]
sanity.bbclass: pass the data object to the less frequent test harnesses

By passing the data object to the less frequently run test harnesses
(check_sanity_tmpdir_change(), check_sanity_sstate_dir_change() and
check_sanity_version_change()) we can run tests against BitBake data here
too.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
13 years agodistro_tracking_field: update recipe maintainer
Yu Ke [Mon, 20 Jun 2011 04:47:48 +0000 (12:47 +0800)]
distro_tracking_field: update recipe maintainer

reassign Qing's recipe to other team member

Signed-off-by: Yu Ke <ke.yu@intel.com>
13 years agobtrfs-tools: new recipe for tools to operate on btrfs images
Nitin A Kamble [Fri, 10 Jun 2011 01:12:12 +0000 (18:12 -0700)]
btrfs-tools: new recipe for tools to operate on btrfs images

Added these patches to the recipe to get it to work as desired:

Upstream patches from tmp & for-dragonn branches of repository http://git.kernel.org/?p=linux/kernel/git/mason/btrfs-progs-unstable.git

Also included the debian patches.

Nitin's patch to make the makefile cross friendly

And Xin Zhong's patch to improve mkfs.btrfs

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
13 years agokernel: move menuconfig task after configure
Darren Hart [Wed, 29 Jun 2011 19:16:07 +0000 (12:16 -0700)]
kernel: move menuconfig task after configure

Fixes [YOCTO 1136]

linux-yocto adds some configure steps that are necessary to prepare the source
tree after the do_patch task. This causes a "-c menuconfig" to fail in a clean
build tree. Typical use of menuconfig should be to modify the config provided
by the recipe being built. It therefor makes sense for the menuconfig task to
come after the configure task. This also happens to fix the issue seen with the
linux-yocto kernel recipe.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
13 years agoutil-linux: Rebase remove-lscpu patch from non-gplv3
Saul Wold [Wed, 29 Jun 2011 23:52:52 +0000 (16:52 -0700)]
util-linux: Rebase remove-lscpu patch from non-gplv3

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agogcc-4.6: share work directories
Robert Yang [Tue, 28 Jun 2011 20:31:53 +0000 (14:31 -0600)]
gcc-4.6: share work directories

* Fix configure and Makefile to read the defaults.h and t-oe from ${B},
  so that the ${S} can be shared.

* Change ${S} to the shared source directory.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
13 years agogcc-4.5.1: share work directories
Robert Yang [Tue, 14 Jun 2011 08:58:32 +0000 (16:58 +0800)]
gcc-4.5.1: share work directories

Fix configure and Makefile to read the defaults.h and t-oe from ${B},
so that the ${S} can be shared.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
13 years agoShare gcc work directories
Robert Yang [Tue, 28 Jun 2011 20:31:04 +0000 (14:31 -0600)]
Share gcc work directories

This patched is derived from Richard, make gcc use the shared source
directory during the different building:

1) Make gcc-cross, gcc-cross-initial, gcc-cross-intermediate and
   gcc-runtime share the same source directory.

2) The source directory is ${TMPDIR}/work-shared/gcc-${PV}, for example:
   tmp/work-shared/gcc-4.5.1

3) Fix do_clean to clean the shared source directory and stamps

4) gcc uses sed and creates config files against ${S} which means the
   directory should not be shared. Change the way to make it work:

   * The configure option --with-headers=${STAGING_DIR_TARGET}${SYSTEMHEADERS}
     can replace the sed command, see the code in configure:

        if test "x$with_headers" != x; then
          glibc_header_dir=$with_headers

    This has the same effect as the sed command:

    sed -i 's:^\([  ]*\)glibc_header_dir=\"${with_build_sysroot}/usr/include\": ...

    so add the --with-headers=${STAGING_DIR_TARGET}${SYSTEMHEADERS} to
    gcc-configure-cross.inc( not add to gcc-configure-common.inc, since
    not all the gcc building need this, the one which has its own do_configure
    doesn't need it).

   * Move t-oe from ${T} to ${B}/gcc, so that the patched Makefile.in
     can read it easily, please see the commit for gcc-4.5.1 and
     gcc-4.6.0.

   * Use the defaults.h in ${B}/gcc instead of ${S}/gcc, and the patched
     configure.ac(configure) can read it correctly, please see the
     commit for gcc-4.5.1 and gcc-4.6.0.

   * The gcc-crosssdk.inc used sed to edit ${S}/config/*/linux*.h
     to change the GLIBC_DYNAMIC_LINKER, which made the source
     incompatible. To make the source compatible:
     - Use:
 sed -i ${S}/gcc/config/*/linux*.h -e \
's#\(GLIBC_DYNAMIC_LINKER[^ ]*\)\( *"/lib.*\)#\1 SYSTEMLIBS_DIR\2#'

so entries in the files that look like:
#define GLIBC_DYNAMIC_LINKER64 "/lib64/ld-linux-x86-64.so.2"
would become
#define GLIBC_DYNAMIC_LINKER64 SYSTEMLIBS_DIR"/ld-linux-x86-64.so.2"
and we define SYSTEMLIBS_DIR in defaults.h.

NOTE:
#define GLIBC_DYNAMIC_LINKER64 (SYSTEMLIBS_DIR "/ld-linux-x86-64.so.2")
doesn't work in in the following define:
#define LINUX_DYNAMIC_LINKER \
   CHOOSE_DYNAMIC_LINKER (GLIBC_DYNAMIC_LINKER, UCLIBC_DYNAMIC_LINKER)
so use
#define GLIBC_DYNAMIC_LINKER64 SYSTEMLIBS_DIR"/ld-linux-x86-64.so.2"

5) Add do_configure_prepend to gcc-configure-common.inc and remove the
   one in gcc-crosssdk.inc, this makes it easy to share the source,
   otherwise we need do extra changes in gcc-configure-sdk.inc.

6) Use "cat > file <_EOF" to replace the "echo > file"

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
13 years agosanity.conf: Require bitbake version 1.13.2 at a minimum
Richard Purdie [Thu, 30 Jun 2011 19:36:26 +0000 (20:36 +0100)]
sanity.conf: Require bitbake version 1.13.2 at a minimum

13 years agoglibc-2.12: Add missing PR bump
Richard Purdie [Thu, 30 Jun 2011 15:56:07 +0000 (16:56 +0100)]
glibc-2.12: Add missing PR bump

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoeglibc-package.bbclass: Ensure localedef is only packaged in one location
Richard Purdie [Thu, 30 Jun 2011 15:45:20 +0000 (16:45 +0100)]
eglibc-package.bbclass: Ensure localedef is only packaged in one location

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoeglibc-package.bbclass: Fix unintended code changes
Richard Purdie [Thu, 30 Jun 2011 15:41:49 +0000 (16:41 +0100)]
eglibc-package.bbclass: Fix unintended code changes

Commit 477ede7472db0bacd5daacb96e97f849d1be84ee accidentally reverted
some code changes it shouldn't have done leading to continued eglibc
packaging issues. This patch corrects that damage.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agodistro_tracking_fields.inc: update RECIPE_MANUAL_CHECK_DATE for screen and tcf-agent
Dexuan Cui [Wed, 29 Jun 2011 12:59:06 +0000 (20:59 +0800)]
distro_tracking_fields.inc: update RECIPE_MANUAL_CHECK_DATE for screen and tcf-agent

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
13 years agolttng-ust: change the patch's Upstream-Status to Accepted.
Dexuan Cui [Wed, 29 Jun 2011 12:53:30 +0000 (20:53 +0800)]
lttng-ust: change the patch's Upstream-Status to Accepted.

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
13 years agogrub: add -fno-reorder-functions into STAGE2_COMPILE
Dexuan Cui [Wed, 29 Jun 2011 12:32:32 +0000 (20:32 +0800)]
grub: add -fno-reorder-functions into STAGE2_COMPILE

This is used to work around a gcc-4.6's bug about the option.

[YOCTO #1099]

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
13 years agoglib-2.0,intltool,rpm,sgmlspl-native: Bump PR to resolve perl-native issue
Dexuan Cui [Fri, 17 Jun 2011 02:09:50 +0000 (10:09 +0800)]
glib-2.0,intltool,rpm,sgmlspl-native: Bump PR to resolve perl-native issue

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
13 years agotask-base: add 3G into DISTRO_FEATURE
Dongxiao Xu [Tue, 28 Jun 2011 07:59:06 +0000 (15:59 +0800)]
task-base: add 3G into DISTRO_FEATURE

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
13 years agoinitscript: Change some order of init scripts
Dongxiao Xu [Thu, 16 Jun 2011 08:59:03 +0000 (16:59 +0800)]
initscript: Change some order of init scripts

Move udev script to execute ealier since module autoload needs it to
create device nodes.

Also move sysfs before udev which has dependency on it.

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
13 years agoconnman-gnome: Add 3G configuration support
Dongxiao Xu [Thu, 16 Jun 2011 08:58:20 +0000 (16:58 +0800)]
connman-gnome: Add 3G configuration support

Apply 3g.patch which add cellular config option in connman-gnome.

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
13 years agoofono: upgrade to version 0.50
Dongxiao Xu [Tue, 28 Jun 2011 06:51:51 +0000 (14:51 +0800)]
ofono: upgrade to version 0.50

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
13 years agowpa-supplicant: remove the 0.6.10 version.
Dongxiao Xu [Thu, 16 Jun 2011 08:55:59 +0000 (16:55 +0800)]
wpa-supplicant: remove the 0.6.10 version.

Remove the 0.6.10 version since now 0.7.3 is the latest stable version.

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
13 years agoconnman: Upgrade to version 0.75
Dongxiao Xu [Tue, 28 Jun 2011 07:58:40 +0000 (15:58 +0800)]
connman: Upgrade to version 0.75

Enable ofono plugin.
Adopt some logic in meta-oe on connman plugin runtime dependency.
Remove the fix-shutdown-ap-disconnect.patch since the original logic no longer exists.
Add Upstream-Status information for patches.

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
13 years agodistro_tracking: update some manual checking fields
Dongxiao Xu [Wed, 29 Jun 2011 06:03:47 +0000 (14:03 +0800)]
distro_tracking: update some manual checking fields

linux-firmware
minicom
opkg
dpkg
wireless-tools
libgsmd
libsamplerate0

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
13 years agoweb-webkit: recommends glib-networking to access https web page
Zhai Edwin [Thu, 23 Jun 2011 23:58:18 +0000 (07:58 +0800)]
web-webkit: recommends glib-networking to access https web page

It is required by libsoup for TLS support.

[YOCTO #1037] got fixed

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
13 years agoUpstream-Status: update the status for some patches
Dongxiao Xu [Wed, 29 Jun 2011 08:43:22 +0000 (16:43 +0800)]
Upstream-Status: update the status for some patches

gypsy: fix-unused-but-set-variable-warning.patch
telepathy-python: parallel_make.patch
opkg-utils: mtime-int.patch
opkg: headerfix.patch
flac: flac-gcc43-fixes.patch
libsamplerate0: libsamplerate-0.1.7-macro-quoting.patch

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
13 years agoprelink_git.bb: Only block the postinst script when no image-prelink
Mark Hatle [Wed, 29 Jun 2011 01:36:11 +0000 (20:36 -0500)]
prelink_git.bb: Only block the postinst script when no image-prelink

If image-prelink is being used, the system will automatically prelink
the target image.  This avoids the need to run the postinst prelink
script at first boot.  However, if the user has not enabled image
prelinking -- then we do enable the script to run on first boot.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>