]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
14 years agoat: run daemon as root user
Scott Garman [Fri, 27 Aug 2010 04:01:06 +0000 (21:01 -0700)]
at: run daemon as root user

Permission problems are encountered when running atd as the default
(daemon) user, so run it as root instead. These options are also
used in the OpenEmbedded recipe for at.

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
14 years agosqlite3: fix multiple provider warning
Dongxiao Xu [Fri, 27 Aug 2010 08:32:58 +0000 (16:32 +0800)]
sqlite3: fix multiple provider warning

Use ${PN} to replace the original hardcode name in recipe PACKAGES line
This fixes multiple provider warning of sqlite3 (sqlite3 and
sqlite3-nativesdk)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
14 years agogawk: add gawk 3.1.8, GPLv3 version
Yu Ke [Fri, 27 Aug 2010 07:05:33 +0000 (15:05 +0800)]
gawk: add gawk 3.1.8, GPLv3 version
move to meta/recipes

Signed-off-by: Yu Ke <ke.yu@intel.com>
Signed-off-by: Saul Wold <Saul.Wold@intel.com>
14 years agogst-meta-base: Enable some video and audio codec
Dongxiao Xu [Fri, 27 Aug 2010 03:05:49 +0000 (11:05 +0800)]
gst-meta-base: Enable some video and audio codec

