]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
14 years agolttng-ust: upgrade from 0.8 to 0.11
Dexuan Cui [Thu, 27 Jan 2011 12:06:13 +0000 (20:06 +0800)]
lttng-ust: upgrade from 0.8 to 0.11

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
14 years agoliburcu: upgrade from 0.4.8 to 0.5.2
Dexuan Cui [Thu, 27 Jan 2011 11:37:18 +0000 (19:37 +0800)]
liburcu: upgrade from 0.4.8 to 0.5.2

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
14 years agofreetype: upgrade from 2.4.3 to 2.4.4
Dexuan Cui [Thu, 27 Jan 2011 11:09:23 +0000 (19:09 +0800)]
freetype: upgrade from 2.4.3 to 2.4.4

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
14 years agognome-doc-utils: upgrade from 0.20.2 to 0.20.4
Dexuan Cui [Mon, 24 Jan 2011 18:04:32 +0000 (02:04 +0800)]
gnome-doc-utils: upgrade from 0.20.2 to 0.20.4

Also fix DEPENDS on gettext for native casea -- this is to fix the
following failure(that occasionally occurs in my local tests):
configure.in:44: warning: AM_NLS is m4_require'd but not m4_defun'd
| aclocal.m4:1826: IT_PROG_INTLTOOL is expanded from...
| configure.in:44: the top level
| configure:3327: error: possibly undefined macro: AM_NLS

Also remove a trailing space char in LIC_FILES_CHKSUM.

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
14 years agoxf86-video-omapfb: upgrade to 044617665d6737f4909aab96
Yu Ke [Tue, 25 Jan 2011 07:15:09 +0000 (15:15 +0800)]
xf86-video-omapfb: upgrade to 044617665d6737f4909aab96

Also apply four patches from Koen to fix four issus:
- The tv-out gets added last and the driver tries to reconfigure dvi to TV resolutions, which fails
- The new DSS mode breaks XV, so force plain mode
- Picture is garbled after switching resolutions
- Virtual size too big

CC: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Yu Ke <ke.yu@intel.com>
14 years agoInitial commit of license reporting:
Beth Flanagan [Thu, 27 Jan 2011 19:25:12 +0000 (11:25 -0800)]
Initial commit of license reporting:

This is an intial commit for the license reporting system. A few notes:
The LICENSE fields needs to be standardized throughout poky. As it
stands, we throw a warning if the license file is not found (either
because it does not exist or because LICENSE_FILE_CHKSUM is munged)
in the generic license directory. This should eventually become an
error.

I've seen a few places where Apache-v2.0 is written differently and
I'm sure this will throw the above warning. This does not put the
license data on the rootfs. Also, I provide both the actual license
text and a link to the best guess of the generic_license. That guessing
is not very robust and I'm loath to get into a bunch of pattern matching
rather than standardize LICENSE.

This adds one new param to poky.conf and one new to license.bbclass:

LICENSE_DIR: the base directory we copy all the license results to (set
in license.bbclass)
COMMON_LICENSE_DIR: this is the directory that holds all the common
generic license files. currently meta/files/common-licenses (set in
poky.conf)

TODO:
- We should verify the common-licenses. I stripped these from my Ubuntu
  10.10 system.
- We should allow the capability of licenses on the rootfs, although the
  resulting image created would be a lot larger.
- More common-licenses. I don't include bzip, zlib, ICS.... I should,
  but that means tracking down a lot of licenses.
- General cleanup of licensing and standardization of names. We should
  standardize on a naming convention. What's in licenses.conf should
  match up with what is in the recipes which should match with what is
  in common-licenses. Outside the scope of this though. See:
  http://bugzilla.pokylinux.org/show_bug.cgi?id=650

14 years agotask-poky-sdk: add 'file' and 'ldd'
Kevin Tian [Thu, 27 Jan 2011 06:21:54 +0000 (14:21 +0800)]
task-poky-sdk: add 'file' and 'ldd'

these two are useful in the development environment, and also required
by two LTP test cases (ld and ldd).

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
14 years agobash: use /bin/bash as default shell when bash is included
Kevin Tian [Wed, 26 Jan 2011 11:37:10 +0000 (19:37 +0800)]
bash: use /bin/bash as default shell when bash is included

though bash is included in LSB profile, it doesn't use update-alternative
to take effect and thus it's still busybox behaving as /bin/sh.

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
14 years agobase-files: remove ending colon from default $PATH for root user
Kevin Tian [Wed, 26 Jan 2011 08:28:45 +0000 (16:28 +0800)]
base-files: remove ending colon from default $PATH for root user

now the PATH for root user defined in a problematic way
    PATH=$PATH:/usr/local/sbin:/usr/sbin:/sbin:

from eglibc:
    /* Two adjacent colons, or a colon at the beginning or the end
       of `PATH' means to search the current directory.  */

that means current directory is always searched as the last path,
which could generate undesired behavior.

One example is found in LTP cron_deny01 test, which always complains
    "sh: cron_deny01 not found"

cron_deny01 is a shell script which setups the initial test preparation
and then invokes itself for real test under a different user:
    su $TEST_USER1 -c "$0"

'su' doesn't inherit PATH into the sub-shell, and thus $0 has to
be an absolute path to have right script found.

