]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
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>
14 years agopseudo: Honour the NO32LIBS variable
Richard Purdie [Tue, 7 Sep 2010 11:17:10 +0000 (12:17 +0100)]
pseudo: Honour the NO32LIBS variable

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agobitbake/codeparser: Deal with functions with trailing whitespace
Richard Purdie [Tue, 7 Sep 2010 13:33:53 +0000 (14:33 +0100)]
bitbake/codeparser: Deal with functions with trailing whitespace

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoudev: Drop old versions
Richard Purdie [Tue, 7 Sep 2010 11:09:51 +0000 (12:09 +0100)]
udev: Drop old versions

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agopoky-default.inc: Use standard udev version for PPC, seems to work fine
Richard Purdie [Tue, 7 Sep 2010 11:07:33 +0000 (12:07 +0100)]
poky-default.inc: Use standard udev version for PPC, seems to work fine

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoscripts: use the exported POKY_NATIVE_SYSROOT variable
Joshua Lock [Fri, 3 Sep 2010 17:34:24 +0000 (18:34 +0100)]
scripts: use the exported POKY_NATIVE_SYSROOT variable

Rather than trying to determine things through guess-work use the newly
exported variables to determine where the native binaries reside and
whether we are running in a build directory or not.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agotoolchain-scripts: export extra variables for use by scripts
Joshua Lock [Fri, 3 Sep 2010 17:31:19 +0000 (18:31 +0100)]
toolchain-scripts: export extra variables for use by scripts

Export the location of the native sysroot for use in the scripts to
determine the location of native binaries.

Also add a POKY_DISTRO_VERSION to the external toolchain environment as a
method of determining if we're running under a build directory or not
i.e. not if the variable is empty

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agorunqemu-nfs: check for required programs
Joshua Lock [Fri, 3 Sep 2010 17:27:20 +0000 (18:27 +0100)]
runqemu-nfs: check for required programs

The unfs server requires either rpcbind or portmap to be installed and
running to start so check for their presence in the script.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agolinux-wrs: Ensure S directory exists else task can fail
Richard Purdie [Mon, 6 Sep 2010 22:18:28 +0000 (23:18 +0100)]
linux-wrs: Ensure S directory exists else task can fail

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agogcc-crosssdk-initial: Ensure native dependencies are built, these can differ accross...
Richard Purdie [Mon, 6 Sep 2010 21:14:41 +0000 (22:14 +0100)]
gcc-crosssdk-initial: Ensure native dependencies are built, these can differ accross different gcc versions causing build failures

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agokernel/wrs: update SRCREV for v2.6.34.6 + changes
Bruce Ashfield [Sat, 4 Sep 2010 04:37:14 +0000 (00:37 -0400)]
kernel/wrs: update SRCREV for v2.6.34.6 + changes

Updating the SRCREVs for the recent port of bug fixes for all boards
and the integration of qemux86-64 config and connector changes.

Now that the qemux86-64 changes are in tree, we can drop them from
the linux-wrs recipe.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
14 years agotask-poky-tools.bb: avoid multiple RRECOMMENDS to override each other
Kevin Tian [Mon, 6 Sep 2010 02:25:15 +0000 (10:25 +0800)]
task-poky-tools.bb: avoid multiple RRECOMMENDS to override each other

there're two RRECOMMENDS_task-poky-tools-profile both using direct assignment,
which makes 'perf' overriden by "kernel-module-oprofile"

