]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
14 years agoFix some typos and grammatical errors in Poky handbook
Tom Zanussi [Tue, 21 Sep 2010 14:21:26 +0000 (09:21 -0500)]
Fix some typos and grammatical errors in Poky handbook

While going through the BSP section, I noticed some minor problems -
these are my cleanup fixes.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
14 years agolinux-wrs: update SRCREVs
Bruce Ashfield [Mon, 20 Sep 2010 20:05:35 +0000 (16:05 -0400)]
linux-wrs: update SRCREVs

The following are the highlights of the latest updates to the
2.6.34 kernel tree:

086d819 selinux: fix parallel compile error
0bffbc5 MIPS: Audit: Fix hang when starting audit
e49491e ucc_geth: fix ethtool set ring param bug
53b9f33 params: don't hand NULL values to param.set callbacks.
eb3b13c irda: Correctly clean up self->ias_obj on irda_bind() failure.
b4aee0b crypto: fix missed kfree for crypto_req
f8490d8 x86-64, compat: Test %rax for the syscall number, not %eax
c3acc43 x86-64, compat: Retruncate rax after ia32 syscall entry tracing
5c21faf compat: Make compat_alloc_user_space() incorporate the access_ok()
afc2a18 Merge commit 'v2.6.34.7' into standard
f423469 Linux 2.6.34.7

Built and booted on all architectures.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
14 years agozypper: fix runtime dependency
Qing He [Sun, 19 Sep 2010 01:04:31 +0000 (09:04 +0800)]
zypper: fix runtime dependency

add procps as runtime recommendation, since pgrep is used by zypper
binary

Signed-off-by: Qing He <qing.he@intel.com>
14 years agolibzypp: RDEPENDS sat-solver
Qing He [Thu, 16 Sep 2010 02:52:58 +0000 (10:52 +0800)]
libzypp: RDEPENDS sat-solver

