]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
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>
13 years agosstate.bbclass: Fix an issue if the config changes
Mark Hatle [Wed, 29 Jun 2011 01:34:19 +0000 (20:34 -0500)]
sstate.bbclass: Fix an issue if the config changes

We need to check if we know of the task type, before we attempt
to process it.  In order to reproduce the problem build with:

PACKAGE_CLASSES = "package_ipk"

Then change it to:

PACKAGE_CLASSES = "package_rpm"

Build again -- and then try bitbake -c cleansstate <recipe>

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
13 years agofontconfig: specify font directory in EXTRA_OECONF
Phil Blundell [Mon, 27 Jun 2011 15:24:08 +0000 (16:24 +0100)]
fontconfig: specify font directory in EXTRA_OECONF

since, otherwise, fontconfig's builtin default may not match ${datadir}.

Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agosystemtap: add sqlite3 to DEPENDS
Saul Wold [Sun, 26 Jun 2011 03:15:36 +0000 (20:15 -0700)]
systemtap: add sqlite3 to DEPENDS

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agolibc locale split: fix some remaining problems
Koen Kooi [Wed, 29 Jun 2011 12:00:23 +0000 (14:00 +0200)]
libc locale split: fix some remaining problems

* libc-{common,package}.bbclass: fix shlib renaming for the C library
Without this you'd end up with eglibc_2.12.ipk instead of libc6_2.12.ipk as before

* eglibc-locale: don't make versions go backwards after split from eglibc
eglibc was way beyond PR = "r1" at the time of the split, so increase PR to make package upgrades work

[RP: Fixup PR merge conflict]
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoglibc/eglibc: Clean up package warnings and potentially broken data in -dev package
Richard Purdie [Wed, 29 Jun 2011 12:35:00 +0000 (13:35 +0100)]
glibc/eglibc: Clean up package warnings and potentially broken data in -dev package

These changes ensure files packaged in the -locale package aren't included
in the main do_install and also ensures the staging directory used for
the -locale package doesn't end up in the -dev package.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibc-locale: Fixup various packaging warnings
Richard Purdie [Wed, 29 Jun 2011 12:04:40 +0000 (13:04 +0100)]
libc-locale: Fixup various packaging warnings

After the recent locale changes there were warnings about many unpackaged files.
Fix this by directing libc-package.bbclass to operate directly on the files in
the sysroot and adding packaging for .debug files in this package.

Also sync up the eglibc and glibc versions of this code more closely.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoscripts/oe-setup-builddir: Fix Yocto documentation links and add a couple of other...
Richard Purdie [Wed, 29 Jun 2011 09:55:33 +0000 (10:55 +0100)]
scripts/oe-setup-builddir: Fix Yocto documentation links and add a couple of other example targets

This takes into account some feedback from Yocto's tech writer
as mentioned in the bugzilla.

