]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
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>
14 years agopackage_ipk: Do not depend on the existence of "D" to create ipk package
Dongxiao Xu [Fri, 21 Jan 2011 05:51:11 +0000 (13:51 +0800)]
package_ipk: Do not depend on the existence of "D" to create ipk package

If build from sstate results, the ${D} will not be installed. In this
case the creation of ipk package will be skipped, which will cause
the build failure.

Fix the issue by removing the judgement of ${D} existence.

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
14 years agoglib-2.0: Add missing DEPENDS on dbus
Richard Purdie [Fri, 21 Jan 2011 13:37:30 +0000 (13:37 +0000)]
glib-2.0: Add missing DEPENDS on dbus

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agodbus: Drop now unneeded DEPENDS on glib-2.0
Richard Purdie [Fri, 21 Jan 2011 13:37:15 +0000 (13:37 +0000)]
dbus: Drop now unneeded DEPENDS on glib-2.0

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agoutil-linux: Drop now unneeded DEPENDS on udev
Richard Purdie [Fri, 21 Jan 2011 13:36:43 +0000 (13:36 +0000)]
util-linux: Drop now unneeded DEPENDS on udev

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agopoky-image*-dev: Add -dev Images contianing headers and libraries
Saul Wold [Fri, 21 Jan 2011 10:34:08 +0000 (02:34 -0800)]
poky-image*-dev: Add -dev Images contianing headers and libraries

Signed-off-by: Saul Wold <sgw@linux.intel.com>
14 years agostaging: Use relative path in sysroot-destdir for target recipes
Dongxiao Xu [Tue, 18 Jan 2011 08:17:58 +0000 (16:17 +0800)]
staging: Use relative path in sysroot-destdir for target recipes

Original we used absolute path in sysroot-destdir for both native and
target recipes. This commit changes target recipes to use relative path
which is same as the image directory.

[sgw: merged with libtool sysroot work]
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
14 years agodistro tracking: add graphics recipes tracking data
Yu Ke [Thu, 20 Jan 2011 07:24:22 +0000 (15:24 +0800)]
distro tracking: add graphics recipes tracking data

add required filed for package report system to generate
more acurate report

Signed-off-by: Yu Ke <ke.yu@intel.com>
14 years agoREADME.hardware: add beagleboard documentation
Darren Hart [Wed, 19 Jan 2011 19:25:43 +0000 (11:25 -0800)]
README.hardware: add beagleboard documentation

Document the install and boot process for the Beagleboard xM with
provisions for the C4. I need someone with a C4 board to validate
the steps.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Tom Zanussi <tom.zanussi@intel.com>
CC: Bruce Ashfield <bruce.ashfield@windriver.com>
CC: Scott Rifenbark <scott.m.rifenbark@intel.com>
14 years agou-boot-omap3: remove in favor of upstream u-boot
Darren Hart [Wed, 19 Jan 2011 18:17:15 +0000 (10:17 -0800)]
u-boot-omap3: remove in favor of upstream u-boot

This repository is stale, the u-boot_git.bb recipe uses the upstream
repository. Remaining machines using this recipe have already been
converted to using u-boot_git.bb.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Tom Zanussi <tom.zanussi@intel.com>
CC: Bruce Ashfield <bruce.ashfield@windriver.com>
14 years agoovero: use the new upstream u-boot recipe
Darren Hart [Wed, 19 Jan 2011 18:12:49 +0000 (10:12 -0800)]
overo: use the new upstream u-boot recipe

In preparation to remove the u-boot-omap3 recipe, update the overo
machine to use the new upstream u-boot recipe.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Tom Zanussi <tom.zanussi@intel.com>
CC: Bruce Ashfield <bruce.ashfield@windriver.com>
14 years agobeagleboard: add x-load and u-boot depends
Darren Hart [Tue, 18 Jan 2011 00:35:39 +0000 (16:35 -0800)]
beagleboard: add x-load and u-boot depends

The Beagleboard xM requires x-load and u-boot to be installed
on the MMC as it has no NAND (as of rev B and onward).

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Tom Zanussi <tom.zanussi@intel.com>
CC: Bruce Ashfield <bruce.ashfield@windriver.com>
14 years agou-boot: Add a new upstream u-boot recipe
Darren Hart [Wed, 19 Jan 2011 18:07:25 +0000 (10:07 -0800)]
u-boot: Add a new upstream u-boot recipe

