]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
13 years agopackage.bbclass: Ensure task's variable dependencies are correctly caputred in the...
Richard Purdie [Tue, 30 Aug 2011 13:22:21 +0000 (14:22 +0100)]
package.bbclass: Ensure task's variable dependencies are correctly caputred in the sstate checksum

[YOCTO #1388]

This change is needed to correctly add the dependencies for the do_package
task which bitbake is unable to automatically detect itself.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agointltool: Fix perl paths
Richard Purdie [Wed, 31 Aug 2011 10:26:58 +0000 (11:26 +0100)]
intltool: Fix perl paths

Currently in the native case we have a path that can easily exceed the
interpretor limit so use "env nativeperl" in that case.

This patch also fixes up the target version's interpretor path but
to do this we need to bypass the configure checks.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibc-package: restore correct mangling behavior for locale names
Phil Blundell [Fri, 26 Aug 2011 16:51:47 +0000 (17:51 +0100)]
libc-package: restore correct mangling behavior for locale names

This reverts 19fb07bf337e1d724798e2eb4479c35fc45b1941 and restores
the behaviour of the code to the way it was prior to 561d875404ef1783f94f37314b6e756766db8411.

See http://lists.linuxtogo.org/pipermail/openembedded-core/2011-August/007407.html and subsequent messages.

Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agogdb: Fix broken source directory
Richard Purdie [Tue, 30 Aug 2011 23:46:57 +0000 (00:46 +0100)]
gdb: Fix broken source directory

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoeglibc-locale.inc: Add eglibc-binaries, eglibc-localedatas, eglibc-gconvs and eglibc...
Xiaofeng Yan [Fri, 26 Aug 2011 09:29:44 +0000 (17:29 +0800)]
eglibc-locale.inc: Add eglibc-binaries, eglibc-localedatas, eglibc-gconvs and eglibc-charmps to variable PACKAGE

There are no locales resources in an lsb image because the locale resources were splitted from eglibc-package.inc \
and putted into a new file "eglibc-locale.inc". So the above variables lost their function in eglibc-package.inc and
caused no locale resources in an lsb image. The purpose of moving the above variables from eglibc-package.inc to \
eglibc-locale.inc is to make the above variables to take effect.

eglibc-binaries include packages "eglibc-binary-*"
eglibc-localedatas include packages "eglibc-localedata-*"
eglibc-gconvs include packages "eglibc-gconv-*"
eglibc-charmaps include packages "eglibc-charmap-*"

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agogdb: upgrade from 7.3 to 7.3a
Sebastian Krzyszkowiak [Mon, 29 Aug 2011 13:13:32 +0000 (15:13 +0200)]
gdb: upgrade from 7.3 to 7.3a

* because 7.3 archive is not fetchable anymore

Signed-off-by: Sebastian Krzyszkowiak <dos@dosowisko.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibidn_1.22: add SRC_URI checksums
Sebastian Krzyszkowiak [Mon, 29 Aug 2011 13:16:23 +0000 (15:16 +0200)]
libidn_1.22: add SRC_URI checksums

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoimage.bbclass: use ${TARGET_PREFIX}depmod
Chris Larson [Mon, 29 Aug 2011 16:26:46 +0000 (09:26 -0700)]
image.bbclass: use ${TARGET_PREFIX}depmod

Currently it uses ${TARGET_SYS}-. This is inconsistent, as the recipe
and kernel bbclass both use the prefix. While there aren't many cases
where the two differ, it is harmless to ensure that we are behaving
consistently.

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoimage_types_uboot: fix a number of issues
Chris Larson [Mon, 29 Aug 2011 18:00:29 +0000 (11:00 -0700)]
image_types_uboot: fix a number of issues

- Don't use a variable reference in the IMAGE_DEPENDS
- Inherit kernel-arch to get UBOOT_ARCH
- Don't include the .bz2 variants, since the base types aren't in
  oe-core
- Add the new types to IMAGE_TYPES
- Inherit image_types, to be certain we load after it

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoimage_types: add ext4 types from OE
Chris Larson [Mon, 29 Aug 2011 18:00:28 +0000 (11:00 -0700)]
image_types: add ext4 types from OE

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agodistro_tracking_fields: update binutils to 2.21.1a
Paul Eggleton [Mon, 29 Aug 2011 18:44:21 +0000 (19:44 +0100)]
distro_tracking_fields: update binutils to 2.21.1a

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
13 years agotcmode-default: update binutils version
Paul Eggleton [Mon, 29 Aug 2011 18:43:53 +0000 (19:43 +0100)]
tcmode-default: update binutils version

binutils is now at version 2.21.1a.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
13 years agobinutils: update to 2.21.1a
Paul Eggleton [Sun, 28 Aug 2011 20:43:31 +0000 (21:43 +0100)]
binutils: update to 2.21.1a

2.21.1 has disappeared upstream. There is no ChangeLog information for
2.21.1a, however diff reports only the addition of some cpu/opc files in
cgen/ subdirectory; the source code is otherwise identical.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
13 years agokernel.bbclass: Find the kernel consistently.
Mike Crowe [Fri, 26 Aug 2011 09:21:19 +0000 (10:21 +0100)]
kernel.bbclass: Find the kernel consistently.

Use KERNEL_OUTPUT variable to find the generated kernel image rather than
duplicating the existing path. This also means it can be overridden simply.

Signed-off-by: Mike Crowe <mac@mcrowe.com>
13 years agopango: make x11 support conditional on DISTRO_FEATURES
Phil Blundell [Fri, 26 Aug 2011 14:23:02 +0000 (15:23 +0100)]
pango: make x11 support conditional on DISTRO_FEATURES

This allows pango to build on DISTROs which don't enable x11.
Also adjust the SECTION since pango isn't really an X library.

Signed-off-by: Phil Blundell <philb@gnu.org>
13 years agoopkg-utils: ignore packages disapperaring filelist generation
Dmitry Eremin-Solenikov [Fri, 26 Aug 2011 13:49:25 +0000 (17:49 +0400)]
opkg-utils: ignore packages disapperaring filelist generation

Package files disappearing during index generation don't cause a fatal
error. Make package file disappearing during filelist generation also
a non-fatal error.

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
13 years agoeglibc: fix gconv packaging after 5486cac29db6e67051fff7637a0abc9aeab661e5
Martin Jansa [Fri, 26 Aug 2011 11:41:18 +0000 (13:41 +0200)]
eglibc: fix gconv packaging after 5486cac29db6e67051fff7637a0abc9aeab661e5

* gconv is directory so test -f was always false as reported by Phil Blundell in
  http://lists.linuxtogo.org/pipermail/openembedded-core/2011-August/008973.html
* -e used also for localedef which is file, just to be more consistent

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
13 years agomultilib.bbclass: add renaming for INITSCRIPT related variables
Dongxiao Xu [Fri, 26 Aug 2011 05:04:07 +0000 (13:04 +0800)]
multilib.bbclass: add renaming for INITSCRIPT related variables

Initscripts are missing in target image in multilib case. This commit
adds the renaming logic for the related variables in multilib.bbclass.

This fixes the no response of mouse/keyboard in target system due to
the missing of udev startup script.

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
13 years agomultilib.bbclass: add "pkg_postinst" and "pkg_postrm" as renaming elements
Dongxiao Xu [Fri, 26 Aug 2011 00:27:41 +0000 (08:27 +0800)]
multilib.bbclass: add "pkg_postinst" and "pkg_postrm" as renaming elements

Add "pkg_postinst" and "pkg_postrm" as renaming elements, which fixes
missing post install/rm scripts in target image.

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
13 years agomultilib.bbclass: Fix renaming logic for "FILES_", "RDEPENDS_", etc
Dongxiao Xu [Thu, 25 Aug 2011 13:30:12 +0000 (21:30 +0800)]
multilib.bbclass: Fix renaming logic for "FILES_", "RDEPENDS_", etc

In the orignal logic, the renaming will not work for "FILES_" if defined
variables as:

PACKAGES = "${PN}"
FILES_abc = "/usr/include/abc.h"

It is because ${PN} is "lib64-abc" so it will not be contained in
pkgrename.

This commit enumerates all element in PACKAGES, getting the original
packages and multilib packages, then doing renaming for "FILES_",
"RDEPENDS_", etc. This fixes a lot of missing files and incorrect
dependencies.

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
13 years agobitbake.conf: Use BPN in FILES paths
Dongxiao Xu [Thu, 25 Aug 2011 08:29:09 +0000 (16:29 +0800)]
bitbake.conf: Use BPN in FILES paths

Use BPN instead of PN in FILES path to support multilib.

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
13 years agobase-passwd: Use BPN in FILES paths
Dongxiao Xu [Thu, 25 Aug 2011 08:27:51 +0000 (16:27 +0800)]
base-passwd: Use BPN in FILES paths

Use BPN instead of PN in FILES paths.
This fixes the login issue by /etc/passwd missing in multilib images.

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
13 years agoqt4e-demo-image: Fix bug 999
Xiaofeng Yan [Fri, 26 Aug 2011 02:13:11 +0000 (10:13 +0800)]
qt4e-demo-image: Fix bug 999

[YOCTO #999]
Copy metadata of qt4e-demo-image from OE for easy testing qt4embeded on embedded platform.
This image was tested on qemuarm and can run program "qtdemoE".

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
13 years agolinux-yocto-rt: qemumips: fix boot panic
Bruce Ashfield [Thu, 25 Aug 2011 20:45:57 +0000 (16:45 -0400)]
linux-yocto-rt: qemumips: fix boot panic

Fixes [YOCTO #1392]

Updating the SRCREVs to pickup:

[
    mips/rt: convert cascade interrupt non threaded

    The preempt_rt kernel forces all irq interrupts to be threaded,
    but special interrupts can be excluded from this conversion.
    The cascade interrupt should be part of these exceptions.

    In this case, irq2 is initialized before "kthreadd" task, which
    converts irq interrupt to threaded.

    If this irq is threaded, the kernel calls "try_to_wake_up" function
    to wake up "kthreadd" task, but at that moment, "kthreadd" task
    has no been initialize and try_to_wake_up wakes up a NULL task.

Signed-off-by: Liming Wang <liming.wang@windriver.com>
]

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
13 years agoscripts/runqemu: disable unfs boot mode for qemuppc
Liming Wang [Thu, 25 Aug 2011 14:45:29 +0000 (22:45 +0800)]
scripts/runqemu: disable unfs boot mode for qemuppc

Because unfs boot mode is unstable for qemuppc, disable
it temporarily.

Signed-off-by: Liming Wang <liming.wang@windriver.com>
13 years agokernel.bbclass: support kernel image type of vmlinux.gz
Mike Crowe [Thu, 25 Aug 2011 12:59:28 +0000 (13:59 +0100)]
kernel.bbclass: support kernel image type of vmlinux.gz

Add support for a gzipped vmlinux kernel by specifying:

  KERNEL_IMAGETYPE = "vmlinux.gz"

Signed-off-by: Mike Crowe <mac@mcrowe.com>
13 years agocmake-nativesdk: remove gcc standard paths
Kang Kai [Thu, 25 Aug 2011 02:55:40 +0000 (10:55 +0800)]
cmake-nativesdk: remove gcc standard paths

Because of the gcc-crosssdk bug, cmake-nativesdk needs to search gcc
standard paths itself. Right now it was fixed, so remove the additional
CXXFLAG for cmake-nativesdk.

Signed-off-by: Kang Kai <kai.kang@windriver.com>
13 years agoqt4-tools-nativesdk: remove gcc standard paths
Kang Kai [Thu, 25 Aug 2011 02:41:57 +0000 (10:41 +0800)]
qt4-tools-nativesdk: remove gcc standard paths

gcc-crosssdk can't find the standard headers before, and it was fixed.
So it is not needed to search the gcc standard paths by
qt4-tools-nativesdk itself.

Signed-off-by: Kang Kai <kai.kang@windriver.com>
13 years agobitbake.conf: set includedir_nativesdk
Kang Kai [Thu, 25 Aug 2011 02:25:55 +0000 (10:25 +0800)]
bitbake.conf: set includedir_nativesdk

Fixes [Yocto #1231]

crosssdk.bbclass uses ${includedir_nativesdk} to define target_includedir,
but includedir_nativesdk is not defined before. This makes gcc-crosssdk
can NOT search the correct standard headers and libraries search path.

Define includedir_nativesdk in bitbake.conf.

Signed-off-by: Kang Kai <kai.kang@windriver.com>
13 years ago[YOCTO #1396] Fix adt-installer for consistent naming for powerpc and add all arch...
Jessica Zhang [Thu, 25 Aug 2011 18:19:53 +0000 (11:19 -0700)]
[YOCTO #1396] Fix adt-installer for consistent naming for powerpc and add all arch template for installation

Signed-off-by: Jessica Zhang <jessica.zhang@intel.com>
13 years agopackage.bbclass: Fix recrdeptask of image type recipes
Dongxiao Xu [Thu, 25 Aug 2011 03:40:11 +0000 (11:40 +0800)]
package.bbclass: Fix recrdeptask of image type recipes

For image type of recipes, we need to define do_package_write as its
do_build recrdeptask, which ensures that all packaging types listed in
PACKAGE_CLASSES will be built out.

[YOCTO 1370]

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
13 years agoscript/runqemu: change boot command line for qemuppc
Liming Wang [Wed, 24 Aug 2011 08:48:27 +0000 (16:48 +0800)]
script/runqemu: change boot command line for qemuppc

Because qemuppc has no graphic emulation, remove console=tty0
and make it run into 3 run level. This can reduce boot time
for qemuppc booting.

Signed-off-by: Liming Wang <liming.wang@windriver.com>
13 years agogcc-4.5.1: Drop gcc-poison-parameters.patch, replace with bug fix patch
Kumar Gala [Fri, 26 Aug 2011 14:33:53 +0000 (09:33 -0500)]
gcc-4.5.1: Drop gcc-poison-parameters.patch, replace with bug fix patch

The gcc-poison-parameters was added specifically to deal with an issue
on ppc targets and a bug when we build with -Os -frename-registers.

This bug below reports the issue and is fixed in gcc-4.6.x/mainline:

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44618

Backport patch to gcc 4.5.1.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
13 years agogcc-4.6: Drop gcc-poison-parameters.patch as its not need
Kumar Gala [Wed, 24 Aug 2011 05:08:50 +0000 (00:08 -0500)]
gcc-4.6: Drop gcc-poison-parameters.patch as its not need

The gcc-poison-parameters was added specifically to deal with an issue
on ppc targets and a bug when we build with -Os -frename-registers.

This bug below reports the issue and is fixed in gcc-4.6.x:

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44618

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
13 years agoclasses/sanity: enhance the network connectivity test
Joshua Lock [Thu, 25 Aug 2011 15:29:30 +0000 (08:29 -0700)]
classes/sanity: enhance the network connectivity test

Switch to use the checkstatus fetcher API for the network connectivity test,
this has several advantages:
* we no longer print any messages to the console whilst the check is
being run
* we don't actually download anything, removing the need for tidy up and
making the code more concise

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolinux-yocto: update meta SRCREV to sync version strings
Bruce Ashfield [Thu, 25 Aug 2011 04:36:34 +0000 (00:36 -0400)]
linux-yocto: update meta SRCREV to sync version strings

During the update of the bitbake recipe's string to 3.0.3 the internal
version marker in the kernel stayed at v3.0. This meant that kernel
configuration auditing the constructed file couldn't be found and audit
warnings were thrown. This syncs all the recipes and get back to
clean configurations.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agometa-toolchain/environment: Collected site config files in runtime.
Lianhao Lu [Tue, 16 Aug 2011 03:21:54 +0000 (11:21 +0800)]
meta-toolchain/environment: Collected site config files in runtime.

[YOCTO #892]
Use the new cached site config files generation mechanism in
toolchain-script.bbclass.

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
13 years agotoolchain-script.bbclass: Collected cached site config in runtime.
Lianhao Lu [Tue, 16 Aug 2011 03:15:36 +0000 (11:15 +0800)]
toolchain-script.bbclass: Collected cached site config in runtime.

[YOCTO #892]
Modify the function toolchain_create_sdk_siteconfig to collect the
cached site config files which are specified by
TOOLCHAIN_NEED_CONFIGSITE_CACHE in runtime.

Also added task dependency to ensure the cached site config files are
generated.

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
13 years agolibc-package bbclass: fix binary localedata dependency code
Koen Kooi [Wed, 24 Aug 2011 18:32:00 +0000 (20:32 +0200)]
libc-package bbclass: fix binary localedata dependency code

When using binary locales rootfs generation fails with:

| Unknown package 'locale-base-en-us'.
| Collected errors:
|  * opkg_install_cmd: Cannot install package locale-base-en-us.

This is due to:

$ dpkg-deb -I ipk/armv7a/locale-base-en-us_2.12-r16_armv7a.ipk | grep Depends
 Depends: eglibc-binary-localedata-en.us

Note the '.' seperator

$ ls ipk/armv7a/ | grep binary-localedata-en | grep us
eglibc-binary-localedata-en-us_2.12-r16_armv7a.ipk

Note the '-' seperator vs the '.' in the locale-base packages.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoterminal: fix issue with unset exportable env vars
Chris Larson [Wed, 24 Aug 2011 20:00:03 +0000 (13:00 -0700)]
terminal: fix issue with unset exportable env vars

This should resolve the devshell issue people are seeing.

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolinux-yocto/2.6.37: apmd + get time of day fixes
Bruce Ashfield [Wed, 24 Aug 2011 20:20:36 +0000 (16:20 -0400)]
linux-yocto/2.6.37: apmd + get time of day fixes

Fixes [YOCTO #916]
Fixes [YOCTO #900]

Merging:

[
  commit 4ae8f8605c81c39b959948e23f7123294a5dfb3f
  Author: Liming Wang <liming.wang@windriver.com>
  Date:   Wed Aug 24 10:45:19 2011 +0800

    x86: use vdso gettime fallback versus returning an error

    __vdso_clock_gettime should fall back to call vdso_fallback_gettime function
    if no clockid is selected, not just return error.

Signed-off-by: Liming Wang <liming.wang@windriver.com
]
[
  commit aeea99683c7283f1f3320bf2ee7085ee252d4e7e
  Author: Liming Wang <liming.wang@windriver.com>
  Date:   Fri Aug 19 17:43:49 2011 +0800

    meta: add APM Emulation option to beagleboard

    apmd daemon needs this option to work, so add this to beagleboard
    kernel config file.

Signed-off-by: Liming Wang <liming.wang@windriver.com>
]

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
13 years agolinux-yocto: update machines and default configuration
Bruce Ashfield [Wed, 24 Aug 2011 20:10:47 +0000 (16:10 -0400)]
linux-yocto: update machines and default configuration

Fixes [YOCTO: #686]

During routine maintenance some base changes were re-wound on
the common branches. All machines still had these changes, but
any new machine branched from the common base would miss those
changes. This update restores those commits to the standard branch
and merges them out to all child branches.

The meta branch update adds a configuration item to support
live image booting on qemux86.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
13 years agolinux-yocto: update meta SRCREVs for beagleboard config changes
Bruce Ashfield [Mon, 22 Aug 2011 04:17:03 +0000 (00:17 -0400)]
linux-yocto: update meta SRCREVs for beagleboard config changes

Fixes [YOCTO #916]

Adding APM emulation and CONFIG_USB_MUSB_OMAP2PLUS to the beagleboard
base configuration.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
13 years agolinux-yocto-rt: update qemuppc support and streamline variables
Bruce Ashfield [Wed, 24 Aug 2011 20:50:26 +0000 (16:50 -0400)]
linux-yocto-rt: update qemuppc support and streamline variables

Fixes [YOCTO #1391]
Fixes [YOCTO #1389]

qemuppc must have a dedicated branch for -rt support, since it has
board specific patches that are not suitable for a common location.
This fixes the boot by propagating some common fixes and by syncing
to the latest meta-configuration.

There are some variables that are now in linux-yocto.inc and need not
be defined by the kernel recipe itself, so we can safely remove them
with no impact on the build.

CC: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agokern-tools: allow flexible branch points
Bruce Ashfield [Wed, 24 Aug 2011 20:50:25 +0000 (16:50 -0400)]
kern-tools: allow flexible branch points

Updating the SRCREV to pickup a series of changes to the
kern-tools that allow more flexible creation of trees from
scratch. This functionality is not used by the normal
kernel build process and has no impact on existing builds.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoinitrdscripts: fix init-live.sh for hddimg and livecd
Jingdong Lu [Wed, 24 Aug 2011 07:36:22 +0000 (15:36 +0800)]
initrdscripts: fix init-live.sh for hddimg and livecd

Both hddimg and livecd use init-live.sh script to boot the rootfs.img.
But the paths of rootfs.img in hddimg and livecd are different. So we add
a variable "ISOLINUX" to provide a correct path.

Signed-off-by: Jingdong Lu <jingdong.lu@windriver.com>
13 years agolibpam: Setting suid bit for unix_chkpwd
Wenzong Fan [Sat, 20 Aug 2011 07:30:32 +0000 (15:30 +0800)]
libpam: Setting suid bit for unix_chkpwd

[YOCTO #1252]

While pam_unix.so required by an application on lsb image, it will need to
call the unix_chkpwd to get userinfo from shadow file. This fix get a normal
user could read shadow file via unix_chkpwd.

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
13 years agocronie: Updates to cronie
Wenzong Fan [Sat, 20 Aug 2011 09:15:50 +0000 (17:15 +0800)]
cronie: Updates to cronie

1) Add required pam plugins to RDEPENDS list;
2) Correct configure option that used for enable pam support;
3) Create empty crond config file cron.deny;
4) Don't set readonly variable UID in crond init script.

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
13 years agomips32: add mips32el tuning
Phil Blundell [Fri, 19 Aug 2011 16:55:08 +0000 (17:55 +0100)]
mips32: add mips32el tuning

This makes building for little-endian mips32 slightly more convenient.

Signed-off-by: Phil Blundell <philb@gnu.org>
13 years agoprocps: Fix lib path to support multilib
Dongxiao Xu [Tue, 23 Aug 2011 14:18:12 +0000 (22:18 +0800)]
procps: Fix lib path to support multilib

Revise the install.patch which hardcode the lib paths.
Change ${PN} to ${BPN} in file names.

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
13 years agolibtasn1: update SRC_URI
Joshua Lock [Tue, 23 Aug 2011 22:33:55 +0000 (15:33 -0700)]
libtasn1: update SRC_URI

libtasn is no longer hosted as a sub-project of gnutls, it has its ftp
directory.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
13 years agoimage.bbclass, kernel.bbclass: remove non-standard -n option from cp command
Paul Eggleton [Tue, 23 Aug 2011 15:22:14 +0000 (16:22 +0100)]
image.bbclass, kernel.bbclass: remove non-standard -n option from cp command

-n is not a POSIX option and does not work on some systems (e.g. Debian
Lenny); in any case it is not strictly necessary here, so remove it.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoscripts/combo-layer: fix overzealous regex in default hook script
Paul Eggleton [Tue, 23 Aug 2011 18:56:28 +0000 (19:56 +0100)]
scripts/combo-layer: fix overzealous regex in default hook script

combo-layer's hook scripts are intended to modify patches as they pass
through; the default one adds a prefix with the component name and
a line with the component repo revision before the Signed-off-by;
however the script was also unintentionally modifying the contents of
patches *within* the patches passing through it, which resulted in
unexpected failures when the combo-layer script attempted to use
"git am" to apply them.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
13 years agobase.bbclass: clarify COMMERCIAL_LICENSE skip reason
Paul Eggleton [Tue, 23 Aug 2011 15:51:07 +0000 (16:51 +0100)]
base.bbclass: clarify COMMERCIAL_LICENSE skip reason

Change to a proper sentence and add a reference to the
COMMERCIAL_LICENSE variable so that the user knows where this can be
controlled.

Addresses remainder of [YOCTO #846]

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
13 years agoutils.bbclass: skip empty paths when handling FILESEXTRAPATHS
Martin Jansa [Fri, 19 Aug 2011 12:16:28 +0000 (14:16 +0200)]
utils.bbclass: skip empty paths when handling FILESEXTRAPATHS

* if there is multiple .bbappend files with FILESEXTRAPATHS_prepend := "/:"
  then the one parsed last is causing trailing ':' and that's causing empty element in
  path = extrapaths.split(:) + path
* it's hard to keep all .bbappends from foreign layers to follow this rule, so it's better
  to be able to handle trailing ':'

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
13 years agotask-core-x11-sato: add libsdl into sato image
Jiajun Xu [Mon, 22 Aug 2011 15:30:18 +0000 (23:30 +0800)]
task-core-x11-sato: add libsdl into sato image

We add libsdl into sato image since some 3D graphics testing needs it.

Signed-off-by: Jiajun Xu <jiajun.xu@intel.com>
13 years agolibsdl: do not inherit nativesdk
Jiajun Xu [Mon, 22 Aug 2011 15:29:07 +0000 (23:29 +0800)]
libsdl: do not inherit nativesdk

We already enable target version for libsdl and use BBCLASSEXTEND
to enable nativesdk. No need to inherit nativesdk then.

Signed-off-by: Jiajun Xu <jiajun.xu@intel.com>
13 years agoscripts/combo-layer: fix configuration file handling
Otavio Salvador [Fri, 19 Aug 2011 15:07:05 +0000 (15:07 +0000)]
scripts/combo-layer: fix configuration file handling

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
13 years agoscripts/runqemu: add support to pass bootparams to kernel
Otavio Salvador [Fri, 19 Aug 2011 13:37:26 +0000 (13:37 +0000)]
scripts/runqemu: add support to pass bootparams to kernel

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
13 years agokernel.bbclass: save kernel image name into $kerneldir
Otavio Salvador [Fri, 22 Jul 2011 01:23:59 +0000 (01:23 +0000)]
kernel.bbclass: save kernel image name into $kerneldir

Save the kernel image name into sysroot so it can be used during image
build if need. This is used by O.S. Systems products and probably
useful to others.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
13 years agoUse OECORE_DISTRO_VERSION instead of POKY_DISTRO_VERSION
Otavio Salvador [Fri, 15 Jul 2011 14:53:34 +0000 (14:53 +0000)]
Use OECORE_DISTRO_VERSION instead of POKY_DISTRO_VERSION

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
13 years agobitbake meta-toolchain with gcc 4.5.1 failed
Robert Yang [Sun, 21 Aug 2011 09:52:55 +0000 (17:52 +0800)]
bitbake meta-toolchain with gcc 4.5.1 failed

Fixes bug [YOCTO #1386]

1) Add the following lines to conf/local.conf:

SDKGCCVERSION="4.5.1"
GCCVERSION="4.5.1"

2) bitbake meta-toolchain

The we will notice the error that sed can't find the directory:

${TMPDIR}/work-shared/gcc-${PV}/gcc-${PV}-${PR}

we had changed the name of S from gcc-${PV} to gcc-${PV}-${PR}, but didn't
update meta/recipes-devtools/gcc/gcc-common.inc, so fix S in gcc-common.inc
would make it work.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
13 years agolinux-yocto: update SRCREVs for 3.0.3
Bruce Ashfield [Fri, 19 Aug 2011 04:57:26 +0000 (00:57 -0400)]
linux-yocto: update SRCREVs for 3.0.3

Updating the SRCREVs to pickup the kernel.org -stable update for
3.0.3

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
13 years agolinux-yocto: move more default values into linux-yocto.inc
Bruce Ashfield [Fri, 19 Aug 2011 04:42:38 +0000 (00:42 -0400)]
linux-yocto: move more default values into linux-yocto.inc

During the preparation of some linux-yocto extension documentation it
was clear that some variables are being defined in each recipe, when
they don't have to be. Moving the defaults into linux-yocto.in and
allowing them to be overidden in recipes simpifies the reuse of the
base infrastructure.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
13 years agoat: fix RDEPENDS -> RDEPENDS_${PN}
Saul Wold [Sun, 21 Aug 2011 19:56:56 +0000 (12:56 -0700)]
at: fix RDEPENDS -> RDEPENDS_${PN}

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agoadt-installer: Removed the hard coded repo url.
Lianhao Lu [Fri, 19 Aug 2011 05:14:27 +0000 (13:14 +0800)]
adt-installer: Removed the hard coded repo url.

[YOCTO #1380] Removed the hard coded repo url in opkg configuration
files.

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
13 years agoimage_types_uboot: add uboot mkimage fs types
Chris Larson [Fri, 19 Aug 2011 21:56:25 +0000 (14:56 -0700)]
image_types_uboot: add uboot mkimage fs types

Signed-off-by: Chris Larson <chris_larson@mentor.com>
13 years agorpm: be certain we don't prefix our binaries
Chris Larson [Fri, 19 Aug 2011 21:56:24 +0000 (14:56 -0700)]
rpm: be certain we don't prefix our binaries

In certain combinations of build/host/target, they can end up
inadvertently prefixed, breaking the assumptions in the recipe.

Signed-off-by: Chris Larson <chris_larson@mentor.com>
13 years agolibpcre: the generated libtool uses HOST_SYS
Chris Larson [Fri, 19 Aug 2011 21:56:23 +0000 (14:56 -0700)]
libpcre: the generated libtool uses HOST_SYS

Signed-off-by: Chris Larson <chris_larson@mentor.com>
13 years agorecipes: Delete patch=1, its default and replace pnum with striplevel
Khem Raj [Thu, 18 Aug 2011 00:17:52 +0000 (00:17 +0000)]
recipes: Delete patch=1, its default and replace pnum with striplevel

Some place pnum=1 is used which is removed as well since
striplevel=1 is default

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agotune: Add hard floating point variants of cortexa8 tunes
Darren Hart [Thu, 18 Aug 2011 16:39:32 +0000 (09:39 -0700)]
tune: Add hard floating point variants of cortexa8 tunes

Enable machines or distros to select the hard floating point abi for cortexa8
machines. I left out the arm7a thumb+neon combinations as they were not
present in the original non-hf set.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Jason Kridner <jkridner@beagleboard.org>
CC: Koen Kooi <koen@dominion.thruhere.net>
13 years agotune: add missing closing quote to arch-armv7a.inc for AVAILTUNES
Darren Hart [Thu, 18 Aug 2011 16:19:40 +0000 (09:19 -0700)]
tune: add missing closing quote to arch-armv7a.inc for AVAILTUNES

A closing quote was missing for an AVAILTUNES append operation, add it.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Jason Kridner <jkridner@beagleboard.org>
CC: Koen Kooi <koen@dominion.thruhere.net>
13 years agoxcb/libpthreads: Add BBCLASSEXTEND to resolve missing providers in world builds
Richard Purdie [Fri, 19 Aug 2011 23:27:29 +0000 (16:27 -0700)]
xcb/libpthreads: Add BBCLASSEXTEND to resolve missing providers in world builds

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobluez4: drop usbpath from DEPENDS
Joshua Lock [Fri, 19 Aug 2011 22:30:33 +0000 (15:30 -0700)]
bluez4: drop usbpath from DEPENDS

We don't (currently) have usbpath in oe-core, so drop it from the DEPENDS to
make BlueZ buildable again.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
CC: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibgcc: Remove fetch/unpack/patch noexec stamps
Richard Purdie [Fri, 19 Aug 2011 22:08:32 +0000 (15:08 -0700)]
libgcc: Remove fetch/unpack/patch noexec stamps

libgcc now uses shared work directories so we cannot mark
these tasks as noexec. If we do, the tasks may not run
and hence gcc may not get patched for example which
results in failures.

This patch simple removes the flags since they're unneeded.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agonewt: update distro tracking fields
Kang Kai [Thu, 18 Aug 2011 02:49:02 +0000 (10:49 +0800)]
newt: update distro tracking fields

Update newt distro tracking fields

Signed-off-by: Kang Kai <kai.kang@windriver.com>
13 years agoalsa-tools: update license and add distro tracking fields
Kang Kai [Thu, 18 Aug 2011 02:44:40 +0000 (10:44 +0800)]
alsa-tools: update license and add distro tracking fields

Update license and other informations, then bump up PR.
Update distro tracking fields.

Signed-off-by: Kang Kai <kai.kang@windriver.com>
13 years agoslang: add homepage and update distro tracking fields
Kang Kai [Thu, 18 Aug 2011 02:38:47 +0000 (10:38 +0800)]
slang: add homepage and update distro tracking fields

Add slang homepage and bump up PR.
Update distro tracking fields.

Signed-off-by: Kang Kai <kai.kang@windriver.com>
13 years agomailx: update license and distro tracking fileds
Kang Kai [Thu, 18 Aug 2011 02:33:55 +0000 (10:33 +0800)]
mailx: update license and distro tracking fileds

update mailx license and bump up PR, and update distro tracking fields.

Signed-off-by: Kang Kai <kai.kang@windriver.com>
13 years agoeglibc: check dependencies among eglibc options
Kang Kai [Thu, 18 Aug 2011 02:04:57 +0000 (10:04 +0800)]
eglibc: check dependencies among eglibc options

Fixes [Yocto #1212]

'libc-inet' and 'ipv4' are the same thing, so remove 'libc-inet'
from the default DISTRO_FEATURES_LIBC in file default-distrovars.inc.

Check the dependencies among eglibc configurable options, make sure
that eglibc could be compile successfully only with part of the options.

Signed-off-by: Kang Kai <kai.kang@windriver.com>
13 years agoacl: Use BPN instead of PN for style like lib${PN}
Dongxiao Xu [Thu, 18 Aug 2011 06:55:33 +0000 (14:55 +0800)]
acl: Use BPN instead of PN for style like lib${PN}

When supporting multilib, ${PN} will be extended with MLPREFIX. However
if a package name contains ${PN} with styles like lib${PN}, such
extension will cause error. Use BPN in this case.

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
13 years agoattr: Use BPN instead of PN for style like lib${PN}
Dongxiao Xu [Thu, 18 Aug 2011 06:54:55 +0000 (14:54 +0800)]
attr: Use BPN instead of PN for style like lib${PN}

When supporting multilib, ${PN} will be extended with MLPREFIX. However
if a package name contains ${PN} with styles like lib${PN}, such
extension will cause error. Use BPN in this case.

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
13 years agoea-acl: Use BPN instead of PN for style like lib${PN}
Dongxiao Xu [Thu, 18 Aug 2011 06:53:02 +0000 (14:53 +0800)]
ea-acl: Use BPN instead of PN for style like lib${PN}

When supporting multilib, ${PN} will be extended with MLPREFIX. However
if a package name contains ${PN} with styles like lib${PN}, such
extension will cause error. Use BPN in this case.

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
13 years agocurl: Use BPN instead of PN for style like lib${PN}
Dongxiao Xu [Thu, 18 Aug 2011 06:51:32 +0000 (14:51 +0800)]
curl: Use BPN instead of PN for style like lib${PN}

When supporting multilib, ${PN} will be extended with MLPREFIX. However
if a package name contains ${PN} with styles like lib${PN}, such
extension will cause error. Use BPN in this case.

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
13 years agoinitrdscripts: fix init-live.sh
Jingdong Lu [Thu, 18 Aug 2011 07:59:58 +0000 (15:59 +0800)]
initrdscripts: fix init-live.sh

Fix bug: [YOCTO #686]
Because the variable "ROOT_IMAGE" in init-live.sh is not correct, it fails to
run when using liveCD. Modify value of "ROOT_IMAGE" to "isolinux/rootfs.img".
If we want to use liveCD, we also need to add some kernel options related to
CDROM support when compling kernel.

Signed-off-by: Jingdong Lu <jingdong.lu@windriver.com>
13 years agobluez4: update recipe from meta-oe
Martin Jansa [Wed, 17 Aug 2011 14:29:54 +0000 (16:29 +0200)]
bluez4: update recipe from meta-oe

* fix DEPENDS
* fix typo in --enable-pandd option
* remove unsupported options
* update packaging
* remove distro override which doesn't belong to oe-core

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
13 years agotask-core-boot: allow distribution to override default dev_manager provider with...
Martin Jansa [Tue, 26 Jul 2011 22:23:31 +0000 (00:23 +0200)]
task-core-boot: allow distribution to override default dev_manager provider with VIRTUAL-RUNTIME_dev_manager

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
13 years agogdb: Add lttng-ust to DEPENDS only for eglibc
Khem Raj [Tue, 16 Aug 2011 22:23:21 +0000 (15:23 -0700)]
gdb: Add lttng-ust to DEPENDS only for eglibc

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agotask-core-tools: Use LTTNGUST variable instead of hardcoding lttng-ust
Khem Raj [Tue, 16 Aug 2011 22:22:24 +0000 (15:22 -0700)]
task-core-tools: Use LTTNGUST variable instead of hardcoding lttng-ust

This helps build on uclibc where lttng-ust is not included

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agoat: make at usable for common user
Kang Kai [Tue, 16 Aug 2011 08:32:27 +0000 (16:32 +0800)]
at: make at usable for common user

Fixes [Yocto #1297]

The pkg_postinst was added to fix Yocto #675. But it seems not needed
any more. Remove it then unprivilege user could use at.

Signed-off-by: Kang Kai <kai.kang@windriver.com>
13 years agolibxslt: fix packaging of static libraries
Phil Blundell [Wed, 17 Aug 2011 13:56:53 +0000 (14:56 +0100)]
libxslt: fix packaging of static libraries

This prevents warnings about .a files being installed but not shipped.

Signed-off-by: Phil Blundell <philb@gnu.org>
13 years agoscripts/runqemu: modify search paths for libgl
Anders Darander [Wed, 17 Aug 2011 13:19:46 +0000 (15:19 +0200)]
scripts/runqemu: modify search paths for libgl

On e.g. Debian libql is found under /usr/lib/x86_64-linux-gnu/libGL.so.
Use a wildcard to match different locations, as uname -i only return unknown on Debian.

Signed-off-by: Anders Darander <anders@chargestorm.se>
13 years agoqemu: modify search paths for libgl
Anders Darander [Wed, 17 Aug 2011 13:18:58 +0000 (15:18 +0200)]
qemu: modify search paths for libgl

On e.g. Debian libql is found under /usr/lib/x86_64-linux-gnu/libGL.so.
Use a wildcard to match different locations, as uname -i only return unknown on Debian.

Signed-off-by: Anders Darander <anders@chargestorm.se>
13 years agosysvinit: Change ${PN} to ${BPN} in file names
Dongxiao Xu [Wed, 17 Aug 2011 08:53:40 +0000 (16:53 +0800)]
sysvinit: Change ${PN} to ${BPN} in file names

Some files in sysvinit are named with ${PN}. In multilib case, ${PN}
will be prefixed with "lib32-" or "lib64-". Use ${BPN} instead.

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
13 years agobusybox: Change ${PN} to ${BPN} in file names
Dongxiao Xu [Wed, 17 Aug 2011 08:51:52 +0000 (16:51 +0800)]
busybox: Change ${PN} to ${BPN} in file names

Some files in busybox are named with ${PN}. In multilib case, ${PN}
will be prefixed with "lib32-" or "lib64-". Use ${BPN} instead.

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
13 years agoperl-native: Update find_perl to find the perl wrapper
Wenzong Fan [Tue, 16 Aug 2011 06:53:59 +0000 (14:53 +0800)]
perl-native: Update find_perl to find the perl wrapper

[YOCTO #1157] [YOCTO #829]

This is a common issue to the packages which using 'MakeMaker.pm' to
generate their Makefiles. The function 'find_perl()' in 'MM_Unix.pm'
will be used to figure out the path/link of 'PERL/FULLPERL', but it
always find the 'perl.real' instead of perl wrapper.

Just update it to find the perl wrapper correctly.

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
13 years agoglib-2.0: explicitly disable dtrace and systemtap for native varaint
Joshua Lock [Wed, 17 Aug 2011 16:17:49 +0000 (09:17 -0700)]
glib-2.0: explicitly disable dtrace and systemtap for native varaint

This prevents systemtap and dtrace being picked up from the host as
reported on the Yocto mailing list by Andre Haupt <andre@bitwigglers.org>

Signed-off-by: Joshua Lock <josh@linux.intel.com>
13 years agoqt4: allow a reduction in build time
Anders Darander [Wed, 17 Aug 2011 17:47:51 +0000 (19:47 +0200)]
qt4: allow a reduction in build time

When reducing build time by adding QT_DISTRO_FLAGS from the set '-no-gui -nomake tools
-nomake examples -nomake demos -nomake docs', build failure can occur, due to not building
all tools.

* Make rm not error out when removing one of the, possibly, non-existing tools.
* Only try to rename qtdemo, if qtdemo exists.
* Check if the phrasebook path exists, and only then call do_split_packages()

Signed-off-by: Anders Darander <anders@chargestorm.se>
13 years agosanity.bbclass: add optional untested host distro warning
Paul Eggleton [Wed, 17 Aug 2011 17:48:15 +0000 (18:48 +0100)]
sanity.bbclass: add optional untested host distro warning

SANITY_TESTED_DISTROS, if specified, is expected to be a
newline-delimited list of distro identifier strings, e.g.

SANITY_TESTED_DISTROS = " \
        Ubuntu 11.04 \
        Fedora release 14 (Laughlin) \
        "

(spaces, tabs etc. are trimmed)

If SANITY_TESTED_DISTROS is defined, we will attempt to detect the host
distribution. If the distribution is not in SANITY_TESTED_DISTROS or we
could not detect the distribution then we show a warning during sanity
checking.

Provides the mechanism for fixing [YOCTO #1096].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
13 years agoimage.bbclass, kernel.bbclass: create warning file about deleting deploydir files
Paul Eggleton [Tue, 16 Aug 2011 17:13:04 +0000 (18:13 +0100)]
image.bbclass, kernel.bbclass: create warning file about deleting deploydir files

New users sometimes delete files in tmp/deploy/images assuming they will
be re-created just by re-running the build, and then are confused when
this doesn't work. To discourage people from doing this, create a file
called README_-_DO_NOT_DELETE_FILES_IN_THIS_DIRECTORY.txt in
tmp/deploy/images containing an explanation of what needs to be done to
re-create files there.

Fixes [YOCTO #1315] and [YOCTO #1346].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>