ltp appends the path of cron_deny01 to $PATH before running the test:
    export PATH="${PATH}:${LTPROOT}/testcases/bin"

In ideal way "${LTPROOT}/testcases/bin/cron_deny01" is found and becomes
$0, which works well.

However due to the ending colon in original PATH:
    PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin::${LTPROOT}/testcases/bin
$0 becomes 'cron_deny01' w/o leading path which makes sub-shell under 'su'
failed to locate cron_deny01.

remove ending colon then fixes this problem.

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
14 years agomatchbox: Convert all the matchbox components' repo from svn to git including:
Zhai Edwin [Wed, 26 Jan 2011 11:14:35 +0000 (19:14 +0800)]
matchbox: Convert all the matchbox components' repo from svn to git including:
matchbox-wm
matchbox-panel-2
matchbox-terminal
matchbox-config-gtk
matchbox-stroke
matchbox-desktop
matchbox-keyboard
matchbox-themes-extra
libfakekey
settings-daemon

Also remove some old recipes.

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
14 years agodistro tracking: Add info after upgrading gtk+, libuser and leafpad
Zhai Edwin [Wed, 26 Jan 2011 07:58:04 +0000 (15:58 +0800)]
distro tracking: Add info after upgrading gtk+, libuser and leafpad

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
14 years agolibuser: Upgrade from 0.56.18 to 0.57.1
Zhai Edwin [Wed, 26 Jan 2011 07:16:29 +0000 (15:16 +0800)]
libuser: Upgrade from 0.56.18 to 0.57.1

This can fix the vulnerable issue @ http://secunia.com/advisories/42891/

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
14 years agoleafpad: Upgrade from 0.8.17 to 0.8.18.1
Zhai Edwin [Wed, 26 Jan 2011 06:59:27 +0000 (14:59 +0800)]
leafpad: Upgrade from 0.8.17 to 0.8.18.1

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
14 years agoscripts/bitbake: If pseudo isn't in staging for some reason, force a build of it...
Richard Purdie [Fri, 28 Jan 2011 11:01:11 +0000 (11:01 +0000)]
scripts/bitbake: If pseudo isn't in staging for some reason, force a build of it directly

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agoscripts/bitbake: We only need pseudo-native in the sysroot, we can ignore any other...
Richard Purdie [Fri, 28 Jan 2011 10:44:15 +0000 (10:44 +0000)]
scripts/bitbake: We only need pseudo-native in the sysroot, we can ignore any other pieces of the dependency tree

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agostaging.bbclass: Only clean out the sysroot if we rerun configure, not at setscene...
Richard Purdie [Thu, 27 Jan 2011 20:58:38 +0000 (20:58 +0000)]
staging.bbclass: Only clean out the sysroot if we rerun configure, not at setscene time

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agosstate: Ensure stale stamp files are removed as part of sstate_clean()
Richard Purdie [Thu, 27 Jan 2011 20:57:54 +0000 (20:57 +0000)]
sstate: Ensure stale stamp files are removed as part of sstate_clean()

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agobitbake/runqueue.py: Avoid starvation of events to the server
Richard Purdie [Fri, 28 Jan 2011 10:21:41 +0000 (10:21 +0000)]
bitbake/runqueue.py: Avoid starvation of events to the server

The server UI was reading 1024 bytes, then sleeping for 0.25 seconds. Since
most new LogRecord events are larger than this it leads to a build up of data
which is only processed slowly, leading to a bottleneck and a slow down of
all bitbake processes.

Thanks to Dongxiao Xu <dongxiao.xu@intel.com> for the great work in debugging
this. A large value has been left in for the read() command just to ensure some
fairness amongst process handling if a task tries to log truly huge amounts of
data to the server, or goes crazy and ensures the main loop doesn't stall.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agosstate.bbclass: Fix stupid typo
Richard Purdie [Thu, 27 Jan 2011 23:26:10 +0000 (23:26 +0000)]
sstate.bbclass: Fix stupid typo

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agosstate.bbclass: No need to dump the contents of the sstate package to stdout
Richard Purdie [Thu, 27 Jan 2011 22:38:11 +0000 (22:38 +0000)]
sstate.bbclass: No need to dump the contents of the sstate package to stdout

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agosstate.bbclass: Handle whitespace in the list of files to 'fixup' to resolve log...
Richard Purdie [Thu, 27 Jan 2011 22:34:52 +0000 (22:34 +0000)]
sstate.bbclass: Handle whitespace in the list of files to 'fixup' to resolve log warning

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agoBerkleyDB: Uprev db from 4.2 to 5.1.19
Mark Hatle [Sun, 16 Jan 2011 03:14:46 +0000 (21:14 -0600)]
BerkleyDB: Uprev db from 4.2 to 5.1.19

The latest version of Berkley DB (5.1.19) is required by RPM.  This version
is backwards compatible with the 4.2 version that was enabled previously.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
14 years agoofono: Fix missing dependency on udev
Saul Wold [Wed, 26 Jan 2011 03:08:01 +0000 (19:08 -0800)]
ofono: Fix missing dependency on udev

Signed-off-by: Saul Wold <sgw@linux.intel.com>
14 years agoiputils: upgrade to s20101006
Yu Ke [Tue, 25 Jan 2011 04:52:08 +0000 (12:52 +0800)]
iputils: upgrade to s20101006