uboot-omap3 appears to be fairly stale (last commit in April 2010) while
the upstream u-boot is making regular tagged releases. Add a new recipe
using the upstream u-boot repository.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Tom Zanussi <tom.zanussi@intel.com>
CC: Bruce Ashfield <bruce.ashfield@windriver.com>
14 years agox-load: us TI upstream repository, update recipes accordingly
Darren Hart [Tue, 18 Jan 2011 00:33:04 +0000 (16:33 -0800)]
x-load: us TI upstream repository, update recipes accordingly

TI is now maintaining an upstream x-loader git repository and
sakoman will no longer be maintained. Current upstream
includes signGP and incorporates it into the Makefile. The new
Makefile ift target builds the universal MLO binary. The armv7-a
patch is included.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Tom Zanussi <tom.zanussi@intel.com>
CC: Bruce Ashfield <bruce.ashfield@windriver.com>
14 years agosiggen.py: better print for task hash comparison
Kevin Tian [Thu, 20 Jan 2011 05:54:51 +0000 (13:54 +0800)]
siggen.py: better print for task hash comparison

current bitbake-diffsigs simply print out the whole 'runtaskdeps' when there's mismatch, which
is not very readable. On the other hand, 'runtaskhashes' comparison is broken which assumes
same key existing in two sides. This commit provides better output by figuring out differences
from addition, removal or hash change.

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
14 years agobitbake.conf: add USERNAME to BB_HASHBASE_WHITELIST
Kevin Tian [Thu, 20 Jan 2011 04:57:42 +0000 (12:57 +0800)]
bitbake.conf: add USERNAME to BB_HASHBASE_WHITELIST

previously only USER is in the whitelist, however both are possible on different distros

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
14 years agoresolvconf: upgrade to version 1.48
Qing He [Thu, 20 Jan 2011 08:57:21 +0000 (16:57 +0800)]
resolvconf: upgrade to version 1.48

from 1.43

Signed-off-by: Qing He <qing.he@intel.com>
14 years agozaurusd: upgrade to svn revision 426
Qing He [Thu, 20 Jan 2011 06:41:09 +0000 (14:41 +0800)]
zaurusd: upgrade to svn revision 426

Signed-off-by: Qing He <qing.he@intel.com>
14 years agodbus: upgrade to version 1.4.1
Qing He [Thu, 20 Jan 2011 06:22:37 +0000 (14:22 +0800)]
dbus: upgrade to version 1.4.1

from 1.4.0

Signed-off-by: Qing He <qing.he@intel.com>
14 years agolibnfsidmap: upgrade to version 0.24
Qing He [Thu, 20 Jan 2011 06:03:33 +0000 (14:03 +0800)]
libnfsidmap: upgrade to version 0.24

from 0.23

Signed-off-by: Qing He <qing.he@intel.com>
14 years agocoreutils: upgrade to version 8.9
Qing He [Thu, 20 Jan 2011 06:01:08 +0000 (14:01 +0800)]
coreutils: upgrade to version 8.9

from 8.5

coreutils now depends on gmp

Signed-off-by: Qing He <qing.he@intel.com>
14 years agodistro-tracking: update some tracking fields
Qing He [Thu, 20 Jan 2011 05:54:44 +0000 (13:54 +0800)]
distro-tracking: update some tracking fields

removing some dated items to make the fields more concise.

Signed-off-by: Qing He <qing.he@intel.com>
14 years agopoky-default.inc: bump binutils preferred version to 2.21
Scott Garman [Wed, 22 Dec 2010 20:59:51 +0000 (12:59 -0800)]
poky-default.inc: bump binutils preferred version to 2.21

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
14 years agobinutils: fix library RPATHs
Scott Garman [Tue, 18 Jan 2011 20:02:23 +0000 (12:02 -0800)]
binutils: fix library RPATHs

This integrates the RPATH fixes we recently applied to libtool.

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
14 years agobinutils: Fix QA staging errors for target binutils
Scott Garman [Mon, 17 Jan 2011 23:24:58 +0000 (15:24 -0800)]
binutils: Fix QA staging errors for target binutils

