Commit Graph

11031 Commits

Author SHA1 Message Date
Dongxiao Xu 6dc6791536 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>
2011-01-25 12:25:46 +00:00
Dongxiao Xu 7f41f1a888 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>
2011-01-25 12:25:46 +00:00
Jingdong Lu b0df35f47f 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>
2011-01-25 12:25:46 +00:00
Jingdong Lu 562789455d liburi-perl: Rename liburi-perl
Signed-off-by: Jingdong Lu <jingdong.lu@windriver.com>
2011-01-25 12:25:45 +00:00
Mark Hatle 3b37116728 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>
2011-01-25 12:25:45 +00:00
Richard Purdie c0e1272d15 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>
2011-01-25 12:25:45 +00:00
Dexuan Cui 23cb814b27 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>
2011-01-25 12:25:45 +00:00
Dexuan Cui 34729e4f82 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>
2011-01-25 10:59:18 +00:00
Dexuan Cui 46395d4856 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>
2011-01-25 10:59:17 +00:00
Dexuan Cui 7109712a25 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>
2011-01-25 10:59:17 +00:00
Scott Garman beb9166b3a distro_tracking_fields: Updated sudo tracking data
Signed-off-by: Scott Garman <scott.a.garman@intel.com>
2011-01-24 14:48:45 -08:00
Scott Garman 9eb6df725b sudo: upgrade to 1.7.4p6
Addresses CVE-2011-0010

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
2011-01-24 14:48:44 -08:00
Saul Wold c52e13a5a6 beagleboard: Not ready for 2.6.37 kernel yet, use stable instead
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-01-24 14:42:55 -08:00
Bruce Ashfield 5233908cd8 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>
2011-01-24 14:42:55 -08:00
Bruce Ashfield 97cb3124ec 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>
2011-01-24 14:42:55 -08:00
Saul Wold e144427cb9 update-rc.d.bbclass: Changed RDEPENDS for native
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-01-24 14:09:14 -08:00
Darren Hart 94629f2521 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>
2011-01-24 14:09:13 -08:00
Scott Garman 75748b6f09 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>
2011-01-24 14:09:13 -08:00
Bruce Ashfield aee1d50802 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>
2011-01-24 14:09:13 -08:00
Bruce Ashfield 575d8bf637 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>
2011-01-24 14:09:13 -08:00
Bruce Ashfield e1c7800012 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>
2011-01-24 14:09:13 -08:00
Zhai Edwin d47d9aa5ac distro tracking: Add more info for qemu, gdk-pixbuf...., after last interation
of upgrade

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
2011-01-24 14:09:13 -08:00
Paul Eggleton 3b980c5749 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>
2011-01-24 14:09:13 -08:00
Paul Eggleton a377ce0a80 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>
2011-01-24 14:09:12 -08:00
Qing He a9cb5cb041 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>
2011-01-24 14:09:12 -08:00
Qing He 8ee25e2462 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>
2011-01-24 14:09:12 -08:00
Qing He 036e4a920f 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>
2011-01-24 14:09:12 -08:00
Nitin A Kamble ff02b36428 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>
2011-01-24 14:09:12 -08:00
Nitin A Kamble 6281264ebe 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>
2011-01-24 14:09:12 -08:00
Nitin A Kamble 1ef70572f9 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>
2011-01-24 14:09:12 -08:00
Scott Garman 57392afdbb 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>
2011-01-24 14:09:11 -08:00
Richard Purdie 74783fec56 bitbake/utils: Ignore OSError in unlockfile
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-01-24 14:26:50 +00:00
Richard Purdie a3cb784945 Drop remaining bootcdx86 references, the -live images for qemux86 and atom-pc replace this
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-01-24 14:07:13 +00:00
Richard Purdie 070b7ee367 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>
2011-01-21 16:47:01 +00:00
Dongxiao Xu 9e7eb5955a 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>
2011-01-21 16:44:09 +00:00
Richard Purdie f3677d679e glib-2.0: Add missing DEPENDS on dbus
Signed-off-by: Richard  Purdie <richard.purdie@linuxfoundation.org>
2011-01-21 13:37:30 +00:00
Richard Purdie 6702c43f87 dbus: Drop now unneeded DEPENDS on glib-2.0
Signed-off-by: Richard  Purdie <richard.purdie@linuxfoundation.org>
2011-01-21 13:37:15 +00:00
Richard Purdie e40c2cabaa util-linux: Drop now unneeded DEPENDS on udev
Signed-off-by: Richard  Purdie <richard.purdie@linuxfoundation.org>
2011-01-21 13:36:43 +00:00
Saul Wold daabbc6306 poky-image*-dev: Add -dev Images contianing headers and libraries
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-01-21 11:18:37 +00:00
Dongxiao Xu bc9d2fbfd4 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>
2011-01-21 11:18:37 +00:00
Yu Ke b1025bd538 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>
2011-01-21 11:18:36 +00:00
Darren Hart 0ca738448f 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>
2011-01-21 11:18:36 +00:00
Darren Hart 5da38d224e 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>
2011-01-21 11:18:36 +00:00
Darren Hart f1902976e5 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>
2011-01-21 11:18:36 +00:00
Darren Hart fb07e93b8e 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>
2011-01-21 11:18:36 +00:00
Darren Hart f2dc7fadd8 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>
2011-01-21 11:18:36 +00:00
Darren Hart b6cbf223d8 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>
2011-01-21 11:18:35 +00:00
Kevin Tian bcb1873836 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>
2011-01-21 01:36:17 -08:00
Kevin Tian 6299e9664f 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>
2011-01-21 01:36:17 -08:00
Qing He 1c0f01f602 resolvconf: upgrade to version 1.48
from 1.43

Signed-off-by: Qing He <qing.he@intel.com>
2011-01-21 01:36:17 -08:00