- change the src_uri md5/sha256 checksum
- remove the CVE patch, since it is already in upstream

Signed-off-by: Yu Ke <ke.yu@intel.com>
14 years agowebkit-gtk: upgrade to 1.3.7
Zhai Edwin [Fri, 14 Jan 2011 07:35:17 +0000 (15:35 +0800)]
webkit-gtk: upgrade to 1.3.7

Also update some local files from upstream, and add nodolt.patch to fix build error.

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
14 years agoeds-dbus: Do not disable old API after upgrading gtk+
Zhai Edwin [Thu, 16 Dec 2010 02:32:41 +0000 (10:32 +0800)]
eds-dbus: Do not disable old API after upgrading gtk+

This avoid build error due to defination missing.

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
14 years agogtk+: Update to 2.22.1
Zhai Edwin [Mon, 22 Nov 2010 06:26:56 +0000 (14:26 +0800)]
gtk+: Update to 2.22.1

Remove disable-gio-png-sniff-test.diff as it alreay in upstream. gdk-pixbuf in
gtk+ is separated as another stand-alone package, so remove it.

In future need only pick up stable version(even number like 2.20.x, 2.22.x).

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
14 years agosstate.bbclass: Optimise to check if the manifest exists without taking locks
Richard Purdie [Thu, 27 Jan 2011 20:52:33 +0000 (20:52 +0000)]
sstate.bbclass: Optimise to check if the manifest exists without taking locks

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agoexternal-python-tarball: include multiprocessing module
Joshua Lock [Thu, 27 Jan 2011 13:03:33 +0000 (13:03 +0000)]
external-python-tarball: include multiprocessing module

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agoperl: Remove ${MACHINE} dependency in compile and package.
Dongxiao Xu [Thu, 27 Jan 2011 07:53:47 +0000 (15:53 +0800)]
perl: Remove ${MACHINE} dependency in compile and package.

The judgement on ${MACHINE} is meaningless, remove it in order to avoid
being rebuild on second machine.

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
14 years agobitbake/build.py: When looking up extra stamp info for setscene tasks, use the real...
Richard Purdie [Thu, 27 Jan 2011 11:20:50 +0000 (11:20 +0000)]
bitbake/build.py: When looking up extra stamp info for setscene tasks, use the real taskname

(Fixed based on a bug reported by Dongxiao Xu <dongxiao.xu@intel.com>)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agorm_work.bbclass: Update to convert stamps to setscene stamps
Richard Purdie [Thu, 27 Jan 2011 11:05:14 +0000 (11:05 +0000)]
rm_work.bbclass: Update to convert stamps to setscene stamps

We need to manipulate the stamps when removing WORKDIR to indicte that
tasks like compile or install can't just rerun. The most effective method
to do this is to convert the layout to match that which would have been the
case had the system been build from sstate packages.

For example, we'd task stamps like:

xxx-1.4.7-r3.do_compile
xxx-1.4.7-r3.do_configure
xxx-1.4.7-r3.do_fetch
xxx-1.4.7-r3.do_generate_toolchain_file
xxx-1.4.7-r3.do_install
xxx-1.4.7-r3.do_package.emenlow
xxx-1.4.7-r3.do_package_write
xxx-1.4.7-r3.do_package_write_ipk
xxx-1.4.7-r3.do_package_write_rpm
xxx-1.4.7-r3.do_patch
xxx-1.4.7-r3.do_populate_sysroot.emenlow
xxx-1.4.7-r3.do_setscene
xxx-1.4.7-r3.do_unpack

and after rm_work, we'd have stamps of:

xxx-1.4.7-r3.do_package_setscene.emenlow
xxx-1.4.7-r3.do_package_write_ipk_setscene
xxx-1.4.7-r3.do_package_write_rpm_setscene
xxx-1.4.7-r3.do_populate_sysroot_setscene.emenlow

We also need to handle stamps in the form xxx-1.4.7-r3.do_package.MACHINE.TASKHASH
as used by some signature generators.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agoautotools.bbclass: Drop unused autotools_stage_dir dummy function
Richard Purdie [Wed, 26 Jan 2011 15:38:31 +0000 (15:38 +0000)]
autotools.bbclass: Drop unused autotools_stage_dir dummy function

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agoautotools.bbclass: Only include aclocal directories if the exist, no point in creatin...
Richard Purdie [Wed, 26 Jan 2011 15:35:58 +0000 (15:35 +0000)]
autotools.bbclass: Only include aclocal directories if the exist, no point in creating them

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agosend-pull-request: ensure a proper FROM header is included
Darren Hart [Wed, 26 Jan 2011 17:42:33 +0000 (09:42 -0800)]
send-pull-request: ensure a proper FROM header is included

Commit 94629f2521711055b412f954af19e48b9bda6e50 removes the FROM header when
sending via sendmail to avoid sending mail as the original change committer (as
opposed to the local user). This resulted in mail going out without any FROM
header, which some mailing lists correct by adding the *bounce address as the
FROM.

Correct this by reading FROM from the environment, from a new -f argument, or
from the git user.name and user.email config settings, in that order of
preference. Also display the FROM that will be used prior to the send
confirmation.

