]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
14 years agolinux: add LIC_FILES_CHKSUM
Ilya Yanok [Tue, 8 Feb 2011 20:26:36 +0000 (21:26 +0100)]
linux: add LIC_FILES_CHKSUM

Linux is licensed under GPL so add appropriate LIC_FILES_CHKSUM to
linux.inc file.

Signed-off-by: Ilya Yanok <yanok@emcraft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agoMerge branch 'jzhang/i686' of ssh://git.pokylinux.org/poky-contrib
Richard Purdie [Wed, 9 Feb 2011 11:18:28 +0000 (11:18 +0000)]
Merge branch 'jzhang/i686' of ssh://git.pokylinux.org/poky-contrib

14 years agoMerge branch 'jzhang/adt-repo' of ssh://git.pokylinux.org/poky-contrib
Richard Purdie [Wed, 9 Feb 2011 11:18:13 +0000 (11:18 +0000)]
Merge branch 'jzhang/adt-repo' of ssh://git.pokylinux.org/poky-contrib

14 years agompc8315-rdb: add dtb generation configuration
Bruce Ashfield [Wed, 9 Feb 2011 06:03:28 +0000 (01:03 -0500)]
mpc8315-rdb: add dtb generation configuration

Fixes [BUGID #610]

dtb files were not being built for the mpc8315e-rdb, since they
weren't being configured into the machine. With this and the
related dtc fixes, we now get a dtb in the deployment directories.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
14 years agodtc: add LIC_FILES_CHKSUM to dtc-native
Bruce Ashfield [Wed, 9 Feb 2011 06:00:12 +0000 (01:00 -0500)]
dtc: add LIC_FILES_CHKSUM to dtc-native

The new license processing rules error if dtc-native itself
doesn't have license information. Previously only the .inc
files contained this information, so we make a copy and leave
the existing license info to be removed pending further review.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
14 years agolinux: factor dts/dtc/dtb handling into a specific include
Bruce Ashfield [Wed, 9 Feb 2011 05:45:23 +0000 (00:45 -0500)]
linux: factor dts/dtc/dtb handling into a specific include

Fixes [BUGID #610]

The powerpc linux-yocto kernels were not creating dtb images
in the deploy directories. This was due to two problems:

  - the dtb generation rules were not being configured
  - the boards were not specifying a device tree in their config

This change addresses the first point by factoring out the
dtb generation routines into a new include that can be used by
multiple recipes.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
14 years agolinux-yocto: streamline BSP bootstrapping
Bruce Ashfield [Wed, 9 Feb 2011 02:46:45 +0000 (21:46 -0500)]
linux-yocto: streamline BSP bootstrapping

In order to build BSPs that were not already integrated into
the upstream linux yocto kernel AND keep the git fetcher happy,
some fairly complex anonymous python sections were required.

These sections cause problems with variable expansion and SRCREV
processing.

With the updated git fetcher code, we can streamline the BSP
boostrapping process and drop 99% of the anonymous python code.

This commit has the following changes to support BSP boot strapping
and simplication for existing BSPs.

   - KMETA is set per-recipe rather than in python code
   - undefined machines are no longer used, but instead common
     branch names are set per-recipe
   - fallback machine SRCREVs are present in the default revisions
     file
   - A new variable YOCTO_KERNEL_EXTERNAL_BRANCH should be set in
     the local.conf for new BSPs instead of being programatically
     determined in the anonymous python.
   - No more explicity KMACHINE variable expansion and manipulation,
     since the tools and build phases no longer require it due
     to the per-recipe fallbacks.

Integrated/merged BSPs are unaffected by the changes and have been
regression tested.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
foo

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
14 years agolinux-yocto: streamline BSP bootstrapping
Bruce Ashfield [Wed, 9 Feb 2011 02:46:45 +0000 (21:46 -0500)]
linux-yocto: streamline BSP bootstrapping

In order to build BSPs that were not already integrated into
the upstream linux yocto kernel AND keep the git fetcher happy,
some fairly complex anonymous python sections were required.

These sections cause problems with variable expansion and SRCREV
processing.

With the updated git fetcher code, we can streamline the BSP
boostrapping process and drop 99% of the anonymous python code.

This commit has the following changes to support BSP boot strapping
and simplication for existing BSPs.

   - KMETA is set per-recipe rather than in python code
   - undefined machines are no longer used, but instead common
     branch names are set per-recipe
   - fallback machine SRCREVs are present in the default revisions
     file
   - A new variable YOCTO_KERNEL_EXTERNAL_BRANCH should be set in
     the local.conf for new BSPs instead of being programatically
     determined in the anonymous python.
   - No more explicity KMACHINE variable expansion and manipulation,
     since the tools and build phases no longer require it due
     to the per-recipe fallbacks.

Integrated/merged BSPs are unaffected by the changes and have been
regression tested.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
foo

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
14 years agobinutils-cross-canadian.inc: disable -werror like -cross does
Koen Kooi [Wed, 9 Feb 2011 10:35:49 +0000 (11:35 +0100)]
binutils-cross-canadian.inc: disable -werror like -cross does

The error this works around is:

cc1: warnings being treated as errors
gas/config/tc-arm.c: In function 'parse_operands':
gas/config/tc-arm.c:1876:27: error: 'firsttype$defined' may be used uninitialized in this function
gas/config/tc-arm.c:1876:27: error: 'firsttype$index' may be used uninitialized in this function

Ideally it should get fixed properly, but let's mimic binutils-cross for now

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agobitbake.conf: fix SDK_NAME
Koen Kooi [Wed, 9 Feb 2011 10:58:02 +0000 (11:58 +0100)]
bitbake.conf: fix SDK_NAME

It was using a '/' in a name variable, subtly breaking things like this:

populate_sdk.bbclass:
   mkdir -p ${SDK_DEPLOY}
   cd ${SDK_OUTPUT}
   tar --owner=root --group=root -cj --file=${SDK_DEPLOY}/${TOOLCHAIN_OUTPUTNAME}.tar.bz2 .

Tar will error out since SDK_DEPLOY/DISTRO/ doesn't exist. Change the default to be more like the one from poky.conf, without the poky specific POKYLIBC.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agoadt-installer: change to adopt the adt public repo directory layout
Jessica Zhang [Wed, 9 Feb 2011 06:30:25 +0000 (22:30 -0800)]
adt-installer: change to adopt the adt public repo directory layout

Signed-off-by: Jessica Zhang <jessica.zhang@intel.com>
14 years agobitbake/fetch2: Fix negated if check for BB_FETCH_PREMIRRORONLY
Richard Purdie [Wed, 9 Feb 2011 01:23:56 +0000 (01:23 +0000)]
bitbake/fetch2: Fix negated if check for BB_FETCH_PREMIRRORONLY

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agolocal.conf: change i586 to i686 for 32bit SDK
Jessica Zhang [Tue, 8 Feb 2011 19:48:20 +0000 (11:48 -0800)]
local.conf: change i586 to i686 for 32bit SDK

Signed-off-by: Jessica Zhang <jessica.zhang@intel.com>
14 years agofetch2: Add SRPM knowledge
Mark Hatle [Tue, 8 Feb 2011 00:18:18 +0000 (18:18 -0600)]
fetch2: Add SRPM knowledge

Enable the fetcher to be able to unpack and SRPM.  By default the system will
unpack the contents of the SRPM into the WORKDIR.

A new syntax "unpack=file" was developed for the SRC_URI, to allow for a
recipe to extract a specific file within an SRPM.  An unpack operation will
then be executed on the extracted file.

In order to apply extracted patches (or unpack files not specified with
unpack), you must specify the path using WORKDIR, i.e.:

file://${WORKDIR}/mypatch.patch

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
14 years agoinsane.bbclass: Fix config.log error message
Mark Hatle [Tue, 8 Feb 2011 16:05:46 +0000 (10:05 -0600)]
insane.bbclass: Fix config.log error message

[BUG #702]

The previous error message was confusing.  It was looking for both library and
include host contamination, but the message only indicated include files.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
14 years agobitbake/utils.py: add glob name matching to remove
Saul Wold [Tue, 8 Feb 2011 17:24:12 +0000 (09:24 -0800)]
bitbake/utils.py: add glob name matching to remove

Signed-off-by: Saul Wold <sgw@linux.intel.com>
14 years agobitbake/fetch2: Ignore UnboundLocalError in exception handler in try_mirror
Richard Purdie [Tue, 8 Feb 2011 17:30:45 +0000 (17:30 +0000)]
bitbake/fetch2: Ignore UnboundLocalError in exception handler in try_mirror

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agobitbake/fetch2: Move symlink handling into try_mirror where is belongs instead of...
Richard Purdie [Tue, 8 Feb 2011 12:46:25 +0000 (12:46 +0000)]
bitbake/fetch2: Move symlink handling into try_mirror where is belongs instead of the main download function

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agobitbake/fetch2: When using BB_FETCH_PREMIRRORONLY, set BB_NO_NETWORK after premirrors...
Richard Purdie [Tue, 8 Feb 2011 12:44:06 +0000 (12:44 +0000)]
bitbake/fetch2: When using BB_FETCH_PREMIRRORONLY, set BB_NO_NETWORK after premirrors as there could be data processing needed by the real fetcher

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agobitbake/fetch2: Ensure we only remove files, not directories when fetch failures...
Richard Purdie [Tue, 8 Feb 2011 12:42:24 +0000 (12:42 +0000)]
bitbake/fetch2: Ensure we only remove files, not directories when fetch failures occur

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agobitbake/fetch2: Ensure original ud is preserved in try_mirror
Richard Purdie [Tue, 8 Feb 2011 12:40:40 +0000 (12:40 +0000)]
bitbake/fetch2: Ensure original ud is preserved in try_mirror

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agolinux-yocto-stable: Fix meta branch name
Richard Purdie [Tue, 8 Feb 2011 11:56:23 +0000 (11:56 +0000)]
linux-yocto-stable: Fix meta branch name

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agokernel-yocto: Ensure python code has awlays run before SRCPV is expanded
Richard Purdie [Tue, 8 Feb 2011 10:35:53 +0000 (10:35 +0000)]
kernel-yocto: Ensure python code has awlays run before SRCPV is expanded

The python code in this class file needs to run before SRCPV is expanded
and calls into the fetcher are made. To so this we create a python function
and prepend a call to it before SRCPV's get_srcrev() call.

Ugly, ugly, ugly but the ordering is guaranteed.

If this doesn't happen, the fetcher can end up in two different states and
there may be caching implications of this.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agokernel-yocto/poky-default-revisions: Ensure SRCREV_machine is set for the kernels
Richard Purdie [Tue, 8 Feb 2011 10:09:25 +0000 (10:09 +0000)]
kernel-yocto/poky-default-revisions: Ensure SRCREV_machine is set for the kernels

If we don't do this and try to bring up a new machine we can trigger network
access to resolve the branch name to a revision which is undesireable.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agobitbake/fetch2/git: Fix broken variable reference
Richard Purdie [Tue, 8 Feb 2011 09:33:52 +0000 (09:33 +0000)]
bitbake/fetch2/git: Fix broken variable reference

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agobitbake/fetch2/git: Ensure unresolved branches are translated into revisions
Richard Purdie [Tue, 8 Feb 2011 09:27:59 +0000 (09:27 +0000)]
bitbake/fetch2/git: Ensure unresolved branches are translated into revisions

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agofetch2: add try/finally to ensure lockfile is unlocked on failure
Saul Wold [Tue, 8 Feb 2011 01:29:46 +0000 (17:29 -0800)]
fetch2: add try/finally to ensure lockfile is unlocked on failure

Signed-off-by: Saul Wold <sgw@linux.intel.com>
14 years agofetch2: add runfetchcmd to import for fetchers
Saul Wold [Mon, 7 Feb 2011 23:42:45 +0000 (15:42 -0800)]
fetch2: add runfetchcmd to import for fetchers

Signed-off-by: Saul Wold <sgw@linux.intel.com>
14 years agoinit-live.sh: add 'coldplug' udev trigger
Tom Zanussi [Mon, 7 Feb 2011 19:45:45 +0000 (13:45 -0600)]
init-live.sh: add 'coldplug' udev trigger

Fixes [BUGID #693]

The init-live.sh script starts udevd in init-live.sh:early_setup(),
but doesn't account for the possibility that the root device may have
already been registered by the kernel before udevd starts up.

If the device is detected after udevd starts up, everything's fine -
udevd gets the 'add' uevent for the device, the root image shows up at
e.g. /media/sda/rootfs.img, and the boot continues.

If however the device is detected before udevd starts up, udevd misses
the 'add' uevent and the root image never shows up, causing it to stay
in the 'waiting for removable media' loop forever.

The 'udevadm trigger' command is meant to be used to avoid this
situation, but init-live.sh doesn't use it.  Furthermore, since the
default was changed in udev 152 from 'add' to 'change', the command
needs to explicity name 'add' as the action.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
14 years agorpm: catch up with fetcher2
Koen Kooi [Mon, 7 Feb 2011 14:27:27 +0000 (15:27 +0100)]
rpm: catch up with fetcher2

Update the rpm recipe after the recent changes to the fetcher API. Koen wrote
the original patch, Richard cleaned it up and fixed it.

This code needs to be merged into the fetcher instead at some point soon.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agobitbake/fetch2:Fetch Make using the fn based cache optional
Richard Purdie [Mon, 7 Feb 2011 21:12:51 +0000 (21:12 +0000)]
bitbake/fetch2:Fetch Make using the fn based cache optional

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agobitbake/fetch2: Fix pickling issues with fetcher exceptions
Richard Purdie [Mon, 7 Feb 2011 20:46:42 +0000 (20:46 +0000)]
bitbake/fetch2: Fix pickling issues with fetcher exceptions

See the problems in http://bugs.python.org/issue1692335, need to set self.args
correctly.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agobitbake/fetch2: Update mirror processing to ensure we look for mirror tarballs
Richard Purdie [Mon, 7 Feb 2011 15:28:05 +0000 (15:28 +0000)]
bitbake/fetch2: Update mirror processing to ensure we look for mirror tarballs

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agobitbake/fetch2: Update forcefetch and mirror handling to clean up, simplfy and bug...
Richard Purdie [Mon, 7 Feb 2011 12:08:32 +0000 (12:08 +0000)]
bitbake/fetch2: Update forcefetch and mirror handling to clean up, simplfy and bug fix the code

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agobeagleboard: allow kernel provider override
Darren Hart [Sat, 5 Feb 2011 00:29:31 +0000 (16:29 -0800)]
beagleboard: allow kernel provider override

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Bruce Ashfield <bruce.ashfield@windriver.com>
14 years agolinux-yocto: uprev lttng to 2.6.37-lttng-0.242
Bruce Ashfield [Fri, 4 Feb 2011 04:00:05 +0000 (23:00 -0500)]
linux-yocto: uprev lttng to 2.6.37-lttng-0.242

commits: 7697c24..2e05e11
upstream: git://git.kernel.org/pub/scm/linux/kernel/git/compudj/linux-2.6-lttng.git

Update to lttng-0.242 for 2.6.37. Built and boot tested on all
architectures.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
14 years agomesa-demos: fix build issue with gcc dso linking change
Nitin A Kamble [Thu, 3 Feb 2011 22:35:51 +0000 (14:35 -0800)]
mesa-demos: fix build issue with gcc dso linking change

All the libraries needs to be specified explicitely with the new gcc dso
linking change patch. This was causing build errors for this
recipe. Specifying the libpthread library explicitely for linking to work
without errors.

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
14 years agoutil-linux: Add mount lock patch
Mark Hatle [Fri, 4 Feb 2011 03:36:21 +0000 (21:36 -0600)]
util-linux: Add mount lock patch

Add the mount lock patch that moves the lock file from the potentially R/O
/etc, to the R/W /var/lock directory.

This resolves a problem when mounting when / (and /etc) is mounted R/O.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
14 years agosysfsutils: Merge bug fix
Mark Hatle [Fri, 4 Feb 2011 03:10:17 +0000 (21:10 -0600)]
sysfsutils: Merge bug fix

Merge a small bug fix located in the Fedora Core 9 version of this
package.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
14 years agocoreutils: Add various bug fixes
Mark Hatle [Fri, 4 Feb 2011 02:40:40 +0000 (20:40 -0600)]
coreutils: Add various bug fixes

Add a number of bug fixes, mostly imported from Fedora and Wind River
Linux.

cp-i-u: fix unnecessary prompting
fix-install: Fix installing to a dangling symlink
i18n: li18nux/lsb compliance
ls-x: Fix incorrect output
overflow: Fix potential overflow in who command

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
14 years agobusybox: Support DHCP refresh without restarting the interface
Mark Hatle [Fri, 4 Feb 2011 01:29:50 +0000 (19:29 -0600)]
busybox: Support DHCP refresh without restarting the interface

When the kernel is started using ip=dhcp, we want a way to be able to run
the udhcp client within busybox and not reset the interface.

When using the '-D' option to udhcpc, the defconfig script will be skipped
allowing the refresh without changing the network settings.

Also provide an initscript that can be used to detect ip=dhcp on the
kernel command line, if detected it will refresh the lease and set the
proper resolve.conf and related files, but not reset the interface.

Original code in Wind River Linux by Greg Moffatt <greg.moffat@windriver.com>

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
14 years agopseudo: Uprev pseudo and fix a few minor bugs
Mark Hatle [Fri, 4 Feb 2011 00:54:58 +0000 (18:54 -0600)]
pseudo: Uprev pseudo and fix a few minor bugs

Uprev pseudo to the latest version.  This corrects a linking problem on
some newer host systems.

In addition, we add more detail to the local.conf.sample file to explain
the NO32LIBS and why someone would set it to 0.

Also fix a minor bug in pseudo that prevented it from building for the
target.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
14 years agobitbake/msg: Ensure lower level debug messages have DEBUG prefix and reuse log level...
Richard Purdie [Mon, 7 Feb 2011 14:49:10 +0000 (14:49 +0000)]
bitbake/msg: Ensure lower level debug messages have DEBUG prefix and reuse log level values from formatter

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agobitbake/fetch2: Match Fetcher log domain to that in bb.msg
Richard Purdie [Mon, 7 Feb 2011 14:46:53 +0000 (14:46 +0000)]
bitbake/fetch2: Match Fetcher log domain to that in bb.msg

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agobitbake:__init__.py: Fix debug log level handling to correct debug output
Richard Purdie [Mon, 7 Feb 2011 14:46:22 +0000 (14:46 +0000)]
bitbake:__init__.py: Fix debug log level handling to correct debug output

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agobitbake: event/build: Drop stdout specific handling for python messages as this is...
Richard Purdie [Mon, 7 Feb 2011 12:54:55 +0000 (12:54 +0000)]
bitbake: event/build: Drop stdout specific handling for python messages as this is no longer needed with newer log handling

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agodistrodata: Update to new fetcher API
Richard Purdie [Mon, 7 Feb 2011 10:23:01 +0000 (10:23 +0000)]
distrodata: Update to new fetcher API

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agoutility-tasks: Update checkuri to new fetcher API
Richard Purdie [Mon, 7 Feb 2011 10:16:00 +0000 (10:16 +0000)]
utility-tasks: Update checkuri to new fetcher API

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agobitbake/fetch2/git: use clonedir as ud.localfile too since the mirror tarball may...
Richard Purdie [Mon, 7 Feb 2011 10:13:29 +0000 (10:13 +0000)]
bitbake/fetch2/git: use clonedir as ud.localfile too since the mirror tarball may not exist

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agobitbake/fetch2/git.py: Ensure that forcefetch operates in the correct directory for...
Richard Purdie [Mon, 7 Feb 2011 09:34:24 +0000 (09:34 +0000)]
bitbake/fetch2/git.py: Ensure that forcefetch operates in the correct directory for calling _contains_ref()

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agokernel-yocto: 'standard' isn't a valid git branch name for a SRCREV, fix
Richard Purdie [Mon, 7 Feb 2011 09:32:44 +0000 (09:32 +0000)]
kernel-yocto: 'standard' isn't a valid git branch name for a SRCREV, fix

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agobitbake/fetch2/git: Fix localpath to point at the clone repo since we no longer alway...
Richard Purdie [Mon, 7 Feb 2011 09:13:44 +0000 (09:13 +0000)]
bitbake/fetch2/git: Fix localpath to point at the clone repo since we no longer always generate a mirror tarball and it isn't a good guide to fetcher success

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agorpm: Update extra unpack code after fetcher changes
Richard Purdie [Sat, 5 Feb 2011 13:04:56 +0000 (14:04 +0100)]
rpm: Update extra unpack code after fetcher changes

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agobitbake/fetch2: Use True instead of integer values
Richard Purdie [Fri, 4 Feb 2011 14:40:41 +0000 (14:40 +0000)]
bitbake/fetch2: Use True instead of integer values

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agobitbake/fetch2: Drop name/override ordering backwards compatibility code
Richard Purdie [Fri, 4 Feb 2011 14:37:09 +0000 (14:37 +0000)]
bitbake/fetch2: Drop name/override ordering backwards compatibility code

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agobitbake/fetch2/svn: The concept of using dates with svn is totally insane, drop support
Richard Purdie [Fri, 4 Feb 2011 13:46:31 +0000 (13:46 +0000)]
bitbake/fetch2/svn: The concept of using dates with svn is totally insane, drop support

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agometa/classes: Update classes to use new fetcher API
Richard Purdie [Fri, 4 Feb 2011 13:20:28 +0000 (13:20 +0000)]
meta/classes: Update classes to use new fetcher API

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agobitbake/fetch2: Define a new interface to the fetcher code though the 'Fetch' class
Richard Purdie [Fri, 4 Feb 2011 13:14:03 +0000 (13:14 +0000)]
bitbake/fetch2: Define a new interface to the fetcher code though the 'Fetch' class

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agobitbake/fetch2: Fix typo
Richard Purdie [Fri, 4 Feb 2011 11:06:16 +0000 (11:06 +0000)]
bitbake/fetch2: Fix typo

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agobitbake/fetch2: Drop legacy CVSDATE support
Richard Purdie [Fri, 4 Feb 2011 11:03:34 +0000 (11:03 +0000)]
bitbake/fetch2: Drop legacy CVSDATE support

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agobitbake/fetch2: Move getSRCDate to FetchData class where is more appropriate
Richard Purdie [Fri, 4 Feb 2011 11:02:15 +0000 (11:02 +0000)]
bitbake/fetch2: Move getSRCDate to FetchData class where is more appropriate

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agobitbake/fetch2: Make srcrev_internal_helper a normal function, doesn't belong in...
Richard Purdie [Fri, 4 Feb 2011 10:59:42 +0000 (10:59 +0000)]
bitbake/fetch2: Make srcrev_internal_helper a normal function, doesn't belong in the FetchMethod class

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agobitbake/fetch2: Rename Fetch class to FetchMethod
Richard Purdie [Fri, 4 Feb 2011 10:49:27 +0000 (10:49 +0000)]
bitbake/fetch2: Rename Fetch class to FetchMethod

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agobitbake/fetch2: Drop old md5 handling code
Richard Purdie [Fri, 4 Feb 2011 10:30:54 +0000 (10:30 +0000)]
bitbake/fetch2: Drop old md5 handling code

Drop some old md5 functions since we have improved functionality now which includes
sha256 checksum support. This stops each download being md5 checksumed twice.

Also change ".md5" stamp extentions to ".done" to better describe its use as a
download complete marker file and no longer write the md5 sum to the files.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agobitbake/fetch2: Rewrite and improve exception handling, reusing core functions for...
Richard Purdie [Fri, 4 Feb 2011 10:26:21 +0000 (10:26 +0000)]
bitbake/fetch2: Rewrite and improve exception handling, reusing core functions for common operations where possible

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agobitbake/fetch2: Have all fetcher exceptions derived from a common BBFetchException...
Richard Purdie [Thu, 3 Feb 2011 23:23:11 +0000 (23:23 +0000)]
bitbake/fetch2: Have all fetcher exceptions derived from a common BBFetchException class

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agobase.bbclass: Update after fetcher changes
Richard Purdie [Thu, 3 Feb 2011 23:14:56 +0000 (23:14 +0000)]
base.bbclass: Update after fetcher changes

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agobitbake/fetch2: Drop unused parameter for localpath() and update comments
Richard Purdie [Thu, 3 Feb 2011 22:02:09 +0000 (22:02 +0000)]
bitbake/fetch2: Drop unused parameter for localpath() and update comments

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agobitbake/fetch2: Simplfy setup_srcrevs
Richard Purdie [Thu, 3 Feb 2011 21:43:01 +0000 (21:43 +0000)]
bitbake/fetch2: Simplfy setup_srcrevs

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agobitbake/fetch2: Simplify localpath variable handling FetchData init
Richard Purdie [Thu, 3 Feb 2011 21:40:03 +0000 (21:40 +0000)]
bitbake/fetch2: Simplify localpath variable handling FetchData init

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agobitbake/fetch2: Define a sane localpath function and remove code duplication
Richard Purdie [Thu, 3 Feb 2011 21:20:39 +0000 (21:20 +0000)]
bitbake/fetch2: Define a sane localpath function and remove code duplication

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agobitbake/fetch2: Move ud.localfile setup into urldata_init
Richard Purdie [Thu, 3 Feb 2011 21:17:26 +0000 (21:17 +0000)]
bitbake/fetch2: Move ud.localfile setup into urldata_init

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agobitbake/fetch2: Drop horrible SRCREV hack which is no longer needed
Richard Purdie [Thu, 3 Feb 2011 20:33:07 +0000 (20:33 +0000)]
bitbake/fetch2: Drop horrible SRCREV hack which is no longer needed

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agobitbake.conf: Force git fetches to a new location after fetcher layout changes
Richard Purdie [Mon, 7 Feb 2011 00:58:44 +0000 (00:58 +0000)]
bitbake.conf: Force git fetches to a new location after fetcher layout changes

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agopoky.conf: Turn off mirror tarball generation by default
Richard Purdie [Sun, 6 Feb 2011 11:42:35 +0000 (11:42 +0000)]
poky.conf: Turn off mirror tarball generation by default

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agobitbake/fetch2/git: Switch to completely use bare clones
Richard Purdie [Sun, 6 Feb 2011 10:20:18 +0000 (10:20 +0000)]
bitbake/fetch2/git: Switch to completely use bare clones

We no longer need index/workdir support in the mirror tree and it causes all
kind of reference naming problems.Simplifying the code to remove this and use
just bare clones addresses this problem.

We increase the "version" number on the mirror tarballs to reflect the change
and ensure older mirror tarballs are not used as they would break.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agoprelink: Temporary workaround for documentation build
Mark Hatle [Thu, 3 Feb 2011 17:43:39 +0000 (11:43 -0600)]
prelink: Temporary workaround for documentation build

This issue is really do to the timestamps of files being different
enough and that the make of the doc directory is being triggered by
this.

This is partly due to the new git fetcher laying the files down
differently.  Once this issue is resolve, this can be reverted.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
14 years agofetch2/git.py: Fix problem when fetching with no origin
Saul Wold [Sat, 5 Feb 2011 22:11:25 +0000 (14:11 -0800)]
fetch2/git.py: Fix problem when fetching with no origin

When updating a git repo, its possible to not have an origin,
so fail gracefully with a debug message.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
14 years agobitbake/fetch2/git: Ensure we prune origin to remove stale branches
Richard Purdie [Sat, 5 Feb 2011 13:16:45 +0000 (14:16 +0100)]
bitbake/fetch2/git: Ensure we prune origin to remove stale branches

Thanks to Bruce Ashfield for the tip.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agoRevert "iputils: enable generation of man pages"
Saul Wold [Fri, 4 Feb 2011 00:07:03 +0000 (16:07 -0800)]
Revert "iputils: enable generation of man pages"

This reverts commit 62337be30b904542ca46333aa9b58fe0f09d3561.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
14 years agoRevert "docbook-utils: new recipe v0.6.14"
Saul Wold [Fri, 4 Feb 2011 00:07:13 +0000 (16:07 -0800)]
Revert "docbook-utils: new recipe v0.6.14"

This reverts commit 8b5e600141b2b4275551bea925a2e63cfe1297bd.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
14 years agoRevert "docbook-utils: fix build errors"
Saul Wold [Fri, 4 Feb 2011 00:06:51 +0000 (16:06 -0800)]
Revert "docbook-utils: fix build errors"

This reverts commit 3eef8470547beed186c38a7da44cb8e22e1497e8.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
14 years agopackage.bbclass: Optimise file dependency calculations to ignore locales and kernel...
Richard Purdie [Thu, 3 Feb 2011 20:17:30 +0000 (20:17 +0000)]
package.bbclass: Optimise file dependency calculations to ignore locales and kernel modules as these never have dependencies we'd detect anyway

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agobitbake/fetch2/git: Ensure deleted branches upstream are removed, all branch tags...
Richard Purdie [Thu, 3 Feb 2011 20:16:05 +0000 (20:16 +0000)]
bitbake/fetch2/git: Ensure deleted branches upstream are removed, all branch tags are forced to the upstream revisions and all revisions and tags are always fetched

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agobeagleboard: set kernel provider to linux-yocto (2.6.37)
Darren Hart [Tue, 1 Feb 2011 16:24:48 +0000 (08:24 -0800)]
beagleboard: set kernel provider to linux-yocto (2.6.37)

Support has been added for basic Beagleboard xM functionality,
including networking, to the linux-yocto kernel repository.
Tested on the Beagleboard xM.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Bruce Ashfield <bruce.ashfield@windriver.com>
14 years agobitbake.conf & package.bbclass: Use default SUMMARY and DESCRIPTION
Mark Hatle [Wed, 2 Feb 2011 15:16:47 +0000 (09:16 -0600)]
bitbake.conf & package.bbclass: Use default SUMMARY and DESCRIPTION

A new default SUMMARY and DESCRIPTION was defined for any package that
previously did not contain one.  This value is based on the original
SUMMARY_${PN} value.

The new default SUMMARY and DESCRIPTION is used as a basis for all of
the automatic summary and descriptions for the various package splits,
include ${PN}, ${PN}-dbg, ${PN}-dev, ${PN}-doc, and locales.

A recipe may also override any of the automatic summaries by simply
specifying the value.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
14 years agobitbake/fetch2: Remove old local file acceleration code
Richard Purdie [Thu, 3 Feb 2011 18:24:25 +0000 (18:24 +0000)]
bitbake/fetch2: Remove old local file acceleration code

Since local mirror fetches are always symlinked from the download directory
directly, there is no need for this premirrors hack which doesn't cover
mirrors and also abuses the localpath variable with inconsistent results.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agobitbake/fetch2: Ensure that mirror fetches are symlinked from the download directory
Richard Purdie [Thu, 3 Feb 2011 18:22:06 +0000 (18:22 +0000)]
bitbake/fetch2: Ensure that mirror fetches are symlinked from the download directory

When files are fetched from a mirror source that happens to be local,
ensure links are created for the file since subsequent fetch calls
can then follow the links to find files.

Any other approach such as the existing manipulations of localpath
internally to the fetcher are prone to errors, races and other issues.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agobitbake/fetch2: When encoding a file:// url, drop user and host information
Richard Purdie [Thu, 3 Feb 2011 18:19:23 +0000 (18:19 +0000)]
bitbake/fetch2: When encoding a file:// url, drop user and host information

When processing a cvs SRC_URI to a file:// mirror, the user and host information
will break the mirror processing. This patch addresses it by only constructing
valid urls.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agorecipes-graphics: Add more detailed SUMMARY and DESCRIPTIONS
Mark Hatle [Wed, 2 Feb 2011 14:43:42 +0000 (08:43 -0600)]
recipes-graphics: Add more detailed SUMMARY and DESCRIPTIONS

Add more detailed SUMMARY and DESCRIPTIONS to various graphics and
graphics related components.  I've recently gotten question from users
what something is, or why it was needed.. this should go a long way toward
answering those questions.

Many of the descriptions were taken directly from the upstream location,
where one was not available the Debian packages were consulted for
information.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
14 years agobitbake.conf: Fix missing NM definition
Mark Hatle [Tue, 1 Feb 2011 21:15:54 +0000 (15:15 -0600)]
bitbake.conf: Fix missing NM definition

The definition of NM was missing, causing certain configure calls to revert
to using the host system's version of NM.  This can cause problems on some
MIPS based targets, but is theoretically wrong everywhere.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
14 years agolinux-yocto: BSP updates
Bruce Ashfield [Wed, 2 Feb 2011 06:00:34 +0000 (01:00 -0500)]
linux-yocto: BSP updates

Updating for the sugarbay and beagleboard BSPs. To make the sugbay
inhert common-pc-64 generic config/changes/fixes it has been
branched in the kernel as yocto/standard/common-pc-64/sugarbar, as
a result, we'll bump the common-pc-64 to be yocto/standard/common-pc-64/base.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
14 years agogobject-introspection: fix DEPENDS
Joshua Lock [Wed, 2 Feb 2011 12:58:37 +0000 (12:58 +0000)]
gobject-introspection: fix DEPENDS

We need flex and bison to build gobject-introspection

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
14 years agomailx: Disable parallel make
Saul Wold [Wed, 2 Feb 2011 08:04:26 +0000 (00:04 -0800)]
mailx: Disable parallel make

When makeconfig is called multiple times via parallel make, it
causes the LIBS files to get corrupted.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
14 years agolicense.bbclass: Add coverage by sstate code (also use cleandirs and dirs task attrib...
Richard Purdie [Thu, 3 Feb 2011 12:33:18 +0000 (12:33 +0000)]
license.bbclass: Add coverage by sstate code (also use cleandirs and dirs task attribures for directory handling)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agorm_work: Retain package and package-split directories to be consistent with sstate...
Richard Purdie [Thu, 3 Feb 2011 11:34:04 +0000 (11:34 +0000)]
rm_work: Retain package and package-split directories to be consistent with sstate code

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agorootrs_rpm.bbclass: Disable createrepo for now due to this error:
Richard Purdie [Thu, 3 Feb 2011 11:24:19 +0000 (11:24 +0000)]
rootrs_rpm.bbclass: Disable createrepo for now due to this error:

| + createrepo /media/build2/builds/rptest/b4/tmp/deploy/rpm
| Traceback (most recent call last):
|   File "/media/build2/builds/rptest/b4/tmp/sysroots/x86_64-linux/usr/share/createrepo/genpkgmetadata.py", line 26, in <module>
|     import rpm
| ImportError: No module named rpm

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agodocbook-utils: fix build errors
Scott Garman [Thu, 3 Feb 2011 00:10:33 +0000 (16:10 -0800)]
docbook-utils: fix build errors

Fix build errors found in my first iteration of the recipe.

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
14 years agowpa-supplicant 0.7.3: fix packaging of dbus service files and fix layout variables
Koen Kooi [Thu, 3 Feb 2011 09:20:43 +0000 (10:20 +0100)]
wpa-supplicant 0.7.3: fix packaging of dbus service files and fix layout variables

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agobitbake/lib/bb/fetch2: Assign a default name in the names array as empty strings...
Richard Purdie [Thu, 3 Feb 2011 00:16:23 +0000 (00:16 +0000)]
bitbake/lib/bb/fetch2: Assign a default name in the names array as empty strings as names cause problems for python

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>