Fix [BUGID #97]

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
14 years agopoky-default-revisions.inc: Move SRCREVs to correct locations, fix whitespace
Richard Purdie [Mon, 6 Sep 2010 13:56:35 +0000 (14:56 +0100)]
poky-default-revisions.inc: Move SRCREVs to correct locations, fix whitespace

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agofetch: fix setting of localpath in SRC_URI parameters
Joshua Lock [Mon, 6 Sep 2010 11:28:00 +0000 (12:28 +0100)]
fetch: fix setting of localpath in SRC_URI parameters

When setting localpath in the SRC_URI parameters the basename should be set
explicitly as the localpath() method is not called.

Fixes [BUGID #81]

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agopoky-default.inc: Make sure sdk version of gcc is fixed and doesn't change
Richard Purdie [Mon, 6 Sep 2010 13:30:57 +0000 (14:30 +0100)]
poky-default.inc: Make sure sdk version of gcc is fixed and doesn't change

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agotasks-poky-basic and tasks-poky-qt: bump PR and remove at
Saul Wold [Sat, 4 Sep 2010 16:41:44 +0000 (09:41 -0700)]
tasks-poky-basic and tasks-poky-qt: bump PR and remove at

Remove at since it's failing build
Add Zypper to lsb image

Signed-off-by: Saul Wold <Saul.Wold@intel.com>
14 years agotask-poky-qt.bb: Exclude mips from building
Saul Wold [Sat, 4 Sep 2010 01:40:23 +0000 (18:40 -0700)]
task-poky-qt.bb: Exclude mips from building

Signed-off-by: Saul Wold <Saul.Wold@intel.com>
14 years agoclutter-mozembed: move patches back into meta-moblin
Scott Garman [Fri, 3 Sep 2010 23:34:07 +0000 (16:34 -0700)]
clutter-mozembed: move patches back into meta-moblin

These patches were mistakenly moved into meta/recipes-graphics/clutter
during the metadata reorg. This moves them back where they belong.

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
14 years agorpm: Fix autoconf/libtool usage
Mark Hatle [Fri, 3 Sep 2010 17:43:41 +0000 (12:43 -0500)]
rpm: Fix autoconf/libtool usage

In order to resolve a host-contamination problem, we re-work the way that
autoconf and friends are invoked during the compilation of RPM.

This has a side effect of fixing another bug where RPM was being renamed
HOST_ARCH-HOST_OS-rpm.  So we remove the "fixes" for that behavior as well.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
14 years agorootfs_rpm: Workaround for checksum changes
Mark Hatle [Fri, 3 Sep 2010 17:41:57 +0000 (12:41 -0500)]
rootfs_rpm: Workaround for checksum changes

With the new checksum changes, the system is no longer able to determine
if the function resolve_package is used.  So it doesn't get emitted.  The
workaround resolves this by triggering an exit 0, followed by a bogus usage
of the function.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
14 years agozypper: add new package
Qing He [Fri, 20 Aug 2010 03:08:43 +0000 (11:08 +0800)]
zypper: add new package

Signed-off-by: Saul Wold <saul.wold@intel.com>
Signed-off-by: Qing He <qing.he@intel.com>
14 years agolibzypp: add new package
Qing He [Fri, 20 Aug 2010 03:08:34 +0000 (11:08 +0800)]
libzypp: add new package

Signed-off-by: Saul Wold <saul.wold@intel.com>
Signed-off-by: Qing He <qing.he@intel.com>
14 years agosat-solver: added new package
Qing He [Fri, 20 Aug 2010 03:08:52 +0000 (11:08 +0800)]
sat-solver: added new package

Signed-off-by: Saul Wold <saul.wold@intel.com>
Signed-off-by: Qing He <qing.he@intel.com>
14 years agoaugeas: add new package
Qing He [Fri, 20 Aug 2010 03:05:33 +0000 (11:05 +0800)]
augeas: add new package

version 0.7.3

Signed-off-by: Qing He <qing.he@intel.com>
14 years agoFix broken references to libcheck
Scott Garman [Fri, 3 Sep 2010 22:28:34 +0000 (15:28 -0700)]
Fix broken references to libcheck

* check has been renamed to libcheck

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
14 years agorpm: Change the way the python version is determined so its sane and works with check...
Richard Purdie [Fri, 3 Sep 2010 22:23:09 +0000 (23:23 +0100)]
rpm: Change the way the python version is determined so its sane and works with checksumming

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agotask-poky-qt: create a task and add to poky-image-sdk
Saul Wold [Fri, 3 Sep 2010 04:14:14 +0000 (21:14 -0700)]
task-poky-qt: create a task and add to poky-image-sdk

Fixes [BUGID #260]

Signed-off-by: Saul Wold <Saul.Wold@intel.com>
14 years agobootmisc.h: use "date -s" to set time
Kevin Tian [Fri, 3 Sep 2010 08:37:20 +0000 (16:37 +0800)]
bootmisc.h: use "date -s" to set time

without "-s", 201009031653 would be interpreted incorrectly by date
and then we saw below warning:
date: invalid date 165320100903

Fix [BUGID #265]

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
14 years agodistro-tracking: update lttng-ust, lttng-viewer
Dexuan Cui [Fri, 3 Sep 2010 13:32:46 +0000 (21:32 +0800)]
distro-tracking: update lttng-ust, lttng-viewer

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
14 years agolttng-viewer: upgrade to the latest version 0.12.35
Dexuan Cui [Fri, 3 Sep 2010 13:27:57 +0000 (21:27 +0800)]
lttng-viewer: upgrade to the latest version 0.12.35

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
14 years agolttng-ust: upgrade to the latest version 0.7
Dexuan Cui [Fri, 3 Sep 2010 13:26:38 +0000 (21:26 +0800)]
lttng-ust: upgrade to the latest version 0.7

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
14 years agopoky.conf: Set hash policy
Richard Purdie [Fri, 3 Sep 2010 15:25:24 +0000 (16:25 +0100)]
poky.conf: Set hash policy

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agobitbake: Add missing signature files
Richard Purdie [Fri, 3 Sep 2010 15:11:29 +0000 (16:11 +0100)]
bitbake: Add missing signature files

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agobitbake: Implement signatures
Richard Purdie [Tue, 31 Aug 2010 13:49:43 +0000 (14:49 +0100)]
bitbake: Implement signatures

Includes functionality to find out what changes between two different singature data dumps.

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agobitbake/codeparser: Ensure cached sheel entries return the correct dependencies
Richard Purdie [Fri, 3 Sep 2010 15:05:30 +0000 (16:05 +0100)]
bitbake/codeparser: Ensure cached sheel entries return the correct dependencies

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agobitbake/ast: Ensure function definitions are always added to the dictonary
Richard Purdie [Fri, 3 Sep 2010 15:04:26 +0000 (16:04 +0100)]
bitbake/ast: Ensure function definitions are always added to the dictonary

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agosstate: Handle symlink directory entries correctly
Richard Purdie [Fri, 3 Sep 2010 14:28:11 +0000 (15:28 +0100)]
sstate: Handle symlink directory entries correctly

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agorpm: Raise the number of potential rescans before aborting with a dep loop
Mark Hatle [Thu, 2 Sep 2010 18:40:45 +0000 (13:40 -0500)]
rpm: Raise the number of potential rescans before aborting with a dep loop

Within Poky we have a large number of self-referencing packages.  So we
need to raise the number of rescans before triggering a dependency loop
error.  100 seems like a reasonable number.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
14 years agoeglibc: Add siteconfig cache generation
Jeff Polk [Thu, 2 Sep 2010 21:31:43 +0000 (15:31 -0600)]
eglibc: Add siteconfig cache generation

Signed-off-by: Jeff Polk <jeff.polk@windriver.com>
14 years agouclibc: Add siteconfig cache generation
Jeff Polk [Thu, 2 Sep 2010 21:29:54 +0000 (15:29 -0600)]
uclibc: Add siteconfig cache generation

Signed-off-by: Jeff Polk <jeff.polk@windriver.com>
14 years agoncurses: Add siteconfig cache generation
Jeff Polk [Thu, 2 Sep 2010 21:27:23 +0000 (15:27 -0600)]
ncurses: Add siteconfig cache generation

Signed-off-by: Jeff Polk <jeff.polk@windriver.com>
14 years agozlib: Add siteconfig cache generation
Jeff Polk [Thu, 2 Sep 2010 21:17:16 +0000 (15:17 -0600)]
zlib: Add siteconfig cache generation

Signed-off-by: Jeff Polk <jeff.polk@windriver.com>
14 years agoglibc: Add siteconfig cache generation
Jeff Polk [Thu, 2 Sep 2010 21:16:39 +0000 (15:16 -0600)]
glibc: Add siteconfig cache generation

Signed-off-by: Jeff Polk <jeff.polk@windriver.com>
14 years agositeconfig: generate configuration data caches for autoconf
Jeff Polk [Thu, 2 Sep 2010 21:08:59 +0000 (15:08 -0600)]
siteconfig: generate configuration data caches for autoconf
siteinfo: Use configuration caches when available

Generate cached configuration data for autoconf for the package
based on a list of header, types, and functions to eliminate the
need for all subesequent package builds to do the actual tests
via the cross compiler and sysroot.  The cache files are
stored in the sysroot in ${STAGING_DATADIR}/${TARGET_SYS}_config_site.d.
Siteinfo appends any files it finds in that directory to the normal
CONFIG_SITE.  All of the cache values set the variables only if not
already set so they may be overridden by any of the normal site files.

Signed-off-by: Jeff Polk <jeff.polk@windriver.com>
14 years agorootfs_rpm: Support install_all_locales
Mark Hatle [Thu, 2 Sep 2010 18:28:37 +0000 (13:28 -0500)]
rootfs_rpm: Support install_all_locales

Support installing all locales similarly to how it is done within the ipk
support.  This has had basic testing, but it's not a normally used function
so there could still be some flaws.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
14 years agoroots_rpm: Enable installation of recommended packages
Mark Hatle [Wed, 1 Sep 2010 21:04:45 +0000 (16:04 -0500)]
roots_rpm: Enable installation of recommended packages

Within RPM there is a field called "Suggests".  This filed behaves like
"Recommends" does in ipk.  So we write out the packages using the Suggests
field with the Poky 'Recommends' values... and then use the arbitrary tags to
capture the Poky 'Suggests' within a new "Recommends" tag.

Slightly confusing, but the end result is a functioning install.

Also some performance enhancements were add at the same time.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
14 years agopackage_rpm: Start packaging directories
Mark Hatle [Wed, 1 Sep 2010 18:37:01 +0000 (13:37 -0500)]
package_rpm: Start packaging directories

Match ipkg behavior and unconditionally include directories in the packages

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
14 years agoglibc-package.inc: disable build-time locale generation for nativesdk
Kevin Tian [Fri, 3 Sep 2010 06:29:17 +0000 (14:29 +0800)]
glibc-package.inc: disable build-time locale generation for nativesdk

The idea of build-time locale generation is documented in glibc-package.inc:

    Binary locales are generated at build time if ENABLE_BINARY_LOCALE_GENERATION
    is set. The idea is to avoid running localedef on the target (at first boot)
    to decrease initial boot time and avoid localedef being killed by the OOM
    killer which used to effectively break i18n on machines with < 128MB RAM.

However it doesn't make sense to do same thing for glibc-nativesdk, as the
build system is powerful. More importantly is that ideally host_arch running
sdk may even be out of the support list of target_arch by qemu-native.

Regarding to above rationale, this commit disables build time locale
generation to avoid following error when asking qemu to run localdef:

NOTE: /opt/poky/sysroots/i586-pokysdk-linux/lib/ld-linux.so.2: No such file or directory

nativesdk binaris have opt path hardcoded to avoid mess with host bits, which
is another reason that build time locale generation is not feasible here.

This fixes [BUGID #264]

also add 'nativesdk' to eglibc per RP's suggestion

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
14 years agoeglibc: Set BBCLASSEXTEND to include nativesdk
Richard Purdie [Fri, 3 Sep 2010 08:29:36 +0000 (09:29 +0100)]
eglibc: Set BBCLASSEXTEND to include nativesdk

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoudev: don't reference parent sysfs node directly
Kevin Tian [Fri, 3 Sep 2010 01:47:05 +0000 (09:47 +0800)]
udev: don't reference parent sysfs node directly

udev warns direct reference to parent sysfs, which is not necessary and
may break future kernel. Actually udev will handle parent nodes automatically
for ATTRS key.

This fixes [BUGID #113]

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
14 years agokern-tools: add dependency on guilt-native
Kevin Tian [Fri, 3 Sep 2010 02:47:04 +0000 (10:47 +0800)]
kern-tools: add dependency on guilt-native

Fix [BUGID #262]

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
14 years agorpcbind: move patch to correct location
Saul Wold [Thu, 2 Sep 2010 22:05:56 +0000 (15:05 -0700)]
rpcbind: move patch to correct location

Signed-off-by: Saul Wold <Saul.Wold@intel.com>
14 years agolinux-libc-headers: update hayes-gone patch to remove HAYES ioctls from mips
Saul Wold [Thu, 2 Sep 2010 22:03:19 +0000 (15:03 -0700)]
linux-libc-headers: update hayes-gone patch to remove HAYES ioctls from mips

Signed-off-by: Saul Wold <Saul.Wold@intel.com>
14 years agosetserial: add patch to fix missing stdlib header
Saul Wold [Thu, 2 Sep 2010 21:17:27 +0000 (14:17 -0700)]
setserial: add patch to fix missing stdlib header

Signed-off-by: Saul Wold <Saul.Wold@intel.com>
14 years agomingetty: Add new mingetty package
Xiaofeng Yan [Wed, 1 Sep 2010 02:35:26 +0000 (10:35 +0800)]
mingetty: Add new mingetty package

mingetty allows for a compact getty program for virtual consoles only

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
14 years agologrotate: Add new logrotate package
Xiaofeng Yan [Wed, 1 Sep 2010 02:29:03 +0000 (10:29 +0800)]
logrotate: Add new logrotate package

logrotate allows for the rotation, compression and removal of system log file

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
14 years agodistro-tracking: update cronie
Dexuan Cui [Thu, 2 Sep 2010 14:33:33 +0000 (22:33 +0800)]
distro-tracking: update cronie

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
14 years agocronie: add the latest version 1.4.4
Dexuan Cui [Thu, 2 Sep 2010 14:29:51 +0000 (22:29 +0800)]
cronie: add the latest version 1.4.4

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
14 years agotask-poky-basic: add cron, logrotate, mingetty
Saul Wold [Thu, 2 Sep 2010 19:17:06 +0000 (12:17 -0700)]
task-poky-basic: add cron, logrotate, mingetty

Signed-off-by: Saul Wold <Saul.Wold@intel.com>
14 years agoat: fix for parallel build issue & bug #180
Nitin A Kamble [Thu, 2 Sep 2010 17:04:19 +0000 (10:04 -0700)]
at: fix for parallel build issue & bug #180

parallel build was failing inconsistently due to missing dependancy
specification in the make file. Fixed it with a new patch.

Bug 180 reported this issue:
| arm-poky-linux-gnueabi-gcc -march=armv5te -mtune=arm926ej-s -c -I.
-fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2
-ggdb
-feliminate-unused-debug-types -DHAVE_CONFIG_H -DVERSION=\"3.1.12\"
-DETCDIR=\"/etc\" -DLOADAVG_MX=0.8 -DDAEMON_USERNAME=\"daemon\"
-DDAEMON_GROUPNAME=\"daemon\" -DLFILE=\"/var/spool/cron/atjobs/.SEQ\"
-Wall
atd.c
| atd.c:511:2: error: #error "No mail command specified."
| make: *** [atd.o] Error 1

Fixed it with the recommended solution of defining SENDMAIL as /bin/true

Fixes [BUGID #180]

Reorganized the recipe file for cleanlyness.
Add the init script for at

As per Scott's wiki instructions added the this init script for at:
http://git.buildroot.net/buildroot/tree/package/at/S99at

add libpam to dependancy
And bumped PR.

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
14 years agorpcbind: add patch to fix host include path
Saul Wold [Thu, 2 Sep 2010 18:52:24 +0000 (11:52 -0700)]
rpcbind: add patch to fix host include path

Signed-off-by: Saul Wold <Saul.Wold@intel.com>
14 years agoqemu: build qemu-x86-64 binary for use in locale generation
Joshua Lock [Thu, 2 Sep 2010 13:07:11 +0000 (14:07 +0100)]
qemu: build qemu-x86-64 binary for use in locale generation

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years ago updateme: detect and prepare patches
Bruce Ashfield [Wed, 1 Sep 2010 04:47:02 +0000 (00:47 -0400)]
 updateme: detect and prepare patches

The big part of this commit is to detect and prepare any
"free floating" patches into a kernel feature that will be
automatically applied to the kernel tree. These patches will
be pushed onto the BSP branch via guilt, and then built as
part of the normal build/deploy cycle.

There are other grouped cleanups, such as tabs instead
of spaces, and the removal of the unused decheckpoint
function.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
14 years agoqemuimage-testlib: kill qemu process according to its pid, instead of process name
Jiajun Xu [Wed, 1 Sep 2010 15:38:53 +0000 (23:38 +0800)]
qemuimage-testlib: kill qemu process according to its pid, instead of process name

poky-qemu-internal will set up a tap lockfile when creating tap device. The lockfile
will be released when a TERM signal is received. In previous code, function
Test_Kill_Qemu uses pkill to kill all process named "qemu". This may cause lockfile
release function not work in poky-qemu-internal. Then poky-qemu-internal will be
hang when user start QEMU the second time. To prevent the issue, the new function
Test_Kill_Qemu kills all child pid with a given parent process ID.

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

14 years agopackage_rpm: Enable debian style tags
Mark Hatle [Wed, 1 Sep 2010 01:05:10 +0000 (20:05 -0500)]
package_rpm: Enable debian style tags

Enable debian style tags including suggests, enhances, recommends

Note, these are not yet used by the dependency resolver.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
14 years agorootfs_rpm: Optimize rpm database processing
Mark Hatle [Tue, 31 Aug 2010 23:57:06 +0000 (18:57 -0500)]
rootfs_rpm: Optimize rpm database processing

Optimize the creation of the solverdb by disabling fsyncs and
database caches that are not used when generating a solution.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
14 years agopackage_rpm: Enable per file dependencies
Mark Hatle [Mon, 30 Aug 2010 21:44:31 +0000 (16:44 -0500)]
package_rpm: Enable per file dependencies

Switch the per file dependency handing to passing the information to
rpm via the standard 'external' dependency scripting.  This ensures that
the dependencies found by RPM exactly match the ones presented by
package.bbclass.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>