This has no effect if the -g (send via git) argument is specified, other than
printing the git sendemail.from config setting.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Reported-by: Saul Wold <saul.wold@intel.com>
14 years agometa-toolchain: Fix tar command
Richard Purdie [Wed, 26 Jan 2011 12:23:10 +0000 (12:23 +0000)]
meta-toolchain: Fix tar command

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agobitbake/unlockfile: Fix exception handling
Richard Purdie [Wed, 26 Jan 2011 12:20:14 +0000 (12:20 +0000)]
bitbake/unlockfile: Fix exception handling

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agocrosssdk: Drop PACKAGES setting as its set in cross.bbclass already
Richard Purdie [Wed, 26 Jan 2011 12:06:52 +0000 (12:06 +0000)]
crosssdk: Drop PACKAGES setting as its set in cross.bbclass already

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agosstate.bbclass: Correctly handle empty sstate packages
Richard Purdie [Wed, 26 Jan 2011 11:36:24 +0000 (11:36 +0000)]
sstate.bbclass: Correctly handle empty sstate packages

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agocross.bbclass: Move sysroot_stage_all function to the only place that uses it now...
Richard Purdie [Wed, 26 Jan 2011 10:04:46 +0000 (10:04 +0000)]
cross.bbclass: Move sysroot_stage_all function to the only place that uses it now (gcc-cross-intermediate)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agostaging.bbclass: No need to create these directories any more, also remove invalid...
Richard Purdie [Wed, 26 Jan 2011 10:04:15 +0000 (10:04 +0000)]
staging.bbclass: No need to create these directories any more, also remove invalid comment

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agometa-toolchain: Use --owner and --group options instead of using pseudo's overhead...
Richard Purdie [Wed, 26 Jan 2011 10:03:27 +0000 (10:03 +0000)]
meta-toolchain: Use --owner and --group options instead of using pseudo's overhead for a simple task

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agoperl: Remove MACHINE reference in do_configure, it causes perl to be rebuild many...
Richard Purdie [Wed, 26 Jan 2011 10:02:31 +0000 (10:02 +0000)]
perl: Remove MACHINE reference in do_configure, it causes perl to be rebuild many times

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agokern-tools: update to the new repository
Bruce Ashfield [Tue, 25 Jan 2011 19:27:47 +0000 (14:27 -0500)]
kern-tools: update to the new repository

As the first of several changes to the kern-tools coupled to
the branch management in the yocto kernels the repository
is being renamed to it proper name. This change switches us to
that newly created repo.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
14 years agodocumentation/yocto-project-qs/yocto-project-qs.xml: Added note to poky-qemu command
Scott Rifenbark [Thu, 20 Jan 2011 23:07:21 +0000 (15:07 -0800)]
documentation/yocto-project-qs/yocto-project-qs.xml:  Added note to poky-qemu command

Depending on the architecture you are booting and the profile of the
filesystem image QEMU might come up in a new shell, and existing shell,
have a GUI, or be in command-line mode.  I added a note indicating this
behavior.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
14 years agodocumentation/yocto-project-qs/yocto-project-qs.xml: Updated <arch> value for environ...
Scott Rifenbark [Thu, 20 Jan 2011 21:59:44 +0000 (13:59 -0800)]
documentation/yocto-project-qs/yocto-project-qs.xml: Updated <arch> value for environment setup command

The value for the 64-bit architecture was "x86-64" and not "x86_64".
Changed it to be correct.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
14 years agodocumentation/yocto-project-qs/yocto-project-qs.xml: Updated list introducing pre...
Scott Rifenbark [Thu, 20 Jan 2011 18:13:32 +0000 (10:13 -0800)]
documentation/yocto-project-qs/yocto-project-qs.xml: Updated list introducing pre-built section

The section that introduces the using a pre-built binary section needed
more items in the list.  I added text for setting up the environment
and for starting QEMU.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
14 years agodocumentation/yocto-project-qs/yocto-project-qs.xml: Added sub-sections to pre-built...
Scott Rifenbark [Thu, 20 Jan 2011 18:06:10 +0000 (10:06 -0800)]
documentation/yocto-project-qs/yocto-project-qs.xml:  Added sub-sections to pre-built image section

The pre-built image section was one long section that naturally
broke into several areas.  I inserted some sub-sections for better
organization.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
14 years agodocumentation/yocto-project-qs/yocto-project-qs.xml: Corrected environment setup...
Scott Rifenbark [Thu, 20 Jan 2011 16:43:19 +0000 (08:43 -0800)]
documentation/yocto-project-qs/yocto-project-qs.xml: Corrected environment setup command

I added the exact architecture strings for each of the five supported
architectures as part of the /opt/poky/environment-setup.... commands
resulting from installing the toolchain tarballs.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
14 years agolinux-yocto/stable: perf: hard-code NO_LIBPERL/NO_LIBPYTHO
Bruce Ashfield [Tue, 25 Jan 2011 15:51:27 +0000 (10:51 -0500)]
linux-yocto/stable: perf: hard-code NO_LIBPERL/NO_LIBPYTHO

Updating SRCREVs to reflect:

    perf: hard-code NO_LIBPERL/NO_LIBPYTHON

    ExtUtils::Embed ccopts is getting the host's -I/usr/local/include and
    using it to compile perf, which results in a compilation error that
    started appearing just recently.

    This turns the code that makes use of ExtUtils::Embed off and simply
    hard-codes NO_LIBPERL.

    It does the same for LIBPYTHON while we're at it, since it probably
    suffers from a similar underlying problem and just by chance hasn't
    broken anything yet.

    This will be re-enabled after I familiarize myself with the perf
    recipe and am able to create a proper fix.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