[YOCTO #1182]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years ago[PATCH] u-boot-mkimage: bump version to 2011.03
Ilya Yanok [Tue, 28 Jun 2011 14:54:51 +0000 (16:54 +0200)]
[PATCH] u-boot-mkimage: bump version to 2011.03

This patch changes u-boot-mkimage version to 2011.03. Unfortunately
U-Boot 2011.03 release has some problems building tools from
unconfigured tree, so this patch aslo includes the backported fixes.

Signed-off-by: Ilya Yanok <yanok@emcraft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibc-locale: Drop PN-locale packages
Richard Purdie [Tue, 28 Jun 2011 16:05:03 +0000 (17:05 +0100)]
libc-locale: Drop PN-locale packages

These never seem to have been generated and matched no known FILES anyhow.

This ensures localedef makes it into the correct package too.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agogcc-cross-kernel: update to match new toolchain sysroot layout
Koen Kooi [Mon, 27 Jun 2011 16:56:42 +0000 (18:56 +0200)]
gcc-cross-kernel: update to match new toolchain sysroot layout

The versioned gcc binary gets installed and the needed binutils symlinks are made.

To make it fully work again the following is needed in kernel recipes/classes:

PATH_prepend = "${STAGING_BINDIR_TOOLCHAIN}.gcc-cross-kernel:"

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoAdd PARALLEL_MAKE to BB_ENV_EXTRAWHITE
Darren Hart [Mon, 27 Jun 2011 21:11:58 +0000 (14:11 -0700)]
Add PARALLEL_MAKE to BB_ENV_EXTRAWHITE

As BB_NUMBER_THREADS is already whitelisted, it is consistent to
also allow PARALLEL_MAKE to be overridden via the environment. This
also simplifies performance testing where multiple combinations of
those two variables are a natural thing to do.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobase.bbclass: Back off the fatal error to a warning for now and try and recover
Richard Purdie [Tue, 28 Jun 2011 13:47:10 +0000 (14:47 +0100)]
base.bbclass: Back off the fatal error to a warning for now and try and recover

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agodistro-tracking: Update manual check date for puzzles, gpgme, x11vnc..
Zhai Edwin [Tue, 28 Jun 2011 03:06:53 +0000 (11:06 +0800)]
distro-tracking: Update manual check date for puzzles, gpgme, x11vnc..

Also make maintainer name consistent.

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
13 years agoglib-networking: Add 2.28.7 as new recipe
Zhai Edwin [Fri, 24 Jun 2011 07:49:14 +0000 (15:49 +0800)]
glib-networking: Add 2.28.7 as new recipe

glib-networking contains the implementations of certain GLib networking
features that cannot be implemented directly in GLib itself because of their
dependencies. TLS/SSL support is one of them, which is needed for accessing SSL
web page.

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
13 years agosanity.bbclass: only run check_pseudo_wrapper for bitbake
Dexuan Cui [Sun, 19 Jun 2011 11:50:46 +0000 (19:50 +0800)]
sanity.bbclass: only run check_pseudo_wrapper for bitbake

This patch eliminates the warning "not been run using the bitbake wrapper..."
when we run bitbake-layers.

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
13 years agogconf-dbus: Fix SRC_URI to tarball
Saul Wold [Thu, 16 Jun 2011 02:58:15 +0000 (19:58 -0700)]
gconf-dbus: Fix SRC_URI to tarball

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agodistro_tracking: update sudo tracking info
Scott Garman [Tue, 14 Jun 2011 17:02:41 +0000 (10:02 -0700)]
distro_tracking: update sudo tracking info

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
13 years agosudo: upgrade to v1.8.1p2
Scott Garman [Tue, 14 Jun 2011 16:49:18 +0000 (09:49 -0700)]
sudo: upgrade to v1.8.1p2

Upgrading to the latest stable release of sudo.

This version of sudo has reorganized its source code layout, hence
the LIC_FILES_CHKSUM related changes. Also, some of the individual
.c files we checksummed (nonunix.h, vasgroups.c) are no longer
shipped with the sources. Finally, an embedded copy of zlib is now
included in these sources, so Zlib is included as one of the
licenses. I could not find any evidence of MIT-licensed sources,
so that license has been removed.

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
13 years agooe.classutils: add module
Chris Larson [Tue, 29 Mar 2011 21:59:22 +0000 (14:59 -0700)]
oe.classutils: add module

This adds a ClassRegistry utility metaclass, as maintaining a class registry
is a fairly common thing to do.

Signed-off-by: Chris Larson <chris_larson@mentor.com>
13 years agodistro_tracking: update mtools tracking info
Scott Garman [Thu, 16 Jun 2011 03:04:52 +0000 (20:04 -0700)]
distro_tracking: update mtools tracking info

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
13 years agomtools: upgrade to v4.0.16
Scott Garman [Thu, 16 Jun 2011 03:04:05 +0000 (20:04 -0700)]
mtools: upgrade to v4.0.16

Also added Upstream-Status: tag to a patch.

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
13 years agolib_package.bbclass: move static libraries to ${PN}-staticdev
Otavio Salvador [Thu, 16 Jun 2011 20:59:31 +0000 (20:59 +0000)]
lib_package.bbclass: move static libraries to ${PN}-staticdev

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
13 years agolibxml: extend nativesdk class
Otavio Salvador [Thu, 16 Jun 2011 21:07:14 +0000 (21:07 +0000)]
libxml: extend nativesdk class

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
13 years agodistrodata.bbclass: Get the extend recipe's information from non bbextended recipe
Mei Lei [Mon, 20 Jun 2011 09:29:36 +0000 (17:29 +0800)]
distrodata.bbclass: Get the extend recipe's information from non bbextended recipe

This patch will check whether the recipe is an extened recipe, if yes, some informaiton couldn't be got, so collect those information(like maintainer information or lastcheckversion) from non bbextended recipe.

Signed-off-by: Mei Lei <lei.mei@intel.com>
13 years agorpm: Change config option
Mark Hatle [Fri, 24 Jun 2011 18:27:09 +0000 (13:27 -0500)]
rpm: Change config option

For some reason --without-xz doesn't work the same as --with-xz=none.

We need this set to none, or configure will attempt to find an lzma
header which we might or might not have.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
13 years agomsmtp: Disable gnome keyring
Mark Hatle [Fri, 24 Jun 2011 18:28:39 +0000 (13:28 -0500)]
msmtp: Disable gnome keyring

Unless we explicitly disable the gnome keyring support, the system
will attemp to discover if it's available which changes the package
output.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
13 years agoprelink: Uprev prelink to latest version
Mark Hatle [Fri, 24 Jun 2011 18:30:15 +0000 (13:30 -0500)]
prelink: Uprev prelink to latest version

The latest cross-prelink version tracks the prelink r190 SVN.

Fix two minor issues as well.  If we remove the package, we would
unprelink the filesystem after the rm was finished.  This is
incorrect.. we need to do this prerm.

Move the cron and cron configuration file to a new package split.
This item is not valid for most embedded users.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
13 years agodhcp: don't try to move files from ${sbindir} to ${base_sbindir} if they are the...
Phil Blundell [Thu, 16 Jun 2011 13:27:43 +0000 (14:27 +0100)]
dhcp: don't try to move files from ${sbindir} to ${base_sbindir} if they are the same

Signed-off-by: Phil Blundell <philb@gnu.org>
13 years agolibtirpc: Upgrade 0.2.1 -> 0.2.2
Khem Raj [Thu, 23 Jun 2011 22:39:47 +0000 (15:39 -0700)]
libtirpc: Upgrade 0.2.1 -> 0.2.2

Additionally bring in the nis headers which will be
required when using eglibc 2.14 where rpc support
is removed.

Make it provide virtual/librpc

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agobase-passwd: remove login.defs references
Scott Garman [Tue, 21 Jun 2011 00:21:16 +0000 (17:21 -0700)]
base-passwd: remove login.defs references

login.defs is owned by shadow-utils, and doesn't belong here. The
shadow-sysroot recipe was created to handle the case this was
originally added for (useradd.bbclass support).

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
13 years agoshadow-sysroot: new recipe for useradd.bbclass support
Scott Garman [Tue, 21 Jun 2011 00:11:34 +0000 (17:11 -0700)]
shadow-sysroot: new recipe for useradd.bbclass support

Packaging login.defs with base-passwd causes problems due to the
file being included in target package installs. Instead, this
shadow-sysroot recipe can be used by useradd.bbclass to put
login.defs into the target sysroot without disturbing packages
intended for target devices.

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
13 years agogcc: Fix file ownership
Mark Hatle [Fri, 24 Jun 2011 18:26:11 +0000 (13:26 -0500)]
gcc: Fix file ownership

Most of the files that end up in the gcc include dir and other
misc files scattered throughout the install get the build users
uid and gid.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
13 years agobase/glib-2.0: Simplify USE_NLS handling for glib-2.0
Richard Purdie [Thu, 23 Jun 2011 10:32:19 +0000 (11:32 +0100)]
base/glib-2.0: Simplify USE_NLS handling for glib-2.0

Currently the only way to get anything to build is to set USE_NLS="yes"
for glib-2.0. We might as well do this in the recipe by default for
now and simpllify the code.

The magic handling of USE_NLS_<recipename> is also removed since this
can be done in the form USE_NLS_pn-<recipename> using overrides these
days.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoclasses/conf: Drop MULTIMACH_ARCH variable, it adds unused complexity and serves...
Richard Purdie [Wed, 22 Jun 2011 15:10:16 +0000 (16:10 +0100)]
classes/conf: Drop MULTIMACH_ARCH variable, it adds unused complexity and serves no useful purpose

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobase.bbclass: Since we require python 2.6 which always contains hashlib we can drop...
Richard Purdie [Wed, 22 Jun 2011 15:08:29 +0000 (16:08 +0100)]
base.bbclass: Since we require python 2.6 which always contains hashlib we can drop this fallback code

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobase.bbclass: Drop old style SRCDATE handling, we have pn- overrides now
Richard Purdie [Wed, 22 Jun 2011 15:07:43 +0000 (16:07 +0100)]
base.bbclass: Drop old style SRCDATE handling, we have pn- overrides now

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoglibc/eglibc: Add missing PR bump
Richard Purdie [Tue, 28 Jun 2011 12:44:09 +0000 (13:44 +0100)]
glibc/eglibc: Add missing PR bump

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoeglibc: Fix version 2.12 after locale changes
Richard Purdie [Tue, 28 Jun 2011 12:30:47 +0000 (13:30 +0100)]
eglibc: Fix version 2.12 after locale changes

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobitbake wrapper: exit if python v3 is detected
Scott Garman [Wed, 15 Jun 2011 01:16:29 +0000 (18:16 -0700)]
bitbake wrapper: exit if python v3 is detected

Make sure we're not using python v3.x. This check can't go into
sanity.bbclass because bitbake's source code doesn't even pass
parsing stage when used with python v3, so we catch it here so we
can offer a meaningful error message.

This fixes bug [YOCTO #1128]

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
13 years agolibc-package.bbclass: Replace hard coded libdir.
Lianhao Lu [Thu, 23 Jun 2011 10:59:39 +0000 (18:59 +0800)]
libc-package.bbclass: Replace hard coded libdir.

Replace the hard coded libdir for locale generating to meet the multilib
requirement.

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
13 years agolibc-locale: split locale handling from libc recipe.
Dongxiao Xu [Tue, 28 Jun 2011 06:58:15 +0000 (14:58 +0800)]
libc-locale: split locale handling from libc recipe.

*libc's do_package will cost a lot of time due to the locale handing,
which may delay the other recipe's do_package task and affect the build
performance.

This commit moves locale handling into a separate recipe *libc-locale.

[RP: Add fixup with recent eglibc commit conflict for FILES_pn-dbg and PACKAGES]
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoqemuimagetest: update cvs and iptables to newer version for toolchain test
Jiajun Xu [Fri, 24 Jun 2011 07:53:45 +0000 (15:53 +0800)]
qemuimagetest: update cvs and iptables to newer version for toolchain test

The old versions of cvs and iptables may meet compile error under some architecture
- cvs 1.11.23 fails on x86-64 host and iptables 1.4.9 fails on arm host. Update them
to latest version could solve these build error.
Meanwhile, 240s timeout is set for sudoku becasue 120s is not enough to finish
compile.

Signed-off-by Jiajun Xu <jiajun.xu@intel.com>

13 years agocommon-licenses: Additions and corrections
Beth Flanagan [Wed, 15 Jun 2011 20:52:23 +0000 (13:52 -0700)]
common-licenses: Additions and corrections

I've added more licenses from SPDX and corrected the gcc license
so that it is a. parsable and b. accurate to the SPDX standard.

I've also done some cleanup of license text and gdb's LICENSE
field.

Signed-off-by: Beth Flanagan <elizabeth.flanagan@intel.com>
13 years agopython: Add python to the dependency to pygobject
Mark Hatle [Tue, 21 Jun 2011 00:04:13 +0000 (19:04 -0500)]
python: Add python to the dependency to pygobject

pygobject requires both python and pygobject-native for compilation.  Without
python pygobject may fail to compile.. and items that depend on pygobject will
fail to compile.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
13 years agodb: Fix file ownership
Mark Hatle [Tue, 21 Jun 2011 21:02:58 +0000 (16:02 -0500)]
db: Fix file ownership

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
13 years agognome-doc-utils: Fix the owner/group on select files
Mark Hatle [Mon, 20 Jun 2011 18:24:19 +0000 (13:24 -0500)]
gnome-doc-utils: Fix the owner/group on select files

All of the files in ${datadir}/xml/gnome/xslt were being given the uid/gid
of the build user.  Fix this for the target case, avoid it in the native.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
13 years agotzdata: Ensure all files are owned by root:root
Mark Hatle [Mon, 20 Jun 2011 18:23:21 +0000 (13:23 -0500)]
tzdata: Ensure all files are owned by root:root

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
13 years agolibtirpc: Fix owner/group of /etc/netconfig
Mark Hatle [Mon, 20 Jun 2011 18:19:36 +0000 (13:19 -0500)]
libtirpc: Fix owner/group of /etc/netconfig

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
13 years agoghostscript: Fix owner/group of /etc/cups
Mark Hatle [Mon, 20 Jun 2011 18:18:19 +0000 (13:18 -0500)]
ghostscript: Fix owner/group of /etc/cups

/etc/cups is owned by root:lp from the cups package, the associated
ghostscript was creating the /etc/cups directory as root:root.  /etc/cups
is the authoritative source.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
13 years agobase-passwd: Fix owners/groups
Mark Hatle [Mon, 20 Jun 2011 18:03:47 +0000 (13:03 -0500)]
base-passwd: Fix owners/groups

Fix the owners and groups of specific files copied from the developmen tree.
This resolves an issue where those files gain the user/group id of the build
user.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
13 years agoresolveconf: Fix file owners
Mark Hatle [Mon, 20 Jun 2011 18:00:03 +0000 (13:00 -0500)]
resolveconf: Fix file owners

The file ownership of various configuration files needs to be set to root:root
otherwise it inherits the user id of the build.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
13 years agonative.bbclass: Add a simple chown intercept command
Mark Hatle [Thu, 23 Jun 2011 16:58:26 +0000 (11:58 -0500)]
native.bbclass: Add a simple chown intercept command

During native recipe processing we want to intercept any calls to chown
and do nothing.  This prevents errors and allows the same recipes to be
used for both native and target recipes.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
13 years agokernel.bbclass: Stop do_install poking directly into the sysroot and evading sstate
Richard Purdie [Thu, 23 Jun 2011 19:45:28 +0000 (20:45 +0100)]
kernel.bbclass: Stop do_install poking directly into the sysroot and evading sstate

do_install was putting files directly into the sysroot which means sstate
had no knowledge of them. This meant they didn't get cleaned along with the
other files from the task amongst other issues.

This patch puts them in ${D} where they were supposted to be.

Tested-by: Tom Rini <tom_rini@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agopackagedata.py: Fix read_subpkgdata_dict()
Richard Purdie [Thu, 23 Jun 2011 15:01:18 +0000 (16:01 +0100)]
packagedata.py: Fix read_subpkgdata_dict()

If both VAR and VAR_foo are in subd, we need to ensure VAR_foo gets
returned. Currently the code would work randomly. The only current
user is the rpm packaging backend.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoclasses/package_rpm.bbclass: Change the way the PV is transformed
Mark Hatle [Tue, 21 Jun 2011 00:08:19 +0000 (19:08 -0500)]
classes/package_rpm.bbclass: Change the way the PV is transformed

There were some odd instances where the PKGV could not be loaded in the old
way.  Change to verify that PKGV exists before attempting to retrieve the
value from the key.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
13 years agokernel.bbclass: Stage System.map with KERNEL_VERSION suffix
Tom Rini [Wed, 22 Jun 2011 23:48:41 +0000 (16:48 -0700)]
kernel.bbclass: Stage System.map with KERNEL_VERSION suffix

Without this, images will fail now that kernel-abiversion is back.

Signed-off-by: Tom Rini <tom_rini@mentor.com>
13 years agoclutter: Use new git repo
Zhai Edwin [Thu, 23 Jun 2011 07:35:49 +0000 (15:35 +0800)]
clutter: Use new git repo

clutter move its git server from clutter-project.org to gnome.org

[YOCTO #1040] got fixed

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
13 years agokernel.bbclass: restore kernel-abiversion file
Koen Kooi [Wed, 22 Jun 2011 15:41:34 +0000 (17:41 +0200)]
kernel.bbclass: restore kernel-abiversion file

This fixes external module recipes that need $KERNEL_VERSION. It got removed by

    commit a9d41062e24a6b99661b3a5256f369b557433607
    Author: Darren Hart <dvhart@linux.intel.com>
    Date:   Tue Mar 8 17:09:10 2011 -0800

        kernel/bbclass: rework kernel and module classes to allow for building out-of-tree modules

seemingly as an oversight.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Acked-by: Darren Hart <dvhart@linux.intel.com>
13 years agoperf: Fix linux-tools to ensure perf is installed under "fakeroot"
Mark Hatle [Mon, 20 Jun 2011 18:26:06 +0000 (13:26 -0500)]
perf: Fix linux-tools to ensure perf is installed under "fakeroot"

If perf isn't installed under "fakeroot" (pseudo) control, all of the files
are given the build user's uid/gid.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
13 years agokernel.bbclass: Add support for perf-dbg package
Mark Hatle [Mon, 20 Jun 2011 17:58:45 +0000 (12:58 -0500)]
kernel.bbclass: Add support for perf-dbg package

The perf component is built with the kernel, so ensure that it gets the
debug information associated with it.

Also bump the PR in the linux-yocto-* to ensure they get rebuilt.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
13 years agosysfsutils: Fall back to default -dbg package
Mark Hatle [Mon, 20 Jun 2011 18:08:46 +0000 (13:08 -0500)]
sysfsutils: Fall back to default -dbg package

The overriden -dbg package wasn't including all of the associated sources,
fall back to the default -dbg package instead.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
13 years agoclasses/package_rpm.bbclass: Enhance diagnostic messages
Mark Hatle [Mon, 20 Jun 2011 15:59:58 +0000 (10:59 -0500)]
classes/package_rpm.bbclass: Enhance diagnostic messages

We clearly state now if we are:
  * Skipping an empty package
  * Creating a (full) package
  * Creating an empty package

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
13 years agopython: Switch to using the default -dbg package
Mark Hatle [Mon, 20 Jun 2011 18:14:21 +0000 (13:14 -0500)]
python: Switch to using the default -dbg package

Python was missing a lot of debug information.  Switch to use the default
-dbg package.  Also add some additional debug information to the -dbg package.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
13 years agopython-pyobject: Remove unnecessary -dbg setting
Mark Hatle [Mon, 20 Jun 2011 18:16:27 +0000 (13:16 -0500)]
python-pyobject: Remove unnecessary -dbg setting

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
13 years agolibxml-parser-perl: Fix debug package
Mark Hatle [Mon, 20 Jun 2011 18:12:07 +0000 (13:12 -0500)]
libxml-parser-perl: Fix debug package

Certain files were being missed in the -dbg package, fix this.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
13 years agotexinfo: Change to use the standard -dbg file
Mark Hatle [Mon, 20 Jun 2011 18:21:25 +0000 (13:21 -0500)]
texinfo: Change to use the standard -dbg file

Remove the custom -dbg package and replace it the standard configuration.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
13 years agopsmisc: Remove custom -dbg packages, use default
Mark Hatle [Tue, 21 Jun 2011 00:05:56 +0000 (19:05 -0500)]
psmisc: Remove custom -dbg packages, use default

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
13 years agomodutils: Add in missing -dbg package
Mark Hatle [Tue, 21 Jun 2011 00:06:58 +0000 (19:06 -0500)]
modutils: Add in missing -dbg package

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
13 years agoliba52: Remove custom -dbg, fall back to default
Mark Hatle [Tue, 21 Jun 2011 00:07:32 +0000 (19:07 -0500)]
liba52: Remove custom -dbg, fall back to default

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
13 years agopython-gst: Add missing files to the -dbg package
Mark Hatle [Mon, 20 Jun 2011 18:15:22 +0000 (13:15 -0500)]
python-gst: Add missing files to the -dbg package

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
13 years agomc: Add missing debug files to -dbg
Mark Hatle [Mon, 20 Jun 2011 18:20:09 +0000 (13:20 -0500)]
mc: Add missing debug files to -dbg

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
13 years agogamin: Add missing debug files to -dbg
Mark Hatle [Mon, 20 Jun 2011 18:16:57 +0000 (13:16 -0500)]
gamin: Add missing debug files to -dbg

Add the missing files to the base -dbg package, remove the libPN-dbg as it is
non-standard.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
13 years agogthumb: Add missing debug files
Mark Hatle [Mon, 20 Jun 2011 18:25:15 +0000 (13:25 -0500)]
gthumb: Add missing debug files

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
13 years agosystemtamp: Add missing debug files
Mark Hatle [Mon, 20 Jun 2011 18:27:26 +0000 (13:27 -0500)]
systemtamp: Add missing debug files

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
13 years agotrace-cmd: Add missing debug files
Mark Hatle [Mon, 20 Jun 2011 18:27:52 +0000 (13:27 -0500)]
trace-cmd: Add missing debug files

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
13 years agogstreamer: Add missing debug files.
Mark Hatle [Mon, 20 Jun 2011 18:28:29 +0000 (13:28 -0500)]
gstreamer: Add missing debug files.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
13 years agogtk-sato-engine: Add missing debug files
Mark Hatle [Mon, 20 Jun 2011 18:29:10 +0000 (13:29 -0500)]
gtk-sato-engine: Add missing debug files

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