scm/bb/tizen-distro.git
13 years agometa-toolchain: Update the way ld.so.cache is handled
Richard Purdie [Wed, 13 Oct 2010 16:41:29 +0000 (17:41 +0100)]
meta-toolchain: Update the way ld.so.cache is handled

Fix the library search path so that libs in the toolchain in /opt/
have priority over those in base system but ones from the base system
can still be found.

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
13 years agosanity.bbclass: ensure 32it libc is correctly detected
Joshua Lock [Wed, 13 Oct 2010 12:24:09 +0000 (13:24 +0100)]
sanity.bbclass: ensure 32it libc is correctly detected

Fix to work for both Ubuntu and Fedora multilib paths.

Fixes [BUGID #454]

Signed-off-by: Joshua Lock <josh@linux.intel.com>
13 years agopoky-qemu-internal: enforce a 128M memory limit for qemuarm
Scott Garman [Tue, 12 Oct 2010 16:07:09 +0000 (09:07 -0700)]
poky-qemu-internal: enforce a 128M memory limit for qemuarm

This fixes [BUGID #433]

Also set a sane default for the ifconfig command, which simplifies
our autobuilder sanity test setup.

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
13 years agorm_work: Fix interaction issues with pseudo
Richard Purdie [Tue, 12 Oct 2010 14:52:07 +0000 (15:52 +0100)]
rm_work: Fix interaction issues with pseudo

This class needs to wipe out the contents of the pseudo database but also
ensure the pseudo directory exists for any subsequent tasks and also ensure
any pseudo server has shut down before removing the database. This patch
does all of these things.

[BUGID #222]

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
13 years agopoky-default-revisions: fixups
Joshua Lock [Tue, 12 Oct 2010 12:35:37 +0000 (13:35 +0100)]
poky-default-revisions: fixups

Entries should be alphabetised and use weak weak assignment

Signed-off-by: Joshua Lock <josh@linux.intel.com>
13 years agoswabber: new recipe
Joshua Lock [Fri, 8 Oct 2010 15:54:57 +0000 (16:54 +0100)]
swabber: new recipe

Signed-off-by: Joshua Lock <josh@linux.intel.com>
13 years agostrace: use BBCLASSEXTEND to enable a native package
Joshua Lock [Fri, 8 Oct 2010 15:54:48 +0000 (16:54 +0100)]
strace: use BBCLASSEXTEND to enable a native package

Signed-off-by: Joshua Lock <josh@linux.intel.com>
13 years agobitbake/runqueue: make the runtask program configurable
Joshua Lock [Fri, 8 Oct 2010 15:54:19 +0000 (16:54 +0100)]
bitbake/runqueue: make the runtask program configurable

Signed-off-by: Joshua Lock <josh@linux.intel.com>
13 years agoUpdate gitignore
Joshua Lock [Fri, 8 Oct 2010 15:53:51 +0000 (16:53 +0100)]
Update gitignore

Signed-off-by: Joshua Lock <josh@linux.intel.com>
13 years agoAdd recipe for sdk directdisk target
Jessica Zhang [Mon, 11 Oct 2010 22:33:36 +0000 (15:33 -0700)]
Add recipe for sdk directdisk target

Signed-off-by: Jessica Zhang <jessica.zhang@intel.com>
13 years agolinux-wrs: add initial beagleboard support
Bruce Ashfield [Sun, 10 Oct 2010 19:25:59 +0000 (15:25 -0400)]
linux-wrs: add initial beagleboard support

BUGID: 421

Create the infrastructure to build the beagleboard against the
linux-wrs kernel.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
13 years agompc8315e-rdb: create machine and tuning configuration
Bruce Ashfield [Mon, 11 Oct 2010 04:26:12 +0000 (00:26 -0400)]
mpc8315e-rdb: create machine and tuning configuration

BUGID: 423

Introduce the basic mpc8315e BSP. By default this BSP uses
the basic 603 tuning and soft-float. There are issues with
the e300 tuning and eglibc, and the compiler. Subsequent
commits will further tune this BSP.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
13 years agorouterstationpro: create machine conf and compatibility
Bruce Ashfield [Sun, 10 Oct 2010 18:11:07 +0000 (14:11 -0400)]
routerstationpro: create machine conf and compatibility

BUGID: 422

Add the machine configuration and kernel infrastructure for building
the routerstation pro BSP.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
13 years agopython: fix for host contamination issue while cross compiling
Nitin A Kamble [Mon, 11 Oct 2010 21:33:54 +0000 (14:33 -0700)]
python: fix for host contamination issue while cross compiling

This fixes [BUGID #385]

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
13 years agoxpsb-glx: Fix compile issues on 64 bit machines without 32 bit headers/binaries
Richard Purdie [Mon, 11 Oct 2010 21:44:25 +0000 (22:44 +0100)]
xpsb-glx: Fix compile issues on 64 bit machines without 32 bit headers/binaries

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
13 years agopoky-qemu: fix for handling full path to rootfs
Scott Garman [Mon, 11 Oct 2010 20:12:51 +0000 (13:12 -0700)]
poky-qemu: fix for handling full path to rootfs

This fixes [BUGID #427]

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
13 years agoqemugl: remove obsolate /usr/X11R6/lib lib directory
Yu Ke [Sat, 9 Oct 2010 01:47:52 +0000 (09:47 +0800)]
qemugl: remove obsolate /usr/X11R6/lib lib directory

qemugl makefile has "-L/usr/X11R6/lib" to specifiy the X lib dir.
it is actually obsolate in poky now, because poky use Xserver from
X.org (X11R7.x), and its libs are in standard /usr/lib.

Meanwhile,the -L/usr/X11R6/lib will cause warning: library search path
"/usr/X11R6/lib" is unsafe for cross-compilation. so better to remove it.

Fix [BUGID #386]

Signed-off-by: Yu Ke <ke.yu@intel.com>
13 years agorecipes-connectivity: Cleanup package descriptions and summaries
Mark Hatle [Tue, 28 Sep 2010 14:30:42 +0000 (09:30 -0500)]
recipes-connectivity: Cleanup package descriptions and summaries

[BUGID #281]

Evaluate and update each package in recipes-connectivity to ensure they
have a consistent summary and description.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
13 years agorecipes-bsp: Cleanup package descriptions and summaries
Mark Hatle [Tue, 28 Sep 2010 00:11:11 +0000 (19:11 -0500)]
recipes-bsp: Cleanup package descriptions and summaries

[BUGID #281]

Evaluate and update each package in recipes-bsp to ensure they have a
consistent summary and description.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
13 years agorecipes-core: Cleanup package descriptions and summaries
Mark Hatle [Mon, 27 Sep 2010 14:44:05 +0000 (09:44 -0500)]
recipes-core: Cleanup package descriptions and summaries

[BUGID #281]

Evaluate and update each package in recipes-core to ensure they have a
consistent summary and description.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
13 years agoAdd Summary/Description support to packaging
Mark Hatle [Wed, 29 Sep 2010 15:11:24 +0000 (10:11 -0500)]
Add Summary/Description support to packaging

[BUGID #281]

Add the ability for the deb, ipk and rpm classes to use the new summary
and description fields.  The Description is wrapped around 75 characters
to ensure a reasonably nice, presentable description.

(Summary defaults to the description if Summary is not defined.)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
13 years agoSubject: [PATCH] emenlow: add kernel config options for sdk tools
Tom Zanussi [Mon, 11 Oct 2010 15:18:32 +0000 (10:18 -0500)]
Subject: [PATCH] emenlow: add kernel config options for sdk tools

Fixes [BUGID #261]

Adds kernel config options for latencytop, powertop, oprofile, and
lttng.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
13 years agoemenlow: fix SRC_URI in linux-wrs_git.bbappend
Tom Zanussi [Mon, 11 Oct 2010 15:16:25 +0000 (10:16 -0500)]
emenlow: fix SRC_URI in linux-wrs_git.bbappend

Restrict it to emenlow so it doesn't conflict with other machines.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
13 years agolinux-wrs/emenlow: Fix FILESPATH so as not to corrupt other machines
Richard Purdie [Mon, 11 Oct 2010 13:32:16 +0000 (14:32 +0100)]
linux-wrs/emenlow: Fix FILESPATH so as not to corrupt other machines

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
13 years agolinux-wrs: move config fragment to the correct location
Richard Purdie [Mon, 11 Oct 2010 13:32:01 +0000 (14:32 +0100)]
linux-wrs: move config fragment to the correct location

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
13 years agobitbake/build.py: Write logfiles on a per task basis, not per function
Richard Purdie [Mon, 11 Oct 2010 11:53:54 +0000 (12:53 +0100)]
bitbake/build.py: Write logfiles on a per task basis, not per function

Per function logging made it hard to track down what was happening so
switch to logging on a per task basis.

[BUGID #383]

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
13 years agobitbake-runtask: Ensure logging options are inherited from the parent
Richard Purdie [Mon, 11 Oct 2010 11:52:57 +0000 (12:52 +0100)]
bitbake-runtask: Ensure logging options are inherited from the parent

[BUGID #291]

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
13 years agolinux-wrs: Change the kernel configuration to enable psplash.
Kevin Tian [Sat, 9 Oct 2010 05:00:28 +0000 (13:00 +0800)]
linux-wrs: Change the kernel configuration to enable psplash.

Init scripts assume uvesafb as module, and also need CONFIG_FRAMEBUFFER_CONSOLE
to set some mode parameter, else wrong parameter cause psplash's mmap failure.

This is just a quick fix as we don't know how to change the wrs kernel config
in a clean way. Should revert it with clean way of changing.

[BUGID #363] fixed by this

Signed-off-by: Tian Kevin <kevin.tian@intel.com>
Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
13 years agoconnman: Do not take over ethernet interface if target is boot by nfs
Dongxiao Xu [Mon, 11 Oct 2010 07:48:03 +0000 (15:48 +0800)]
connman: Do not take over ethernet interface if target is boot by nfs

Detect if target system is booting by nfs, connman will
not take over the ethernet interface.

This fixes [BUGID #364]

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
13 years agorootfs: Update ROOTFS_PKGMANAGE to include atp/zypper
Richard Purdie [Mon, 11 Oct 2010 11:18:02 +0000 (12:18 +0100)]
rootfs: Update ROOTFS_PKGMANAGE to include atp/zypper

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
13 years agopackage_rpm: Disable nativesdk/canadian package indexes for now as these are being...
Richard Purdie [Mon, 11 Oct 2010 11:13:43 +0000 (12:13 +0100)]
package_rpm: Disable nativesdk/canadian package indexes for now as these are being incorrectly used for target rootfs generation, breaking the images

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
13 years agodpkg-native: Don't install update-alternatives as it isn't cross rootfs capable
Richard Purdie [Mon, 11 Oct 2010 10:44:42 +0000 (11:44 +0100)]
dpkg-native: Don't install update-alternatives as it isn't cross rootfs capable

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
13 years agodpkg: fix package_deb error for linux-wrs
Dongxiao Xu [Sat, 9 Oct 2010 05:40:51 +0000 (13:40 +0800)]
dpkg: fix package_deb error for linux-wrs

The new dpkg will report linux-wrs version parse error,
since there is a '_' inside. This patch fixes this issue.

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
13 years agolinux-wrs: emenlow has its own branch, use it
Richard Purdie [Sat, 9 Oct 2010 17:12:37 +0000 (18:12 +0100)]
linux-wrs: emenlow has its own branch, use it

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
13 years agobitbake/fetch: Ensure SRCREV is still set correctly if the pn-X override has been...
Richard Purdie [Sat, 9 Oct 2010 16:24:16 +0000 (17:24 +0100)]
bitbake/fetch: Ensure SRCREV is still set correctly if the pn-X override has been expanded

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
13 years agobase.bbclass: Fix spelling mistakes and change log level
Richard Purdie [Sat, 9 Oct 2010 15:25:03 +0000 (16:25 +0100)]
base.bbclass: Fix spelling mistakes and change log level

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
13 years agopoky-default-revisions.inc: Work around weak assignment operator bad interaction...
Richard Purdie [Sat, 9 Oct 2010 15:24:30 +0000 (16:24 +0100)]
poky-default-revisions.inc: Work around weak assignment operator bad interaction with SRCREV

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
13 years agolinux-wrs/emenlow: Set WRMACHINE
Richard Purdie [Sat, 9 Oct 2010 15:23:12 +0000 (16:23 +0100)]
linux-wrs/emenlow: Set WRMACHINE

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
13 years agoatom-pc: Switch from linux-netbook to linux-wrs
Richard Purdie [Sat, 9 Oct 2010 15:00:57 +0000 (16:00 +0100)]
atom-pc: Switch from linux-netbook to linux-wrs

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
13 years agoemenlow: switch kernel from "linux" to "linux-wrs"
Tom Zanussi [Tue, 5 Oct 2010 00:16:54 +0000 (19:16 -0500)]
emenlow: switch kernel from "linux" to "linux-wrs"

Fixes [BUGID #396]

Make the emenlow machine point to the windriver kernel instead.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
13 years agoemenlow: remove psb-kernel-source dependency from xserver-psb package
Tom Zanussi [Tue, 5 Oct 2010 00:11:54 +0000 (19:11 -0500)]
emenlow: remove psb-kernel-source dependency from xserver-psb package

Fixes [BUGID #396]

With the switchover to linux-wrs, xserver-psb no longer depends on the
external modules contained in psb-kernel-source (which have been moved
in-tree).

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
13 years agoemenlow: add linux-wrs_git.bbappend
Tom Zanussi [Thu, 7 Oct 2010 13:27:03 +0000 (08:27 -0500)]
emenlow: add linux-wrs_git.bbappend

Fixes [BUGID #396]

Add emenlow as a compatible machine for linux-wrs and pick up the
defconfig (which will be pared down if necessary in a later patch).

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
13 years agoatom-pc: enable CONFIG_FRAMEBUFFER_CONSOLE
Darren Hart [Sat, 9 Oct 2010 06:48:37 +0000 (23:48 -0700)]
atom-pc: enable CONFIG_FRAMEBUFFER_CONSOLE

Add CONFIG_FRAMEBUFFER_CONSOLE to the i915.cfg config fragment for
the atom-pc machine. This allows the BlackSand to boot to the sato
desktop with text after the fb switch as well as the poky splash
screen.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Tom Zanussi <tom.zanussi@intel.com>
CC: Bruce Ashfield <bruce.ashfield@windriver.com>
CC: Richard Purdie <rpurdie@linux.intel.com>
13 years agoAdd default revision for linux-wrs common_pc-standard HEAD
Darren Hart [Fri, 8 Oct 2010 21:38:24 +0000 (14:38 -0700)]
Add default revision for linux-wrs common_pc-standard HEAD

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
13 years agoatom-pc: 8250 config fragment
Darren Hart [Mon, 4 Oct 2010 10:27:59 +0000 (03:27 -0700)]
atom-pc: 8250 config fragment

Add serial port support for atom-pc.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
13 years agolinux-wrs: Add support for atom-pc
Darren Hart [Wed, 29 Sep 2010 08:47:22 +0000 (01:47 -0700)]
linux-wrs: Add support for atom-pc

Add the option of using linux-wrs as the kernel provider for atom-pc. This
patch uses poky to apply config fragments to the common_pc-standard branch
of the linux-wrs kernel. A follow-on patch will remove these once linux-wrs
has an atom-pc branch and the config fragments are present in the kernel
repository.

This configuration boots to a prompt on the BlackSand, but panics unable
to find the root partition on the Toshiba NB305 where the "rootwait"
kernel boot option appears to be being ignored.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
13 years agodpkg: upgrade to version 1.15.8.5
Dongxiao Xu [Fri, 8 Oct 2010 16:35:01 +0000 (00:35 +0800)]
dpkg: upgrade to version 1.15.8.5

Rebase several patches to fit the latest version
Fix a compile issue related with snprintf.
dpkg: bump PR

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Saul Wold <Saul.Wold@intel.com>
13 years agoudev: Don't install unused links.conf file (thanks Joe Sauer for spotting)
Richard Purdie [Sat, 9 Oct 2010 14:08:09 +0000 (15:08 +0100)]
udev: Don't install unused links.conf file (thanks Joe Sauer for spotting)

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
13 years agogettext: Move files to the correct place
Richard Purdie [Sat, 9 Oct 2010 14:05:09 +0000 (15:05 +0100)]
gettext: Move files to the correct place

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
13 years agolinux-wrs: fix emenlow and wrs_meta SRCREV values
Bruce Ashfield [Sat, 9 Oct 2010 02:40:09 +0000 (22:40 -0400)]
linux-wrs: fix emenlow and wrs_meta SRCREV values

Fixes [BUGID #395, #396]

The initial commit for emenlow support dropped a character on the
SRCREV and missed the wrs_meta update. this fixes both those issues.

There are still pending commits and issues with emenlow support, but
these values are wrong and should be fixed now.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
13 years agodistro_tracking_fields: remove the duplicate line for oprofile
Dexuan Cui [Sat, 9 Oct 2010 06:16:31 +0000 (14:16 +0800)]
distro_tracking_fields: remove the duplicate line for oprofile

In the same file, there is alrealy a line for oprofile.

Also add an empty line before oprofileui.

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
13 years agoattr: fix the hardcoded search path in the AC_PATH_PROG
Dexuan Cui [Sat, 9 Oct 2010 04:41:39 +0000 (12:41 +0800)]
attr: fix the hardcoded search path in the AC_PATH_PROG

We should respect $PATH.

The patch is from Qing.

Fixes [BUGID #369].
BTW: the bug was triggered on a build host that didn't install gettext.

Signed-off-by: Qing He <qing.he@intel.com>
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
13 years agopoky-qemu-internal: implement file locking in bash
Scott Garman [Fri, 8 Oct 2010 21:40:47 +0000 (14:40 -0700)]
poky-qemu-internal: implement file locking in bash

There does not appear to be a universal lockfile utility that
meets our needs. For example:

* 'lockfile' is part of the procmail pacakge in Ubuntu, a
  requirement we don't want to impose on our users
* lockfile-[create|remove] from the Ubuntu lockfile-progs
  package does not appear to be available in Fedora/openSUSE

So, the most portable way to do this is just to implement it
in bash. The likelihood of race conditions is minimal for
what we need this for.

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
13 years agopoky-qemu: fix handling of some rootfs types
Scott Garman [Fri, 8 Oct 2010 17:14:14 +0000 (10:14 -0700)]
poky-qemu: fix handling of some rootfs types

This allows the user to specify a rootfs type
(e.g, poky-image-sato) without typing out the full filename
and path (assuming we can infer a valid MACHINE and FSTYPE).

This fixes [BUGID #415]

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
13 years agorootfs_deb: Fix problem with pseduo and rootfs location
Saul Wold [Fri, 8 Oct 2010 18:46:10 +0000 (11:46 -0700)]
rootfs_deb: Fix problem with pseduo and rootfs location

This address [BUGID #401] to complete dpkg rootfs support

Signed-off-by: Saul Wold <Saul.Wold@intel.com>
13 years agodpkg: upgrade to version 1.15.8.5
Dongxiao Xu [Fri, 8 Oct 2010 16:35:01 +0000 (00:35 +0800)]
dpkg: upgrade to version 1.15.8.5

Rebase several patches to fit the latest version
Fix a compile issue related with snprintf.
Reset PR in dpkg.inc

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Saul Wold <Saul.Wold@intel.com>
13 years agoRename MACHINE=netbook to MACHINE=atom-pc
Darren Hart [Thu, 7 Oct 2010 20:04:23 +0000 (13:04 -0700)]
Rename MACHINE=netbook to MACHINE=atom-pc

In preparation for the more generic atom-pc, rename the netbook machine and all
the relevant overrides. Leave the linux-netbook kernel recipe intact and as the
default kernel for the atom-pc machine.  A future patch will convert this over
to linux-wrs and likely remove the linux-netbook kernel recipe.

Cc: Tom Zanussi <tom.zanussi@intel.com>
Cc: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
13 years agogststream commercial: modified recipes and tasks to add commercial identifier
Saul Wold [Fri, 8 Oct 2010 06:39:04 +0000 (23:39 -0700)]
gststream commercial: modified recipes and tasks to add commercial identifier

Modified DEPENDS and RDEPENDS in these recipes and tasks to make packages
which have potential license implications opt in through options in
poky/local.conf.

Signed-off-by: Saul Wold <Saul.Wold@intel.com>
13 years agobase.bbclass: add support for commercial license check
Saul Wold [Fri, 8 Oct 2010 06:35:26 +0000 (23:35 -0700)]
base.bbclass: add support for commercial license check

This addresses [BUGID #410], require implict action by someone to enable
functionality that may have license implications.

By default this diables mp3 and mpeg decoding

Signed-off-by: Saul Wold <Saul.Wold@intel.com>
13 years agogettext: Add GPLv2 version 0.14.1
Saul Wold [Thu, 12 Aug 2010 19:47:17 +0000 (12:47 -0700)]
gettext: Add GPLv2 version 0.14.1

Signed-off-by: Saul Wold <Saul.Wold@intel.com>
13 years agometa-toolchain: Fix symlink path
Richard Purdie [Fri, 8 Oct 2010 15:42:42 +0000 (16:42 +0100)]
meta-toolchain: Fix symlink path

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
13 years agometa-toolchain: Fix libGL.so not found issues
Richard Purdie [Fri, 8 Oct 2010 14:20:42 +0000 (15:20 +0100)]
meta-toolchain: Fix libGL.so not found issues

Fix libGL.so not found issues by making sure ld.so.cache from the host system
is used to locate libraries.

Also, fix a /usr/ reference that should be /var to keep the installation
tarball clean.

[BUGID #228]

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
13 years agounfs-server: Fix DEPENDS for native/nativesdk cases
Richard Purdie [Thu, 7 Oct 2010 22:40:05 +0000 (23:40 +0100)]
unfs-server: Fix DEPENDS for native/nativesdk cases

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
13 years agolibc-package.bbclass, eglibc, glibc: enable locales generation using cross-localedef
Nitin A Kamble [Mon, 4 Oct 2010 20:31:23 +0000 (13:31 -0700)]
libc-package.bbclass, eglibc, glibc: enable locales generation using cross-localedef

Along with qemu this provides another option to generate locales for
[e]glibc. The new method is to use cross-localedef with appropriate arch
specific parameters.

The cross-localedef method is found to be 15 times faster than qemu's
emnualted method.

LOCALE_GENERATION_WITH_CROSS-LOCALEDEF : This is new config variable
introduced to selet qemu or cross-localedef method for locale generation.

Thanks to Mark Hatle from Windriver for providing the rich
information for cross locale generation.

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
13 years agocross-localedef-native: tool for cross generation of locales
Nitin A Kamble [Mon, 4 Oct 2010 20:29:44 +0000 (13:29 -0700)]
cross-localedef-native: tool for cross generation of locales

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
13 years agoUpdate meta-ide-support dependencies
Scott Garman [Thu, 7 Oct 2010 20:45:20 +0000 (13:45 -0700)]
Update meta-ide-support dependencies

Using poky-qemu with our new tap networking and/or unfs support
required too many additional build steps. This updates the
meta-ide-support dependencies so all features are built and
available to use.

Specifically, this adds psuedo-native, qemu-helper-native, and
unfs-server-native to the dependency chain for meta-ide-support.

This fixes [BUGID #392]

Also add poky-gen-tapdevs and remove runqemu-nfs from the
qemu-helper-native recipe, and update some qemu control script
error messages to suggest building meta-ide-support.

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
13 years agopoky-fixed-revisions.inc: Clean up pointless PREFERRED_VERSION statements
Richard Purdie [Thu, 7 Oct 2010 20:51:29 +0000 (21:51 +0100)]
poky-fixed-revisions.inc: Clean up pointless PREFERRED_VERSION statements

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
13 years agolibrsvg: Drop old versions
Richard Purdie [Thu, 7 Oct 2010 20:44:48 +0000 (21:44 +0100)]
librsvg: Drop old versions

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
13 years agopulseaudio: Add back after it was lost in meta-moblin removal (and dependencies)
Richard Purdie [Thu, 7 Oct 2010 20:38:47 +0000 (21:38 +0100)]
pulseaudio: Add back after it was lost in meta-moblin removal (and dependencies)

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
13 years agopoky-default-revisions.inc: Move SRCREV settings into this file
Richard Purdie [Thu, 7 Oct 2010 20:24:11 +0000 (21:24 +0100)]
poky-default-revisions.inc: Move SRCREV settings into this file

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
13 years agoMerge runqemu features into poky-qemu
Scott Garman [Tue, 5 Oct 2010 04:04:15 +0000 (21:04 -0700)]
Merge runqemu features into poky-qemu

This merges the functionality of the runqemu script into poky-qemu.
It also removes the requirement to order command line args to poky-qemu
in any particular order.

This fixes a slew of runqemu-related bugs by making the runqemu script
obsolete (and fixing the issues in the new poky-qemu), including
[BUGID #294] [BUGID #295] [BUGID #371] and [BUGID #324].

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
13 years agoAllow running of multiple QEMU nfs instances
Scott Garman [Mon, 4 Oct 2010 04:16:24 +0000 (21:16 -0700)]
Allow running of multiple QEMU nfs instances

These changes allow multiple instances of the userspace NFS server
to run, when brought up by consecutive instances of the poky-qemu
control script.

This fixes [BUGID #393]

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
13 years agopoky-gen-tapdevs: script to create a 'bank' of tap interfaces
Scott Garman [Fri, 1 Oct 2010 03:39:26 +0000 (20:39 -0700)]
poky-gen-tapdevs: script to create a 'bank' of tap interfaces

This script can be used to create and configure a 'bank' of tap
interfaces that can be used by the poky-qemu script.

It is useful in locked-down enterprise environments where developers
do not have sudo access, but need to be able to run QEMU with
networking. A sysadmin would then use this script to bring up a
number of tap interfaces for the user to make use of.

This fixes [BUGID #391]

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
13 years agopoky-qemu-internal: use lockfile-progs for network interface locking
Scott Garman [Wed, 29 Sep 2010 01:58:33 +0000 (18:58 -0700)]
poky-qemu-internal: use lockfile-progs for network interface locking

The 'lockfile' utility originally used comes from the procmail
package, which users shouldn't have to install. This uses the
more general lockfile-progs utilities to acheive the same end.

This fixes [BUGID #389]

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
13 years agopoky-qemu: integrate userspace nfsroot support
Scott Garman [Tue, 28 Sep 2010 23:23:54 +0000 (16:23 -0700)]
poky-qemu: integrate userspace nfsroot support

This is the first phase of some refactoring the poky-qemu control
scripts are getting. This integrates userspace nfsroot support into
poky-qemu, making runqemu-nfs obsolete.

This fixes [BUGID #295]

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
13 years agopoky-qemu-ifup/ifdown: Require root privileges to run
Scott Garman [Mon, 4 Oct 2010 04:39:14 +0000 (21:39 -0700)]
poky-qemu-ifup/ifdown: Require root privileges to run

This fixes [BUGID #232], requiring root privileges to run these scripts
and giving an error prompt when that requirement is not met.

The tunctl uid fallback code has also been removed, as we can rely on
the specific version of tunctl run from the native sysroot.

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
13 years agokern_tools: update SRCREV for defconfig fixes
Bruce Ashfield [Wed, 6 Oct 2010 03:44:59 +0000 (23:44 -0400)]
kern_tools: update SRCREV for defconfig fixes

Fixes [BUGID #399]

During BSP work it was noticed that some defconfigs weren't being
pulled into BSPs. This was due to a bad test that ended up
allowing a defconfig to exclude itself. The test has been tightened
to only kernel feature files, and defconfigs are now always
pulled in.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
13 years agoxf86-video-intel_git: fix COMPATIBLE_HOST definition
Nitin A Kamble [Mon, 4 Oct 2010 23:00:41 +0000 (16:00 -0700)]
xf86-video-intel_git: fix COMPATIBLE_HOST definition

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
13 years agosyslinux: fix COMPATIBLE_HOST definition
Nitin A Kamble [Mon, 4 Oct 2010 23:00:16 +0000 (16:00 -0700)]
syslinux: fix COMPATIBLE_HOST definition

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
13 years agonasm: fix COMPATIBLE_HOST definition
Nitin A Kamble [Mon, 4 Oct 2010 22:59:50 +0000 (15:59 -0700)]
nasm: fix COMPATIBLE_HOST definition

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
13 years agolibacpi: fix COMPATIBLE_HOST definition
Nitin A Kamble [Mon, 4 Oct 2010 22:59:07 +0000 (15:59 -0700)]
libacpi: fix COMPATIBLE_HOST definition

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
13 years agoformfactor: mv emenlow formfactor config to machconfig
Saul Wold [Wed, 6 Oct 2010 16:22:10 +0000 (09:22 -0700)]
formfactor: mv emenlow formfactor config to machconfig

Fixes [BUGID #398]

Signed-off-by: Saul Wold <Saul.Wold@intel.com>
13 years agobitbake/runqueue.py: Fix invalid variable reference fixing the -f option with setscen...
Richard Purdie [Thu, 7 Oct 2010 14:45:02 +0000 (15:45 +0100)]
bitbake/runqueue.py: Fix invalid variable reference fixing the -f option with setscene tasks

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
13 years agosstate: Fix SSTAGE_MIRRORS handling and improve example in local.conf.sample
Richard Purdie [Thu, 7 Oct 2010 14:42:56 +0000 (15:42 +0100)]
sstate: Fix SSTAGE_MIRRORS handling and improve example in local.conf.sample

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
13 years agobitbake/fetch/__init__.py: Abstract mirror variable handling and enhance to accept...
Richard Purdie [Thu, 7 Oct 2010 14:42:15 +0000 (15:42 +0100)]
bitbake/fetch/__init__.py: Abstract mirror variable handling and enhance to accept \n delimitation in variables

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
13 years agorootfs_rpm: Add lock file in the rpm deploy directory to allow mutliple rootfs creati...
Richard Purdie [Thu, 7 Oct 2010 14:41:17 +0000 (15:41 +0100)]
rootfs_rpm: Add lock file in the rpm deploy directory to allow mutliple rootfs creation tasks to coexist without breaking each other

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
13 years agogcc: Fix c++ search path for target system compiler making everything consistent
Richard Purdie [Thu, 7 Oct 2010 10:06:32 +0000 (11:06 +0100)]
gcc: Fix c++ search path for target system compiler making everything consistent

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
13 years agolocal.conf.sample: Until bug 227 is resolved, ipk packaging is needed for meta-toolch...
Richard Purdie [Thu, 7 Oct 2010 09:23:30 +0000 (10:23 +0100)]
local.conf.sample: Until bug 227 is resolved, ipk packaging is needed for meta-toolchain so enable by default

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
13 years agoExport ALL_PROXY for bitbake commands
Darren Hart [Wed, 29 Sep 2010 08:42:42 +0000 (01:42 -0700)]
Export ALL_PROXY for bitbake commands

We already export http,ftp,https proxy environment variables. Some environments,
GNOME for instance, place the socks proxy in ALL_PROXY and all_proxy. Export it
as well.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
13 years agohandbook: corrent RRECOOMENDS spelling in ref-variables
Darren Hart [Wed, 6 Oct 2010 18:29:28 +0000 (11:29 -0700)]
handbook: corrent RRECOOMENDS spelling in ref-variables

Correct MACHINE_EXTRA_ESSENTIAL_RRECOOMENDS to
MACHINE_EXTRA_ESSENTIAL_RRECOMMENDS.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
13 years agopseudo: Update to the latest version of pseudo
Mark Hatle [Wed, 6 Oct 2010 23:48:16 +0000 (18:48 -0500)]
pseudo: Update to the latest version of pseudo

[BUGID #403]

The latest version of pseudo has a workaround for an extended attribute
problem that may show up with certain configurations of modern coreutils.

Specifically cp -p does not use chmod to change the permissions, but instead
uses fsetxattr to change the permissions.  fsetxattr (and extended attributes)
are not supported within pseudo.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
13 years agoqt4-tools-native: Fix compile failures
Richard Purdie [Wed, 6 Oct 2010 14:17:14 +0000 (15:17 +0100)]
qt4-tools-native: Fix compile failures

fontconfig/freetype are not listed in the dependencies, neither are any of the
X components yet this recipe appears to be building the whole UI framework, not
just the tools.

It turns out this is a dependency for uic3 and qdbus. Since at this time we don't
require these, remove them from the build.

Its likely cross versions of those specific tools would need to be added due to
their dependency on the windowing system compilation.

[BUGID #390]

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
13 years agobitbake/sstate: Implement a lookup function to speed up setscene processing
Richard Purdie [Tue, 5 Oct 2010 21:21:34 +0000 (22:21 +0100)]
bitbake/sstate: Implement a lookup function to speed up setscene processing

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
13 years agoRevert "classes: Disable setscene tasks for initial testing"
Richard Purdie [Thu, 16 Sep 2010 05:55:21 +0000 (06:55 +0100)]
Revert "classes: Disable setscene tasks for initial testing"

This reverts commit 084ec86402bba92418898a4c47667a0574a3b3ee.

13 years agobase.bbclass: Implement PRINC, a way to increment the PR variable in .bbappend files
Richard Purdie [Tue, 5 Oct 2010 09:07:00 +0000 (10:07 +0100)]
base.bbclass: Implement PRINC, a way to increment the PR variable in .bbappend files

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
13 years agoImprove FILESPATH usage in .bbappend recipes
Richard Purdie [Tue, 5 Oct 2010 09:06:11 +0000 (10:06 +0100)]
Improve FILESPATH usage in .bbappend recipes

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
13 years agobitbake/fetch: if mirror fetching fails, ensure exception is raised
Joshua Lock [Tue, 5 Oct 2010 11:44:08 +0000 (12:44 +0100)]
bitbake/fetch: if mirror fetching fails, ensure exception is raised

We catch any exception raised by the fetchers go() method and attempt to work
around it by trying any (post) mirrors which are configured. However, should
the mirrors fail the exception is lost and the fetch is assumed to have
completed successfully.

Instead, save the exception and if the local file does not exist after trying
the mirrors re-raise the exception.

Fixes [BUGID #362]

Signed-off-by: Joshua Lock <josh@linux.intel.com>
13 years agorootfs_deb: fix parsing a shell cmd
Saul Wold [Mon, 4 Oct 2010 23:20:21 +0000 (16:20 -0700)]
rootfs_deb: fix parsing a shell cmd

This fixes [BUGID #360] parsing failure when using package_dep
as rootfs generator.

Signed-off-by: Saul Wold <Saul.Wold@intel.com>
13 years agokernel: update SRCREVs for emenlow and blacksand/Kconfig
Bruce Ashfield [Mon, 4 Oct 2010 20:51:15 +0000 (16:51 -0400)]
kernel: update SRCREVs for emenlow and blacksand/Kconfig

Fixes [BUGID #395, #396]

Add the emenlow-standard branch to the SRCREV list, and update
all the branch revisions to include the fix for defconfig processing,
that was exposed by work on the blacksand BSP.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
13 years agocreateme/patchme: use kgit-checkpoint to restore meta data
Bruce Ashfield [Mon, 4 Oct 2010 04:46:27 +0000 (00:46 -0400)]
createme/patchme: use kgit-checkpoint to restore meta data

Fixes [BUGID: #390]

The custom de-checkpoint routines used in createme/patchme
destroyed data each run. This meant that incremental and
expermental work couldn't be done directly in the kernel source
tree itself. Using the more robust kgit-checkpoint allows that
data to be persistent (until a clean is done).

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