14 years agoutil-linux.inc: Fix DEPENDS on gettext for native case
Richard Purdie [Tue, 25 Jan 2011 19:52:04 +0000 (19:52 +0000)]
util-linux.inc: Fix DEPENDS on gettext for native case

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agodistro_tracking: Update for poky-image-sdk renaming
Saul Wold [Mon, 24 Jan 2011 23:52:24 +0000 (15:52 -0800)]
distro_tracking: Update for poky-image-sdk renaming

Signed-off-by: Saul Wold <sgw@linux.intel.com>
14 years agopoky-image-sdk* renamed to poky-image-sato-sdk*
Saul Wold [Mon, 24 Jan 2011 23:45:12 +0000 (15:45 -0800)]
poky-image-sdk* renamed to poky-image-sato-sdk*

Signed-off-by: Saul Wold <sgw@linux.intel.com>
14 years agometa-toolchain-sdk: Rename meta-toolchain-sdk to meta-toolchain-gmae
Jessica Zhang [Fri, 14 Jan 2011 23:45:51 +0000 (15:45 -0800)]
meta-toolchain-sdk: Rename meta-toolchain-sdk to meta-toolchain-gmae

Change the name from toolchain-sdk to toolchain-gmae,
which is more accurate to what meta-toolchain-sdk generates

Signed-off-by: Jessica Zhang <jessica.zhang@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
14 years agoutil-linux: tidy up metadata
Joshua Lock [Tue, 25 Jan 2011 12:41:51 +0000 (12:41 +0000)]
util-linux: tidy up metadata

Apply a couple of best practices to the recipe:
1) use the gettext class to ensure the right versions of gettext are
used for the recipe variants (target, native, etc).
2) use layout variables rather than absolute paths in the package FILES_
definitions.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agosanity/sstate: Due to the sysroot layout changes, the toolchain bootstrap process...
Richard Purdie [Tue, 25 Jan 2011 12:22:21 +0000 (12:22 +0000)]
sanity/sstate: Due to the sysroot layout changes, the toolchain bootstrap process changes and the recent pseudo bug, bump the tmpdir layout version number and the sstate version numbers

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agobitbake/fetch2: Instrument fetchers when making network access
Yu Ke [Mon, 24 Jan 2011 07:56:54 +0000 (15:56 +0800)]
bitbake/fetch2: Instrument fetchers when making network access

Signed-off-by: Yu Ke <ke.yu@intel.com>
14 years agobb.fetch2: add "BB_NO_NETWORK" option
Yu Ke [Mon, 24 Jan 2011 06:58:26 +0000 (14:58 +0800)]
bb.fetch2: add "BB_NO_NETWORK" option

Sometime user want a purely local fetching, i.e. using local mirror without
any remote netowrk access. BB_NO_NETWORK option is introduced for this purpose

check_network_access() is the guard for BB_NO_NETWOKR option. it should be
put in any place that fetcher use network access

Signed-off-by: Yu Ke <ke.yu@intel.com>
14 years agobb.fetch2: remove the obsolate Fetch.try_mirrors referrence
Yu Ke [Tue, 18 Jan 2011 16:17:39 +0000 (00:17 +0800)]
bb.fetch2: remove the obsolate Fetch.try_mirrors referrence

Fetch.try_mirrors is no longer exists, so the code is obsolate

Signed-off-by: Yu Ke <ke.yu@intel.com>
14 years agogit.py: split download to download() and build_mirror_data()
Yu Ke [Tue, 18 Jan 2011 15:35:30 +0000 (23:35 +0800)]
git.py: split download to download() and build_mirror_data()

the download is to fetch the source from URL, the build_mirror_data is
to create the mirror tar ball. the original go() method mix them together,
it is more clean to split them.

Signed-off-by: Yu Ke <ke.yu@intel.com>
14 years agobase/sstate.bbclass: Rename fetcher "go" method to "download" when using fetch v2
Yu Ke [Tue, 18 Jan 2011 15:17:50 +0000 (23:17 +0800)]
base/sstate.bbclass: Rename fetcher "go" method to "download" when using fetch v2

Signed-off-by: Yu Ke <ke.yu@intel.com>
14 years agobb.fetch2: rename "go" with "download" to better reflect its functionality
Yu Ke [Tue, 18 Jan 2011 15:03:53 +0000 (23:03 +0800)]
bb.fetch2: rename "go" with "download" to better reflect its functionality

no functional change

Signed-off-by: Yu Ke <ke.yu@intel.com>
14 years agobase.bbclass: use bb.fetch2 unpack API
Yu Ke [Tue, 18 Jan 2011 14:38:34 +0000 (22:38 +0800)]
base.bbclass: use bb.fetch2 unpack API

Signed-off-by: Yu Ke <ke.yu@intel.com>
14 years agobb.fetch: add fetch version to distinguish bb.fetch and bb.fetch2
Yu Ke [Tue, 18 Jan 2011 14:41:23 +0000 (22:41 +0800)]
bb.fetch: add fetch version to distinguish bb.fetch and bb.fetch2

there is case that we need to distingush bb.fetch and bb.fetch2,
and use different API for bb.fetch and bb.fetch2. so it is necessary
to add version info for distinguish purpose