rpmdb2solv provided by sat-solver is executed from within libzypp,
RDEPENDS sat-solver to get the utility included, fixes [BUGID #328]

Signed-off-by: Qing He <qing.he@intel.com>
14 years agoeglibc: Add in libc_cv_slibdir setting as used by glibc to fix 64 bit builds
Richard Purdie [Mon, 20 Sep 2010 23:16:15 +0000 (00:16 +0100)]
eglibc: Add in libc_cv_slibdir setting as used by glibc to fix 64 bit builds

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agorecipes-tbd: Drop old external CSL toolchains and no obsolete staging-linkage recipe
Richard Purdie [Mon, 20 Sep 2010 13:20:06 +0000 (14:20 +0100)]
recipes-tbd: Drop old external CSL toolchains and no obsolete staging-linkage recipe

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoComplete packages -> recipes transition
Richard Purdie [Mon, 20 Sep 2010 13:18:45 +0000 (14:18 +0100)]
Complete packages -> recipes transition

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agodistro_track: add dpkg, m4, and cmake tracking fields
Dongxiao Xu [Thu, 16 Sep 2010 05:52:45 +0000 (13:52 +0800)]
distro_track: add dpkg, m4, and cmake tracking fields

  distro_tracking_fields.inc: moved updates to master file

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Saul Wold <Saul.Wold@intel.com>
14 years ago gcc: upgrade gcc for powerpc to version 4.5.0
Dongxiao Xu [Thu, 16 Sep 2010 05:51:09 +0000 (13:51 +0800)]
 gcc: upgrade gcc for powerpc to version 4.5.0

Fix one parameter order issue for base_contains function,
which impacts glibc build under new gcc.

Add new judge code to determine whether <altivec.h> is needed.
This fixes the mpeg2dec build failure under new gcc.

Use O2 as the optimization flag to tinylogin as it will meet
segfault if compiled by gcc-4.5.0 when enable both frename-registers
and Os options. Use O2 instead.

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
14 years agoformfactor: Add machconfig in qemux86-64 to avoid HAVE_KEYBOARD unset.
Zhai Edwin [Wed, 15 Sep 2010 03:55:45 +0000 (11:55 +0800)]
formfactor: Add machconfig in qemux86-64 to avoid HAVE_KEYBOARD unset.
This prevent matchbox-kerboard starting as daemon automatically.

Also fix minor issue of netbase on qemux86-64, and add the machine in
local.conf.sample

[BUGID #308] fixed by this.

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
14 years agoperf: Add libelf to dependencies
Tom Zanussi [Mon, 13 Sep 2010 16:56:35 +0000 (09:56 -0700)]
perf: Add libelf to dependencies

Fix for unresolved libelf error when running perf:

perf: error while loading shared libraries: libelf.so.1: cannot open
shared object file: No such file or directory

Signed-off-by: <tom.zanussi@intel.com>
Signed-off-by: <bruce.ashfield@windriver.com>
14 years agobblayers.conf.sample: remove meta-moblin from default layers
Scott Garman [Sun, 12 Sep 2010 22:02:26 +0000 (15:02 -0700)]
bblayers.conf.sample: remove meta-moblin from default layers

This fixes [BUGID #273]

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
14 years agopoky-qemu-internal: fix locking of tap lockfile
Saul Wold [Fri, 17 Sep 2010 18:33:01 +0000 (11:33 -0700)]
poky-qemu-internal: fix locking of tap lockfile

Signed-off-by: Saul Wold <Saul.Wold@intel.com>
14 years agodistro_tracking_fields.inc: Merged tracking data
Saul Wold [Wed, 15 Sep 2010 21:20:55 +0000 (14:20 -0700)]
distro_tracking_fields.inc: Merged tracking data

Signed-off-by: Saul Wold <Saul.Wold@intel.com>
14 years agoDistro tracking: update mdadm, screen, oprofile; add libsdl
Dexuan Cui [Wed, 15 Sep 2010 14:51:03 +0000 (22:51 +0800)]
Distro tracking: update mdadm, screen, oprofile; add libsdl

Add tracking info for libsdl;
Move oprofile from distro_toolchain_devel.inc to distro_toolchain_devel.inc;
Add RECIPE_MAINTAINER_pn for mdadm, screen, oprofile, libsdl.

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
14 years agoDistro Tracking: Updated and add Poky Alias info
Saul Wold [Wed, 15 Sep 2010 01:06:00 +0000 (18:06 -0700)]
Distro Tracking: Updated and add Poky Alias info

distro_check.py: Add DISTRO_PN_ALIAS check for Poky, OpenedHand,
                 Intel and Upstream, to mark packages that are
                 not in known upstreams
distro_tracking_fields.inc:
                Merged private files into 1 master file
                Added additional Maintainer Info
                Added Distro Alias information for Poky and OpenedHand

Signed-off-by: Saul Wold <Saul.Wold@intel.com>
14 years agodistro-track: zypper related packages
Qing He [Tue, 14 Sep 2010 14:05:47 +0000 (22:05 +0800)]
distro-track: zypper related packages

add tracking fields for zypper related packages

Signed-off-by: Qing He <qing.he@intel.com>
14 years agoavahi: explicit depends on libcap
Qing He [Tue, 14 Sep 2010 05:34:28 +0000 (13:34 +0800)]
avahi: explicit depends on libcap

This avoids possible host contamination, fixes [BUGID #288]

Signed-off-by: Qing He <qing.he@intel.com>
14 years agodistro field: add distro fields for some graphcis recipes
Yu Ke [Tue, 14 Sep 2010 07:37:15 +0000 (15:37 +0800)]
distro field: add distro fields for some graphcis recipes

they are:
imake
fotowall
libdrm-poulsbo
mesa-dri-glsl-native
qt4-tools-native
quicky
xf86-video-vesa

Signed-off-by: Yu Ke <ke.yu@intel.com>
14 years agodistro tracking: Add info for gobject-introspection, gdk-pixbuf-csource-native and...
Zhai Edwin [Tue, 14 Sep 2010 14:36:00 +0000 (22:36 +0800)]
distro tracking: Add info for gobject-introspection, gdk-pixbuf-csource-native and qemu-helper-native...

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
14 years agodistro data: Update distro data tracking data
Saul Wold [Tue, 14 Sep 2010 11:42:09 +0000 (04:42 -0700)]
distro data: Update distro data tracking data

Signed-off-by: Saul Wold <Saul.Wold@intel.com>
14 years agotoolchain-scripts: Add POKY_TARGET_SYSROOT variable for SDK usage
Richard Purdie [Thu, 16 Sep 2010 14:34:36 +0000 (15:34 +0100)]
toolchain-scripts: Add POKY_TARGET_SYSROOT variable for SDK usage

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agolocal.conf.sample: Fix commented value to match the default download directory
Richard Purdie [Thu, 16 Sep 2010 14:14:58 +0000 (15:14 +0100)]
local.conf.sample: Fix commented value to match the default download directory

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agotoolchain-scripts: Export TARGET_PREFIX and GDB variables for SDK usage
Richard Purdie [Thu, 16 Sep 2010 14:12:29 +0000 (15:12 +0100)]
toolchain-scripts: Export TARGET_PREFIX and GDB variables for SDK usage

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agobitbake/runqueue: Remove now unneeded indentation
Richard Purdie [Mon, 13 Sep 2010 20:00:10 +0000 (21:00 +0100)]
bitbake/runqueue: Remove now unneeded indentation

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agobitbake/runqueue.py: Optimise delay values to avoid unneeded delays
Richard Purdie [Mon, 13 Sep 2010 15:57:13 +0000 (16:57 +0100)]
bitbake/runqueue.py: Optimise delay values to avoid unneeded delays

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agosstate: Trigger generation of siggen info when building sstate packages
Richard Purdie [Mon, 13 Sep 2010 14:41:07 +0000 (15:41 +0100)]
sstate: Trigger generation of siggen info when building sstate packages

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agobitbake/siggen: Allow generation of siggen data from task context
Richard Purdie [Mon, 13 Sep 2010 14:40:31 +0000 (15:40 +0100)]
bitbake/siggen: Allow generation of siggen data from task context

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agobitbake/build.py: Set BB_FILENAME to represent the .bb file being built (including...
Richard Purdie [Mon, 13 Sep 2010 14:39:07 +0000 (15:39 +0100)]
bitbake/build.py: Set BB_FILENAME to represent the .bb file being built (including any virtual prefix)

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agobitbake/siggen.py: Improve debugging of checksums
Richard Purdie [Mon, 13 Sep 2010 11:17:33 +0000 (12:17 +0100)]
bitbake/siggen.py: Improve debugging of checksums

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agobitbake/data.py: Allow variables to suplement dependencies using the vardep flag
Richard Purdie [Mon, 13 Sep 2010 11:16:46 +0000 (12:16 +0100)]
bitbake/data.py: Allow variables to suplement dependencies using the vardep flag

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agobitbake/fetch: ensure the go() method completes when not using premirrors
Joshua Lock [Thu, 9 Sep 2010 16:29:23 +0000 (17:29 +0100)]
bitbake/fetch: ensure the go() method completes when not using premirrors

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agopoky-default-revisions.inc: Add missing SRCREV for dtc-native
Richard Purdie [Fri, 10 Sep 2010 17:32:19 +0000 (18:32 +0100)]
poky-default-revisions.inc: Add missing SRCREV for dtc-native

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoqemu_x86_64/conf: enable E1000 by default
Bruce Ashfield [Fri, 10 Sep 2010 16:03:27 +0000 (12:03 -0400)]
qemu_x86_64/conf: enable E1000 by default

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
14 years agodtc: Drop unneeded SRCREV
Richard Purdie [Fri, 10 Sep 2010 12:01:45 +0000 (13:01 +0100)]
dtc: Drop unneeded SRCREV

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agodtc: device tree compiler recipes
Adrian Alonso [Thu, 9 Sep 2010 14:26:00 +0000 (09:26 -0500)]
dtc: device tree compiler recipes

* Device tree compiler recipes from OE
* v2 reorder patchset
* remove BBCLASSEXTENDDED from dtc-native.inc
* v3 remove installing dtc in ${STAGING_BINDIR}
* fix PR variable follow Poky guidelines
* v4 fix PV variable

Signed-off-by: Adrian Alonso <aalonso00@gmail.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agopoky-default-revisions: set default dtc srcrev
Adrian Alonso [Thu, 9 Sep 2010 14:25:59 +0000 (09:25 -0500)]
poky-default-revisions: set default dtc srcrev

* Set default devicetree SRCREV version

Signed-off-by: Adrian Alonso <aalonso00@gmail.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agolinux: add binary devicetree generation
Adrian Alonso [Thu, 9 Sep 2010 14:25:58 +0000 (09:25 -0500)]
linux: add binary devicetree generation

* Add binary devicetree generation support
* Taken from OE
* v2 reorder patch set
* v3 remove package_stagefile_shell
* v4 rename devicetree_image function to install_append
* remove pkg_postinst_kernel-devicetree,
  pkg_postrm_kernel-devicetree functions
* Update KERNEL_DEVICETREE_FLAGS use "-p" option instead
  of "-S" which is deprecated

Signed-off-by: Adrian Alonso <aalonso00@gmail.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoncurses: rename site_config that was mis-merged when ncurses moved
Jeff Polk [Fri, 3 Sep 2010 17:39:46 +0000 (11:39 -0600)]
ncurses: rename site_config that was mis-merged when ncurses moved

Signed-off-by: Jeff Polk <jeff.polk@windriver.com>
14 years agoautotools: enable siteconfig by default
Jeff Polk [Fri, 3 Sep 2010 17:37:03 +0000 (11:37 -0600)]
autotools: enable siteconfig by default
eglibc glibc ncurses uclibc zlib: remove explicit siteconfig

Signed-off-by: Jeff Polk <jeff.polk@windriver.com>
14 years agositeinfo: add SITECONFIG_SYSROOTCACHE definition in place of hard-coded path
Jeff Polk [Fri, 3 Sep 2010 17:25:38 +0000 (11:25 -0600)]
siteinfo: add SITECONFIG_SYSROOTCACHE definition in place of hard-coded path
siteconfig: use SITECONFIG_SYSROOTCACHE and use sstate-interceptfuncs

Use the new sstate-interceptfuncs functionality to interpose do_siteconfig
between the sstate_install and package.

Signed-off-by: Jeff Polk <jeff.polk@windriver.com>
14 years agosstate: Add sstate-interceptfuncs called between install and package
Jeff Polk [Fri, 3 Sep 2010 17:22:20 +0000 (11:22 -0600)]
sstate: Add sstate-interceptfuncs called between install and package

Adds the ability to impose intercept function call(s) after
sstate_install and before sstate_package in sstate_task_postfunc.

Signed-off-by: Jeff Polk <jeff.polk@windriver.com>
14 years ago[e]glibc-package.inc: fix providers for libsegfault and other
Nitin A Kamble [Wed, 8 Sep 2010 19:31:39 +0000 (12:31 -0700)]
[e]glibc-package.inc: fix providers for libsegfault and other

[e]glibc-nativesdk should not be providing libsegfault.

This commit fixes the following error while doing this:
bitbake poky-image-minimal-initramfs

DEBUG: providers for libsegfault are: ['glibc-nativesdk', 'glibc',
'eglibc-nativesdk', 'external-csl-toolchain', 'eglibc',
'external-poky-toolchain']
DEBUG: selecting
virtual:nativesdk:/rphome/poky/meta/recipes-core/glibc/glibc_2.10.1.bb
as PREFERRED_VERSION 2.10.1 of package glibc-nativesdk (for item
libsegfault)
DEBUG: selecting /rphome/poky/meta/recipes-core/glibc/glibc_2.10.1.bb as
PREFERRED_VERSION 2.10.1 of package glibc (for item libsegfault)
NOTE: checking PREFERRED_PROVIDER_glibc-nativesdk
NOTE: checking PREFERRED_PROVIDER_glibc-nativesdk-2.10.1
NOTE: checking PREFERRED_PROVIDER_glibc-nativesdk-2.10.1-r3
NOTE: checking PREFERRED_PROVIDER_virtual/libc-nativesdk
NOTE: selecting glibc-nativesdk to satisfy runtime libsegfault due to
PREFERRED_PROVIDER_virtual/libc-nativesdk = glibc-nativesdk

And bumped PR.

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agolibc-package.bbclass: fix qemu issue with pseudo
Nitin A Kamble [Wed, 8 Sep 2010 19:30:19 +0000 (12:30 -0700)]
libc-package.bbclass: fix qemu issue with pseudo

This solution is what Mark Hatle recommended.

To disable pseudo, while already running, you need to set:
PSEUDO_RELOADED=YES, and then exec something...

This causes pseudo to disable itself from LD_PRELOAD, and thus fall
out of memory on the exec.

This Fixes [BUGID #226]

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
14 years agopseudo: Update pseudo to latest revision
Mark Hatle [Thu, 9 Sep 2010 19:47:13 +0000 (14:47 -0500)]
pseudo: Update pseudo to latest revision

Fix bug 231 by changeing to the latest revision of pseudo.

The latest revision of pseudo includes the following changes:

2010-09-08:
  * (seebs) handle mkfifo without guaranteeing an EINVAL response.

2010-09-02:
  * (seebs) fix errno for getcwd() with insufficient size
  * (seebs) Add an RPATH entry to the pseudo binary to find the sqlite3
    library.

2010-09-01:
  * (seebs) add missing casts to even more printf arguments

2010-08-31:
  * (seebs) add missing casts to printf arguments, after being warned
    about them a mere twenty or thirty thousand times.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
14 years agorootfs_rpm: Fix workaround
Mark Hatle [Thu, 9 Sep 2010 19:46:23 +0000 (14:46 -0500)]
rootfs_rpm: Fix workaround

The exit 0 in the workaround seems to have causes the filesystem creation
process to stop.  Instead change it to an if that can never succeed.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
14 years agohandbook: Drop USB Networking section, its no longer appropriate
Richard Purdie [Fri, 10 Sep 2010 11:44:56 +0000 (12:44 +0100)]
handbook: Drop USB Networking section, its no longer appropriate

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agohandbook: Various minor fixes
Richard Purdie [Fri, 10 Sep 2010 11:32:48 +0000 (12:32 +0100)]
handbook: Various minor fixes

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agohandbook: review and update CH1(introduction) and CH2(using Poky)
Yu Ke [Thu, 9 Sep 2010 02:34:34 +0000 (10:34 +0800)]
handbook: review and update CH1(introduction) and CH2(using Poky)

Signed-off-by: Yu Ke <ke.yu@intel.com>
Signed-off-by: Kevin Tian <kevin.tian@intel.com>
14 years agohandbook: review and modify Appendix A, D and E
Dexuan Cui [Thu, 9 Sep 2010 09:18:10 +0000 (17:18 +0800)]
handbook: review and modify Appendix A, D and E

Major change are about the structure of Poky source tree, which has been
changed a lot recently

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Signed-off-by: Edwin Zhai <edwin.zhai@intel.com>
Signed-off-by: Kevin Tian <kevin.tian@intel.com>
14 years agohandbook: review and modify CH4 (BSP) and Appendix B
Zhai Edwin [Thu, 9 Sep 2010 08:23:01 +0000 (16:23 +0800)]
handbook: review and modify CH4 (BSP) and Appendix B

Besides basic corrections, also add .bbappend to bsp introduction
and update bitbake help to match latest output

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Signed-off-by: Kevin Tian <kevin.tian@intel.com>
14 years agohandbook: Fix some errors in Appendix F/G
Dongxiao Xu [Thu, 9 Sep 2010 08:40:55 +0000 (16:40 +0800)]
handbook: Fix some errors in Appendix F/G

CVS_TARBALL_STASH and SHELLRCCMD is not found in current poky.
Fix some grammar issues.

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Qing He <qing.he@intel.com>
14 years agohandbook: review and correct CH5(development)
Lianhao Lu [Thu, 9 Sep 2010 07:56:30 +0000 (15:56 +0800)]
handbook: review and correct CH5(development)

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Liping Ke <liping.ke@intel.com>
14 years agohandbook: update appendix C/H/I
Qing He [Thu, 9 Sep 2010 08:28:47 +0000 (16:28 +0800)]
handbook: update appendix C/H/I

The following is suggested but not changed:
 - adding documentation of cmake.bbclass
 - remove src_distribute_local.bbclass

Signed-off-by: Qing He <qing.he@intel.com>
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
14 years agohandbook: review and correct CH3(extend poky) in handbook
Kevin Tian [Thu, 9 Sep 2010 09:00:31 +0000 (17:00 +0800)]
handbook: review and correct CH3(extend poky) in handbook

Fix inaccurate descriptions.
Update recipe examples to make sure they do build
Add some examples for better guidance

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
Signed-off-by: Ke Yu <ke.yu@intel.com>
14 years agolinux-wrs/meta: fix qemuarm boot issues with 2.6.34.6
Bruce Ashfield [Fri, 10 Sep 2010 04:55:08 +0000 (00:55 -0400)]
linux-wrs/meta: fix qemuarm boot issues with 2.6.34.6

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
14 years agoqemu: add qemu-mipsel to the list of simulators
Bruce Ashfield [Thu, 9 Sep 2010 19:18:11 +0000 (15:18 -0400)]
qemu: add qemu-mipsel to the list of simulators

Add qemu-mipsel to the list of generated simulators. Obviously
this is needed to build a MIPS little endian system.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
14 years agoconnman-gnome: Add some functionality.
Dongxiao Xu [Fri, 10 Sep 2010 08:49:14 +0000 (16:49 +0800)]
connman-gnome: Add some functionality.

Add offline mode.
Add ethernet/wifi enable/disable functionality.
Classify each service (ethernet, wifi) into certain group.
Do some code clean up.

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
14 years agobitbake: Add proxy variables to standard export list
Zhai Edwin [Fri, 10 Sep 2010 02:00:01 +0000 (10:00 +0800)]
bitbake: Add proxy variables to standard export list

With "no_proxy" exported to bitbake, both internal and externel file mirror can
be used. "https_proxy" enable fetching "https://" file through proxy.

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
14 years agoFix the matchbox-panel seg fault on netbook & emenlow
Zhai Edwin [Fri, 10 Sep 2010 01:23:53 +0000 (09:23 +0800)]
Fix the matchbox-panel seg fault on netbook & emenlow

netbook & emenlow use "-march=core2"(in tune-atom.inc) instead of "=i586"(for
qemux86), plus the "-fomit-frame-pointer" in default FULL_OPTIMIZATION, this
cause strange seg fault when starting matchbox-panel.

seg fault happened @ tmp_reset_bg (gtk+-2.20.1/gdk/x11/gdkwindow-x11.c), which
is inline function extended inside _gdk_x11_window_tmp_unset_bg. When expanding
GDK_DRAWABLE_XID(obj->bg_pixmap) with gcc 4.5.0 optimization, a function call
is missing. Saving a local var to stack also disappeared, but still tried to
restore it from stack, which cause seg fault after getting a worng value.

This fix avoid "-fomit-frame-pointer" in gtk+ on netbook & emenlow.

[BUGID #224] fixed by this.

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
14 years agonetbase: Don't hardcode the qemu IP config
Richard Purdie [Fri, 10 Sep 2010 10:38:34 +0000 (11:38 +0100)]
netbase: Don't hardcode the qemu IP config

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoscripts/runqemu: Drop broken toolchain symlink code
Richard Purdie [Fri, 10 Sep 2010 09:45:48 +0000 (10:45 +0100)]
scripts/runqemu: Drop broken toolchain symlink code

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoscripts/poky-qemu-ifup: Ensure the host has a route to it
Richard Purdie [Fri, 10 Sep 2010 09:43:06 +0000 (10:43 +0100)]
scripts/poky-qemu-ifup: Ensure the host has a route to it

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoscrtips/poky-qemu: Fix network interface device numbering
Richard Purdie [Fri, 10 Sep 2010 09:28:09 +0000 (10:28 +0100)]
scrtips/poky-qemu: Fix network interface device numbering

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agopoky-qemu-internal: Fix ifdown script to use the correct variable
Richard Purdie [Fri, 10 Sep 2010 09:27:46 +0000 (10:27 +0100)]
poky-qemu-internal: Fix ifdown script to use the correct variable

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agognu-config: Fix target version to contain all the substitutions and not overwrite...
Richard Purdie [Wed, 8 Sep 2010 23:30:57 +0000 (00:30 +0100)]
gnu-config: Fix target version to contain all the substitutions and not overwrite the first half with the second set of changes

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agolibzypp: change /usr/lib64 to /usr/lib
Kevin Tian [Thu, 9 Sep 2010 02:14:06 +0000 (10:14 +0800)]
libzypp: change /usr/lib64 to /usr/lib

similar to previous sat-solver fix, we use /usr/lib for x86-64 target

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
14 years agolinux-wrs: Update now SRCREV variable order is fixed
Richard Purdie [Thu, 9 Sep 2010 14:19:23 +0000 (15:19 +0100)]
linux-wrs: Update now SRCREV variable order is fixed

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agolinux-wrs: validate branches against known revisions
Bruce Ashfield [Thu, 9 Sep 2010 03:18:59 +0000 (23:18 -0400)]
linux-wrs: validate branches against known revisions

It is possible for the git repository to have commits on branches
that are ahead of the SRCREVs for those branches. Since the
kern tools will simply checkout and build, we can end up building
a different kernel than what is expected.

It is up to the recipe to ensure that the branches are at the
correct commits. To do this, we simply check the current machine
branch against the SRCREV and if they don't match we move the
existing branch and do a checkout at the desired commit.

Note: This probably needs to be disabled with AUTOREV.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
14 years agopoky-default-revisions.inc: Fix variable order for linux-wrs recipes
Richard Purdie [Thu, 9 Sep 2010 14:17:50 +0000 (15:17 +0100)]
poky-default-revisions.inc: Fix variable order for linux-wrs recipes

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agobitbake/__init__.py: Fix named SRCREVS variable name ordering with backwards compatib...
Richard Purdie [Thu, 9 Sep 2010 14:09:50 +0000 (15:09 +0100)]
bitbake/__init__.py: Fix named SRCREVS variable name ordering with backwards compatibility

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agotrace-cmd: add to profiling recommends
Bruce Ashfield [Tue, 7 Sep 2010 03:53:39 +0000 (23:53 -0400)]
trace-cmd: add to profiling recommends

Make trace-cmd available by adding it to RECOMMENDS_task-poky-tools-profile

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
14 years agotask-poky-lsb: Remove man-pages due to build failures
Saul Wold [Thu, 9 Sep 2010 06:54:41 +0000 (23:54 -0700)]
task-poky-lsb: Remove man-pages due to build failures

Signed-off-by: Saul Wold <Saul.Wold@intel.com>
14 years agotask-poky-lsb: add man-pages, which will pull man and groff
Saul Wold [Wed, 8 Sep 2010 23:28:50 +0000 (16:28 -0700)]
task-poky-lsb: add man-pages, which will pull man and groff

Signed-off-by: Saul Wold <Saul.Wold@intel.com>
14 years agoimage.bbclass: change IMAGE_EXTRA_SPACE to IMAGE_OVERHEAD_FACTOR
Saul Wold [Wed, 8 Sep 2010 23:25:25 +0000 (16:25 -0700)]
image.bbclass: change IMAGE_EXTRA_SPACE to IMAGE_OVERHEAD_FACTOR

This change allows the IMAGE_OVERHEAD_FACTOR (default to 1.2) to
adjust dynamicly how much space to add for each image, thus there
is 20% overhead space by default.

Signed-off-by: Saul Wold <Saul.Wold@intel.com>
14 years agoman-pages:Add new man-pages package
Xiaofeng Yan [Thu, 2 Sep 2010 08:49:26 +0000 (16:49 +0800)]
man-pages:Add new man-pages package

The Linux man-pages project documents the Linux kernel and C library interfaces that are employed by user programs

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
14 years agogroff:Add new groff package
Xiaofeng Yan [Thu, 2 Sep 2010 08:47:02 +0000 (16:47 +0800)]
groff:Add new groff package

groff allows for a short reference for the GNU roff language

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
14 years agoman: Add new man package
Xiaofeng Yan [Thu, 2 Sep 2010 08:39:48 +0000 (16:39 +0800)]
man: Add new man package

A set of documentation tools: man, apropos and whatis

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
14 years agoDistro tracking: add package aliases
Dexuan Cui [Fri, 3 Sep 2010 06:07:46 +0000 (14:07 +0800)]
Distro tracking: add package aliases

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
14 years agoat: Disable PARALLEL_MAKE for at and add back to task-basic
Saul Wold [Tue, 7 Sep 2010 23:34:10 +0000 (16:34 -0700)]
at: Disable PARALLEL_MAKE for at and add back to task-basic

Signed-off-by: Saul Wold <Saul.Wold@intel.com>
14 years agogcc_4.5.0: add --enable-poison-system-directories option to cross
Nitin A Kamble [Fri, 3 Sep 2010 17:38:59 +0000 (10:38 -0700)]
gcc_4.5.0: add --enable-poison-system-directories option to cross
recipes

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
14 years agobinutils: add binutils_poison.patch
Nitin A Kamble [Fri, 3 Sep 2010 17:41:09 +0000 (10:41 -0700)]
binutils: add binutils_poison.patch

and also correct the license field in the recipe

This fixes [BUGID #245]

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
14 years agobitbake: save the initial PATH for use when starting a subprocess
Joshua Lock [Wed, 8 Sep 2010 17:38:43 +0000 (18:38 +0100)]
bitbake: save the initial PATH for use when starting a subprocess

It was possible for bitbake-runtime to be run against a semi-installed
python-native resulting in tracebacks with ImportError's.

To prevent this we stash the initial PATH in the BBConfiguration when bitbake
is started and then set this in the env when launching bitbake-runtask through
subprocesses Popen() call.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agokernel.bbclass/linux-wrs: move definition of perf package to kernel class
Joshua Lock [Wed, 8 Sep 2010 14:48:31 +0000 (15:48 +0100)]
kernel.bbclass/linux-wrs: move definition of perf package to kernel class

By defining the perf package in the shared kernel class bitbake will be able to
find the package provider even when the preferred kernel doesn't build perf,
preventing dependency resolution failures.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agopackage.bbclass: Ensure all packages package when running a build
Richard Purdie [Wed, 8 Sep 2010 14:55:10 +0000 (15:55 +0100)]
package.bbclass: Ensure all packages package when running a build

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agobitbake/fetch/git: fix try_premirror() definition .Method takes 4 parameters.
Joshua Lock [Wed, 8 Sep 2010 14:14:07 +0000 (15:14 +0100)]
bitbake/fetch/git: fix try_premirror() definition .Method takes 4 parameters.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agobitbake/fetch: fix by moving try_premirror() to the right place
Joshua Lock [Wed, 8 Sep 2010 14:04:17 +0000 (15:04 +0100)]
bitbake/fetch: fix by moving try_premirror() to the right place

The previous commit didn't define the method as part of the Fetch object

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agopowertop: fix a typo: REPENDS ==> RDEPENDS
Dexuan Cui [Wed, 8 Sep 2010 07:54:31 +0000 (15:54 +0800)]
powertop: fix a typo: REPENDS ==> RDEPENDS

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
14 years agolibzypp: workaround to pass mips build
Kevin Tian [Wed, 8 Sep 2010 08:57:03 +0000 (16:57 +0800)]
libzypp: workaround to pass mips build

libzypp failed due to GCC "internal compiler error: segmentation fault" error on
MIPS target. The cause is about boost tribool type usage. If having assignement
within conditional check as below:

if ( (a = b) )
...
<a is a tribool type, b is a normal bool type>

then gcc4.3.3 throws internal error. Then the workaround is to move assignement
out of the conditional check.

However I didn't find same case from web.

We can come back to recheck this issue after upgrading to gcc4.5.0 for MIPS. If
this issue is still there, we'll need more analysis to decide whether to report
to gcc upstream or to libzypp upstream.

This fixes [BUGID #277]

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
14 years agosat-solver: change /usr/lib64 to /usr/lib
Kevin Tian [Wed, 8 Sep 2010 05:31:23 +0000 (13:31 +0800)]
sat-solver: change /usr/lib64 to /usr/lib

we use /usr/lib for x86-64 target, but sat-solver will use /usr/lib64 if 64bit
target arch is detected. This finally causes libzypp failed to find libsatsolver.a.
use "-DLIB=lib" to explicitly enforce the requirement

fix [BUGID #286]

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
14 years agobitbake/fetch: add try_premirror method and special case git fetcher
Joshua Lock [Wed, 8 Sep 2010 13:03:41 +0000 (14:03 +0100)]
bitbake/fetch: add try_premirror method and special case git fetcher

Add a new method, try_premirror, to the Fetch object which checks to see
whether the file needs to be fetched from a premirror.
Override this in the Git fetcher to only require a pre-mirror fetch when the
clone directory does not exist.

Fixes [BUGID 290]

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agobitbake/bitbake-runtask: Ensure signals to the parent don't pass to the children...
Richard Purdie [Tue, 7 Sep 2010 22:54:15 +0000 (23:54 +0100)]
bitbake/bitbake-runtask: Ensure signals to the parent don't pass to the children directly

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoqemu: Apply fix for armv6 locale generation using TLS registers
Richard Purdie [Tue, 7 Sep 2010 21:28:15 +0000 (22:28 +0100)]
qemu: Apply fix for armv6 locale generation using TLS registers

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoldconfig-native: Set LICENSE
Richard Purdie [Tue, 7 Sep 2010 17:08:01 +0000 (18:08 +0100)]
ldconfig-native: Set LICENSE

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agopoky-image: Set LICENSE field for the image recipes (note this doesn't apply to the...
Richard Purdie [Tue, 7 Sep 2010 17:05:16 +0000 (18:05 +0100)]
poky-image: Set LICENSE field for the image recipes (note this doesn't apply to the image contents, just the recipe and code used

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agopoky-image: Set LICENSE field for the image recipes (note this doesn't apply to the...
Richard Purdie [Tue, 7 Sep 2010 17:03:51 +0000 (18:03 +0100)]
poky-image: Set LICENSE field for the image recipes (note this doesn't apply to the image contents, just the recipe and code used

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agotasks: Set LICENSE field
Richard Purdie [Tue, 7 Sep 2010 16:55:00 +0000 (17:55 +0100)]
tasks: Set LICENSE field

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoQT4 mips: disable the LDFLAGS "-Bsymbolic-functions"
Yu Ke [Mon, 6 Sep 2010 08:52:52 +0000 (16:52 +0800)]
QT4 mips: disable the LDFLAGS "-Bsymbolic-functions"

"-Bsymbolic-functions" flag makes ld to bind the global function symbol of shared library at compiling time, thus reduce the runtime relocation cost.

However, this flag in binutil 2.20 cause QT4 mips building failure, which is "final link failed: Bad value" error in libQtWebKit.so linking stage. If downgrad to binutil 2.19, this error disappears.

so before binutil new release is out, it is better to disable this flag for QT4 mips.

Fix [BUGID #271]

Signed-off-by: Yu Ke <ke.yu@intel.com>
14 years agolinux: Fix the compulab image post deploy function by making it a postfunc
Richard Purdie [Tue, 7 Sep 2010 14:13:28 +0000 (15:13 +0100)]
linux: Fix the compulab image post deploy function by making it a postfunc

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agosstate: Make sure the sstate function is the last to run, not the first
Richard Purdie [Tue, 7 Sep 2010 14:13:02 +0000 (15:13 +0100)]
sstate: Make sure the sstate function is the last to run, not the first

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>