* The spurious paths were caused by a -L on commandline which pointed to
  build dir. So we dont use -L <wordir> -liberty instead use the
  libiberty.a directly on commandline effects are same but .la does not
  have the workdir path in deplibs

Patch obtained from OpenEmbedded, written by Khem Raj.

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
14 years agobinutils: forward-port the binutils-poison.patch
Scott Garman [Wed, 19 Jan 2011 19:24:41 +0000 (11:24 -0800)]
binutils: forward-port the binutils-poison.patch

Update the binutils-poison.patch to apply cleanly on binutils
2.21

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
14 years agobinutils: upgrade to 2.21 and add libtool sysroot support
Scott Garman [Wed, 22 Dec 2010 18:10:33 +0000 (10:10 -0800)]
binutils: upgrade to 2.21 and add libtool sysroot support

* Upgraded binutils to v2.21
* Incorporated libtool sysroot patches from OE
* Removed patches no longer needed or obsoleted by OE patches

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
14 years agoinsane.bbclass: skip checks on .la installed status
Scott Garman [Thu, 6 Jan 2011 16:19:36 +0000 (08:19 -0800)]
insane.bbclass: skip checks on .la installed status

Enabling libtool sysroot support triggers these errors but they
are a valid change in behavior.

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
14 years agostaging.bbclass, utils.bbclass: remove la mangling code
Scott Garman [Wed, 19 Jan 2011 03:58:02 +0000 (19:58 -0800)]
staging.bbclass, utils.bbclass: remove la mangling code

libtool v2.4 --with-libtool-sysroot eliminates the need for
la mangling.

Based on Khem Raj's OE commits.

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
14 years agoautotools.bbclass: libtool sysroot support changes
Scott Garman [Tue, 21 Dec 2010 22:17:58 +0000 (14:17 -0800)]
autotools.bbclass: libtool sysroot support changes

We do not do it for native recipes, as the native compiler should
fall back to a prefix of /usr and not solely depend on the sysroot.
Otherwise we end up staging everything in the native sysroot before
we start to build target recipes.

Also remove la mangling code, which is no longer necessary.

Commit derived from Khem Raj's OE commits.

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
14 years agolibtool: fix library RPATHs
Scott Garman [Wed, 12 Jan 2011 07:20:02 +0000 (23:20 -0800)]
libtool: fix library RPATHs

Enabling sysroot support exposed a bug where the final library
had an RPATH encoded into it which still pointed to the sysroot.
This works around the issue until it gets sorted out upstream.

Fix suggested by Richard Purdie <richard.purdie@linuxfoundation.org>

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
14 years agolibtool: Changes to enable sysroot support
Scott Garman [Tue, 21 Dec 2010 18:46:15 +0000 (10:46 -0800)]
libtool: Changes to enable sysroot support

* Added OE patches by Khem Raj which enable sysroot support
  and rename the command line option --with-sysroot to
  --with-libtool-sysroot to avoid conflicts with binutils and
  gcc
* Removed obsolete cross_compile.patch
* Changed SRC_URI_append to SRC_URI +=
* PR bump for all recipes

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
14 years agolibtool: Move common version specific data to a common include file
Richard Purdie [Wed, 19 Jan 2011 15:43:40 +0000 (15:43 +0000)]
libtool: Move common version specific data to a common include file

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agolibtool: Small cleanups of metadata
Scott Garman [Wed, 19 Jan 2011 15:03:53 +0000 (15:03 +0000)]
libtool: Small cleanups of metadata

[based on sections of a patch by Scott Garman extracted by Richard]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agoqemu: Upgrade from 0.12.4 to 0.13.0
Zhai Edwin [Sat, 15 Jan 2011 08:32:15 +0000 (16:32 +0800)]
qemu: Upgrade from 0.12.4 to 0.13.0

Patch status:
-- Removed --
arm-cp15-fix.patch
arm_timer-fix-oneshot-mode.patch
arm_timer-reload-timer-when-enabled.patch
cursor-shadow-fix.patch
-- They are already in upstream or some new changes make them useless.

-- Added --
parallel_make.patch:     Fix "make -j(>=6)" failure
wacom-tablet-fix.patch:  Fix seg fault of usb tablet.
port92_fix.patch:        Fix boot failure on ppc due to port 0x92 conflict.

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
14 years agodistrodata.bbclass: add .xz file type
Saul Wold [Thu, 20 Jan 2011 23:10:54 +0000 (15:10 -0800)]
distrodata.bbclass: add .xz file type