Signed-off-by: Yu Ke <ke.yu@intel.com>
14 years agobb.fetch2: revise the Fetch.unpack API
Yu Ke [Tue, 18 Jan 2011 14:08:09 +0000 (22:08 +0800)]
bb.fetch2: revise the Fetch.unpack API

change the unpack to use the urldata and rootdir parameter
- urldata is the FetchData instance
- rootdir is the dir to put the extracted source. the original unpack
  use current dir (os.getcwd) as destination dir, which is not flexible
  and error-prone (error will occur if caller not chdir to dest dir)

Signed-off-by: Yu Ke <ke.yu@intel.com>
14 years agobb.fetch2: add unpack method in fetcher
Yu Ke [Tue, 18 Jan 2011 13:53:36 +0000 (21:53 +0800)]
bb.fetch2: add unpack method in fetcher

copy exactly the base.bbclass:oe_unpack_file() to bb.fetch2 as the code base

Signed-off-by: Yu Ke <ke.yu@intel.com>
14 years agoemenlow: Change PACKAGE_EXTRA_ARCHS and BASE_PACKAGE_ARCH to core2
Dongxiao Xu [Tue, 18 Jan 2011 08:19:00 +0000 (16:19 +0800)]
emenlow: Change PACKAGE_EXTRA_ARCHS and BASE_PACKAGE_ARCH to core2

After machine specific sysroot is implemented, emenlow and atom-pc
could build together as one architecture. Thus change emenlow
architecture back to core2.

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
14 years agobitbake: machine specific sysroots implementation
Dongxiao Xu [Tue, 18 Jan 2011 08:18:42 +0000 (16:18 +0800)]
bitbake: machine specific sysroots implementation

This commit changes the sysroots path to be machine specific.

Changes includes:

1) STAGING_DIR_TARGET and STRAGING_DIR_HOST points to machine specific
paths.

2) task stamp files. Adding ${MACHINE} info into stamp files for
do_populate_sysroots and do_package tasks. Add a BB_STAMPTASK_BLACKLIST
to keep native, nativesdk, crosssdk, and cross-canadian stamp unchanged.

3) siteconfig path. Separate the site config path for different machines
to avoid one machine adopting the cache file of another machine.

4) sstate. Add machine name to sstate manifest file.
Change relocation code for sstate paths since sysroot is machine.
Keep native, nativesdk, crosssdk, and cross-canadian unchanged.

5) toolchain scripts. Change the environment path to point to machine
specific sysroots in toolchain scripts bbclass.

6) Relocate la files when populating to a different machine of the same
architecture.

7) Exclude STAGING_DIR_TARGET and STAGING_DIR_HOST parameter from sstate
siginfo since they contain ${MACHINE} information.

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
14 years agobase-files: Add to make some directories needed by LSB.
Jingdong Lu [Fri, 21 Jan 2011 09:27:03 +0000 (17:27 +0800)]
base-files: Add to make some directories needed by LSB.

LSB will check some directories,eg, "/usr/local/" and need to make them for LSB test.

Signed-off-by: Jingdong Lu <jingdong.lu@windriver.com>
14 years agoliburi-perl: Rename liburi-perl
Jingdong Lu [Fri, 21 Jan 2011 09:20:46 +0000 (17:20 +0800)]
liburi-perl: Rename liburi-perl

Signed-off-by: Jingdong Lu <jingdong.lu@windriver.com>
14 years agopseudo: Revert msg cache changes
Mark Hatle [Tue, 25 Jan 2011 01:23:14 +0000 (19:23 -0600)]
pseudo: Revert msg cache changes

The message cache code in pseudo seems to be causing problems.  So we have
finally decided to revert that optimization.

(The revert is in the upstream pseudo.)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
14 years agogcc/libc: Change bootstrap to use an intermediate sysroot and hence no longer overwri...
Richard Purdie [Tue, 25 Jan 2011 00:34:09 +0000 (00:34 +0000)]
gcc/libc: Change bootstrap to use an intermediate sysroot and hence no longer overwrite files

Based upon patches from Dexuan Cui <dexuan.cui@intel.com>

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agogcc-cross-intermediate, gcc-crosssdk-intermediate: change CROSS_TARGET_SYS_DIR and...
Dexuan Cui [Tue, 18 Jan 2011 04:50:39 +0000 (12:50 +0800)]
gcc-cross-intermediate, gcc-crosssdk-intermediate: change CROSS_TARGET_SYS_DIR and install into new locations

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
14 years agogcc-cross-initial, gcc-crosssdk-initial: change CROSS_TARGET_SYS_DIR and insall into...
Dexuan Cui [Tue, 18 Jan 2011 04:50:39 +0000 (12:50 +0800)]
gcc-cross-initial, gcc-crosssdk-initial: change CROSS_TARGET_SYS_DIR and insall into new locations

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
14 years agosstate.bbclass: allow each step of toolchain bootstrap processes to do populate_sysro...
Dexuan Cui [Thu, 20 Jan 2011 09:01:49 +0000 (17:01 +0800)]
sstate.bbclass: allow each step of toolchain bootstrap processes to do populate_sysroot independently