Enable mpeg-1 mpeg-2 video format
Enable wav, flac audio format
Fix [BUGID #151]

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
14 years agocmake.bbclass: sync from openembedded
Qing He [Fri, 20 Aug 2010 02:57:48 +0000 (10:57 +0800)]
cmake.bbclass: sync from openembedded

this fixes:
  - toolchain detection error (e.g. ar and ranlib)

changes from openembedded:
  - reformatting
  - cmake modules search path
  - use 'cat <<EOF' instead of echos for clarity

Signed-off-by: Qing He <qing.he@intel.com>
14 years agorpm: compatiblity and header fix
Qing He [Thu, 26 Aug 2010 00:41:03 +0000 (08:41 +0800)]
rpm: compatiblity and header fix

changes:
  - add headerAddOrAppendEntry in lib/rpm4compat.h for compatibility
  - fix rpmbag.h introduced in rpm 5.1.10

Signed-off-by: Qing He <qing.he@intel.com>
14 years agoboost: upgrade to 1.44.0
Qing He [Thu, 19 Aug 2010 05:32:07 +0000 (13:32 +0800)]
boost: upgrade to 1.44.0

from version 1.36.0
which won't compile with gcc 4.5.0

also moved to meta form meta-moblin

changes:
  - .so files should go to -dev instead of sub packages
  - create libboostX-mt.{so,a} symlinks for compatibility
  - meta package 'boost' should set ALLOW_EMPTY
  - fix a bug that caused boost-dev being automatically renamed to
    libboost_prg_exec_monitor-dev, packages boost, boost-dev and
    boost-test now work as intended
  - rebased patch arm-intrinsic

Signed-off-by: Qing He <qing.he@intel.com>
14 years agolibcheck: upgrade to version 0.9.8
Qing He [Fri, 20 Aug 2010 03:08:22 +0000 (11:08 +0800)]
libcheck: upgrade to version 0.9.8

from 0.9.5
moved from meta-moblin to meta
renamed to libcheck for clarity

changes:
  - --enable-plain-docdir is obsolete
  - remove the unnessary patch

Signed-off-by: Saul Wold <saul.wold@intel.com>
Signed-off-by: Qing He <qing.he@intel.com>
14 years agoAdd qemu-i386 in qemu-native, required by eglibc
Zhai Edwin [Tue, 31 Aug 2010 08:34:09 +0000 (16:34 +0800)]
Add qemu-i386 in qemu-native, required by eglibc

Adding i386-linux-user in target-list is enough in theory, but our gl stuff is
not friendly to linux-user code. So disable it when compiling linux-user.

[BUGID #218] fixed by this.

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
14 years agosed: Fix ppc build failure
Dongxiao Xu [Tue, 31 Aug 2010 03:42:01 +0000 (11:42 +0800)]
sed: Fix ppc build failure

sed will firstly check whether there is a working getline function
in system, if not (ppc), it use its self-defined getline().
However in 4.1.2, this function definition is not match with its
declaration. Fixes [BUGID #243]

Also fixes metadata.

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
14 years agodistro_tracking_fields.inc: add distro_commands.inc
Saul Wold [Fri, 27 Aug 2010 15:59:11 +0000 (08:59 -0700)]
distro_tracking_fields.inc: add distro_commands.inc

Signed-off-by: Saul Wold <Saul.Wold@intel.com>
14 years agotoolchain-scripts.bbclass: inherit siteinfo
Kevin Tian [Tue, 31 Aug 2010 10:40:08 +0000 (18:40 +0800)]
toolchain-scripts.bbclass: inherit siteinfo

or else 'siteinfo_get_files undefined' error occurs

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
14 years agosstate: fix dir name in manifest
Kevin Tian [Mon, 30 Aug 2010 08:13:49 +0000 (16:13 +0800)]
sstate: fix dir name in manifest

dir name in manifest is incorrect:

/media/disk/builds/master-arm/tmp/sysroots/usr/
/media/disk/builds/master-arm/tmp/sysroots/lib/
/media/disk/builds/master-arm/tmp/sysroots/include/

Also add one debug note when removing manifest entries

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
14 years agosstate: make do_cleanup really working
Kevin Tian [Mon, 30 Aug 2010 06:27:24 +0000 (14:27 +0800)]
sstate: make do_cleanup really working

there's a bug in creating manifest_pattern, which means actually with
new sstate do_cleanup hasn't worked yet

We can use PSTAGE2_MANFILEPREFIX easily for this purpose.

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
14 years agopseudo: Update to latest version
Mark Hatle [Tue, 31 Aug 2010 14:29:38 +0000 (09:29 -0500)]
pseudo: Update to latest version

From the changelog:

2010-08-27:
  * (seebs) fix a bug caused by memcmp with wrong length
  * (seebs) stop hand-coding lengths of memcmp (torek was right...)

14 years agobitbake/codeparser: Implement persistent cache
Richard Purdie [Tue, 31 Aug 2010 13:19:22 +0000 (14:19 +0100)]
bitbake/codeparser: Implement persistent cache

For a given input to this code, the output doesn't change to implement a persistent
cache of the data to speed up parsing.

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agobitbake/data.py: Add emit_func() and generate_dependencies() functions
Richard Purdie [Tue, 3 Aug 2010 13:30:20 +0000 (14:30 +0100)]
bitbake/data.py: Add emit_func() and generate_dependencies() functions

These functions allow generation of dependency data between funcitons and
variables allowing moves to be made towards generating checksums and allowing
use of the dependency information in other parts of bitbake.

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agobitbake: Add codeparser for parsing shell and python functions
Richard Purdie [Mon, 2 Aug 2010 09:20:20 +0000 (10:20 +0100)]
bitbake: Add codeparser for parsing shell and python functions

This commit is derived from Chris Larson's checksum work, turned into a
standalone piece of code for parsing python and shell functions.

The deindent code has been replaced with code to work around indentation
for speed. The original NodeVisitor in the ast was replaced with a faster
class walk call.

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agobitbake/BBHandler: Save python functions into the dictonary
Richard Purdie [Thu, 26 Aug 2010 17:06:30 +0000 (18:06 +0100)]
bitbake/BBHandler: Save python functions into the dictonary

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agobitbake/data_smart.py: Allow the data expand function to keep track of references...
Richard Purdie [Wed, 25 Aug 2010 13:26:37 +0000 (14:26 +0100)]
bitbake/data_smart.py: Allow the data expand function to keep track of references (including those from python code)

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agometa/classes: Fix whitespace mismatch and broken functions
Richard Purdie [Wed, 25 Aug 2010 14:40:34 +0000 (15:40 +0100)]
meta/classes: Fix whitespace mismatch and broken functions

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agolibproxy: disable perl bindings
Qing He [Fri, 27 Aug 2010 01:17:33 +0000 (09:17 +0800)]
libproxy: disable perl bindings

cmake findperl and findperllibs use execution based approach to
locate perl executable and others like module paths and -lperl,
which does not work properly under cross compilation. Disable it
with -DWITH_PERL=no until cmake is fixed.

Signed-off-by: Qing He <qing.he@intel.com>
14 years agodistro_tracking: connman, connman-gnome, wpa-supplicant, etc.
Dongxiao Xu [Thu, 26 Aug 2010 05:38:13 +0000 (13:38 +0800)]
distro_tracking: connman, connman-gnome, wpa-supplicant, etc.

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
14 years agoconnman: Use connman as default network management tool
Dongxiao Xu [Thu, 26 Aug 2010 05:37:52 +0000 (13:37 +0800)]
connman: Use connman as default network management tool

Upgrade connman to version 0.56
Modify connman-gnome to match the recent version of connman
Deprecate networkmanager

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
14 years agowpa-supplicant: Add latest stable version 0.6.10
Dongxiao Xu [Thu, 26 Aug 2010 05:34:50 +0000 (13:34 +0800)]
wpa-supplicant: Add latest stable version 0.6.10

Connman doesn't work well with wpa-supplicant development
version 0.7.2, thus import its latest stable version.

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
14 years agoMajor layout change to the packages directory
Richard Purdie [Fri, 27 Aug 2010 14:14:24 +0000 (15:14 +0100)]
Major layout change to the packages directory

Having one monolithic packages directory makes it hard to find things
and is generally overwhelming. This commit splits it into several
logical sections roughly based on function, recipes.txt gives more
information about the classifications used.

The opportunity is also used to switch from "packages" to "recipes"
as used in OpenEmbedded as the term "packages" can be confusing to
people and has many different meanings.

Not all recipes have been classified yet, this is just a first pass
at separating things out. Some packages are moved to meta-extras as
they're no longer actively used or maintained.

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoquicky: add QT app quicky, a simple note-taking application
Yu Ke [Wed, 25 Aug 2010 03:13:00 +0000 (11:13 +0800)]
quicky: add QT app quicky, a simple note-taking application

Add quicky from qt-apps.org to validate and demo qt library. quicky is a simple note-taking application with Wiki-style syntax and behaviour.

Signed-off-by: Yu Ke <ke.yu@intel.com>
14 years agoqmmp: add QT app qmmp, an QT audio-player
Yu Ke [Wed, 25 Aug 2010 03:13:00 +0000 (11:13 +0800)]
qmmp: add QT app qmmp, an QT audio-player

Add qmmp from qt-apps.org to validate and demo qt library. qmmp is an audio-player, written with help of Qt library

Signed-off-by: Yu Ke <ke.yu@intel.com>
14 years agofotowall: add QT app fotowall, an QT photo tool
Yu Ke [Wed, 25 Aug 2010 03:12:59 +0000 (11:12 +0800)]
fotowall: add QT app fotowall, an QT photo tool

Add fotowall from qt-apps.org to validate and demo qt library. fotowall is a creative tool that allows you to layout your photos or pictures.

Signed-off-by: Yu Ke <ke.yu@intel.com>
14 years agoqt4 core lib: add qt4 core library x11 version.
Yu Ke [Wed, 25 Aug 2010 03:12:59 +0000 (11:12 +0800)]
qt4 core lib: add qt4 core library x11 version.

QT is a comprehensive cross-platform C++ application framework. this commit add QT4 library compiled with X11 options.

The code is ported from OE version, with following changes:
   - remove the obsolate configure options, e.g. -embedded, -qdbus, etc
   - remove the poky unsupported configuree option, e.g. mysql, postgresql etc
   - revise the arch detection func, to support powerpc, x86_64
   - other format cleanup

Signed-off-by: Yu Ke <ke.yu@intel.com>
14 years agoqmake2.bbclass: update for QT4
Yu Ke [Wed, 25 Aug 2010 03:12:59 +0000 (11:12 +0800)]
qmake2.bbclass: update for QT4

qmake2 bbclass is a class to make QT appplication. This commit update qmake2 bbclass for QT4. The code is from OE with minor cleanup.

Signed-off-by: Yu Ke <ke.yu@intel.com>
14 years agoqt-tools-native: add QT4 tool to build qt application
Yu Ke [Wed, 25 Aug 2010 03:12:58 +0000 (11:12 +0800)]
qt-tools-native: add QT4 tool to build qt application

QT4 provides tools like moc (meta object compiler), uic (user interface compiler) etc.. to build qt application. This commit add the qt4 tools. The recipe is from OE with minor cleanup.

Signed-off-by: Yu Ke <ke.yu@intel.com>
14 years agogrep: new recipe v2.5.1a
Scott Garman [Wed, 18 Aug 2010 15:26:26 +0000 (08:26 -0700)]
grep: new recipe v2.5.1a

This is the last GPLv2 version of grep. This recipe was dervied from
OpenEmbedded's version.

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
14 years agodistro_commands.inc: Add maintainer information
Scott Garman [Mon, 16 Aug 2010 21:30:11 +0000 (14:30 -0700)]
distro_commands.inc: Add maintainer information

Also removed mailx package tracking, as this recipe was recently
removed from our requirements.

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
14 years agoreadline: Split GPLv2 version from shared inc file
Dongxiao Xu [Thu, 26 Aug 2010 02:43:15 +0000 (10:43 +0800)]
readline: Split GPLv2 version from shared inc file

Do not share common inc file with GPLv3 version of recipe
Fix the issue of multiple provider warning

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
14 years agocoreutils (GPLv3): add latest version (8.5)
Kevin Tian [Thu, 26 Aug 2010 08:14:29 +0000 (16:14 +0800)]
coreutils (GPLv3): add latest version (8.5)

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
14 years agosysstat: add sysstat 9.1.4
Yu Ke [Thu, 26 Aug 2010 03:40:08 +0000 (11:40 +0800)]
sysstat: add sysstat 9.1.4

sysstat is a collection of performance monitoring tools. this commit adds sysstat 9.1.4.
the recipe is ported from OE, with following changes:

- upgrade to 9.1.4
- use populate-volatile to populate /var/log/sa

Signed-off-by: Yu Ke <ke.yu@intel.com>
14 years agocmake.bbclass: sync from openembedded
Qing He [Fri, 20 Aug 2010 02:57:48 +0000 (10:57 +0800)]
cmake.bbclass: sync from openembedded

this fixes:
  - toolchain detection error (e.g. ar and ranlib)
  - cmake modules search path

Signed-off-by: Qing He <qing.he@intel.com>
14 years agogawk: add 3.1.5 (GPLv2 version)
Yu Ke [Wed, 25 Aug 2010 09:15:48 +0000 (17:15 +0800)]
gawk: add 3.1.5 (GPLv2 version)

this commit add GNU Awk 3.1.5, the most recent GPLv2 version.
the recipe is from OE, and upgrade to 3.1.5

Signed-off-by: Yu Ke <ke.yu@intel.com>
14 years agocpio: new recipe v2.8
Scott Garman [Tue, 17 Aug 2010 01:55:33 +0000 (18:55 -0700)]
cpio: new recipe v2.8

This is the last GPLv2 version of cpio. The recipe was derived from
OE's v2.5 one.

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
14 years agoat.inc: remove unneeded LIBS setting
Scott Garman [Mon, 16 Aug 2010 22:00:38 +0000 (15:00 -0700)]
at.inc: remove unneeded LIBS setting

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
14 years agotar_1.17: eliminate a patch by setting CFLAGS instead
Scott Garman [Mon, 16 Aug 2010 21:45:29 +0000 (14:45 -0700)]
tar_1.17: eliminate a patch by setting CFLAGS instead

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
14 years agofile: reinstate 5.04 upgrades with modifications
Qing He [Tue, 17 Aug 2010 02:58:15 +0000 (10:58 +0800)]
file: reinstate 5.04 upgrades with modifications

reinstate the patch since rpm recipe has been upgraded

> commit 21d586b47c8c5338913c5e8ca2ee604409cc57a0
> Author: Qing He <qing.he@intel.com>
> Date:   Tue Jul 6 13:19:10 2010 +0800
>
>     file: upgrade to version 5.04
>
>     from 4.18
>
>     changes:
>       - remove native-fix.patch and sed line in do_configure_prepend,
>         AM_CONDITIONAL(IS_CROSS_COMPILE, ...) works well
>       - fix the bug of not packaging ${datadir}/misc/magic.mgc,
>         without this file, this utility isn't very useful
>       - add zlib as explicit build dependency
>
>     Signed-off-by: Qing He <qing.he@intel.com>

new changes:
  - string/B is not supported in file 5.04, add an alias to string/W
  - '>=' and '<=' was not supported, add an extension for existing
    usage

Signed-off-by: Qing He <qing.he@intel.com>
14 years agolibuser: add 0.56.16 as new recipe
Zhai Edwin [Wed, 25 Aug 2010 08:05:35 +0000 (16:05 +0800)]
libuser: add 0.56.16 as new recipe

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
14 years agobase.bbclass: Add xz-native as depends when finding *.xz in SRCURI
Zhai Edwin [Wed, 25 Aug 2010 08:05:13 +0000 (16:05 +0800)]
base.bbclass: Add xz-native as depends when finding *.xz in SRCURI

Just adding xz-native as DEPENDS in one bb file could not make its unpack run
after xz-native build done.

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
14 years agoxz: add 4.999.9beta as new recipe
Zhai Edwin [Sun, 22 Aug 2010 03:00:42 +0000 (11:00 +0800)]
xz: add 4.999.9beta as new recipe

Requies xz-native to unpack the tarball of libuser

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
14 years agobash (GPLv2): remove metadata sharing from GPLv3 recipe
Kevin Tian [Tue, 24 Aug 2010 07:34:35 +0000 (15:34 +0800)]
bash (GPLv2): remove metadata sharing from GPLv3 recipe

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
14 years agofindutils (GPLv2): remove metadata sharing from GPLv3 recipe
Kevin Tian [Tue, 24 Aug 2010 07:17:20 +0000 (15:17 +0800)]
findutils (GPLv2): remove metadata sharing from GPLv3 recipe

to avoid inadvertent contamination in the future, GPLv2 recipe is
fully split its v3 buddy. This way we can enforce strong isolation
for GPLv2 code.

also remove one unnecessary patch

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
14 years agorsync: split GPLv2 version from GPLv3 by fixing the GPLv2 recipe
Dexuan Cui [Tue, 24 Aug 2010 03:34:29 +0000 (11:34 +0800)]
rsync: split GPLv2 version from GPLv3 by fixing the GPLv2 recipe

remove the "require rsync.inc", and copy the .inc file into the GPLv2 recipe,
and adjust it properly;

mkdir rsync-2.6.9 and copy files/rsyncd.conf into rsync-2.6.9/rsyncd.conf.
BTW: the .conf file originated from OE in 2006:

commit c2a4b021eb04924f8c8b0e0af1fac337a04cbcae
Author: Raymond Danks <raymond@edanks.com>
Date:   Tue Apr 18 01:43:08 2006 +0000

    rsync: Add rsyncd.conf

http://cgit.openembedded.org/cgit.cgi/openembedded/commit/?id=c2a4b021eb04924f8c8b0e0af1fac337a04cbcae

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
14 years agowhich: add GPLv2 version 2.18
Dexuan Cui [Fri, 20 Aug 2010 12:40:23 +0000 (20:40 +0800)]
which: add GPLv2 version 2.18

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
14 years agocoreutils: upgrade to latest GPLv2 version (6.9)
Kevin Tian [Wed, 18 Aug 2010 04:55:21 +0000 (12:55 +0800)]
coreutils: upgrade to latest GPLv2 version (6.9)

Before adding latest coreutils GPLv3 version, first we upgrade existing
recipe to latest GPLv2 version here.

To ensure a clean process, all bits are coded from scratch including
patches and recipe, except that in recipe lines about update-alternative
are reused from previous 5.3.0. All new patches are licensed under
GPLv2.

Tested simple features with most coreutils commands

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
14 years agotest: Add scenario file for each target and support single case running
Jiajun Xu [Wed, 18 Aug 2010 14:02:08 +0000 (22:02 +0800)]
test: Add scenario file for each target and support single case running

Different test cases are needed for different targets. A folder "scenario"
is created under scripts/qemuimage-tests to hold scenario files for different
targets.

Single case running is supported now. User can run single case together with
a whole test suite by setting variable TEST_SCEN in local.conf.

By default test cases in sanity suite will be ran. If you want to run other
test suite or specific test case(e.g. bat or boot test case under sanity suite),
list them like following.
TEST_SCEN = "sanity bat sanity:boot"

Signed-off-by Jiajun Xu <jiajun.xu@intel.com>

14 years agotask-poky-basic: added new packages to basic task for LSB
Saul Wold [Mon, 16 Aug 2010 20:44:21 +0000 (13:44 -0700)]
task-poky-basic: added new packages to basic task for LSB

further tweaked by Kevin Tian, with simple boot test. 'at' is disabled
as it depends on mail of build system which needs to be fixed

Signed-off-by: Saul Wold <Saul.Wold@intel.com>
Signed-off-by: Kevin Tian <kevin.tian@intel.com>
14 years agoftrace: add trace-cmd for ftrace control and config
Bruce Ashfield [Fri, 20 Aug 2010 16:24:43 +0000 (12:24 -0400)]
ftrace: add trace-cmd for ftrace control and config

Rather than manually configuring ftrace, trace-cmd was created
to provide a more user friendly interface to the tracer.

Some examples are:

 # ./trace-cmd record -e all ls /bin

Then to see the information:

 # ./trace-cmd report

To see just a subsystem:

 # ./trace-cmd record -e irq ls /bin

To list the available trace events:

 # ./trace-cmd list -e

You can also trace a single trace point with one of two methods:

 # ./trace-cmd record -e sched:sched_wakeup ls /bin

Or simply:

 # ./trace-cmd record -e sched_wakeup ls /bin

This tool also works with tracers (plugins) as well as events

 # ./trace-cmd list -p

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
14 years agolinux-wrs: update to 2.6.34.5
Bruce Ashfield [Thu, 26 Aug 2010 18:09:10 +0000 (14:09 -0400)]
linux-wrs: update to 2.6.34.5

edd8801 Linux 2.6.34.5
4070f43 vmware: fix build error in vmware.c
57cbde5 mm: fix up some user-visible effects of the stack guard page
4def7ce mm: fix page table unmap for stack guard page properly

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
14 years agosstate/utility-tasks: Ensure do_clean functions correctly and removes shared state
Richard Purdie [Fri, 27 Aug 2010 11:33:58 +0000 (12:33 +0100)]
sstate/utility-tasks: Ensure do_clean functions correctly and removes shared state

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agosstate: Run sstate_cleanall() as part of do_setscene()
Richard Purdie [Fri, 27 Aug 2010 11:29:01 +0000 (12:29 +0100)]
sstate: Run sstate_cleanall() as part of do_setscene()

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoqemu: On some older machines SDL is available
Mark Hatle [Thu, 26 Aug 2010 18:49:37 +0000 (11:49 -0700)]
qemu: On some older machines SDL is available

On some older machines SDL is available, even if a pkgconfig
file for SDL is not there.  (See RHEL5.1)

Extend the check, to see if the primary SDL header is there, if
the pkgconfig check fails.

Signed-off-by: Mark Hatle <mhatle@windriver.com>
14 years agopseudo: Update to the latest git version of pseudo
Mark Hatle [Thu, 26 Aug 2010 18:45:55 +0000 (11:45 -0700)]
pseudo: Update to the latest git version of pseudo

Latest git version includes:

2010-08-26:
* (seebs) make offsets.c slightly less useless
* (seebs) don't overwrite LD_LIBRARY_PATH values that include us

2010-08-25:
* (seebs) fix the signal mask restore

2010-08-24:
* (seebs) try to restore signal mask before calling exec()
* (seebs) move errno restoration after code which could set errno

2010-08-19:
* (seebs) handle insane edge case involving regcomp/regexec

2010-08-17:
* (seebs) create speculative-deletion logic
* (seebs) remove crackpot theories about cross-device renames

2010-08-16:
* (rp) Fix ld_preload/ld_library_path mixup.
* (seebs) Handle failed allocations.
* (seebs) Fix logic for dropping empty LD_PRELOAD.

Signed-off-by: Mark Hatle <mhatle@windriver.com>
14 years agometa-toolchain: fix for recent opkg change
Joshua Lock [Thu, 26 Aug 2010 17:01:49 +0000 (18:01 +0100)]
meta-toolchain: fix for recent opkg change

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agometa-toolchain: update to reflect opkg state directory move
Joshua Lock [Thu, 26 Aug 2010 07:59:20 +0000 (08:59 +0100)]
meta-toolchain: update to reflect opkg state directory move

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agoopkg: finalize the change to var directory
Kevin Tian [Thu, 26 Aug 2010 04:39:07 +0000 (12:39 +0800)]
opkg: finalize the change to var directory

commit 1d0757f16beb31551733d9d755d72337ccda9642 changes opkg run state from
/usr/lib/opkg to /var/lib/opkg, which however is incomplete and still many
important information is kept under old directory including postinst methods.
This makes latest boot into a mess.

So finalize this movement to /var here. Fix [BUGID #229]

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
14 years agosstate: fix architecture of sstate archives
Joshua Lock [Wed, 25 Aug 2010 14:00:02 +0000 (15:00 +0100)]
sstate: fix architecture of sstate archives

Using TARGET_ARCH as the pacakge architecture for sstate archives lead to some
issues when using two machines with different BASE_PACKAGE_ARCH's but the same
TARGET_ARCH such as netbook and qemux86 machines.

Probable fix for [BUGID #223]

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agoxf86-video-intel: fix COMPATIBLE_HOST entry, this was preventing building
Joshua Lock [Wed, 25 Aug 2010 10:37:29 +0000 (11:37 +0100)]
xf86-video-intel: fix COMPATIBLE_HOST entry, this was preventing building

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agopoky-qemu: check for existence of required libraries
Joshua Lock [Tue, 24 Aug 2010 15:16:47 +0000 (16:16 +0100)]
poky-qemu: check for existence of required libraries

We need some libraries installed to run the built qemu, check for their
existence before trying to run the program. Fixes [BUGID #201]

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agoqemu.inc: ensure helper programs are built when building for qemu machines
Joshua Lock [Tue, 24 Aug 2010 13:47:10 +0000 (14:47 +0100)]
qemu.inc: ensure helper programs are built when building for qemu machines

QEMU machine images are useless without qemu-native and qemu-helper-native

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agoopkg: use var for state files, not libdir
Joshua Lock [Tue, 24 Aug 2010 10:32:01 +0000 (11:32 +0100)]
opkg: use var for state files, not libdir

Fixes [BUGID #221]

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agobitbake/runqueue.py: Ensure rqexe always exists and that empty task lists cause a...
Richard Purdie [Tue, 24 Aug 2010 23:58:23 +0000 (00:58 +0100)]
bitbake/runqueue.py: Ensure rqexe always exists and that empty task lists cause a graceful exit

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agopackage_rpm: Temporary workaround for perfile dependencies
Mark Hatle [Mon, 23 Aug 2010 15:12:43 +0000 (08:12 -0700)]
package_rpm: Temporary workaround for perfile dependencies

Until the pseudo code is fully integrated, we need to roll up the
per file dependencies into package dependencies for rpm.

Signed-off-by: Mark Hatle <mhatle@windriver.com>
14 years agorootfs_rpm: Enable multi dep solverdbs
Mark Hatle [Sun, 22 Aug 2010 05:44:21 +0000 (22:44 -0700)]
rootfs_rpm: Enable multi dep solverdbs

Update package_rpm.bbclass to generate dep solver databases for each
package arch.  Following the example of the deb and ipk integration

Revise the rootfs_rpm to solve the installation based on the multiple
dep solvers.

Note, recommends, locale and attemptonly pckages are still to be
implemented.

Signed-off-by: Mark Hatle <mhatle@windriver.com>
14 years agopackage_rpm: Rewrite the way the spec files are generated
Mark Hatle [Fri, 20 Aug 2010 16:52:39 +0000 (09:52 -0700)]
package_rpm: Rewrite the way the spec files are generated

Use a single spec file to generate all of the split packages.  This allows
us to ensure the RPM package source package meta data is correct, and also
speeds up the package generation process.

Signed-off-by: Mark Hatle <mhatle@windriver.com>
14 years agopackage.bbclass: Fix per-file dependency generation
Mark Hatle [Mon, 23 Aug 2010 16:12:54 +0000 (09:12 -0700)]
package.bbclass: Fix per-file dependency generation

The overall file list was being constructed with the wrong variable, it
should have had FLIST in the name.

Also it was possible to construct the system with some illegal variable
names.  Names that would have include "[]".  So translate these away...

Finally fix an issues where a filename with an _ could cause a package
variable conflict.  Again translate this away..

Signed-off-by: Mark Hatle <mhatle@windriver.com>
14 years agorpm_5.1.10.bb: Update macros
Mark Hatle [Sun, 22 Aug 2010 02:40:43 +0000 (19:40 -0700)]
rpm_5.1.10.bb: Update macros

Fix some additional macro definitions to enable rpmdeps usage

Signed-off-by: Mark Hatle <mhatle@windriver.com>
14 years agorpm: use rpm-5.1.10 from SNAPSHOT URI.
Jeff Johnson [Sat, 21 Aug 2010 03:09:44 +0000 (23:09 -0400)]
rpm: use rpm-5.1.10 from SNAPSHOT URI.

rpm-5.1.10 snapshot adds support for multiple aid databases

revert slashDepth patch, now included in 5.1.10

Signed-off-by: Jeff Johnson <n3npq@mac.com>
Signed-off-by: Mark Hatle <mhatle@windriver.com>
14 years agoEnsure all packages which should have x86_64 in COMPATIBLE_HOST
Joshua Lock [Wed, 18 Aug 2010 17:54:14 +0000 (18:54 +0100)]
Ensure all packages which should have x86_64 in COMPATIBLE_HOST

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agopackage.bbclass: Fix shlibs race
Richard Purdie [Mon, 23 Aug 2010 14:41:21 +0000 (15:41 +0100)]
package.bbclass: Fix shlibs race

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agobitbake.conf: Add DESCRIPTION for -dev, -dbg and -doc packages
Richard Purdie [Mon, 23 Aug 2010 14:27:18 +0000 (15:27 +0100)]
bitbake.conf: Add DESCRIPTION for -dev, -dbg and -doc packages

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoinsane.bbclass: Update to match the packaging classes when handling OVERRIDES
Richard Purdie [Mon, 23 Aug 2010 14:26:38 +0000 (15:26 +0100)]
insane.bbclass: Update to match the packaging classes when handling OVERRIDES

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agopackage.bbclass: Fix do_shlibs
Mark Hatle [Sat, 21 Aug 2010 19:21:02 +0000 (12:21 -0700)]
package.bbclass: Fix do_shlibs

The current packages shlibs processing is written to a local temporary file.
This file is not consulted when evaluting the provider of the dependency,
instead we need to cache the local values into the dictionary while we write
the temp file.

Signed-off-by: Mark Hatle <mhatle@windriver.com>
14 years agodevshell.bbclass: export the FAKEROOTENV so it can be accessed within the devshell...
Richard Purdie [Mon, 23 Aug 2010 12:04:03 +0000 (13:04 +0100)]
devshell.bbclass: export the FAKEROOTENV so it can be accessed within the devshell task

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoutils.py: Fix bb.copyfile to change the permissions of the file back correctly
Richard Purdie [Mon, 23 Aug 2010 12:01:05 +0000 (13:01 +0100)]
utils.py: Fix bb.copyfile to change the permissions of the file back correctly

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agopackage.bbclass: If files are unreadable, add read access for stripping
Richard Purdie [Sat, 21 Aug 2010 23:28:28 +0000 (00:28 +0100)]
package.bbclass: If files are unreadable, add read access for stripping

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agolib/oe/path: Use bb.utils.copyfile as shutils can't cope with copying unreadable...
Richard Purdie [Sat, 21 Aug 2010 23:27:55 +0000 (00:27 +0100)]
lib/oe/path: Use bb.utils.copyfile as shutils can't cope with copying unreadable files

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoutils.py: Add a new extend_deps() to easily merge two dependency lists
Mark Hatle [Fri, 20 Aug 2010 16:27:22 +0000 (09:27 -0700)]
utils.py: Add a new extend_deps() to easily merge two dependency lists

Add a new extend_deps function to more easily merge two dependency lists.
This avoids adding duplicates, unless the value of the dependency is
different.

Signed-off-by: Mark Hatle <mhatle@windriver.com>
14 years agopackage.bbclass: Add perfile dependency identification
Mark Hatle [Fri, 20 Aug 2010 15:54:53 +0000 (08:54 -0700)]
package.bbclass: Add perfile dependency identification

Using the rpmdeps commands, we enable the discovery of per-file dependencies.
These dependencies are generated for all packages, and may or may not be used
by any given packaging mechanism.  Currently RPROVIDES and RDEPENDS are
generated in this process.

Signed-off-by: Mark Hatle <mhatle@windriver.com>
14 years agobitbake.conf: Add shared/pkgconfig files to standard -dev glob
Mark Hatle [Fri, 20 Aug 2010 15:38:04 +0000 (08:38 -0700)]
bitbake.conf: Add shared/pkgconfig files to standard -dev glob

Add the pkgconfig files that may appear into the shared directory into
the -dev globbing.

Also change the udev integration to remove the manual instance of the
shared directory .pc file.

Signed-off-by: Mark Hatle <mhatle@windriver.com>
14 years agorpm: Update the rpm integration to support per-file dependencies
Mark Hatle [Fri, 20 Aug 2010 15:32:08 +0000 (08:32 -0700)]
rpm: Update the rpm integration to support per-file dependencies

Update the RPM package integration to support per-file dependencies

This adds additional configuration options to RPM, as well as provides
a helper script "perfile_rpmdeps.sh" that the build system can use to
gather the dependency information.

Signed-off-by: Mark Hatle <mhatle@windriver.com>
14 years agoglibc: bring back needed patches from older recipes
Nitin A Kamble [Fri, 20 Aug 2010 19:20:52 +0000 (12:20 -0700)]
glibc: bring back needed patches from older recipes

while removing old glibc recipes some needed patches from
older recipes got wiped out. Bringing them back.

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
14 years agobase.bbclass: Initial work to add GPLv2 Only Build with Whitelist for GPLv3 Native...
Saul Wold [Mon, 16 Aug 2010 21:48:04 +0000 (14:48 -0700)]
base.bbclass: Initial work to add GPLv2 Only Build with Whitelist for GPLv3 Native tools

[tweaks from Richard Purdie]

Signed-off-by: Saul Wold <Saul.Wold@intel.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agolinux-wrs: allow packed refs to be present
Bruce Ashfield [Thu, 19 Aug 2010 20:37:03 +0000 (16:37 -0400)]
linux-wrs: allow packed refs to be present

The code which creates a working tree from the source
Wind River Linux git repository manipulates the refs
to make non-tracking, local branches. packed-refs remove
the files from refs, making this code break and the builds
fail.

To fix this, if we detect the packed refs we simply create
the local refs from the remote branches.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
14 years agokernel: update branch revisions for 2.6.34.4
Bruce Ashfield [Thu, 19 Aug 2010 20:29:36 +0000 (16:29 -0400)]
kernel: update branch revisions for 2.6.34.4

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
14 years agoguilt: import guilt for kernel patch management
Bruce Ashfield [Tue, 10 Aug 2010 19:01:37 +0000 (15:01 -0400)]
guilt: import guilt for kernel patch management

The Wind River kernel is "patched" via guilt to provide
both git integration and quilt like patch management
(if that is of interest).

This is a modified 0.33 guilt with some changes to
streamline interactions with the way that the Wind
River kernel is constructed. That being said, the
common semantics of guilt are not changed, and it
can be used for other purposes.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
14 years agodistro-tracking: add info for watchdog
Dexuan Cui [Fri, 20 Aug 2010 08:11:40 +0000 (16:11 +0800)]
distro-tracking: add info for watchdog

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
14 years agowatchdog: add the latest version 5.9
Dexuan Cui [Fri, 20 Aug 2010 07:54:59 +0000 (15:54 +0800)]
watchdog: add the latest version 5.9

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
14 years agopoky-qemu-internal: fix the echo of KERNCMDLINE
Dexuan Cui [Thu, 19 Aug 2010 07:01:29 +0000 (15:01 +0800)]
poky-qemu-internal: fix the echo of KERNCMDLINE

Without the fix, when the commandline is printed with the "echo" command,
it loses the quotes and this confuses people.

Thanks Richard for pointing this out.

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
14 years agodistro tracking: Add info for pax
Zhai Edwin [Fri, 20 Aug 2010 07:22:15 +0000 (15:22 +0800)]
distro tracking: Add info for pax

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
14 years agodistro tracking: Updated version info for owl-video, matchbox-desktop, webkit-gtk...
Zhai Edwin [Fri, 20 Aug 2010 07:22:15 +0000 (15:22 +0800)]
distro tracking: Updated version info for owl-video, matchbox-desktop, webkit-gtk...

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
14 years agopoky-qemu-internal: fix broken call to poky-qemu-ifup
Scott Garman [Wed, 18 Aug 2010 18:10:14 +0000 (11:10 -0700)]
poky-qemu-internal: fix broken call to poky-qemu-ifup

The poky-qemu-ifup script now requires a path to the native
sysroot as an argument. This fixes a case where the argument
was missing.

Also, set up NATIVE_SYSROOT_DIR when running runqemu.

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
14 years agopython-pycairo: upgrade to 1.8.10
Yu Ke [Mon, 16 Aug 2010 07:08:50 +0000 (15:08 +0800)]
python-pycairo: upgrade to 1.8.10

Signed-off-by: Yu Ke <ke.yu@intel.com>
14 years agoiputils: add iputils package
Yu Ke [Thu, 29 Jul 2010 07:43:22 +0000 (15:43 +0800)]
iputils: add iputils package

iputils are utilities for the IP protocol, including traceroute6, tracepath, tracepath6, ping, ping6 and arping.

this commit add iputils 20100418. code is borrowed from open embedded and debian, with following changes:
- upgrade from s20071127 to s20100418
- update the do_compile (add VPATH) to make s20100418 pass
- disable man since it depends docbook while poky don't have

Signed-off-by: Yu Ke <ke.yu@intel.com>