Signed-off-by: Saul Wold <sgw@linux.intel.com>
14 years agometa-environment: Remove the recursive dependency on do_compile
Dongxiao Xu [Thu, 20 Jan 2011 04:54:48 +0000 (12:54 +0800)]
meta-environment: Remove the recursive dependency on do_compile

It is not needed to have dependency on each do_compile of its recursive
depend tasks.

This problem is triggered by building meta-toolchain-sdk from prebuilt
result. Some packages like quilt-native, which is already been populated
and packaged by do_populate_sysroot_setscene and
do_package_write_xxx_setscene, however this recursive dependency of
do_compile triggers the tasks flow of "do_setscene --> do_fetch -->
do_unpack --> ..." again and do_setscene removes all the quilt-native
files, making the other recipes failed while do_patch.

Thanks for Kevin's help in root causing this issue.

CC: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
14 years agobitbake: fix parameter order for flaglist()
Dongxiao Xu [Thu, 20 Jan 2011 13:02:11 +0000 (21:02 +0800)]
bitbake: fix parameter order for flaglist()

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
14 years agobitbake/providers.py: Fix runtime providers problems
Richard Purdie [Thu, 20 Jan 2011 22:44:33 +0000 (22:44 +0000)]
bitbake/providers.py: Fix runtime providers problems

Take a real world testcase where you have two recipes, each of which
contains PACKAGES_DYNAMIC = "gdk-pixbuf-loaders-*" and recipes which
RDEPEND on some gdk-pixbuf-loaders-xxx package. To select between these
you need to set a PREFERRED_PROVIDER.

These are specified in the PN namespace so the locgical conclusion is
that setting PREFERRED_PROVIDER_gdk-pixbuf = "gtk+" should work. It
doesn't and instead checks crazy things.

The code was correctly finding the two possible providers, gtk+ and
gdk-pixbuf. It was however only accepting PREFERRED_PROVIDER_gtk+
= "gdk-pixbuf" to resolve this problem which reads as the exact
opposite to what was wanted.

This patch changes the code to do something that makes sense. I suspect
that before these changes it was pretty much a null operation rubber
stamping the single provider case. For Poky at least it exposes a few
cases where -nativesdk recipes were providing the same things as their
normal counterparts but these are genuine bugs in the metadata.

I've also attempted to make the multiple provider error message human
readable as I counldn't understand it and I doubt anyone else could
either.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agopoky.conf: Correctly set gdk-pixbuf PREFERRED_PROVIDER
Richard Purdie [Thu, 20 Jan 2011 22:44:11 +0000 (22:44 +0000)]
poky.conf: Correctly set gdk-pixbuf PREFERRED_PROVIDER

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agoopkg: Stop opkg-nativesdk providing update-alternatives-cwrorth and libopkg
Richard Purdie [Thu, 20 Jan 2011 22:43:25 +0000 (22:43 +0000)]
opkg: Stop opkg-nativesdk providing update-alternatives-cwrorth and libopkg

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agoeglibc-package.inc: Stop eglibc-nativesdk providing eglib-thread-db and locale-base-*
Richard Purdie [Thu, 20 Jan 2011 22:42:34 +0000 (22:42 +0000)]
eglibc-package.inc: Stop eglibc-nativesdk providing eglib-thread-db and locale-base-*

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agopoky.conf: Add PREFERRED_PROVIDERs for gdk-pixbuf-loaders after gdk-pixbuf updates
Richard Purdie [Thu, 20 Jan 2011 21:42:32 +0000 (21:42 +0000)]
poky.conf: Add PREFERRED_PROVIDERs for gdk-pixbuf-loaders after gdk-pixbuf updates

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agoapt: fix build issue with gcc dso linking change
Nitin A Kamble [Thu, 20 Jan 2011 00:41:01 +0000 (16:41 -0800)]
apt: 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 agozypper: fix build issue with gcc dso linking change
Nitin A Kamble [Wed, 19 Jan 2011 17:19:27 +0000 (09:19 -0800)]
zypper: 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 agolibzypp: fix build issue with gcc dso linking change
Nitin A Kamble [Wed, 19 Jan 2011 01:21:41 +0000 (17:21 -0800)]
libzypp: 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>