Some steps (like gcc-cross-initial, gcc-cross-intermediate and eglibc-initial)
will install to new locations to avoid file overwriting.

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
14 years agocross.bbclass: make MULTIMACH_TARGET_SYS adjustable for bindir, libdir, libexecdir
Dexuan Cui [Tue, 18 Jan 2011 02:24:17 +0000 (10:24 +0800)]
cross.bbclass: make MULTIMACH_TARGET_SYS adjustable for bindir, libdir, libexecdir

This will be used by gcc-cross-initial and gcc-cross-intermediate.

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
14 years agodistro_tracking_fields: Updated sudo tracking data
Scott Garman [Mon, 24 Jan 2011 02:49:32 +0000 (18:49 -0800)]
distro_tracking_fields: Updated sudo tracking data

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
14 years agosudo: upgrade to 1.7.4p6
Scott Garman [Mon, 24 Jan 2011 01:42:37 +0000 (17:42 -0800)]
sudo: upgrade to 1.7.4p6

Addresses CVE-2011-0010

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
14 years agobeagleboard: Not ready for 2.6.37 kernel yet, use stable instead
Saul Wold [Mon, 24 Jan 2011 22:42:23 +0000 (14:42 -0800)]
beagleboard: Not ready for 2.6.37 kernel yet, use stable instead

Signed-off-by: Saul Wold <sgw@linux.intel.com>
14 years agolinux-yocto: update SRCREVs for emenlow
Bruce Ashfield [Mon, 24 Jan 2011 21:36:01 +0000 (16:36 -0500)]
linux-yocto: update SRCREVs for emenlow

The emenlow has been ported/tested on 2.6.37. Updating the SRCREVs
to reflect the change.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
14 years agolinux-yocto: allow multiple BSPs per branch
Bruce Ashfield [Mon, 24 Jan 2011 16:54:32 +0000 (11:54 -0500)]
linux-yocto: allow multiple BSPs per branch

By default the linux-yocto recipes operate on the current branch
and use it as a trigger to locate the description of a board. This
model works well when using the git repo outside of a build system
since the commands can be simply invoked and will do something
useful. However, it does mean that you can't have two BSPs that
differ only by configuration, building out of a single branch
in the repository.

This means that you must have many branches for very similar
BSPs. This model is still preferred, but having the choice of
branching strategies is better.

With this change we can have multiple BSPs using a single branch
with the preferred description being hinted from the build
system by passing the $machine value to updateme/configme.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
14 years agoupdate-rc.d.bbclass: Changed RDEPENDS for native
Saul Wold [Mon, 24 Jan 2011 22:08:23 +0000 (14:08 -0800)]
update-rc.d.bbclass: Changed RDEPENDS for native

Signed-off-by: Saul Wold <sgw@linux.intel.com>
14 years agosend-pull-request: send all patches as the local user
Darren Hart [Fri, 21 Jan 2011 21:24:04 +0000 (13:24 -0800)]
send-pull-request: send all patches as the local user

When using sendmail to send patches, patches would appear to be from the
original author as git adds a From: header in the generated patches.  This patch
changes this behavior to match that of git-send-email, where the email From:
header is that of the current sender (according to sendmail) and a "From:
Original Author <email>" line is inserted into the body of the message.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
14 years agosend-pull-request: unset $TO and $CC from environment
Scott Garman [Sat, 22 Jan 2011 00:15:33 +0000 (16:15 -0800)]
send-pull-request: unset $TO and $CC from environment

Darren Hart and I discovered that when $CC is set (which
our meta-toolchain environment script sets up), the value
leaks into the use of this script. Unsetting $TO as well
just to be thorough.

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
14 years agolinux-yocto/stable: update beagleboard SRCREV
Bruce Ashfield [Fri, 21 Jan 2011 20:14:38 +0000 (15:14 -0500)]
linux-yocto/stable: update beagleboard SRCREV

Updating beagleboard SRCREV to pickup:

commit 8e15b884ecf768fd9f898da5acf24938dfe81a83
Author: Koen Kooi <koen@beagleboard.org>
Date:   Tue Jan 11 17:13:35 2011 +0000

    omap3: beaglexm: fix EHCI power up GPIO dir

    commit a5624323866c06156ca548b8515d9347fdd5188e angstrom-linux

    EHCI enable power pin is inverted (active high) in comparison
    to vanilla beagle which is active low. Handle this case conditionally.

    Without this fix, Beagle XM 4 port EHCI will not function and no
    networking will be available

    [nm@ti.com: split up, added descriptive changelogs]
Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Koen Kooi <koen@beagleboard.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
14 years agolinux-yocto/stable: update crownbay kernel configuration
Bruce Ashfield [Fri, 21 Jan 2011 18:15:22 +0000 (13:15 -0500)]
linux-yocto/stable: update crownbay kernel configuration

Updating the meta branch to contain the latest crownbay
configuration tweaks.

e1f85a4 wrs_meta: turn on OHCI USB config option
8be8e45 wrs_meta (crownbay): turn on AHCI SATA option

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
14 years agolinux-yocto/stable: update beagleboard SRCREV
Bruce Ashfield [Fri, 21 Jan 2011 18:09:37 +0000 (13:09 -0500)]
linux-yocto/stable: update beagleboard SRCREV

Bumping the SRCREV to pickup some missing functionality:

