scm/bb/tizen-distro.git
14 years agoinsane: Update the insane class to check for host contamination
Mark Hatle [Thu, 30 Sep 2010 20:50:42 +0000 (15:50 -0500)]
insane: Update the insane class to check for host contamination

[BUGID #376]

Update to the insane class to detect the new gcc and binutils poison
messages located within the config.log.  (Continue to scan for the old
style message.)

Add a new compile and install log check to the package_qa that scans the
logs for the same types of messages "unsafe for cross-compilation".

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
14 years agobuild.py: Add a symlink for the logging
Mark Hatle [Thu, 30 Sep 2010 20:04:18 +0000 (15:04 -0500)]
build.py: Add a symlink for the logging

[BUGID #375]

When configuring for the log file output, we generate a symlink to the
target filename.  This link uses the same file naming, but without the
active pid, making it easier to see which log file is the last one
generated.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
14 years agopython-pygtk: Use correct paths at build time
Joshua Lock [Fri, 1 Oct 2010 15:39:49 +0000 (16:39 +0100)]
python-pygtk: Use correct paths at build time

Fix the paths in configure.ac to use the target libraries and generators for
building pygtk. Fix taken from OE.

Thanks to Gary Thomas for providing a first stab at this.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agoPython gst package needs pygtk at runtime
Gary Thomas [Fri, 24 Sep 2010 22:41:11 +0000 (16:41 -0600)]
Python gst package needs pygtk at runtime

Signed-off-by: Gary Thomas <gary@mlbassoc.com>
Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agopoky-qemu-internal: only check mmap_min_addr when running arm images
Joshua Lock [Fri, 1 Oct 2010 14:09:47 +0000 (15:09 +0100)]
poky-qemu-internal: only check mmap_min_addr when running arm images

No need to force users to poke /proc/sys when they don't need to.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agoFix packaging error (util-linux-sfdisk could not be built)
Gary Thomas [Thu, 30 Sep 2010 22:35:25 +0000 (16:35 -0600)]
Fix packaging error (util-linux-sfdisk could not be built)

Signed-off-by: Gary Thomas <gary@mlbassoc.com>
Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agolocal.conf.sample: include notes on generating fewer LIBC locales
Joshua Lock [Fri, 1 Oct 2010 12:11:30 +0000 (13:11 +0100)]
local.conf.sample: include notes on generating fewer LIBC locales

libc locale generation is very time consuming so document the
GLIBC_GENERATE_LOCALES variable in the sample local.conf

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agositeconfig: Fix mkdir
Mark Hatle [Thu, 30 Sep 2010 20:04:31 +0000 (15:04 -0500)]
siteconfig: Fix mkdir

[BUGID #379]

In a strange configuration, siteconfig could have already generated it's
directory, but decided it needs to regenerate the site config.  The lack
of -p in the mkdir causes a failure.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
14 years agobinutils: Update the poison patch
Mark Hatle [Thu, 30 Sep 2010 20:03:59 +0000 (15:03 -0500)]
binutils: Update the poison patch

[BUGID #374]

Previously the poison directories patch was present, but not enabled due
to the lack of the configure option being set, and also the fact configure
itself was not being patched.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
14 years agogcc: Update poisoned include path checking
Mark Hatle [Wed, 29 Sep 2010 20:18:01 +0000 (15:18 -0500)]
gcc: Update poisoned include path checking

[BUGID #374]

The poison directory patch that was included with gcc-4.5.0 was not previously
enabled due to the lack of the configure file changes.

The patch has been updated to include the configure fragment.  It was also noted
that this patch preformed nearly the same functions as the
zecke-no-host-includes patch, but with slightly different directories.

The directories scanned were added from the zecke-no-host-includes patch to
the new gcc-poison-dir-extend.patch.

The other difference with the zecke patch is that poisoned headers is no longer
an immediate fatal error.  There may be instances where someone wants to do
this.

Adding -Werror=poison-system-directories to the CFLAGS would restore the
behavior.

Also fix a small problem where --help=warnings on gcc wouldn't return the
poison-system-directories as a valid option, even though it was.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
14 years agoaugeas: Add missing dependency on readline
Mark Hatle [Fri, 1 Oct 2010 14:53:27 +0000 (09:53 -0500)]
augeas: Add missing dependency on readline

[BUGID #381]

Augeas apparently has a readline dependency.  Add this to the DEPENDS.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
14 years agosstate: Deal with a potential race when cleaning packages
Richard Purdie [Fri, 1 Oct 2010 13:07:18 +0000 (14:07 +0100)]
sstate: Deal with a potential race when cleaning packages

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoSplit meta-extras and meta-moblin out of the main repository
Richard Purdie [Thu, 30 Sep 2010 21:15:13 +0000 (22:15 +0100)]
Split meta-extras and meta-moblin out of the main repository

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agotask-base: Drop wifi fw
Richard Purdie [Thu, 30 Sep 2010 20:35:44 +0000 (21:35 +0100)]
task-base: Drop wifi fw

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoMove prism-firmware, spectrum-fw, python-urlgrabber, python-iniparse and yum-metadata...
Richard Purdie [Thu, 30 Sep 2010 20:35:20 +0000 (21:35 +0100)]
Move prism-firmware, spectrum-fw, python-urlgrabber, python-iniparse and yum-metadata to meta-extras

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoDistro Tracking: Remove private directory since it's merged to one file now
Saul Wold [Thu, 30 Sep 2010 20:46:17 +0000 (13:46 -0700)]
Distro Tracking: Remove private directory since it's merged to one file now

Signed-off-by: Saul Wold <Saul.Wold@intel.com>
14 years agoMake invalid LICENSE fields fatal
Richard Purdie [Thu, 30 Sep 2010 19:15:40 +0000 (20:15 +0100)]
Make invalid LICENSE fields fatal

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agolibopensync: Fixup a couple of LICENSE fields
Richard Purdie [Thu, 30 Sep 2010 19:40:57 +0000 (20:40 +0100)]
libopensync: Fixup a couple of LICENSE fields

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoexternal-toolchain: Set LICENSE
Richard Purdie [Thu, 30 Sep 2010 19:32:01 +0000 (20:32 +0100)]
external-toolchain: Set LICENSE

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agomoblin-proto: Move to meta-extras
Richard Purdie [Thu, 30 Sep 2010 19:08:29 +0000 (20:08 +0100)]
moblin-proto: Move to meta-extras

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoqemu: introduce vmware vga FIFO rewind patch to fix qemu hang
Zhai Edwin [Thu, 30 Sep 2010 17:43:14 +0000 (01:43 +0800)]
qemu: introduce vmware vga FIFO rewind patch to fix qemu hang

In some circumstance guest driver got interrupted before inserting all args
for one command, so that qemu get an invalid args and hang. GL patch
doesn't consume these missing args, which further cause FIFO disorder.

This commit reverts wrong behavior of GL patch, and introduces a qemu
upstream patch to rewind FIFO unpon detecting incomplete command.

[BUGID #111] fixed by this.

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
14 years agolinux-libc-header: Sync CONNECTOR_MAX_MSG_SIZE with wrs kernel
Zhai Edwin [Thu, 30 Sep 2010 13:54:38 +0000 (21:54 +0800)]
linux-libc-header: Sync CONNECTOR_MAX_MSG_SIZE with wrs kernel

Currently default header is linux-libc-header, which leads the dismatch
with wrs kernel.

The different headers for same file cause trouble between kerenl module and
user level binary. E.g. segfault in v86d due to different
CONNECTOR_MAX_MSG_SIZE in connector.h from the one used by uvesafb.

This fix is work around to sync with wrs kernel headers, and should be removed
after switching to linux-libc-headers-wrs.

[BUGID #279] fixed by this.

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
14 years agogdb: add EXPAT to resolve gdbserver comm issues
Saul Wold [Thu, 30 Sep 2010 19:02:15 +0000 (12:02 -0700)]
gdb: add EXPAT to resolve gdbserver comm issues

[BUGID #346]

Added EXPAT = "--with-expat" to allow gdb to correctly
communicate with the gdbserver

Signed-off-by: Saul Wold <Saul.Wold@intel.com>
14 years agogst-openmax: Add LICENSE field
Saul Wold [Thu, 30 Sep 2010 19:01:35 +0000 (12:01 -0700)]
gst-openmax: Add LICENSE field

Signed-off-by: Saul Wold <Saul.Wold@intel.com>
14 years agogobject-introspection: Add LICENSE
Richard Purdie [Thu, 30 Sep 2010 18:58:10 +0000 (19:58 +0100)]
gobject-introspection: Add LICENSE

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agospectrum-fw: Set LICENSE
Richard Purdie [Thu, 30 Sep 2010 18:55:26 +0000 (19:55 +0100)]
spectrum-fw: Set LICENSE

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agopuzzles: Set LICENSE
Richard Purdie [Thu, 30 Sep 2010 18:00:19 +0000 (19:00 +0100)]
puzzles: Set LICENSE

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agolibfribidi: added LICENSE field
Saul Wold [Thu, 30 Sep 2010 17:22:27 +0000 (10:22 -0700)]
libfribidi: added LICENSE field

Signed-off-by: Saul Wold <Saul.Wold@intel.com>
14 years agobeeycrypt: added LICENSE field
Saul Wold [Thu, 30 Sep 2010 17:22:11 +0000 (10:22 -0700)]
beeycrypt: added LICENSE field

Signed-off-by: Saul Wold <Saul.Wold@intel.com>
14 years agolibffi: added LICENSE field
Saul Wold [Thu, 30 Sep 2010 17:21:46 +0000 (10:21 -0700)]
libffi: added LICENSE field

Signed-off-by: Saul Wold <Saul.Wold@intel.com>
14 years agotzcode-native: added LICENSE field
Saul Wold [Thu, 30 Sep 2010 17:21:30 +0000 (10:21 -0700)]
tzcode-native: added LICENSE field

Signed-off-by: Saul Wold <Saul.Wold@intel.com>
14 years agopolkit-gnome: added LICENSE field
Saul Wold [Thu, 30 Sep 2010 17:21:12 +0000 (10:21 -0700)]
polkit-gnome: added LICENSE field

Signed-off-by: Saul Wold <Saul.Wold@intel.com>
14 years agodiffstat: Added LICENSE field
Saul Wold [Thu, 30 Sep 2010 17:20:14 +0000 (10:20 -0700)]
diffstat: Added LICENSE field

Signed-off-by: Saul Wold <Saul.Wold@intel.com>
14 years agolibopensync: Added LICNESE fields to plugins
Saul Wold [Thu, 30 Sep 2010 17:19:56 +0000 (10:19 -0700)]
libopensync: Added LICNESE fields to plugins

Signed-off-by: Saul Wold <Saul.Wold@intel.com>
14 years agofarsight: Added LICENSE field
Saul Wold [Thu, 30 Sep 2010 17:19:20 +0000 (10:19 -0700)]
farsight: Added LICENSE field

Signed-off-by: Saul Wold <Saul.Wold@intel.com>
14 years agoelfutils: add zlib into DEPENDS
Dexuan Cui [Thu, 30 Sep 2010 10:00:52 +0000 (18:00 +0800)]
elfutils: add zlib into DEPENDS

This patch fixes the build failure I met with.
Thanks a lot to Qing He and Kevin Tian for pointing this out!

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
14 years agogcc: fix check for target libc ssp support
Kevin Tian [Wed, 29 Sep 2010 00:54:33 +0000 (08:54 +0800)]
gcc: fix check for target libc ssp support

gcc uses hardcoded path "${with-build-sysroot}/usr/include" to check target
libc ssp support. Based on GLIBC version strings in features.h in that search
path, gcc knows whether target (e)glibc implements stack protector itself.

However this breaks meta-toolchain, which actually has target libc headers
installed under {with-build-sysroot}/opt/... This way features.h is not found
and thus gcc-crosssdk-intermediate thinks that target (e)glibc doesn't support ssp.

Later when building eglibc-nativesdk, undefined reference to "__stack_chk_guard"
occurs which was caused by:

  o eglibc do_configure found that gcc-crosssdk-intermediate supports ssp,
    and thus enable -fstack-protector for nscd

  o eglibc itself supports stack smash proctection for some architectures such
    as i386, x86-64, etc. It's expected to use its own method to provide stack
    protection, instead of relying on gcc. So eglibc rtld.os doesn't export
    __stack_chk_guard to other modules

  o then when installing nscd objects, gcc-crosssdk-intermediate sees the
    flag "-fstack-protector", while it thought this eglibc doesn't implement
    ssp itself, so gcc turns to the alternative to find a valid
    __stack_chk_guard exported. eglibc doesn'g export it, while
    gcc-crosssdk-intermediate itself disables libssp.

Then the undefined reference happens. If enabling libssp for gcc-crosssdk-
intermediate, it may also work-around this issue. But the ideal fix is still
to replace hard coded path with the actual one where target libc gets installed.

glibc-nativesdk doesn't encounter this issue because it thinks gcc doesn't
support ssp, and thus doesn't enable "-fstack-protector" for nscd. Don't know
the reason yet

This fix [BUGID #366]

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Signed-off-by: Kevin Tian <kevin.tian@intel.com>
14 years agoinitrdscripts: remove the incorrect moblin message (Bug 368)
Yu Ke [Thu, 30 Sep 2010 12:54:49 +0000 (20:54 +0800)]
initrdscripts: remove the incorrect moblin message (Bug 368)

When install the live image into netbook/emenlow, the install tool prompt:
# Found drive at /dev/sda. Do you want to install moblin there ? [y/n]
The "moblin" here should be replaced by "poky".

Fix [BUGID #368]

Signed-off-by: Yu Ke <ke.yu@intel.com>
14 years agoqmmp: add qmmp into image (Bug 301)
Yu Ke [Thu, 30 Sep 2010 08:58:10 +0000 (16:58 +0800)]
qmmp: add qmmp into image (Bug 301)

qmmp is not included any image before, because it depends on one moblin recipe taglib. Since now the taglib is included into meta/recipes-support, it is safely to add qmmp into the task-poky-qt.

This commit also add an build time dependency for qmmp, because qmmp use some head files from taglib. Without this, qmmp build failure is occationally observed.

Fix [BUGID #301]

Signed-off-by: Yu Ke <ke.yu@intel.com>
14 years agokern-tools: add BSP bootstrap support
Bruce Ashfield [Sat, 25 Sep 2010 05:47:53 +0000 (01:47 -0400)]
kern-tools: add BSP bootstrap support

Part of [BUGID #373]

Update the default revisions for kern_tools to pull in the updates
required to support BSP bootstrapping.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
14 years agolinux-wrs: pass ARCH to updateme
Bruce Ashfield [Sat, 25 Sep 2010 05:41:56 +0000 (01:41 -0400)]
linux-wrs: pass ARCH to updateme

Part of [BUGID #373]

In order to generate BSP definitions for new boards, we need
to know the architecture. So we'll arrange to pass it to
updateme.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
14 years agolinux-wrs: validate commits when forcing branches
Bruce Ashfield [Sat, 25 Sep 2010 05:39:02 +0000 (01:39 -0400)]
linux-wrs: validate commits when forcing branches

Fixes [BUGID #372]

If for some unknown reason, the kernel git repository hasn't been properly
updated and is *older* than the revisions listed in default-revisions the
branch sanity checking kicks in and tries to force branches to the right
revs. The problem is, the revisions it is looking for don't exist in the
tree.  As a result, error messages are thrown about invalid commit IDs.
These aren't helpful, and are simply confusing for the user.

Instead we can test for the commit ID, and if it isn't valid, indicate
that the commit ID isn't valid and that the tree is potentially out
of sync.

This situation is not common, but it is an easy test and the extra
sanity checking is useful.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
14 years agomc: add to extended, but not part of any image
Saul Wold [Thu, 30 Sep 2010 03:45:41 +0000 (20:45 -0700)]
mc: add to extended, but not part of any image

Signed-off-by: Saul Wold <Saul.Wold@intel.com>
14 years agoDistro tracking: Add info for lighttpd
Saul Wold [Wed, 29 Sep 2010 18:26:48 +0000 (11:26 -0700)]
Distro tracking: Add info for lighttpd

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
14 years agorpm_5.1.10.bb: The upstream location has changed
Mark Hatle [Wed, 29 Sep 2010 17:28:25 +0000 (12:28 -0500)]
rpm_5.1.10.bb: The upstream location has changed
rpm_5.1.10.bb: bump PR
[BUGID #357]

The upstream distribution location for the Poky 5.1.10 version of RPM
has changed.  Correct it to the new location.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <Saul.Wold@intel.com>
14 years agorpm_5.1.10: Disable dependency loop message
Mark Hatle [Wed, 29 Sep 2010 17:40:36 +0000 (12:40 -0500)]
rpm_5.1.10: Disable dependency loop message

[BUGID #332]

Disable the dependency loop message that looked like an error had
occured.  This is really a debug message.

Also remove the "remove: " debug message about which side of the
dep loop it is removing to resolve the circular dependency.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
14 years agorootfs_rpm.bbclass: Add Dirnames configuration
Mark Hatle [Wed, 29 Sep 2010 17:17:36 +0000 (12:17 -0500)]
rootfs_rpm.bbclass: Add Dirnames configuration

[BUGID #327]

RPM attempts to validate all of the directories on the system are
owned by a package.  While the root "/" directory was not owned, so
in some cases an error could be thrown.  Resolve this by informing
RPM that yes, "/" is in fact a directory on the system that was
properly constructed and is "owned".

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
14 years agodistro_tracking_fields: Updated with distro alias information
Saul Wold [Tue, 28 Sep 2010 22:32:19 +0000 (15:32 -0700)]
distro_tracking_fields: Updated with distro alias information

Signed-off-by: Saul Wold <Saul.Wold@intel.com>
14 years agopointercal: Add LICENSE field
Richard Purdie [Thu, 30 Sep 2010 17:02:08 +0000 (18:02 +0100)]
pointercal: Add LICENSE field

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoudev-extraconf: Fix LICENSE field
Richard Purdie [Thu, 30 Sep 2010 17:01:51 +0000 (18:01 +0100)]
udev-extraconf: Fix LICENSE field

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agopong-clock: Fix LICENSE field
Richard Purdie [Thu, 30 Sep 2010 16:59:19 +0000 (17:59 +0100)]
pong-clock: Fix LICENSE field

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agosigngp: Add licence info from OE.dev
Richard Purdie [Thu, 30 Sep 2010 16:57:50 +0000 (17:57 +0100)]
signgp: Add licence info from OE.dev

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agotask-poky-lsb/basic: Add LICENSE fields
Richard Purdie [Thu, 30 Sep 2010 16:55:56 +0000 (17:55 +0100)]
task-poky-lsb/basic: Add LICENSE fields

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agorun-postinsts: Add LICENSE
Richard Purdie [Thu, 30 Sep 2010 15:55:32 +0000 (16:55 +0100)]
run-postinsts: Add LICENSE

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agobitbake/bitbake-sigdiff: Extend to handle dumping single state siginfo files
Richard Purdie [Thu, 30 Sep 2010 08:35:23 +0000 (09:35 +0100)]
bitbake/bitbake-sigdiff: Extend to handle dumping single state siginfo files

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agobitbake/siggen: Fix issue where excluded dependencies caused exceptions
Richard Purdie [Thu, 30 Sep 2010 08:34:54 +0000 (09:34 +0100)]
bitbake/siggen: Fix issue where excluded dependencies caused exceptions

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agopoky.conf: Add BB_HASHBASE_WHITELIST to ignore variables which don't influence sstate...
Richard Purdie [Thu, 30 Sep 2010 08:33:56 +0000 (09:33 +0100)]
poky.conf: Add BB_HASHBASE_WHITELIST to ignore variables which don't influence sstate packages (Initial Population)

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoRevert "Drop vm_mmap_min_addr checks from scripts and sanity class"
Joshua Lock [Wed, 29 Sep 2010 11:18:34 +0000 (12:18 +0100)]
Revert "Drop vm_mmap_min_addr checks from scripts and sanity class"

This reverts commit 138df217efe850528f88d340acf864c38780c2b0.

We still need the vm_mmap_min_addr set to 0 to run locale generation for
qemu-arm

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agosstate: list directories in child first order in the manifest file
Joshua Lock [Wed, 29 Sep 2010 11:10:57 +0000 (12:10 +0100)]
sstate: list directories in child first order in the manifest file

The directory list in the manifest file needs to be sorted such that child
directories are deleted first. Fortunately as the list is generated by walking
the directory tree achieving this is as simple as reversing the directory list.

Fixes [BUGID #269]

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agoprocps: use new batch update-alternatives feature
Kevin Tian [Mon, 27 Sep 2010 04:42:55 +0000 (12:42 +0800)]
procps: use new batch update-alternatives feature

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
14 years agodiffutils: use new batch update-alternatives feature
Kevin Tian [Mon, 27 Sep 2010 04:42:16 +0000 (12:42 +0800)]
diffutils: use new batch update-alternatives feature

Signed-off-by Kevin Tian <kevin.tian@intel.com>

14 years agobzip2: use new batch update-alternatives feature
Kevin Tian [Mon, 27 Sep 2010 04:41:44 +0000 (12:41 +0800)]
bzip2: use new batch update-alternatives feature

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
14 years agoupdate-alternative.bbclass: add batch alternatives support
Kevin Tian [Sat, 25 Sep 2010 06:54:44 +0000 (14:54 +0800)]
update-alternative.bbclass: add batch alternatives support

With new batch ability, we can use below simple 2 lines for multiple alternatives
updates:

ALTERNATIVE_LINKS = "${bindir}/cmd1 {sbindir}/cmd2 ..."
ALTERNATIVE_PRIORITY = "100"

Then for each command "/path/cmd" listed in ALTERNATIVE_LINKS, below is done
automatically:

    ${D}/path/cmd is renamed to ${D}/path/cmd.{PN}
    a new alternative named 'cmd' is created which:
        links /path/cmd to /path/cmd.{PN} with priority specified in ALTERNATIVE_PRIORITY

This way the recipe with multiple alternatives could be simplified a lot. There
are still some cases where above assumptions may break, but I expect more recipes
should benefit from this simple enhancement

Fix [BUGID #257]

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
14 years agoe2fsprogs: Don't change ownership of the patches directory
Gary Thomas [Wed, 29 Sep 2010 15:25:47 +0000 (16:25 +0100)]
e2fsprogs: Don't change ownership of the patches directory

Patches can be symlinks and changing their ownership may not be possible.
Therefore stop doing this.

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agogstreamer: Ensure correct orcc version is used
Gary Thomas [Wed, 29 Sep 2010 15:22:40 +0000 (16:22 +0100)]
gstreamer: Ensure correct orcc version is used

Taken from a patch from the OE list posted by Michael Smith, submitted
to Poky by Gary Thomas.

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agohandbook/bsp-guide: Fix typo
Richard Purdie [Wed, 29 Sep 2010 14:29:32 +0000 (15:29 +0100)]
handbook/bsp-guide: Fix typo

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agopoky-doc-tools: Remove unnecessary autotools usage and simplfy structure
Richard Purdie [Wed, 29 Sep 2010 14:26:29 +0000 (15:26 +0100)]
poky-doc-tools: Remove unnecessary autotools usage and simplfy structure

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agosstate.bbclass: Add signature hash to sstate package names
Richard Purdie [Wed, 29 Sep 2010 11:11:51 +0000 (12:11 +0100)]
sstate.bbclass: Add signature hash to sstate package names

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agobitbake/bitbake-runtask: Signatures are needed in task context and have little overhe...
Richard Purdie [Wed, 29 Sep 2010 10:25:10 +0000 (11:25 +0100)]
bitbake/bitbake-runtask: Signatures are needed in task context and have little overhead so enable in worker context

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agosstate.bbclass: Update to use SSTATE variables everywhere and remove the now unneeded...
Richard Purdie [Wed, 29 Sep 2010 10:19:22 +0000 (11:19 +0100)]
sstate.bbclass: Update to use SSTATE variables everywhere and remove the now unneeded complicated paths from the sstate files

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agosstate.bbclass: pstage -> sstate name changes (no global implications)
Richard Purdie [Wed, 29 Sep 2010 10:02:07 +0000 (11:02 +0100)]
sstate.bbclass: pstage -> sstate name changes (no global implications)

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agosstate.bbclass: Rename PSTAGE2 -> SSTATE
Richard Purdie [Wed, 29 Sep 2010 09:57:16 +0000 (10:57 +0100)]
sstate.bbclass: Rename PSTAGE2 -> SSTATE

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agobitbake/siggen: Ensure full signature data is not held unless needed, reducing memory...
Richard Purdie [Tue, 28 Sep 2010 21:24:13 +0000 (22:24 +0100)]
bitbake/siggen: Ensure full signature data is not held unless needed, reducing memory consumption

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoconnman: fix the issue that connman could not disconnect from shutdown AP
Dongxiao Xu [Tue, 28 Sep 2010 01:47:18 +0000 (09:47 +0800)]
connman: fix the issue that connman could not disconnect from shutdown AP

Upstream has a fix for MeeGo/Carrick which has the same
phenomenon as our side, therefore port the patch into poky.
This fixes [BUGID #266] and [BUGID #267].

Remove the option "--enable-fake" since it sometimes causes
offline mode failure.

Launch connmand in initlevel 3.

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
14 years agotask-poky-basic.bb: fix lighttpd typo
Saul Wold [Tue, 28 Sep 2010 22:25:18 +0000 (15:25 -0700)]
task-poky-basic.bb: fix lighttpd typo

Signed-off-by: Saul Wold <Saul.Wold@intel.com>
14 years agotask-poky-basic.bb: add lighttp to basic image type for webserver
Saul Wold [Tue, 28 Sep 2010 15:45:07 +0000 (08:45 -0700)]
task-poky-basic.bb: add lighttp to basic image type for webserver

Signed-off-by: Saul Wold <Saul.Wold@intel.com>
14 years agolocal.conf.sample: set RPM as default package and rootfs image creation
Saul Wold [Tue, 28 Sep 2010 15:44:37 +0000 (08:44 -0700)]
local.conf.sample: set RPM as default package and rootfs image creation

Signed-off-by: Saul Wold <Saul.Wold@intel.com>
14 years agolighttpd: Add 1.4.28 as new recipe.
Zhai Edwin [Tue, 28 Sep 2010 08:00:25 +0000 (16:00 +0800)]
lighttpd: Add 1.4.28 as new recipe.

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
14 years agobitbake: Pass task hash information to subprocesses
Richard Purdie [Mon, 27 Sep 2010 14:57:13 +0000 (15:57 +0100)]
bitbake: Pass task hash information to subprocesses

Pass task has informaiton to work processes, allowing full manipulation of
the hash data in the task context allowing checksums to be usable.

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agobitbake/fetch: fix logic to prevent fetches when the file already exists
Joshua Lock [Tue, 28 Sep 2010 13:01:33 +0000 (14:01 +0100)]
bitbake/fetch: fix logic to prevent fetches when the file already exists

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agocodeparser.py: Fix storing of hash values as object references can be corrupted
Richard Purdie [Sun, 26 Sep 2010 07:33:19 +0000 (15:33 +0800)]
codeparser.py: Fix storing of hash values as object references can be corrupted

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoiproute2: Disable PARALLEL_MAKE
Saul Wold [Mon, 27 Sep 2010 16:19:58 +0000 (09:19 -0700)]
iproute2: Disable PARALLEL_MAKE

Signed-off-by: Saul Wold <Saul.Wold@intel.com>
14 years agoeglibc: add FILESPATH to avoid failure on unpack
Dexuan Cui [Sun, 26 Sep 2010 12:53:30 +0000 (20:53 +0800)]
eglibc: add FILESPATH to avoid failure on unpack

Actually Kevin identified the issue:
without this fix, "bitbake eglibc-initial-nativesdk" would fail on unpack.

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
14 years agopoky-default.inc: change the hardcoded glibc-initial to ${POKYLIBC}-initial
Dexuan Cui [Sun, 26 Sep 2010 08:39:43 +0000 (16:39 +0800)]
poky-default.inc: change the hardcoded glibc-initial to ${POKYLIBC}-initial

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
14 years agodistro_tracking_fields.inc: update cpio info
Scott Garman [Sun, 26 Sep 2010 03:42:35 +0000 (20:42 -0700)]
distro_tracking_fields.inc: update cpio info

Reflects current status of cpio recipes.

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
14 years agocpio: add version 2.11 (GPLv3)
Scott Garman [Sun, 26 Sep 2010 03:37:20 +0000 (20:37 -0700)]
cpio: add version 2.11 (GPLv3)

This is the most recent version of cpio. Recipe derived from
OpenEmbedded's recipe for cpio v2.5.

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
14 years agotrace-cmd_git.bb: remove DEPENDS of glibc since there is a system default for
Saul Wold [Mon, 27 Sep 2010 16:08:16 +0000 (09:08 -0700)]
trace-cmd_git.bb: remove DEPENDS of glibc since there is a system default for

Signed-off-by: Saul Wold <Saul.Wold@intel.com>
14 years agodistro_tracking_fields.inc: update grep info
Scott Garman [Sat, 25 Sep 2010 01:31:13 +0000 (18:31 -0700)]
distro_tracking_fields.inc: update grep info

Reflects current status of grep, including new recent release
information.

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
14 years agogrep: add version 2.7 (GPLv3)
Scott Garman [Sat, 25 Sep 2010 01:26:24 +0000 (18:26 -0700)]
grep: add version 2.7 (GPLv3)

This is the most recent version of grep. Recipe derived from
OpenEmbedded's recipe for grep v2.6.3.

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
14 years agotask-poky-clutter.bb: removed examples
Saul Wold [Mon, 27 Sep 2010 15:43:07 +0000 (08:43 -0700)]
task-poky-clutter.bb: removed examples

Signed-off-by: Saul Wold <Saul.Wold@intel.com>
14 years agodistro_tracking: Update tracking info
Saul Wold [Sun, 26 Sep 2010 19:40:52 +0000 (12:40 -0700)]
distro_tracking: Update tracking info

Add additional aliases and tracking fields for missing packages

Signed-off-by: Saul Wold <Saul.Wold@intel.com>
14 years agodistro_check.py: Added additional support for distro checking
Saul Wold [Mon, 27 Sep 2010 15:41:06 +0000 (08:41 -0700)]
distro_check.py: Added additional support for distro checking

    Now tells which section a macth occurs (main vs contrib)
    Keywords for Poky, OpenedHand, ...

Signed-off-by: Saul Wold <Saul.Wold@intel.com>
14 years agoQEMU: Fix the mouse shadow issue (bug 170)
Yu Ke [Wed, 15 Sep 2010 06:42:05 +0000 (14:42 +0800)]
QEMU: Fix the mouse shadow issue (bug 170)

the root cause is that the qemu cursor array is hardcoded to 256 bytes, while the sato use cursor of the size 64*64=4096, thus lead buffer overflow and abnormal mouse.

A qemu patch is introduced to dynamically allocate qemu cursor array to fix this issue. BTW, qemu upstream already redesign the cursor interface and implementation, and this issue does not occur in upstream, so no need to push this patch to upstream. and when upgrade the qemu, this patch can be safely removed.

Fix [BUGID #170]

Signed-off-by: Yu Ke <ke.yu@intel.com>
14 years agoqemux86-64: remove -march for 64bit common pc
Qing He [Sun, 26 Sep 2010 08:16:04 +0000 (16:16 +0800)]
qemux86-64: remove -march for 64bit common pc

Fixes [BUGID #347].

Signed-off-by: Qing He <qing.he@intel.com>
14 years agotask-poky-tools: add rsync in target image
Qing He [Sat, 25 Sep 2010 08:28:19 +0000 (16:28 +0800)]
task-poky-tools: add rsync in target image

rsync is needed by debugging using SDK, add it as dependency
of task-poky-tools-debug, this fixes [BUGID #345]

Signed-off-by: Qing He <qing.he@intel.com>
14 years agoglibc & eglibc: fix mips DT_MIPS_RLD_MAP checking
Qing He [Sat, 25 Sep 2010 07:19:45 +0000 (15:19 +0800)]
glibc & eglibc: fix mips DT_MIPS_RLD_MAP checking

On mips target, binutils currently sets DT_MIPS_RLD_MAP to 0 in dynamic
section if a --version-script sets _RLD_MAP to local. This is apparently
a binutils bug, but libc shouldn't segfault in this case.

Add sanity check on the entry to avoid segfault, fixes [BUGID #287].

Signed-off-by: Qing He <qing.he@intel.com>
14 years agopoky-qemu-internal: Add userspace nfs support for mips and ppc
Dongxiao Xu [Sat, 25 Sep 2010 03:22:23 +0000 (11:22 +0800)]
poky-qemu-internal: Add userspace nfs support for mips and ppc

Add userspace nfs support for mips and ppc architecture.
This fixes [BUGID #343]

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
14 years agogcc: enable poison parameters detection
Dongxiao Xu [Sat, 25 Sep 2010 02:16:26 +0000 (10:16 +0800)]
gcc: enable poison parameters detection

If not configured with --enable-target-optspace, gcc will report
errors if there is '-Os' optimization in parameters.

This fixes [BUGID #342]

Also add "--enable-target-optspace" option to arm gcc configuration.

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
14 years agoxtscal: Fix the endless loop when starting X
Zhai Edwin [Mon, 27 Sep 2010 13:16:16 +0000 (21:16 +0800)]
xtscal: Fix the endless loop when starting X

xtscal script in Xsession.d would lead endless loop if /etc/pointercal is
missing, which make the system hang.

This fix adds a counter for loop.

[BUGID #251] got fixed by this.

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
14 years agonetbook: Correct netbook build by moving netbook configuration from moblin to meta
Saul Wold [Fri, 24 Sep 2010 22:36:24 +0000 (15:36 -0700)]
netbook: Correct netbook build by moving netbook configuration from moblin to meta

Signed-off-by: Saul Wold <Saul.Wold@intel.com>