ebbca89 omap: Beagle: no gpio_wp pin connection on xM
671fd89 omap: Beagle: only Cx boards use pin 23 for write protect
dccdf8a omap: Beagle: revision detection

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
14 years agodistro tracking: Add more info for qemu, gdk-pixbuf...., after last interation
Zhai Edwin [Fri, 21 Jan 2011 14:15:50 +0000 (22:15 +0800)]
distro tracking: Add more info for qemu, gdk-pixbuf...., after last interation
of upgrade

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
14 years agonfs-utils, e2fsprogs, mtd-utils, libsm: bump PR
Paul Eggleton [Wed, 19 Jan 2011 16:55:44 +0000 (00:55 +0800)]
nfs-utils, e2fsprogs, mtd-utils, libsm: bump PR

This ensures package runtime dependencies are up-to-date after splitting
out libuuid and libblkid in util-linux recipe

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Qing He <qing.he@intel.com>
14 years agogst-plugins-base: add util-linux to DEPENDS
Paul Eggleton [Wed, 19 Jan 2011 16:55:41 +0000 (00:55 +0800)]
gst-plugins-base: add util-linux to DEPENDS

gst-plugins-base requires libuuid, so add util-linux to DEPENDS.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Qing He <qing.he@intel.com>
14 years agoutil-linux: fix lscpu packaging
Qing He [Fri, 21 Jan 2011 10:01:25 +0000 (18:01 +0800)]
util-linux: fix lscpu packaging

lscpu in util-linux 2.17.2 is specially under GPLv3, ensure it's
packaged separately if it's being built.

Signed-off-by: Qing He <qing.he@intel.com>
14 years agoutil-linux: fix dangling symlinks
Qing He [Fri, 21 Jan 2011 09:54:22 +0000 (17:54 +0800)]
util-linux: fix dangling symlinks

shutdown and swapon should be in $base_sbindir instead of $sbindir

Signed-off-by: Qing He <qing.he@intel.com>
14 years agoutil-linux: separately packaging blkid and uuid
Qing He [Wed, 19 Jan 2011 01:44:51 +0000 (09:44 +0800)]
util-linux: separately packaging blkid and uuid

To avoid full set of util-linux included by library dependencies.

Fixes [BUGID #661].

Signed-off-by: Qing He <qing.he@intel.com>
14 years agoapt: revert the dso_linking_change patch as the new linker fixes it
Nitin A Kamble [Fri, 21 Jan 2011 17:52:23 +0000 (09:52 -0800)]
apt: revert the dso_linking_change patch as the new linker fixes it

The newer binutils recipe of version 2.21 has a fix for ld which avoids an
issue where weak symbols like pthread_cancel were causing linking to fail wh
--no-add-as-needed parameter was passed to ld.

See more information here: http://bugs.debian.org/591405

This makes some of the fixes for breakage after gcc dso linking change
unnecessary and this is one of them.

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
14 years agolibzypp: revert the dso_linking_change patch as the new linker fixes it
Nitin A Kamble [Fri, 21 Jan 2011 17:49:22 +0000 (09:49 -0800)]
libzypp: revert the dso_linking_change patch as the new linker fixes it

The newer binutils recipe of version 2.21 has a fix for ld which avoids an
issue where weak symbols like pthread_cancel were causing linking to fail when
--no-add-as-needed parameter was passed to ld.

See more information here: http://bugs.debian.org/591405

This makes some of the fixes for breakage after gcc dso linking change
unnecessary and this is one of them.

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
14 years agolibmusicbrainz: revert the dso_linking_change patch as the new linker fixes it
Nitin A Kamble [Fri, 21 Jan 2011 01:15:36 +0000 (17:15 -0800)]
libmusicbrainz: revert the dso_linking_change patch as the new linker fixes it

The newer binutils recipe of version 2.21 has a fix for ld which avoids an
issue where weak symbols like pthread_cancel were causing linking to fail when
--no-add-as-needed parameter was passed to ld.

See more information here: http://bugs.debian.org/591405

This makes some of the fixes for breakage after gcc dso linking change
unnecessary and this is one of them.

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
14 years agopoky-extract-sdk: allow relative paths for extract-dir
Scott Garman [Fri, 21 Jan 2011 22:15:05 +0000 (14:15 -0800)]
poky-extract-sdk: allow relative paths for extract-dir

psuedo needs a full path to its pid file, so convert
relative extract-dir paths to full ones.

The symptom of this bug is receiving the following error:

pseudo: Couldn't open relative/path/to/var/pseudo/pseudo.pid: No such file or directory

This fixes [BUGID #670]

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
14 years agobitbake/utils: Ignore OSError in unlockfile
Richard Purdie [Mon, 24 Jan 2011 14:26:50 +0000 (14:26 +0000)]
bitbake/utils: Ignore OSError in unlockfile

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agoDrop remaining bootcdx86 references, the -live images for qemux86 and atom-pc replace...
Richard Purdie [Mon, 24 Jan 2011 14:07:13 +0000 (14:07 +0000)]
Drop remaining bootcdx86 references, the -live images for qemux86 and atom-pc replace this

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agopackage_deb: Remove access to the D directory which isn't used and might not exist...
Richard Purdie [Fri, 21 Jan 2011 16:47:01 +0000 (16:47 +0000)]
package_deb: Remove access to the D directory which isn't used and might not exist (same problem as the previous patch to package_ipk fixes)

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