Commit Graph

10084 Commits

Author SHA1 Message Date
Richard Purdie a272d989a9 cairo: Clean up packaging and fix warnings
There were a number of QA errors being reported when packaging cairo. This patch
ensures the debug files go in the -dbg package, the .so development links go into
the -dev package, .a files into -staticdev.

It also switches back to relying on debian package naming for the library name.
Since this is working correctly now the files are in the correct packages, we
can simplify the recipe and there is no change in the resulting package names
from a package feed perspective.

(From OE-Core rev: 9e8bc7b5834578f325c5777bf196dc834ca406c3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-01 23:27:25 +01:00
Koen Kooi a3afabae30 ppp: sync packaging with OE .dev
This fixes the QA errors and the 2.4.3 vs 2.4.5 copy/paste mistake

(From OE-Core rev: 5318816a018165052f1aa647e3b7e2a1e6c701f7)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-01 23:27:25 +01:00
Nitin A Kamble 46c11ac20e perl: Fix package qa rpath warnings.
Fix these kinds of Package QA warnings before they are converted into fetal errors:

WARNING: QA Issue: package perl-module-compress contains bad RPATH /build_disk/poky_build/build0/tmp/sysroots/qemux86/usr/lib in file /build_disk/poky_build/build0/tmp/work/i586-poky-linux/perl-5.12.3-r1/packages-split/perl-module-compress/usr/lib/perl/5.12.3/auto/Compress/Raw/Zlib/Zlib.so

This fixes this warning for perl recipe as well as libxml-parser-perl recipe.
It is a fix to MakeMaker within perl, so all such perl recipes will get
fixed with this perl fix.

(From OE-Core rev: a67e0c0e01a22718a617a82f54575b77928249ee)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-01 23:27:25 +01:00
Khem Raj ffc7ca72c5 consolekit: Add glib-2.0 to DEPENDS
Otherwise it ends up with this error
| configure: error: Package requirements (dbus-glib-1 >= 0.82
|   gobject-2.0 >= 2.14
|   gthread-2.0 >= 2.14
| ) were not met:
|
| No package 'gobject-2.0' found
| No package 'gthread-2.0' found
|
| Consider adjusting the PKG_CONFIG_PATH environment variable if you
| installed software in a non-standard prefix.

(From OE-Core rev: c4eb1e7659a7f9f2791f1fdd5b0b22e7a5e423b0)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-01 23:27:25 +01:00
Scott Garman 14be7dbb15 useradd.bbclass: new class for managing user/group permissions
This class is to be used by recipes that need to set up specific
user/group accounts and set custom file/directory permissions.

(From OE-Core rev: a82885db00956734922291d8a17eb135461204fa)

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-01 17:17:34 +01:00
Khem Raj a965a615c1 uclibc: Add default uClibc.machine files
Add generic machine config file

uClibc.machine in topdir should work mostly
and odd ones like mips should have a copy
of their own as explained

(From OE-Core rev: 40ecaf6a59ba61e72d29d7e677197ef37c998408)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-01 00:40:17 +01:00
Scott Garman 1c1372e7ec bitbake.conf: update PSEUDO_PASSWD variable
The internal use of PSEUDO_PASSWD adds the /etc path
automatically.

(From OE-Core rev: 2ae82c876c1371fcf82642b141bacc70c86e7e84)

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-01 00:13:25 +01:00
Michael Lippautz a875886c3c linux-firmware: Add Realtex rt8192* firmwares
This patch adds the firmware files for:
 * rt8192cu
 * rt8192ce
 * rt8192su

[RP: Changed file modes to 0644]
(From OE-Core rev: 0da0c424bcbc1a0aab5e978c1e74b9542e74add5)

Signed-off-by: Michael Lippautz <michael.lippautz@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-30 23:47:22 +01:00
Khem Raj c66a1d17f9 uclibc: Fix bug exposed by udev 168+ for mips architecture
newer udev uses sgnalfd + epoll and this exposed a bug
in uclibc for mips where SFD_NONBLOCK should be defined
with 0200 for mips but was using 04000. This would cause
random segfaults in udev during boot process

Tested on qemumips/angstrom console-image since angstrom
uses udev 171. It worked well when we did not use meta-oe
layer because udev in oe-core will then be used which is
at version 164.

(From OE-Core rev: a318b3c319ab34f661b3f41855374adba5b10394)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-30 23:42:15 +01:00
Mark Hatle 8781c843cf classes/package.bbclass: Add fixup_perms
Add a new function that is responsible for fixing directory and file
permissions, owners and groups during the packaging process.  This will fix
various issues where two packages may create the same directory and end up
with different permissions, owner and/or group.

The issue being resolved is that if two packages conflict in their ownership
of a directory, the first installed into the rootfs sets the permissions.
This leads to a least potentially non-deterministic filesystems, at worst
security defects.

The user can specify their own settings via the configuration files
specified in FILESYSTEM_PERMS_TABLES.  If this is not defined, it will
fall back to loading files/fs-perms.txt from BBPATH.  The format of this
file is documented within the file.

By default all of the system directories, specified in bitbake.conf, will
be fixed to be 0755, root, root.

The fs-perms.txt contains a few default entries to correct documentation,
locale, headers and debug sources.  It was discovered these are often
incorrect due to being directly copied from the build user environment.

The entries needed to match the base-files package have also been added.

Also tweak a couple of warnings to provide more diagnostic information.

(From OE-Core rev: 8c720efa053f81dc8d2bb604cdbdb25de9a6efab)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-30 22:54:04 +01:00
Phil Blundell b78173f176 binutils: allow distro to select gold as default linker
But ensure that gcc-cross-intermediate always uses ld.bfd since
(e)glibc won't build with gold.

(From OE-Core rev: 207a9013670560d62c793a66f01e19f4760a71a8)

Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-30 22:42:04 +01:00
Khem Raj 5e480e526f uclibc: Add UCLIBC_HAS_FLOATS=y to uClibc.distro
Remove unused uClibc.distro from topdir. It just creates
confusion

(From OE-Core rev: 577b16b4e4984e7fbdba7df88b0c40539f0f3167)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-30 22:42:03 +01:00
Khem Raj f89a21d77a uclibc_git.bb: Untether UCLIBC_HAS_FPU from UCLIBC_HAS_FLOATS
(From OE-Core rev: 619c16c16d4de643a87cf56d3cd8eb7eac83d965)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-30 22:42:03 +01:00
Khem Raj 81fd1b9dde uclibc.inc: Use ARCH_WANTS_{LITTLE|BIG}_ENDIAN to denote endian
ARCH_{BIG|LITTLE}_ENDIAN is governed by ARCH_WANTS_{LITTLE|BIG}_ENDIAN
therefore we tame the superior

(From OE-Core rev: f9eeb4c631006079a707e24a2ab6f717587e51da)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-30 22:42:03 +01:00
Khem Raj a37fd58bf1 uclibc-config.inc: Fix regexp to determine big-endian arm
Without this even arm-*-* was being treated as big endian
but normal convention is the arm-*-* is little endian

(From OE-Core rev: 00197c6914aae6bb1f68ccf4862c9246097f6fac)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-30 22:42:03 +01:00
Khem Raj 0d031957b3 uclibc: Remove redundant machine/arch configs
Big endian counterparts are not needed since
we already add the proper endianness to final
config as seen in uclibc-config.inc

The difference between arm and armv5te configs
were also superficial since all it did was select
arm926t which made sure that right mtune and march
flags were passed to gcc when building uclibc
We already do that via passing them in
UCLIBC_EXTRA_CFLAGS.

Similarly for other architectures the features
are really taken care of in config mangler and
machine config fragments are no longer needed

(From OE-Core rev: 99d1c2c1204173a42808a54d2c810ab6e2555ce8)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-30 22:42:03 +01:00
Scott Garman 5c7d37c51c shadow-native: fix creation of home directories
Pseudo was recently changed so that when system() calls are
made after a chroot(), the host binaries can no longer be found,
breaking the system("mkdir -p") approach when useradd creates
home directories.

Instead, use mkdir(2) to create home directories with a helper
function to ensure parent directories get created.

(From OE-Core rev: 7d4099a964ec79b1ac4cf5348cf9f4221c3d4908)

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-30 20:57:07 +01:00
Jessica Zhang b2a047d8db Add OECORE_ACLOCAL_OPTS to env setup scripts for autotool project using correct libtool 2.4
(From OE-Core rev: fd383ab8e0a8cc8098f557ffcb097190a495c45e)

Signed-off-by: Jessica Zhang <jessica.zhang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-30 20:57:07 +01:00
Koen Kooi c1fd6f0c53 consolekit 0.4.5: remove patch that forcibly disables consolekit
Polkit support is actually needed for consolekit to function properly, without you get things like:

	** (gnome-panel:547): WARNING **: Could not ask session manager if shut down is available: Timeout was reached

Various applications will timeout and less well written ones will crash (e.g. the clock applet).

(From OE-Core rev: eb828308b8e721e4ad7edbd15f47ecad22ee81cf)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-30 20:57:07 +01:00
Koen Kooi c3acb9ca8e consolekit 0.4.5: add pam support based on distro features
(From OE-Core rev: 6b28a9f73773890e70fb4dc570520b5be060a919)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-30 20:57:07 +01:00
Koen Kooi fee83eb6ff webkit-gtk: fix packaging
Somewhere in the past webkit changed from webkit-x to webkitgtk-x but the person updating the recipe didn't catch that

(From OE-Core rev: f69d1d68f9cc743d6bf4a263070350fd8dad5f4a)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-30 20:57:06 +01:00
Koen Kooi f830c94e75 dbus: update to 1.4.12
The tmpdir patch has been regenerated and can now be applied with git-am, no functional changes.

The biggest improvement is that dbus will log to syslog nowadays:

[   22.238708] <29>dbus[237]: [system] Activating service name='fi.w1.wpa_supplicant1' (using servicehelper)

(From OE-Core rev: 2c12ae905db6168439dacd18294dea839da28ef3)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-30 20:57:06 +01:00
Koen Kooi 771f5d00c8 linux-libc-headers: add 2.6.39
The 2.6.37.2 version is kept to allow the qemu kernels and libc headers version to match

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-30 20:57:06 +01:00
Wenzong Fan 409ac8f242 ccache: Remove duplicate 'ccache.inc' from 'meta/class/'
(From OE-Core rev: e37c80486b1043afa3c0b4ef5724155f8b17f821)

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-30 20:57:06 +01:00
Wenzong Fan fec22b1ace ccache: Add 'ccache' for SDK images
(From OE-Core rev: b4f57eea30e1a8079fe3f1a8a28aff5af5fc36f0)

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-30 20:57:06 +01:00
Wenzong Fan 860eea2a58 ccache: Set CCACHE on a per recipe basis
Set 'CCACHE_DIR' in 'bitbake.conf' and create the dirs for every
package before task 'do_configure' started.

[RP: Merge dirs variables into one]
(From OE-Core rev: fe03f78fb0bf7d54b9472832e43764e882f918a1)

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-30 20:57:05 +01:00
Wenzong Fan b3847df86d ccache: Integrate ccache-native to poky
Add ccache as a native tool and put its recipe files to:
'meta/recipes-devtools/ccache'.

(From OE-Core rev: 43416be5ccb66f93e395fdd8d0e19327f848cbe2)

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-30 20:57:05 +01:00
Mark Hatle 477f685ce0 Add umask task control
Bitbake now allows the umask to be specified per task.  The
following tasks will have a umask of 022 set by default:

do_configure
do_compile
do_install
do_package
do_populate_sysroot
do_rootfs

do_configure and do_compile need a umask of 022 set because -many- recipes
directly copy generated files out of recipe's build directory.  Instead of
fixing each existing and future recipe, it was shown to be much easier to
just set the umask.

(From OE-Core rev: 0cfa7ebcf661aa0645c6d4d858b04946ebacb7e4)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-30 20:57:05 +01:00
Mark Hatle b320f558ed linux-firmware: Fix file permissions
The firmware was installed 0666 which could have been a security
issue.

(From OE-Core rev: db6a4e07f3a35163c751996ca3ac86b6bf5650e9)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-30 20:56:36 +01:00
Nitin A Kamble c9ed41a313 base-files: add btrfs to /etc/filesystems
(From OE-Core rev: 715aca9d73c5c351d2230d46892e435d43f19556)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-30 20:56:36 +01:00
Nitin A Kamble 55c381316d image_types.bbclass: enable btrfs as one of the image type
(From OE-Core rev: d9b139122569bff742417984af8f790588d4e110)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-30 20:56:36 +01:00
Nitin A Kamble 65c68925b5 image-types.bbclass: get the image size in the whole number
Avoid fractions like 80.72 and round them to whole numbers.

(From OE-Core rev: 70b80215a08b2f1a3a813ac9a3948e39a1b26dd4)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-30 20:56:35 +01:00
Joshua Lock 3e6746aa1d sanity.bbclass: pass the data object to the less frequent test harnesses
By passing the data object to the less frequently run test harnesses
(check_sanity_tmpdir_change(), check_sanity_sstate_dir_change() and
check_sanity_version_change()) we can run tests against BitBake data here
too.

(From OE-Core rev: 7df8376c28d991dd07c0915d3ccade4cf51c2fee)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-30 20:56:35 +01:00
Yu Ke 49a9426ce3 distro_tracking_field: update recipe maintainer
reassign Qing's recipe to other team member

(From OE-Core rev: d68da1f4898ab77f669ddfd9e4ced5d2044a96ce)

Signed-off-by: Yu Ke <ke.yu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-30 20:56:35 +01:00
Nitin A Kamble 0c10be57b7 btrfs-tools: new recipe for tools to operate on btrfs images
Added these patches to the recipe to get it to work as desired:

Upstream patches from tmp & for-dragonn branches of repository http://git.kernel.org/?p=linux/kernel/git/mason/btrfs-progs-unstable.git

Also included the debian patches.

Nitin's patch to make the makefile cross friendly

And Xin Zhong's patch to improve mkfs.btrfs

(From OE-Core rev: 57a2140dc9673c65fea088fbd024fbd002e6937b)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-30 20:56:35 +01:00
Darren Hart 64497638e7 kernel: move menuconfig task after configure
Fixes [YOCTO 1136]

linux-yocto adds some configure steps that are necessary to prepare the source
tree after the do_patch task. This causes a "-c menuconfig" to fail in a clean
build tree. Typical use of menuconfig should be to modify the config provided
by the recipe being built. It therefor makes sense for the menuconfig task to
come after the configure task. This also happens to fix the issue seen with the
linux-yocto kernel recipe.

(From OE-Core rev: 829dd1d7ca99ec6228d2705cdece4727232797d3)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-30 20:56:34 +01:00
Saul Wold 53dfb5f55d util-linux: Rebase remove-lscpu patch from non-gplv3
(From OE-Core rev: 75099970c9122cf059a52d8a6cdc22a7f7afe040)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-30 20:56:34 +01:00
Robert Yang 64be701305 gcc-4.6: share work directories
* Fix configure and Makefile to read the defaults.h and t-oe from ${B},
  so that the ${S} can be shared.

* Change ${S} to the shared source directory.

(From OE-Core rev: c1ec5100da76d35afb91de7353599564e5b653dc)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-30 20:56:34 +01:00
Robert Yang e4f43aa5df gcc-4.5.1: share work directories
Fix configure and Makefile to read the defaults.h and t-oe from ${B},
so that the ${S} can be shared.

(From OE-Core rev: d8c6f6e01421455db30eeb4b0882720874dcb31b)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-30 20:56:34 +01:00
Robert Yang 3e08c1f078 Share gcc work directories
This patched is derived from Richard, make gcc use the shared source
directory during the different building:

1) Make gcc-cross, gcc-cross-initial, gcc-cross-intermediate and
   gcc-runtime share the same source directory.

2) The source directory is ${TMPDIR}/work-shared/gcc-${PV}, for example:
   tmp/work-shared/gcc-4.5.1

3) Fix do_clean to clean the shared source directory and stamps

4) gcc uses sed and creates config files against ${S} which means the
   directory should not be shared. Change the way to make it work:

   * The configure option --with-headers=${STAGING_DIR_TARGET}${SYSTEMHEADERS}
     can replace the sed command, see the code in configure:

        if test "x$with_headers" != x; then
          glibc_header_dir=$with_headers

    This has the same effect as the sed command:

    sed -i 's:^\([  ]*\)glibc_header_dir=\"${with_build_sysroot}/usr/include\": ...

    so add the --with-headers=${STAGING_DIR_TARGET}${SYSTEMHEADERS} to
    gcc-configure-cross.inc( not add to gcc-configure-common.inc, since
    not all the gcc building need this, the one which has its own do_configure
    doesn't need it).

   * Move t-oe from ${T} to ${B}/gcc, so that the patched Makefile.in
     can read it easily, please see the commit for gcc-4.5.1 and
     gcc-4.6.0.

   * Use the defaults.h in ${B}/gcc instead of ${S}/gcc, and the patched
     configure.ac(configure) can read it correctly, please see the
     commit for gcc-4.5.1 and gcc-4.6.0.

   * The gcc-crosssdk.inc used sed to edit ${S}/config/*/linux*.h
     to change the GLIBC_DYNAMIC_LINKER, which made the source
     incompatible. To make the source compatible:
     - Use:
	 sed -i ${S}/gcc/config/*/linux*.h -e \
		's#\(GLIBC_DYNAMIC_LINKER[^ ]*\)\( *"/lib.*\)#\1 SYSTEMLIBS_DIR\2#'

	so entries in the files that look like:
	#define GLIBC_DYNAMIC_LINKER64 "/lib64/ld-linux-x86-64.so.2"
	would become
	#define GLIBC_DYNAMIC_LINKER64 SYSTEMLIBS_DIR"/ld-linux-x86-64.so.2"
	and we define SYSTEMLIBS_DIR in defaults.h.

	NOTE:
	#define GLIBC_DYNAMIC_LINKER64 (SYSTEMLIBS_DIR "/ld-linux-x86-64.so.2")
	doesn't work in in the following define:
	#define LINUX_DYNAMIC_LINKER \
  		CHOOSE_DYNAMIC_LINKER (GLIBC_DYNAMIC_LINKER, UCLIBC_DYNAMIC_LINKER)
	so use
	#define GLIBC_DYNAMIC_LINKER64 SYSTEMLIBS_DIR"/ld-linux-x86-64.so.2"

5) Add do_configure_prepend to gcc-configure-common.inc and remove the
   one in gcc-crosssdk.inc, this makes it easy to share the source,
   otherwise we need do extra changes in gcc-configure-sdk.inc.

6) Use "cat > file <_EOF" to replace the "echo > file"

(From OE-Core rev: 934d38530c9a67562e53d4034aee5531f0f26750)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-30 20:56:33 +01:00
Richard Purdie e485b88daa sanity.conf: Require bitbake version 1.13.2 at a minimum
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-30 20:56:33 +01:00
Richard Purdie a99b6d4d09 glibc-2.12: Add missing PR bump
(From OE-Core rev: 08679866686393cbe004e037259a39877ef1481a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-30 16:56:13 +01:00
Richard Purdie a92449f62e eglibc-package.bbclass: Ensure localedef is only packaged in one location
(From OE-Core rev: 62d7e8d2d7614c7a842056a68a68b70df320d2b1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-30 16:45:28 +01:00
Richard Purdie 35695ee0e2 eglibc-package.bbclass: Fix unintended code changes
Commit 477ede7472db0bacd5daacb96e97f849d1be84ee accidentally reverted
some code changes it shouldn't have done leading to continued eglibc
packaging issues. This patch corrects that damage.

(From OE-Core rev: b0dd8f5e71e33bdc2614133a7cbb21426ecee38d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-30 16:43:38 +01:00
Dexuan Cui e0fc42b51a distro_tracking_fields.inc: update RECIPE_MANUAL_CHECK_DATE for screen and tcf-agent
(From OE-Core rev: 54940c388181ffb1483f1d056887fe9270510ff4)

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-29 15:04:59 +01:00
Dexuan Cui 1de23cbaab lttng-ust: change the patch's Upstream-Status to Accepted.
(From OE-Core rev: 0e17be0d79c762e38c7aa9a48edf257426436a59)

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-29 15:04:59 +01:00
Dexuan Cui 776da950e8 grub: add -fno-reorder-functions into STAGE2_COMPILE
This is used to work around a gcc-4.6's bug about the option.

[YOCTO #1099]

(From OE-Core rev: 909c8ff0f27064fd01853ef92977488e6a097dfe)

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-29 15:04:59 +01:00
Dexuan Cui 0c1f2d7a19 glib-2.0,intltool,rpm,sgmlspl-native: Bump PR to resolve perl-native issue
(From OE-Core rev: 549929364cd7d29b50d8a4562c6f640e21a467f1)

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-29 15:04:58 +01:00
Dongxiao Xu 1dd8237d2e task-base: add 3G into DISTRO_FEATURE
(From OE-Core rev: ff014d9634638457622f6019b163e75bafcefada)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-29 14:46:55 +01:00
Dongxiao Xu 69aac1a91f initscript: Change some order of init scripts
Move udev script to execute ealier since module autoload needs it to
create device nodes.

Also move sysfs before udev which has dependency on it.

(From OE-Core rev: fe7cef6febdb938b535259b09690192b17074314)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-29 14:46:55 +01:00
Dongxiao Xu 35d84744e9 connman-gnome: Add 3G configuration support
Apply 3g.patch which add cellular config option in connman-gnome.

(From OE-Core rev: 724a06bbbb0bb93e156d4769e08b8f6bf2de555c)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-29 14:46:55 +01:00
Dongxiao Xu 663373c4fb ofono: upgrade to version 0.50
(From OE-Core rev: f7bb581c5bbcc6c9a73430b9f45f532207c86af7)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-29 14:46:54 +01:00
Dongxiao Xu 3755b43328 wpa-supplicant: remove the 0.6.10 version.
Remove the 0.6.10 version since now 0.7.3 is the latest stable version.

(From OE-Core rev: 433c9e0afadfad57a349549fe76582d67ab44895)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-29 14:46:54 +01:00
Dongxiao Xu 53de954ae4 connman: Upgrade to version 0.75
Enable ofono plugin.
Adopt some logic in meta-oe on connman plugin runtime dependency.
Remove the fix-shutdown-ap-disconnect.patch since the original logic no longer exists.
Add Upstream-Status information for patches.

(From OE-Core rev: 7d24ef3454d2bcdf175c17206c8016bafe5e9372)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-29 14:46:54 +01:00
Dongxiao Xu 6873c1adea distro_tracking: update some manual checking fields
linux-firmware
minicom
opkg
dpkg
wireless-tools
libgsmd
libsamplerate0

(From OE-Core rev: 8c29862d932176a94686372414d2e05f3a6728d3)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-29 14:46:54 +01:00
Zhai Edwin 9074c12ebd web-webkit: recommends glib-networking to access https web page
It is required by libsoup for TLS support.

[YOCTO #1037] got fixed

(From OE-Core rev: 8a4d33a0d856ad35760295d66e9fb356c6be5a5e)

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-29 14:46:53 +01:00
Dongxiao Xu da62294fb4 Upstream-Status: update the status for some patches
gypsy: fix-unused-but-set-variable-warning.patch
telepathy-python: parallel_make.patch
opkg-utils: mtime-int.patch
opkg: headerfix.patch
flac: flac-gcc43-fixes.patch
libsamplerate0: libsamplerate-0.1.7-macro-quoting.patch

(From OE-Core rev: 0c1f12f4d190a2f5a838d8d1e53c30415b016a5a)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-29 14:46:53 +01:00
Mark Hatle d18aba9c1c prelink_git.bb: Only block the postinst script when no image-prelink
If image-prelink is being used, the system will automatically prelink
the target image.  This avoids the need to run the postinst prelink
script at first boot.  However, if the user has not enabled image
prelinking -- then we do enable the script to run on first boot.

(From OE-Core rev: a0ba05596a704a006ee7b97392c20b871085b1e6)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-29 14:46:53 +01:00
Mark Hatle dd31ff210a sstate.bbclass: Fix an issue if the config changes
We need to check if we know of the task type, before we attempt
to process it.  In order to reproduce the problem build with:

PACKAGE_CLASSES = "package_ipk"

Then change it to:

PACKAGE_CLASSES = "package_rpm"

Build again -- and then try bitbake -c cleansstate <recipe>

(From OE-Core rev: 8870ba9d261d3cacbe5d1219fdd95840c05ecf9e)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-29 14:46:52 +01:00
Phil Blundell ff997f4582 fontconfig: specify font directory in EXTRA_OECONF
since, otherwise, fontconfig's builtin default may not match ${datadir}.

(From OE-Core rev: 99d8d574f15d6bd2294b340da20bd9a47af79f9f)

Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-29 14:46:52 +01:00
Saul Wold 8064c63290 systemtap: add sqlite3 to DEPENDS
(From OE-Core rev: 2d16b471080bb22989e9582a430d10e2838f9334)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-29 14:46:52 +01:00
Koen Kooi 6f0e589b29 libc locale split: fix some remaining problems
* libc-{common,package}.bbclass: fix shlib renaming for the C library
	Without this you'd end up with eglibc_2.12.ipk instead of libc6_2.12.ipk as before

* eglibc-locale: don't make versions go backwards after split from eglibc
	eglibc was way beyond PR = "r1" at the time of the split, so increase PR to make package upgrades work

[RP: Fixup PR merge conflict]
(From OE-Core rev: 477ede7472db0bacd5daacb96e97f849d1be84ee)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-29 14:28:03 +01:00
Richard Purdie 8bdb4de37c glibc/eglibc: Clean up package warnings and potentially broken data in -dev package
These changes ensure files packaged in the -locale package aren't included
in the main do_install and also ensures the staging directory used for
the -locale package doesn't end up in the -dev package.

(From OE-Core rev: 2dccb370e04bc2bbe208b2b0541077d8ef519535)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-29 14:28:03 +01:00
Richard Purdie 0401f41958 libc-locale: Fixup various packaging warnings
After the recent locale changes there were warnings about many unpackaged files.
Fix this by directing libc-package.bbclass to operate directly on the files in
the sysroot and adding packaging for .debug files in this package.

Also sync up the eglibc and glibc versions of this code more closely.

(From OE-Core rev: 1a3a76e4652b95b640c287cb3672ccc146b023ca)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-29 14:28:03 +01:00
Ilya Yanok a4f3e006e1 u-boot-mkimage: bump version to 2011.03
This patch changes u-boot-mkimage version to 2011.03. Unfortunately
U-Boot 2011.03 release has some problems building tools from
unconfigured tree, so this patch aslo includes the backported fixes.

(From OE-Core rev: 8a5c20417d4d6bee6dd0bcdbeb8d4f9e0696a216)

Signed-off-by: Ilya Yanok <yanok@emcraft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-28 17:13:19 +01:00
Richard Purdie eb1c557d02 libc-locale: Drop PN-locale packages
These never seem to have been generated and matched no known FILES anyhow.

This ensures localedef makes it into the correct package too.

(From OE-Core rev: 8ee5160e8978d73ade2830c9f64df4c0009c0525)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-28 17:13:19 +01:00
Koen Kooi fb38001789 gcc-cross-kernel: update to match new toolchain sysroot layout
The versioned gcc binary gets installed and the needed binutils symlinks are made.

To make it fully work again the following is needed in kernel recipes/classes:

PATH_prepend = "${STAGING_BINDIR_TOOLCHAIN}.gcc-cross-kernel:"

(From OE-Core rev: 3f0ee65462acf199b69ed18897ca65755907340e)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-28 15:06:53 +01:00
Richard Purdie 2bcbc9b7ea base.bbclass: Back off the fatal error to a warning for now and try and recover
(From OE-Core rev: 3a8e115904a227fcecb61e81f5e540d1aebea352)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-28 15:06:53 +01:00
Zhai Edwin 7aab545b76 distro-tracking: Update manual check date for puzzles, gpgme, x11vnc..
Also make maintainer name consistent.

(From OE-Core rev: 3836a2112f5761337fe40216eff87c954ce8d526)

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-28 15:06:53 +01:00
Zhai Edwin 08b6d95885 glib-networking: Add 2.28.7 as new recipe
glib-networking contains the implementations of certain GLib networking
features that cannot be implemented directly in GLib itself because of their
dependencies. TLS/SSL support is one of them, which is needed for accessing SSL
web page.

(From OE-Core rev: a2adb1b1e81c6d72491fd136bd4f1eb3765a7d98)

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-28 15:06:53 +01:00
Dexuan Cui d8f4a8bd1c sanity.bbclass: only run check_pseudo_wrapper for bitbake
This patch eliminates the warning "not been run using the bitbake wrapper..."
when we run bitbake-layers.

(From OE-Core rev: 547f4ea9ac4be2e656f846e658df99b0ecff7a29)

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-28 14:00:07 +01:00
Saul Wold df01b5032e gconf-dbus: Fix SRC_URI to tarball
(From OE-Core rev: 8a247573b85db3099db48580a149df3197e9cccd)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-28 13:55:43 +01:00
Scott Garman 6c196975d0 distro_tracking: update sudo tracking info
(From OE-Core rev: a90cb0c720c1bacac92343842aec02f08ae97e3a)

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-28 13:55:43 +01:00
Scott Garman 7c6f47b13c sudo: upgrade to v1.8.1p2
Upgrading to the latest stable release of sudo.

This version of sudo has reorganized its source code layout, hence
the LIC_FILES_CHKSUM related changes. Also, some of the individual
.c files we checksummed (nonunix.h, vasgroups.c) are no longer
shipped with the sources. Finally, an embedded copy of zlib is now
included in these sources, so Zlib is included as one of the
licenses. I could not find any evidence of MIT-licensed sources,
so that license has been removed.

(From OE-Core rev: 10694e6037b16813e99e2204dbbe5c169f34667c)

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-28 13:55:43 +01:00
Chris Larson 3b97ea13c8 oe.classutils: add module
This adds a ClassRegistry utility metaclass, as maintaining a class registry
is a fairly common thing to do.

(From OE-Core rev: 6a46c375bea03b145bea41ec29ae2fd4d3cd9db6)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-28 13:55:43 +01:00
Scott Garman 1414451798 distro_tracking: update mtools tracking info
(From OE-Core rev: 1c8c893864afd91d4a0e5858bfe44ae9a4b33cef)

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-28 13:55:43 +01:00
Scott Garman 435b413c17 mtools: upgrade to v4.0.16
Also added Upstream-Status: tag to a patch.

(From OE-Core rev: 09f5db4581cc412204f1407be9eba36c1af7376c)

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-28 13:55:42 +01:00
Otavio Salvador 27c1285ee0 lib_package.bbclass: move static libraries to ${PN}-staticdev
(From OE-Core rev: f070edf4d5469a4e4608a530686f181da9c0f465)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-28 13:55:42 +01:00
Otavio Salvador 7414953684 libxml: extend nativesdk class
(From OE-Core rev: d6e5a55bcfb9f2f1c8b1224a26b9220c8e5978fc)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-28 13:55:42 +01:00
Mei Lei 4f61b3d464 distrodata.bbclass: Get the extend recipe's information from non bbextended recipe
This patch will check whether the recipe is an extened recipe, if yes, some informaiton couldn't be got, so collect those information(like maintainer information or lastcheckversion) from non bbextended recipe.

(From OE-Core rev: 8e8648b26fd4d66db2d7c484ad56dfb300e2070a)

Signed-off-by: Mei Lei <lei.mei@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-28 13:55:42 +01:00
Mark Hatle 53c5f8b45b rpm: Change config option
For some reason --without-xz doesn't work the same as --with-xz=none.

We need this set to none, or configure will attempt to find an lzma
header which we might or might not have.

(From OE-Core rev: 43e499b0168eefed38a0883cbf2834f6a4622296)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-28 13:55:42 +01:00
Mark Hatle 9bd8876fee msmtp: Disable gnome keyring
Unless we explicitly disable the gnome keyring support, the system
will attemp to discover if it's available which changes the package
output.

(From OE-Core rev: a41c763595086fa30fb80715a60d9135fa6cf01a)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-28 13:55:41 +01:00
Mark Hatle 5fdbef9d90 prelink: Uprev prelink to latest version
The latest cross-prelink version tracks the prelink r190 SVN.

Fix two minor issues as well.  If we remove the package, we would
unprelink the filesystem after the rm was finished.  This is
incorrect.. we need to do this prerm.

Move the cron and cron configuration file to a new package split.
This item is not valid for most embedded users.

(From OE-Core rev: e8da02aeae4b3c1c2a805d63d6d0919d3034aba6)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-28 13:55:41 +01:00
Phil Blundell dba9c14e6b dhcp: don't try to move files from ${sbindir} to ${base_sbindir} if they are the same
(From OE-Core rev: 70a786ad881607f6312fe80655c79ab81c53996a)

Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-28 13:55:41 +01:00
Khem Raj 4c3691eb4e libtirpc: Upgrade 0.2.1 -> 0.2.2
Additionally bring in the nis headers which will be
required when using eglibc 2.14 where rpc support
is removed.

Make it provide virtual/librpc

(From OE-Core rev: 42a521b28817cc8d905a93a82e02481a8968cd26)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-28 13:55:41 +01:00
Scott Garman 1ac7d1cab8 base-passwd: remove login.defs references
login.defs is owned by shadow-utils, and doesn't belong here. The
shadow-sysroot recipe was created to handle the case this was
originally added for (useradd.bbclass support).

(From OE-Core rev: 3244e21b0d4bd7472330d058b97dc62ea79e0ef9)

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-28 13:55:41 +01:00
Scott Garman c82a1b111d shadow-sysroot: new recipe for useradd.bbclass support
Packaging login.defs with base-passwd causes problems due to the
file being included in target package installs. Instead, this
shadow-sysroot recipe can be used by useradd.bbclass to put
login.defs into the target sysroot without disturbing packages
intended for target devices.

(From OE-Core rev: 6cbf741d73070759ecb9a284e6511c63d945f7c1)

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-28 13:55:40 +01:00
Mark Hatle 1d640c9436 gcc: Fix file ownership
Most of the files that end up in the gcc include dir and other
misc files scattered throughout the install get the build users
uid and gid.

(From OE-Core rev: db99a65b3e93dfacc27ea821c788f15b5de3a497)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-28 13:55:40 +01:00
Richard Purdie 0496564b64 base/glib-2.0: Simplify USE_NLS handling for glib-2.0
Currently the only way to get anything to build is to set USE_NLS="yes"
for glib-2.0. We might as well do this in the recipe by default for
now and simpllify the code.

The magic handling of USE_NLS_<recipename> is also removed since this
can be done in the form USE_NLS_pn-<recipename> using overrides these
days.

(From OE-Core rev: 2e3727b05ae58aaf1eed88967c13cae085e7a702)

Signed-off-by: Richard  Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-28 13:55:40 +01:00
Richard Purdie 1d2f3957b5 classes/conf: Drop MULTIMACH_ARCH variable, it adds unused complexity and serves no useful purpose
(From OE-Core rev: e623d3015bbdeb2b42b9763937be899a1fa9c0ca)

Signed-off-by: Richard  Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-28 13:55:39 +01:00
Richard Purdie 371a224c1e base.bbclass: Since we require python 2.6 which always contains hashlib we can drop this fallback code
(From OE-Core rev: 4ac0b49b65106c2214ae80517fe9f66630d4540c)

Signed-off-by: Richard  Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-28 13:55:39 +01:00
Richard Purdie cc3455fd9c base.bbclass: Drop old style SRCDATE handling, we have pn- overrides now
(From OE-Core rev: 0e88b873e758c158cde11009a8c6f9ca5f7a63dc)

Signed-off-by: Richard  Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-28 13:55:39 +01:00
Richard Purdie 35e15c2d92 glibc/eglibc: Add missing PR bump
(From OE-Core rev: 43d1f8aefac0d25547530a5f26effbffaaf4d9d0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-28 13:44:42 +01:00
Richard Purdie 73a0088908 eglibc: Fix version 2.12 after locale changes
(From OE-Core rev: aef499ba1356f7f21f0f2589da74fa1ea82718c9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-28 13:44:42 +01:00
Lianhao Lu 80beb67025 libc-package.bbclass: Replace hard coded libdir.
Replace the hard coded libdir for locale generating to meet the multilib
requirement.

(From OE-Core rev: 1609fd2b6582667106a6f065cfa031f68cee7552)

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-28 13:44:41 +01:00
Dongxiao Xu 8fa9d64f1d libc-locale: split locale handling from libc recipe.
*libc's do_package will cost a lot of time due to the locale handing,
which may delay the other recipe's do_package task and affect the build
performance.

This commit moves locale handling into a separate recipe *libc-locale.

[RP: Add fixup with recent eglibc commit conflict for FILES_pn-dbg and PACKAGES]
(From OE-Core rev: c6d3242f7642f537b02870bb4eb650f0e2094b85)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-28 13:44:41 +01:00
Jiajun Xu d08a341af7 qemuimagetest: update cvs and iptables to newer version for toolchain test
The old versions of cvs and iptables may meet compile error under some architecture
- cvs 1.11.23 fails on x86-64 host and iptables 1.4.9 fails on arm host. Update them
to latest version could solve these build error.
Meanwhile, 240s timeout is set for sudoku becasue 120s is not enough to finish
compile.

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

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-24 11:28:32 +01:00
Beth Flanagan 7cd2ac0e40 common-licenses: Additions and corrections
I've added more licenses from SPDX and corrected the gcc license
so that it is a. parsable and b. accurate to the SPDX standard.

I've also done some cleanup of license text and gdb's LICENSE
field.

(From OE-Core rev: e47343d12ee571281238bbf5663b074c0e32049f)

Signed-off-by: Beth Flanagan <elizabeth.flanagan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23 23:44:49 +01:00
Mark Hatle 879a7f819b python: Add python to the dependency to pygobject
pygobject requires both python and pygobject-native for compilation.  Without
python pygobject may fail to compile.. and items that depend on pygobject will
fail to compile.

(From OE-Core rev: 319610d5bf61108f2ecc538c7a5de5b7c85a6684)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23 21:08:03 +01:00
Mark Hatle f955edf7aa db: Fix file ownership
(From OE-Core rev: 2fd39cf62fc0a810aa57dcf12ef7f56bfa23866a)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23 21:08:03 +01:00
Mark Hatle 3233f4ba7c gnome-doc-utils: Fix the owner/group on select files
All of the files in ${datadir}/xml/gnome/xslt were being given the uid/gid
of the build user.  Fix this for the target case, avoid it in the native.

(From OE-Core rev: 007f6e113dcf62282b8a8fb417b963bcc96843e0)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23 21:08:03 +01:00
Mark Hatle ab8f2025ee tzdata: Ensure all files are owned by root:root
(From OE-Core rev: 2a7f9848d5682836ef1313239f47adf773db2268)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23 21:08:02 +01:00
Mark Hatle 93dbe8d9f7 libtirpc: Fix owner/group of /etc/netconfig
(From OE-Core rev: 25b50d2e576e641a57823eb7bf7e2cd28443f0b7)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23 21:08:02 +01:00
Mark Hatle f9c2ff4ef0 ghostscript: Fix owner/group of /etc/cups
/etc/cups is owned by root:lp from the cups package, the associated
ghostscript was creating the /etc/cups directory as root:root.  /etc/cups
is the authoritative source.

(From OE-Core rev: 7ebe9412e66bb56b51bd6e757f3ea2acd839f667)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23 21:08:02 +01:00
Mark Hatle 324913cd22 base-passwd: Fix owners/groups
Fix the owners and groups of specific files copied from the developmen tree.
This resolves an issue where those files gain the user/group id of the build
user.

(From OE-Core rev: 8996d4dfd302dc966e39d752761f0f3adbc75683)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23 21:08:02 +01:00
Mark Hatle bee912037e resolveconf: Fix file owners
The file ownership of various configuration files needs to be set to root:root
otherwise it inherits the user id of the build.

(From OE-Core rev: b25deb36bdca771f892b034c1a39b99ca6e0d54c)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23 21:08:02 +01:00
Mark Hatle 13f3607779 native.bbclass: Add a simple chown intercept command
During native recipe processing we want to intercept any calls to chown
and do nothing.  This prevents errors and allows the same recipes to be
used for both native and target recipes.

(From OE-Core rev: 7fd8287d3320231db83c36d09f2b841e520fcfe9)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23 21:08:01 +01:00
Richard Purdie 42df3f81a1 kernel.bbclass: Stop do_install poking directly into the sysroot and evading sstate
do_install was putting files directly into the sysroot which means sstate
had no knowledge of them. This meant they didn't get cleaned along with the
other files from the task amongst other issues.

This patch puts them in ${D} where they were supposted to be.

Tested-by: Tom Rini <tom_rini@mentor.com>
(From OE-Core rev: 983197c10104bbbcb6cfd6e923a3bf11152b3001)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23 21:08:01 +01:00
Richard Purdie 2fd3fc0b5e packagedata.py: Fix read_subpkgdata_dict()
If both VAR and VAR_foo are in subd, we need to ensure VAR_foo gets
returned. Currently the code would work randomly. The only current
user is the rpm packaging backend.

(From OE-Core rev: ad098e40e8c57727892819e131bf18308bf244d2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23 16:02:40 +01:00
Mark Hatle b97b3e85ac classes/package_rpm.bbclass: Change the way the PV is transformed
There were some odd instances where the PKGV could not be loaded in the old
way.  Change to verify that PKGV exists before attempting to retrieve the
value from the key.

(From OE-Core rev: c2ce3573fb2816cd2023a56b364fae4c0f4455ae)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23 16:02:40 +01:00
Tom Rini 2b8a68001a kernel.bbclass: Stage System.map with KERNEL_VERSION suffix
Without this, images will fail now that kernel-abiversion is back.

(From OE-Core rev: 3dbe49b13e7513e449f13515591d02a7d2f560ae)

Signed-off-by: Tom Rini <tom_rini@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23 13:45:56 +01:00
Zhai Edwin 120b40952e clutter: Use new git repo
clutter move its git server from clutter-project.org to gnome.org

[YOCTO #1040] got fixed

(From OE-Core rev: 752ab344a6456619901fb8d33137b0329d5b039e)

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23 13:45:56 +01:00
Koen Kooi bff293c0dc kernel.bbclass: restore kernel-abiversion file
This fixes external module recipes that need $KERNEL_VERSION. It got removed by

    commit a9d41062e24a6b99661b3a5256f369b557433607
    Author: Darren Hart <dvhart@linux.intel.com>
    Date:   Tue Mar 8 17:09:10 2011 -0800

        kernel/bbclass: rework kernel and module classes to allow for building out-of-tree modules

seemingly as an oversight.

(From OE-Core rev: 6978774595f892e6a819ee64c932d475c67a6a0f)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Acked-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23 13:34:33 +01:00
Mark Hatle 1bf6ab4814 perf: Fix linux-tools to ensure perf is installed under "fakeroot"
If perf isn't installed under "fakeroot" (pseudo) control, all of the files
are given the build user's uid/gid.

(From OE-Core rev: 805d80eb30fb34b3d2a12b8ba4db8b813ff5c475)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23 12:07:37 +01:00
Mark Hatle d9fc516d73 kernel.bbclass: Add support for perf-dbg package
The perf component is built with the kernel, so ensure that it gets the
debug information associated with it.

Also bump the PR in the linux-yocto-* to ensure they get rebuilt.

(From OE-Core rev: 17f76de8ab8b7c9e62c1149017a3fa78866d9300)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23 12:07:37 +01:00
Mark Hatle 2eed6de298 sysfsutils: Fall back to default -dbg package
The overriden -dbg package wasn't including all of the associated sources,
fall back to the default -dbg package instead.

(From OE-Core rev: 4c61c59999c19e452af078c3f0fb2c1825aff5df)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23 12:07:37 +01:00
Mark Hatle 3c928be969 classes/package_rpm.bbclass: Enhance diagnostic messages
We clearly state now if we are:
  * Skipping an empty package
  * Creating a (full) package
  * Creating an empty package

(From OE-Core rev: 3db9d865ef7d65e3712eb7f9a659bb31cb3cb75e)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23 12:07:36 +01:00
Mark Hatle d1557562a5 python: Switch to using the default -dbg package
Python was missing a lot of debug information.  Switch to use the default
-dbg package.  Also add some additional debug information to the -dbg package.

(From OE-Core rev: 63f4e1b469046753009d0cef498ef09c87c54912)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23 12:07:36 +01:00
Mark Hatle 35e622d415 python-pyobject: Remove unnecessary -dbg setting
(From OE-Core rev: 6b7156c8ce5d9073bd12ded251c0eeacb021c8c1)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23 12:07:36 +01:00
Mark Hatle 4c8bd3ea84 libxml-parser-perl: Fix debug package
Certain files were being missed in the -dbg package, fix this.

(From OE-Core rev: 5b4bdf20c60ca625c059237b5d70b57c6643e6ec)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23 12:07:36 +01:00
Mark Hatle fa38716294 texinfo: Change to use the standard -dbg file
Remove the custom -dbg package and replace it the standard configuration.

(From OE-Core rev: 1c920dcb61e48ee292928ffe0c7f1225220843cc)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23 12:07:36 +01:00
Mark Hatle b14c56b2c5 psmisc: Remove custom -dbg packages, use default
(From OE-Core rev: 69c330714e9f89991dfe07300a6c3dfcc93da62a)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23 12:07:35 +01:00
Mark Hatle f1d78dfdab modutils: Add in missing -dbg package
(From OE-Core rev: d45cae7281da8907153249f03e63883ed44cbe99)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23 12:07:35 +01:00
Mark Hatle 3444e18f8e liba52: Remove custom -dbg, fall back to default
(From OE-Core rev: 648fe1f48184c6766d644619eb3c689d7f99ec64)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23 12:07:35 +01:00
Mark Hatle f011f60869 python-gst: Add missing files to the -dbg package
(From OE-Core rev: 35a1a419f56d032ae3828e54c183d2d43789f6e3)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23 12:07:35 +01:00
Mark Hatle f0bff52a2b mc: Add missing debug files to -dbg
(From OE-Core rev: fbcba3a0954721f706ac4ad959f56d33f2b83e6a)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23 12:07:35 +01:00
Mark Hatle 52c96e396f gamin: Add missing debug files to -dbg
Add the missing files to the base -dbg package, remove the libPN-dbg as it is
non-standard.

(From OE-Core rev: f736d197150fdf6520402ba33e55214527455833)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23 12:07:34 +01:00
Mark Hatle de8636c1cb gthumb: Add missing debug files
(From OE-Core rev: 79fdbb5df41150dae916104960e4b76ba02cf9c7)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23 12:07:34 +01:00
Mark Hatle 41694312a3 systemtamp: Add missing debug files
(From OE-Core rev: 456b7bf83847f8c53de460317ce7f2f58d91a84c)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23 12:07:34 +01:00
Mark Hatle d6f064df0d trace-cmd: Add missing debug files
(From OE-Core rev: 948c00e036f1d7c7ed419607b0e51c9ef9bd4bd1)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23 12:07:34 +01:00
Mark Hatle fd63f1c4d7 gstreamer: Add missing debug files.
(From OE-Core rev: 1eac84cb72a45d82993590a49bbf3650fba7f615)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23 12:07:33 +01:00
Mark Hatle 1569e746ec gtk-sato-engine: Add missing debug files
(From OE-Core rev: 9a5a05851f2e27c962b9036ebdaacc221cbab595)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23 12:07:33 +01:00
Mark Hatle ee7fd40f5d libproxy: Add missing debug files
(From OE-Core rev: e3bcf80e43f1083437e2672cb37621bf39d174ae)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23 12:07:33 +01:00
Mark Hatle 0da06f2b22 wireless-tools: Avoid stripping binaries
(From OE-Core rev: 3158bc05261f47ea7d64126f5d92c145081f5835)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23 12:07:33 +01:00
Mark Hatle 5d5302446c busybox: Avoid stripping binaries
(From OE-Core rev: 466c0ae8a2a0701677536136a0cd6cca7e1f00e6)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23 12:07:33 +01:00
Mark Hatle d9949fb5a8 quota: Avoid stripping binaries
(From OE-Core rev: ea2bad01000a63840dc8ba79eb227ead13075d32)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23 12:07:32 +01:00
Mark Hatle 4bf6a73166 sysstat: Avoid stripping binaries
(From OE-Core rev: 1817d3b3a18e596d531435734e2fc6423b739905)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23 12:07:32 +01:00
Mark Hatle 6c27d996c0 db: Avoid stripping binaries
(From OE-Core rev: d594bfe8ef972689b94e47467a0530ab5f1755ab)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23 12:07:32 +01:00
Mark Hatle d905e910c1 unzip: Avoid stripping binaries
Not only do we have to override things on the make line, but we
need to hack on configure as well to avoid certain behavior.

(From OE-Core rev: 97a6bf1787995f15c8033bd26bdbe50c7efbbcfd)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23 12:07:32 +01:00
Mark Hatle da7a1b4e08 dropbear: Don't patch in configure
We need to avoid applying a patch in configure, because a rebuild could
trigger this, without triggering do_patch.

(From OE-Core rev: 16fbdaa24fd4add37c1e873505f55bcef5695a94)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23 12:07:32 +01:00
Mark Hatle c425c3804c nasm: Fix aclocal
The mv of aclocal.m4 can only occur once, or it will fail.  On a re-run of
configure this will fail.

(From OE-Core rev: 1e232db4f6e90577f75efabd279b6980277b9547)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23 12:07:31 +01:00
Mark Hatle 9633eebe1d boost: Move the do_configure_prepend to a seperate task
We need to perform those actions after patch, and before configure.

Otherwise a rebuild starting with configure will fail.

(From OE-Core rev: 2499777a7f16e98e1e34ea22d2e6a3409e35915b)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23 12:07:31 +01:00
Mark Hatle 745fffc5c2 tinylogin: Avoid stripped binaries
(From OE-Core rev: 6a4e0a4e1f84d124e01a81b5a8563df080c7c999)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23 12:07:31 +01:00
Khem Raj a82642faaa tcmode-default.inc: use 4.6 for GCCVERSION and SDKGCCVERSION
(From OE-Core rev: dae0a009010f268f1d8fb8e8765a1698ac051878)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23 11:50:08 +01:00
Khem Raj 0faa5f7299 gcc-4.6: Switch to using svn SRC_URI for recipe
We call the recipes 4.6
Remove the backport patches

(From OE-Core rev: 68b545f4ff719f2b6e57d68b002dc9845c7a14ae)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23 11:50:07 +01:00
Richard Purdie b914de55a4 Revert "eglibc: Upgrade recipes from 2.13 -> 2.14"
This reverts commit 16837d4cc3.

2.14 isn't ready for prime time :(

(A load of files no longer seem to get installed for example)
2011-06-22 23:49:42 +01:00
Richard Purdie 82e0e0a153 Revert "tcmode-default.inc: Bump EGLIBCVERSION to 2.14"
This reverts commit 0250ece17e.

2.14 isn't ready for prime time use :(

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-22 23:48:31 +01:00
Bruce Ashfield 7e5af814f8 linux-yocto: update meta and yocto/standard SRCREVs
As part of sync'ing the in-tree beagleboard support, the
following commit has been pushed to all branches, and hence
the SRCREV update:

  bb8e31f USB: ehci: remove structure packing from ehci_def

The meta SRCREV update is to capture the new and sync'd BSP configuration.

(From OE-Core rev: f9b77564cc7f62ea0bc4b4320036f2d6d5c90e27)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-22 22:55:35 +01:00
Bruce Ashfield 58db68cd2a linux-yocto: update meta SRCREV for new config groups
Updating the SRCREV for the kernel repo's meta branch to capture
the following commits:

  94fa015 meta: add taskstats experimental feature group
  4fb2ed5 meta: enable freezer support
  88d619e meta: enable fuse and cuse as modules
  f465827 meta: add namespaces + experimental configs
  fbdd376 meta: add devtmpfs config group
  b04f6d9 meta: re-enable cgroups options in the standard kernel

There's also a change to the recipe itself to trigger the taskstats
optional config items by default. This is to allow the introduction
of these changes gradually, since other recipes inheriting the kernel
can add or ignore these options at their convenience.

(From OE-Core rev: 91ddf0ad3a120bbfb5a24bd853d4d195291faa95)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-22 22:55:35 +01:00
Bruce Ashfield 60871cc687 linux-yocto: update SRCREVs for utrace merge
Updating the SRCREVs to account for the merge of utrace to support
systemtap.

(From OE-Core rev: ac12cbf31433743e5966d1d2013e010f0c548c43)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-22 22:13:09 +01:00
Paul Eggleton 0aad8f3f60 qt4-tools-nativesdk: fix compile failure in src/dbus
[Qt #17962]   -- http://bugreports.qt.nokia.com/browse/QTBUG-17962
[YOCTO #1168] -- http://bugzilla.pokylinux.org/show_bug.cgi?id=1168

Fix "invalid conversion from 'const void*' to 'void*'" error compiling
src/dbus/qdbusintegrator.cpp. It is assumed that the use of "const" here
is incorrect as no other usage of Q_GLOBAL_STATIC_WITH_ARGS uses const
prefix on the first (TYPE) argument.

Patch was imported from the Qt bug tracker (see above reference); the
patch was rejected but for procedural rather than validity reasons.

Fixes [YOCTO #1168]

(From OE-Core rev: 17d5422460bf9074223475b15d128171d12b170a)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-22 22:13:09 +01:00
Paul Eggleton d827764c70 qt4-tools-nativesdk: drop freetype include as we build with -no-freetype
Freetype support is disabled so there's no need to point to the freetype
headers.

Prompted by OE commit 4931b37c8faf1eef7322cc82bf979885c770f4e0 from
Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>

(From OE-Core rev: bc5647504268ec4ef8a20dd1a6f9bdf7e6849ba7)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-22 22:13:09 +01:00
Paul Eggleton 4d7108f7af qt4-tools-nativesdk: fix unpack failure due to missing g++.conf
FILESPATHPKG was being used to in order to bring in linux.conf and
g++.conf in this recipe, however this probably never worked since
FILESPATHPKG always has the MACHINE appended to it and these are not
machine-specific files. The only reason it built was that these two files
could be found within the "files" subdir until we removed Qt 4.6.3.
Using FILESEXTRAPATHS (as qt4-tools-native does) solves this.

(From OE-Core rev: 49102f3728425cacfaeb384491b9355bfa2a4230)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-22 22:13:09 +01:00
Xiaofeng Yan 3d710d277f task-core-lsb: Add absent libraries and commands to task-core-lsb.bb
Due to "tools-profile" and  "tools-testapps" were removed from variable \
"EXTRA_IMAGE_FEATURES" in meta-yocto/conf/local.conf.sample, some libraries \
needed by LSB Test Suite were absent in an lsb image. I add these absent \
libraries to task-core-lsb.bb.

(From OE-Core rev: 9fbef8144c5640b64b4485449f3ff697e95b5bfe)

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-22 16:57:35 +01:00
Khem Raj 0250ece17e tcmode-default.inc: Bump EGLIBCVERSION to 2.14
(From OE-Core rev: 190a946e9a4213944e3ee675c4b3e18701698e87)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-22 16:57:35 +01:00
Khem Raj 16837d4cc3 eglibc: Upgrade recipes from 2.13 -> 2.14
(From OE-Core rev: 2a68cf4d315cdd18766de0c75928ff17846a6cd7)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-22 16:57:35 +01:00
Khem Raj 77c2dd944d eglibc-package.inc: Package newly added sotruss and supporting libraries
2.14 has a new utility which can trace through PLTs of shared libraries
We package the library separately and the script is already packaged in
eglibc-utils so we create a RDEPEND so that the library is pulled in
if someone isntalls eglibc-utils

(From OE-Core rev: b8c7249e10a7bba329f1977529c7bde6b969f729)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-22 16:57:35 +01:00
Khem Raj 3071ceb2bd binutils_2.21.bb: Fix ld segfault exposed by eglibc 2.14 on x86_64
(From OE-Core rev: c8dfb7d31ceb3cc92452bda7d4fbf6fd2e248509)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-22 16:57:34 +01:00
Khem Raj dcd3cbaf92 uclibc.inc: libsegfault is only RPROVIDED by uclibc
Using ${PN} also means that uclibc-initial gets to provide it
which we do not want

(From OE-Core rev: cec81f8d2e50a50d8728fdda150b9bcfbc4e4aee)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-22 16:57:34 +01:00
Khem Raj 7c8e4f1cea uclibc: Add support for $ORIGIN
This is required by systemd

(From OE-Core rev: 08ad271248cc2c7cd9cfbe683d2335337f5ebb8b)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-22 16:57:34 +01:00
Khem Raj 42e6094598 uclibc/x86_64/uClibc.machine: Enable ARCH_USE_MMU
(From OE-Core rev: 40de9be89b24258e6b93e33f87a2cbc6e2861ba1)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-22 16:57:34 +01:00
Khem Raj bde206b447 gettext-0.18.1.1: Remove unused patches
gettext-error_print_progname.patch is already applied upstream
others are unapplied.

(From OE-Core rev: 439e7b3a871c1da02830761e0aa901514e24da0e)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-22 16:57:33 +01:00
Zhai Edwin a82dd36373 gnome-vfs: remove gnome-vfs as it is deprecated in favour of GVFS and GIO
Remove unnecessary dependency via configure option and make oprofileui use GIO

(From OE-Core rev: ad5481f6348d1bc504729efd4321bf1fcac4083b)

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-22 16:57:33 +01:00
Koen Kooi 9cea847d7d alsa-utils 1.0.24.2: fix packaging
Put the rules and scripts associated with alsactl in the alsactl subpackage

(From OE-Core rev: 0b0a46483f151118c76acf2d60f117b10d4aa343)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-22 16:57:33 +01:00
Koen Kooi 3c1a960856 glib-2.0 2.28.x: update to 2.28.8
(From OE-Core rev: c075634135249d3d5d84bbb6dd98e98d3fbf938c)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-22 16:27:32 +01:00
Koen Kooi 899dcfe4ad gnome-keyring 2.32.1: fix packaging
NOTE: package gnome-keyring-2.32.1-r1: task do_package: Started
WARNING: the following files were installed but not shipped in any package:

WARNING:   /usr/share/gcr/ui/gcr-import-dialog.ui
WARNING:   /usr/share/gcr/ui/gcr-certificate-basics-widget.ui
WARNING:   /usr/share/gcr/ui/gcr-unlock-options-widget.ui
WARNING:   /usr/lib/security/pam_gnome_keyring.so

(From OE-Core rev: 6e272b2013d08803e8a4bc33d794a8a58c5c3e4f)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-22 16:27:32 +01:00
Paul Eggleton 3b79156be8 u-boot: set SRCREV to a git revision instead of a tag reference
If we use a tag here then bitbake has to connect to the repository to find
out the corresponding revision (so it can expand SRCPV which is part of PV,
which amongst other things is needed to determine whether or not the
package has to be rebuilt.) This occurs at parse time; on machines behind a
firewall or with no network access this can be a problem.

We wish to avoid unnecessary network accesses and network access in our
default configuration during parse time is even worse. Substituting the
git revision corresponding to the tag prevents bitbake from having to
contact the remote repository in order to expand PV.

Addresses [YOCTO #1186]

(From OE-Core rev: 04fe616bec7416b5aea55dad6896700652796239)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-22 16:20:26 +01:00
Tom Zanussi 2163461ec9 systemtap: remove non-core COMPATIBLE_MACHINES
Systemtap only supports x86, x86-64 and powerpc at this point.

v2: updated to reflect comments from Koen Kooi and Phil Blundell to use
    COMPATIBLE_HOST instead.

(From OE-Core rev: 835d817f1ba7b99167743fdb86ba80f3a07bd82d)

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-16 22:14:06 +01:00
Phil Blundell dd91e6e77f bind: adjust hardcoded install path references
Fixes do_install() on micro, which otherwise fails for obvious reasons.

(From OE-Core rev: 2947f40510a8756895ec4edda2d07c1f915baa45)

Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-16 22:14:06 +01:00
Koen Kooi d5b82a2466 eglibc: bump PR for SRCREV changes
(From OE-Core rev: 34f4f9eae8c588234b29e44f5a3ea9edbc10620d)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-16 22:14:06 +01:00
Khem Raj f8461862ff eglibc_2.12.bb: Remove already upstreamed fix-for-make-3.82.diff
This patch is already applied to eglibc 2.12 branch as seen here
http://www.eglibc.org/cgi-bin/viewcvs.cgi/branches/eglibc-2_12/libc/manual/Makefile?rev=12230&sortby=date&r2=12230&r1=10495

(From OE-Core rev: 832d6d4226682ac9f3b6792ebed9837ff39017e0)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-16 22:14:06 +01:00
Dexuan Cui d96a8c9f25 dri2proto: Revert "dri2proto: make DRI2 swap event match GLX spec"
(From OE-Core rev: 55575a64af87471bd0cf08cc3f31809bfb4e6107)

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-15 11:13:13 +01:00
Dexuan Cui 519212031d glproto: Revert "glxproto: make GLX swap event struct match spec"
(From OE-Core rev: 9ba2e41413348e0e9383d4d0d57a7c23cfd5596f)

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-15 11:13:13 +01:00
Bruce Ashfield 28fff2f69d linux-yocto: update meta branch SRCREV
Updating the meta SRCREV to fix a bad commit which resulted in the
tree being dirty after checkpoint, and hence a failure during the
patch phase. The meta commits never modify code outside the 'meta'
directory tree, a rule that was broken with this bad commit.

Without this fix, you may see an error like:

| [INFO] doing kernel configme
| [INFO] Finding user(s) of branch "yocto/standard/fsl-mpc8315e-rdb"
| [INFO] Branch meta-temp used by fsl-mpc8315e-rdb-standard.scc
| [INFO] collecting configs in ./meta/meta-series
| [INFO] checking out yocto/standard/fsl-mpc8315e-rdb
| error: Your local changes to the following files would be overwritten by checkout:
| 	arch/powerpc/boot/dts/mpc8315erdb.dts
| Please, commit your changes or stash them before you can switch branches.
| Aborting
| [ERROR] Checkout of yocto/standard/fsl-mpc8315e-rdb failed
| Error running the meta series for collecting config data
| config of meta-temp (fsl-mpc8315e-rdb-standard.scc) failed

(From OE-Core rev: 09e7b0535f8f2f287da670aabd1d6db76b90686f)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-15 11:13:13 +01:00
Koen Kooi 5d14238127 base.bbclass: add support for SOC_FAMILY in COMPATIBLE_MACHINES
* Add support for using SOC_FAMILY in the COMPATIBLE_MACHINES
  setting for a recipe.
* This will allow recipes to work for entire families of
  devices without having to maintain/update the compatible
  devices as new devices are added into a family

Based on 07076390358f211bd96779bec2d6eb5eaa0ad699 by Chase Maupin <chase.maupin@ti.com>

(From OE-Core rev: dc303cbf25cf48aa98ff1979882820dd25f8cd9d)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-14 15:58:56 +01:00
Richard Purdie 6b94fbdd9e alsa-tools: Drop accidentally commited line
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-14 15:53:28 +01:00
Richard Purdie b59bc82b99 Revert "qemu.inc: append to IMAGE_FSTYPES instead of weakly assigning them"
This reverts commit a205c32dcb.

This was accidentally committed.
2011-06-14 15:52:16 +01:00
Richard Purdie f7c2ee9e56 Revert "uclibc.inc: libsegfault is only RPROVIDED by uclibc"
This reverts commit 611aaca1cd.

This was accidentally commited.
2011-06-14 15:51:48 +01:00
Khem Raj 611aaca1cd uclibc.inc: libsegfault is only RPROVIDED by uclibc
Using ${PN} also means that uclibc-initial gets to provide it
which we do not want

(From OE-Core rev: d90c5e093250a04d813b66ff586bda849ca6fed3)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-14 15:29:16 +01:00
Phil Blundell ab1171b512 busybox: backport distro-features handling from oe master
This is a backport from oe master of the code which adjusts the busybox
config according to DISTRO_FEATURES etc.

(From OE-Core rev: b5564c4a9cadf306b447180c433b25ec071f8ce1)

Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-14 15:29:16 +01:00
Koen Kooi a205c32dcb qemu.inc: append to IMAGE_FSTYPES instead of weakly assigning them
The ext3 format is pretty much mandatory for qemu usage, so always create it.

(From OE-Core rev: 94da548810eece652bd32fb68a36f978b7d7cf2a)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-14 15:29:16 +01:00
Saul Wold 1cf060edbe jsib-glib: Fix SRC_URI Checksum
(From OE-Core rev: 0c68589eaf29d63379fa9beafdb1578114521085)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-14 15:29:16 +01:00
Saul Wold 6ab47459a8 alsa-tools: fix Checksums
(From OE-Core rev: 62b66f2a216b0c88588a8f6ac439bb3e5d9c146d)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-14 15:29:16 +01:00
Khem Raj ec9b6d061b gcc-4.6.0: Bring in patches from FSF 4.6 branch
This brings in new patches from 4.6 release branch
updates the comment section of existing branch to not
contain patch numbers.

Tested build on qemu for arm ppc mips x86 and x86_64

(From OE-Core rev: 3968f33b6542cf20cf63cf49bfbc033bd2486295)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-14 15:29:15 +01:00
Kang Kai fbc60cc5ba eglibc: migrate configurability from oe
Migrate configurability from oe, try to shrink minimal image size

All eglibc configuration options are included in conf/distro/include/default-distrovars.inc.
Define DISTRO_FEATURES_LIBC and DISTRO_FEATURES in local.conf with the same way
in local.conf.sample.extended to enable those options.

(From OE-Core rev: 022ca1d1357caafdfe23aa9ab82f90ba89b6942b)

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-14 15:29:12 +01:00
Khem Raj 10fc86d849 eglibc 2.12/2.13: Upgrade SRCREV
We need http://www.eglibc.org/archives/patches/msg00923.html
to get through the problem we see when OPTION_EGLIBC_RTLD_DEBUG
is disabled. This patch has been backported to both 2.12 and 2.13
branches. We bump SRCREVs to have that change.

(From OE-Core rev: 30558af716833c52ce1eae4c408a6794aad96cb2)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-14 15:28:25 +01:00
Saul Wold bbedf4aa10 libx11-diet: Fixed checksum and rebase patch
(From OE-Core rev: fc2ef23f651bb06124a22168a72c881b9f32cb08)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-14 15:28:24 +01:00
Saul Wold 684a51950a update-alternatives-dpkg: Fix SRC_URI Checksum
(From OE-Core rev: f82e7e4d9ae16ece5835720081e12e63ebbe2cbd)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-14 15:28:24 +01:00
Koen Kooi 9017f19857 connman-gnome 0.5: build from git
All the local patches were applied upstream, so let's build straight from git to make that clear

(From OE-Core rev: 28246a275a0d7208f0361735685688803965648e)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-14 15:28:24 +01:00
Saul Wold c69bbc06ac rxvt-unicode: Fix SRC_URI & LIC_FILES Checksum
(From OE-Core rev: 250c89a34fedeadf5c098b64cb1833e45194a108)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-14 15:28:24 +01:00
Khem Raj 6e2f8430fd gettext_0.18.1.1.bb: Fix build on uclibc
Use libc-uclibc override to seprate out uclibc bits
instead of using TARGET_OS

(From OE-Core rev: e1f0ba3b1cccaf8e209d63dab638b341c029aae6)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-14 15:28:23 +01:00
Khem Raj 73577ed0a9 util-macros_1.13.0.bb: Depend on virtual/gettext instead of gettext
So multiple provider problem can be reolved amicably

(From OE-Core rev: 904749315385b3c2951a23748577cb65b862606b)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-14 15:28:23 +01:00
Saul Wold e4293c5be7 clutter-box2d_git: Switch SRC_URI to git.gnome.org
(From OE-Core rev: e47bfe3b31e8a52a0e47d22eb65c092bc67097b1)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-14 15:28:23 +01:00
Saul Wold f1a56941df json-glib: Fix up SRC_URI Checksums
(From OE-Core rev: c86813f67dc7a20d2a4f6b2694db03ee53d6936b)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-14 15:28:23 +01:00
Phil Blundell e0a18ddffe import recipe_sanity.bbclass from oe master
This is a verbatim copy of the corresponding class from oe master.

(From OE-Core rev: fa32b087888bab399a5cd1e3f16213575fe396e2)

Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-14 15:28:23 +01:00
Phil Blundell 194c6721d0 uclibc: fix compile error on i586
Without this you get:

| libc/sysdeps/linux/common/epoll.c: In function '__libc_epoll_pwait':
| libc/sysdeps/linux/common/epoll.c:71:80: error: memory input 7 is not directly addressable
| libc/sysdeps/linux/common/epoll.c:75:86: error: memory input 7 is not directly addressable
| make: *** [libc/sysdeps/linux/common/epoll.o] Error 1

(From OE-Core rev: aeacad638c2a3d5f0b6299edc3890fdaad312c79)

Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-14 15:28:22 +01:00
Kang Kai ef8144b934 ghostscript: update SRC_URI
Build ghostscript-native fails on a i686 machine because it can't get
the source objarch.h and soobjarch.h, and .h files are not needed for
native package, so update the SRC_URI to fix it.

(From OE-Core rev: 4091e811c04245d53bc1bb82087e3e476c7c8c1a)

Signed-off-by: Kang Kai <kai.kang@windriver.com>

Removed the do_configure_prepend and folded into the target do_configure
since the native was picking it up for the do_configure_virtclass/native()
and then failing on i686.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-14 15:28:22 +01:00
Dexuan Cui 218bcd597d git: restore the dependency on perl-native
[YOCTO #1155]

I thought git-native could depend on perl-native-runtime and tests on
Ubuntu 9.04/10.10 and Fedora 13 show it could buid fine (looks these distros
install perl-ExtUtils-MakeMaker by default).

However Joshua reported on Fedora 15 i686 host, git-native can't build unless
he manually installed perl-ExtUtils-MakeMaker to the host.

This makes me think we may as well make git-native depend on perl-native.

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
2011-06-14 15:27:52 +01:00
Bruce Ashfield dcfb6e4d2a linux-yocto: rename recipes to explicitly indicate version
The existing recipe names for the linux-yocto kernel builds
worked well when there was a single, or two versions of the
kernel available. But with the impending kernel updates and
retirement of older kernels, the re-use of the same recipes
for different kernel versions violates the principle of least
surprise.

To address this, the recipes are being renamed as follows:

    linux-yocto_git.bb -> linux-yocto_2.6.37.bb
    linux-yocto-stable_git.bb -> linux-yocto_2.6.34.bb

There continue to be versionless recipe names that feed into
versioned recipes at the appropriate points. They are:

     linux-yocto-dev.bb (tracking the latest yocto dev kernel)
     linux-yocto-korg_head.bb (tracking korg kernels)

There are no existing users of linux-yocto-stable in the master
branches to convert to the new naming, so these changes work
in isolation.

(From OE-Core rev: 576c87349a72a94357014ff29f55db692903ed80)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-14 15:22:56 +01:00
Phil Blundell 9031e7e16f uclibc: remove PACKAGE_ARCH
There is no good reason for uclibc to be machine specific.  Remove local
assignment to PACKAGE_ARCH so that it gets the default target
architecture and bump PR for that change.

See http://lists.linuxtogo.org/pipermail/openembedded-core/2011-May/003064.html

(From OE-Core rev: 6625936c011aa939e60041dc6be9850e925a6cc3)

Signed-off-by: Phil Blundell <philb@gnu.org>
Acked-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-14 15:22:56 +01:00
Phil Blundell f5de11c54e uclibc: remove redundant python code
This chunk of python code has been around for a while (witness the
comment about gcc 3.4.0) and predates the availability of
COMPATIBLE_HOST.  Rewrite it using a more modern idiom.

(From OE-Core rev: c0f8fc3579fb4cebc0bd01b868d919738f9b03a9)

Signed-off-by: Phil Blundell <philb@gnu.org>
Acked-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-14 15:22:56 +01:00
Khem Raj 1d3cc59b87 uclibc: Cleanup the machine dependent config files
We only have arch specific machine fragments now.
Introduce use of KCONFIG_ALLCONFIG and use allnoconfig

(From OE-Core rev: b87df62a0bb402a1b1dbdee182c1ffd2787979bf)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-14 15:22:55 +01:00
Anders Darander 8f9d5d6259 perl-native: fix download url
(From OE-Core rev: 92714eb3b08951eb1576e9370492ec3d4374ee75)

Signed-off-by: Anders Darander <anders@chargestorm.se>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-14 15:22:55 +01:00
Saul Wold 768f3fa4d1 autoconf/automake: Bump PR to resolve perl-native issue
(From OE-Core rev: e7e00c4d8e86a90c19f553b35a62aa091b6ad14c)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-14 15:22:55 +01:00
Dexuan Cui 91b28d8403 distro_tracking_fields.inc: update the info for the following recipes
screen: remove the duplicate info
tcf-agent: update MANUAL_CHECK_DATE
gnome-doc-utils
startup-notification
util-macros
liberation-fonts
resourceproto
dri2proto
glproto
inputproto
pixman
libxext
libxi
xcb-util

(From OE-Core rev: 4f15c075c97a7e8b1158b1b7f23771ad120126b1)

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-14 15:22:54 +01:00
Dexuan Cui bfc5e544dc libxi: upgrade from 1.4.2 to the latest version 1.4.3
(From OE-Core rev: b99989e635ddc00d2fb03b5014ec34906b3211bf)

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-14 15:22:54 +01:00
Dexuan Cui f82e797991 libxext: upgrade from 1.2.0 to the latest version 1.3.0
(From OE-Core rev: d9193b3e2f0678b0e8f59ce66e95c0fcea9b70c1)

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-14 15:22:54 +01:00
Dexuan Cui 723f34ae0b pixman: upgrade from 0.20.2 to the latest stable 0.22.0
Update LIC_FILES_CHKSUM:
1) COPYING: only format change; no actual license change.
2) 0.22.0 doesn't have pixman-x64-mmx-emulation.h, so let's remove it.

(From OE-Core rev: d0a8130b688d270bac1119aa1b1fde6cb2397a39)

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-14 15:22:54 +01:00
Dexuan Cui d30eb74f2b inputproto: upgrade from 2.0.1 to the latest version 2.0.2
(From OE-Core rev: 38749cfebbcd812c3923684b184c281808ada50b)

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-14 15:22:53 +01:00
Dexuan Cui f2acbd9945 glproto: upgrade from 1.4.12 to the latest version 1.4.13
(From OE-Core rev: f45ac5d80e758a5f5f83c11f75ff12592c91a66a)

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-14 15:22:53 +01:00
Dexuan Cui 7e4d0426e0 dri2proto: upgrade from 2.3 to the latest version 2.4
(From OE-Core rev: 8e401b62fd11b6c6df56c8616e0c1459c194beab)

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-14 15:22:53 +01:00
Dexuan Cui 8d26b85030 resourceproto: upgrade from 1.1.1 to the latest version 1.2.0
Update LIC_FILES_CHKSUM due to the only change:
+ Copyright (c) 2002  XFree86 Inc

(From OE-Core rev: 4110a9161487b43a3207ee4c89af38d7c9d27f5d)

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-14 15:22:53 +01:00
Dexuan Cui 72a9c4b622 util-macros: upgrade from 1.13.0 to the latest version 0.14.0
(From OE-Core rev: 745af7406f9c12253f64f9869a94aa89987dc2ca)

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-14 15:22:52 +01:00
Dexuan Cui 158bbf07b6 startup-notification: upgrade from 0.10 to the latest version 0.12
(From OE-Core rev: e0a8d4cf62a2912dd5abb2324be230a39124ab5a)

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-14 15:22:52 +01:00
Dexuan Cui 860e22a9df gnome-doc-utils: upgrade from 0.20.5 to the latest version 0.20.6
(From OE-Core rev: 0fe3575fc7f9fa1caade8e741b8ff4f9ea72b4e6)

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-14 15:22:52 +01:00
Dexuan Cui 384c10522d recipes: update Upstream-Status for multiple recipes' patches
lttng-ust
gnome-doc-utils

(From OE-Core rev: a7707e2b517feb2e59fda989869dcd9789aeb08e)

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-14 15:22:52 +01:00
Dexuan Cui 3267279a37 tcmode-default: fix PREFERRED_VERSION_gcc-cross-canadian
[YOCTO #1163]

For some test I need to back to use gcc-4.5, so I changed GCCVERSION and
SDKGCCVERSION to "4.5.1", but I found gcc-cross-canadian's 4.6.0, rather
than 4.5.1, would be built! Finally I made this patch to fix the issue.

(From OE-Core rev: 40ae82136b0bd8fc0dc74225700afbb9017a8c38)

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-14 15:22:51 +01:00
Richard Purdie 0a641fea28 nativesdk.bbclass: Correct ordering of manipulations
OVERDIDES is the key variable that needs to be set prior to data finalisation.
The other variables should be manipulated after finalisation so any
DEPENDS_prepend and _append are accounted for. This patch ensures this is
the case.

The PACKAGES maniupulations are not enabled at this time as they
don't function 100% correctly yet.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-13 22:38:06 +01:00
Richard Purdie e112d46c9f task-sdk-host: Add nativesdk to the task name so its clearer what the contents of the task represent
This is particularly important since the file doens't use BBCLASSEXTEND
and PN is therefore misleading

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-13 22:38:06 +01:00
Richard Purdie 05b59a64a3 initrdscripts: Inhibit compiler/libc dependencies as this is just a configuration file 2011-06-13 22:38:06 +01:00
Richard Purdie 00d7ba1750 sysvinit-inittab: Inhibit compiler/libc dependencies as this is just a configuration file 2011-06-13 22:38:05 +01:00
Richard Purdie 2c72fd6074 initscripts: makedevs is no longer used anywhere so drop dependency. Also inhibit compiler/libc dependencies as they're unused 2011-06-13 22:38:05 +01:00
Richard Purdie e2d72bd961 poky-feed-opkg: Disable default toolchain dependencies as these are just configuration files 2011-06-13 22:38:05 +01:00
Richard Purdie 485d30e8b5 base-files: Inherit toolchain dependencies as a compiler isn't used 2011-06-13 22:38:05 +01:00
Richard Purdie 942aa8e292 usbinit: Inherit allarch as its a generic script 2011-06-13 22:38:05 +01:00
Richard Purdie 6ba221bd52 keymaps: Inhibit toolchain dependencies as its just configuration files 2011-06-13 22:38:04 +01:00
Richard Purdie fb23f06105 formfactor: Inhibit toolchain dependencies as its just a script 2011-06-13 22:38:04 +01:00
Richard Purdie 189174a0ee pointercal: Inhibit toolchain dependencies as its just a script 2011-06-13 22:38:04 +01:00
Richard Purdie b30cb584a7 Revert "gcc: rebase the patch to avoid patch rejection"
This reverts commit c553b3934f45db8a6e77cfc7673787db3cc64f85.

This change clearly breaks builds since subsequent patches
depend on changes this patch removes. Not sure what's going
on here but this change isn't correct.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-10 13:30:28 +01:00
Nitin A Kamble eb50e84798 gcc: rebase the patch to avoid patch rejection
(From OE-Core rev: c553b3934f45db8a6e77cfc7673787db3cc64f85)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-10 12:37:07 +01:00
Richard Purdie 1b53eef276 native/nativesdk: Clean up the depends ordering after bitbake override handling updates
This massively cleans up the dependency handling in the two classes
when interacting with BBCLASSEXTEND.

This change has a dependency on the bitbake override handling change
and also the existence of the RecipePreFinalise event.

(From OE-Core rev: f183c7cfe377fa6ed2777605c3590a9dda2060df)

Signed-off-by: Richard  Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-09 22:49:10 +01:00
Richard Purdie 69c87c5ebb conf/sanity.conf: Set the minimum bitbake version correctly, we've needed recent bitbake features for a while
(From OE-Core rev: f6a38cd75edb46858da6950b5ec029db8a12d801)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-09 22:45:00 +01:00
Richard Purdie 92e165c4bc image_types.bbclass: Since we apply the override, look for the standard name variable, not the override name
(From OE-Core rev: a763fb1576f044dab8257a86bf37c879324dfa53)

Signed-off-by: Richard  Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-09 22:45:00 +01:00
Mark Hatle 4b66ce4728 pseudo: Fix problem related to realpath
When pseudo is disabled, certain programs that call realpath may not
work properly.  This was discovered when using the Qt MOC tool when
certain qmake project features are used.

[YOCTO #1150]

(From OE-Core rev: d1d87429d751e0bff115ff60d1b5fc55b8fa6249)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-09 18:20:29 +01:00
Dexuan Cui c9503d59ea icon-naming-utils-native: inherit perlnative
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
2011-06-09 16:58:34 +01:00
Dexuan Cui a74e428e34 libxml-simple-perl: fix EXTRA_PERLFLAGS due the the perlnative change
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
2011-06-09 16:58:34 +01:00
Dexuan Cui f70eeea07d libconvert-asn1-perl: fix EXTRA_PERLFLAGS due to the perl-native change
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
2011-06-09 16:58:34 +01:00
Dexuan Cui ac4fba3e55 libxml-parser-perl: inherit perlnative
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
2011-06-09 16:58:34 +01:00
Dexuan Cui c13b10a6ae cpan.bbclass, cpan-base.bbclas: update them for the perlnative change
Since perl-native now populates into its own dir, here we need
change accordingly.

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
2011-06-09 16:58:34 +01:00
Dexuan Cui 38d0c607d8 perl: inherit perlnative
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
2011-06-09 16:58:34 +01:00
Dexuan Cui d1965badc7 webkit-gtk: should depend on perl-native-runtime rather than perl-native
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
2011-06-09 16:58:34 +01:00
Dexuan Cui f695cecb9c dpkg: should depend on perl-native-runtime rather than perl-native
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
2011-06-09 16:58:33 +01:00
Dexuan Cui 5af87edf2b coreutils: remove unnecessary dependency on perl
OE's coreutils doesn't depend on perl, either.

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
2011-06-09 16:58:33 +01:00
Dexuan Cui 4c790efa24 git: should depend on perl-native-runtime rather than perl-native
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
2011-06-09 16:58:33 +01:00
Dexuan Cui ac21b3d935 openssl: should depend on perl-native-runtime rather than perl-native
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
2011-06-09 16:58:33 +01:00
Dexuan Cui a2f850d122 libcap: should depend on perl-native-runtime rather than perl-native
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
2011-06-09 16:58:33 +01:00
Dexuan Cui c7a7c5a00b gnu-config-native: should depend on perl-native-runtime rather than perl-native
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
2011-06-09 16:58:33 +01:00
Dexuan Cui 89b91fde9b perlnative.bbclass: add the file
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
2011-06-09 16:58:33 +01:00
Dexuan Cui 3ba6d0183e perl-native: populate into its own dir
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
2011-06-09 16:58:33 +01:00
Dexuan Cui 5565b30589 native.bbclass: allow a native package to be populated into its own dir
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
2011-06-09 16:58:33 +01:00
Saul Wold 5de3d14f8e core-image-lsb-sdk: ensure testapps is part of sdk image
(From OE-Core rev: 3ccf7409d7014a850f4014c7e939d26188e1ae4b)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-09 16:44:39 +01:00
Saul Wold 644cc126ac core-image-sato-sdk: ensure testapps is part of sdk image
(From OE-Core rev: fd8967d30c41d8efd6333b5670022e65c5044f18)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-09 16:44:38 +01:00
Saul Wold 163f4df219 task-core-tools: add mesa-demos to testapps list
(From OE-Core rev: 254c07e4b1f153202bffbf4836788c44f6a96d70)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-09 16:44:38 +01:00
Koen Kooi 43d84e6feb metacity 2.30.3: fix build on GNOME-less hosts and fix packaging
(From OE-Core rev: 919956bf3114a4af5177d30a0c4ea4907e930439)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-09 15:51:37 +01:00
Koen Kooi b0c29c253d sysvinit: split inittab into it's own recipe
Implements the improvements suggested in the original fix for [YOCTO #1131]

(From OE-Core rev: e9cde6962d369fb620799d0370ea9dc7d6234d37)

Signed-off-by: <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-09 15:48:29 +01:00
Koen Kooi 67119c5a2d consolekit: update to 0.4.5
(From OE-Core rev: 3c5009a0d19c8e27d3687e27880d5c1088086adc)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-09 15:48:29 +01:00
Koen Kooi f28c134cc6 librsvg 2.32.1: fix loader packaging when using gtk >2.20
When using the gtk+ from OE-core you would get:

WARNING: the following files were installed but not shipped in any package:
WARNING:   /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so

(From OE-Core rev: 6012828219bbfc55b273f4795853433bbde0ea37)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-09 15:48:28 +01:00
Phil Blundell 37524cb5c1 kexec-tools: don't depend on virtual/kernel
There doesn't appear to be any terribly good reason for kexec-tools to
depend on the kernel.  (I verified that kexec-tools is buildable in a
clean TMPDIR without having previously built virtual/kernel.)

Having this dependency in place is a nuisance because it makes it
awkward to put kexec into an initramfs.  So, it seems like we would be
better off without.

(From OE-Core rev: ba6da75657d0bf9ed48f0d6c4132f12993648e7a)

Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-09 15:48:28 +01:00
Paul Eggleton cd8694d736 iproute2: update to 2.6.38
Fixes "ip route get" not producing any output (a regression in 2.6.35).
See http://marc.info/?l=linux-netdev&m=129442470405398&w=2 and
http://marc.info/?l=linux-netdev&m=130038222321440&w=2 for a list of
other changes since 2.6.35.

Fixes [YOCTO #1006] (reopened)

(From OE-Core rev: 25ed1f931c1dd337911b1f059c71b37b5586fd3f)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-09 15:48:28 +01:00
Koen Kooi e8b3a12444 avahi: fix dbus system-service packaging and move more things to .inc
(From OE-Core rev: dca03beb98f123cfc3e09a3b2870f7537f49dd3c)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-09 15:48:28 +01:00
Mei Lei 2c6ac68006 distro_tracking_fields.inc: Fix a incorrect date format
One incorrect date format caused a checking failure in package report system.

(From OE-Core rev: e2822a65715858c84654debee2219cf954db4d8c)

Signed-off-by: Mei Lei <lei.mei@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-09 15:48:28 +01:00
Dongxiao Xu 4d9b298c33 udev: Fix udevd launch issue after system second boot
"grep" command will return 1 if nothing is grepped, which will cause
the udevd daemon not working correctly.

This fixes [YOCTO #1146]

(From OE-Core rev: 155a10287bbcac583d95325ab2a7b09e04bb4b90)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-09 15:48:27 +01:00
Mark Hatle c647c7a54c pseudo: Update pseudo to 1.1.1 version
Update both the core and pseudo_git packages to the latest 1.1.1 verison.

This fixes an issues where the call system() was not wrapped.  This could
lead to issues where certain spawned commands broke out of a pseudo-chroot
and created files in the wrong place.

Also the update the 1.0 -> 1.1.1 adds additional capabilities such as
beginning support for MacOS X.

(From OE-Core rev: 9eaa9ed38a197be76317cd3e42f54d1808c3e971)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-09 15:48:27 +01:00
Mark Hatle a91d4987fa distro_tracking_fields.inc: add pseudo
Add pseudo to tracking, with me as the maintainer.

(From OE-Core rev: 8b33a17f45b31a76eadaab7e8934358eb2e96859)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-09 15:48:27 +01:00
Saul Wold f865e83632 bitbake.conf: Create staticdev pacakge for static libraries
(From OE-Core rev: bbb1b2063cee3d022b5fc11b13a5aa8045187801)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-09 15:48:27 +01:00
Tom Zanussi 10cf515710 initramfs-live-install: comment out allarch inherit to resolve no provider
initramfs-live-install is only compatible with i.86|x86_64 so
shouldn't inherit 'allarch'.  This comments it out.

More specifically, commit 52295fa3de
(Improve handling of 'all' architecture recipes and their interaction
with sstate) sets TARGET_ARCH which due to the COMPATIBLE_HOST setting
in the recipe causes it to be skipped and gives the following error
for any -live build:

NOTE: Resolving any missing task queue dependencies
NOTE: Runtime target 'initramfs-live-install' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['initramfs-live-install']
ERROR: Required build target 'core-image-sato-live' has no buildable providers.
Missing or unbuildable dependency chain was: ['core-image-sato-live', 'core-ima\
ge-minimal-initramfs', 'initramfs-live-install']
ERROR: Nothing RPROVIDES 'initramfs-live-install'

(From OE-Core rev: e576e4aa91fc1608f706a341088f9a7b9a21cd2a)

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>

Commented out with explaination instead of remove

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-09 15:48:27 +01:00
Richard Purdie 1f0e24236f package.bbclass: PACKAGELOCK is a shared lock file so inform sstate as such
(From OE-Core rev: 60f74e47160508c9150d880b1f627dc7e3f0d3ab)

Signed-off-by: Richard  Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-09 15:48:26 +01:00
Richard Purdie 3dc2615e1a sstate.bbclass: When removing files, take an exclusive lock, even for shared lockfiles
(From OE-Core rev: 4a3e94c2ec014a8aef5e8ebb21bdbdf8d28416b3)

Signed-off-by: Richard  Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-09 15:48:26 +01:00
Saul Wold 205a004590 distro tracking: Manual Updates
(From OE-Core rev: 30101d4153aa8e116892063933b868d325bdd79c)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-07 21:38:38 +01:00
Saul Wold c85e75fd93 distro tracking: fixup some bad entries
(From OE-Core rev: 9b9c6277309766ef53273d4682b70302cd199ceb)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-07 21:38:38 +01:00
Koen Kooi 03908ad50f util-linux: package agetty seperately
Some packages like systemd only want agetty to spawn a console and not drag in all of util-linux just for that.

(From OE-Core rev: 16a732e6854dd62858af23994fa7f443607e9944)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-07 21:38:37 +01:00
Phil Blundell 3263183e92 sqlite: remove dependency on tcl-native
Older versions of sqlite required tclsh at compile time but this is no longer
the case with recent 3.7.x.

See http://lists.linuxtogo.org/pipermail/openembedded-core/2011-June/003653.html

(From OE-Core rev: cf8ef471d9620011e52462a84962b7f7ebf4e128)

Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-07 21:38:37 +01:00
Bruce Ashfield 3bb917dbdb linux-yocto: make e1000e structure common [commit: bec3f1e8c]
During work on 1.1 BSPs, some driver options changed. The
result was that the upstream fix b1d670f10e8078485884f0cf7e384d890909aeaa
needs to be available for all BSPs.

These SRCREV updates are the result of making that commit common.

(From OE-Core rev: c5dddf2dec0c6aed1db44a7ecf14d13502759d03)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-07 21:38:37 +01:00
Bruce Ashfield ffa4177146 linux-yocto: update target/meta SRCREVs
This SRCREV update picks up the following changes from the
2.6.37 kernel tree:

  - fishriver: create and use a dedicated BSP branch
  - fishriver: usbnet fixes, but common to all boards
  - standard:  update omap baseline match the 2.6.34
               upstream merge content

Built and boot tested on qemu*

(From OE-Core rev: 0843f22d34c0c9d2424a595aea0a2410e7d6ce23)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-07 21:38:37 +01:00
Saul Wold e36ab3242b distro tracking: update Qing -> Saul
(From OE-Core rev: 9c3373fa2bd99e9c24702789d397421ce8deec32)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-07 21:38:36 +01:00
Saul Wold bd604d3932 json-glib: Update to 0.12.4
(From OE-Core rev: aae4627d0edc398d9dba5d39b4e8d3913fbc91fd)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-07 21:38:36 +01:00
Scott Garman f51576f1d8 distro-tracking: update openssh, tar, and grep
(From OE-Core rev: 26436ccbe2608c09ae9dfa2fd802b8bad6b27246)

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-07 21:38:35 +01:00
Scott Garman a314226891 tar: upgrade to v1.26
(From OE-Core rev: 0be04e2931ec1f7d5bd3ff538913081e2e8ec04f)

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-07 21:38:35 +01:00
Scott Garman 757db8a21b grep: upgrade to v2.8
(From OE-Core rev: 40030433662c8a43c89e20099330aa5172ac0c27)

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-07 21:38:35 +01:00
Scott Garman 4555c2bd7b openssh: upgrade to v5.8p2
LICENCE checksum updated due to a one-line change in the file (RedHat
was added as a copyright holder).

(From OE-Core rev: 969cdde4541819ef5123a77391d870843aff0b55)

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-07 21:38:34 +01:00
Scott Garman 9c425c3590 distro-tracking: updates
Update the distro tracking fields for:

* apmd
* at
* blktool
* cpio
* dosfstools
* gzip
* libatomics-ops
* shadow

(From OE-Core rev: 1866af3863d544cce34933407c34b6543f040568)

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-07 21:38:34 +01:00
Saul Wold 7f34cd1eb2 tzcode: Update to 2011g
[YOCTO #1080]

Thanks to ilkka.tengvall@nsn.com

Cc: ilkka.tengvall@nsn.com
(From OE-Core rev: 925de3b3e74d15547840a2edaceff437e135bddd)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-06 15:58:42 +01:00
Scott Garman c8bd9ff2a4 package_rpm.bbclass: make RPM use on-disk permissions
Instruct RPM to use the on-disk permissions, owners, groups,
and directory permissions, instead of defaulting to root:root

Code changes suggested by Mark Hatle.

(From OE-Core rev: a6464f9484f56f596e3215184ad56ac6769ebb0c)

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-06 15:58:42 +01:00
Scott Garman e3f56c05e5 bitbake.conf: set PSEUDO_PASSWD within FAKEROOTENV
PSEUDO_PASSWD needs to point to the directory where passwd and group
files are kept. This will allow pseudo to use those users and groups
to change file ownership.

(From OE-Core rev: ada60e40293f78f974f641de5d3356b02bbeae4c)

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-06 15:58:41 +01:00
Scott Garman 133691ce92 base-passwd: populate the target sysroot with passwd/group/login.defs
The passwd, group, and login.defs files in the target sysroot will
be used when recipes create custom user and group permissions in
their packages.

(From OE-Core rev: 4450b73e57bcd73b8d09d8cd898a97bad04ae27b)

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-06 15:58:41 +01:00
Scott Garman 20ef3425b2 shadow: add a -native recipe with customized utilities
This adds a -native recipe for the shadow utilities.

The custom --root option allows the the following utilities to be
run within a chroot when invoked under pseudo:

* useradd
* groupadd
* usermod
* groupmod
* userdel
* groupdel
* passwd
* gpasswd
* pwconv
* pwunconv
* grpconv
* grpunconv

They can then be used to manipulate user and group account information
in target sysroots.

useradd was also modified to create home directories recursively when
necessary.

(From OE-Core rev: 37b8c18a3c2f3e77a9810a56a8ee786855ae1ba3)

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-06 15:58:41 +01:00
Scott Garman 109aa5c860 shadow: recipe and patch cleanup
Taking over maintenance of the shadow recipe. Cleaning it up in
preparation of adding a -native version that will be used to add
users/groups during preinstall.

(From OE-Core rev: 254ca8c1667b8d35914555714239a09bfb4f43be)

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-06 15:58:41 +01:00
Phil Blundell 1b817aa64a gcc-package-cross: also install the symlinks in libexec with target prefix
.. since this is where collect2 seems to look for them.  This seems like
it is really a bug in collect2, but installing the symlinks is an easy
workaround.  Without this you get "could not find ld" errors when using -flto.

(From OE-Core rev: d69561d80a995a52f3c7abfdbfd183fc7846046d)

Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-06 15:58:40 +01:00
Otavio Salvador 61bca46ac8 xf86-driver-common.inc: remove .la files to avoid unpackaged warning
(From OE-Core rev: 09cd132222a4331c2dfe65575b7b893e6117223e)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-06 15:58:40 +01:00
Otavio Salvador 58e17f2717 gnutls: add p11tool into gnutls-bin
(From OE-Core rev: cbad07914a68a14487dd39b794beb8ed3c55956f)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-06 15:58:40 +01:00
Otavio Salvador 048736c286 gnutls: use INC_PR on 2.12.5 version recipe
(From OE-Core rev: fd57537f53483eef24807d9b7b3eaca9bb4cda7f)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-06 15:58:40 +01:00
Martin Jansa 6e6fa7d63d base.bbclass: add cleansstate task between clean and cleanall
* sometimes it's usefull to remove only sstate cache and keep downloaded sources for rebuild

(From OE-Core rev: e071bc9982fc3ace3a32a990905884929392c4b6)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-06 15:58:40 +01:00
Khem Raj 2b41c2ad7e util-linux_2.19.1.bb: Fix compliation on uclibc
util-linux 2.19 needs this patch to successfully
compile on uclibc systems. This is a bug in util-linux
that goes unnoticed on eglibc builds.

(From OE-Core rev: a244bd1a8c98a970979e6bcfbd24c8a5b398ed0e)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-06 15:58:39 +01:00
Khem Raj 6f5a6e857d allarch.bbclass: Define BASE_PACKAGE_ARCH = "all"
If not overridden it gets the value which is for target recipes
usually defined in machine tune files

(From OE-Core rev: 7efd372eead4185e8b763c6f7ee1943485f7d84d)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-06 15:58:39 +01:00
Nitin A Kamble 90d5d3ca11 bison: upgrade from 2.4.3 to 2.5
This version of bison needs m4 1.4.16 or newer

(From OE-Core rev: 8aa07da69f4966afda40d77b1e8b83749c5d1c28)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-06 15:58:39 +01:00
Nitin A Kamble d0c2307bca autoconf: upgrade from 2.65 to 2.68
And rebase the patches to the newer code.

(From OE-Core rev: aa24c1eda4b33b329d330c8bbb6d243dfd924f62)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-06 15:58:39 +01:00
Nitin A Kamble 5d359880f0 m4: upgrade from 1.4.15 to 1.4.16
(From OE-Core rev: d2fb8508009d9109935a3a817074f109a87b2e44)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-06 15:58:39 +01:00
Otavio Salvador 18011c1a06 qmake_base.bbclass: fix lrelease/lupdate binary names
To support translation, qmake based projects usually call lrelease and
lupdate however OE changes the binary names so this needs some mangle
to work out of box.

(From OE-Core rev: 2a52f806f3789f717219651b97dc64fec3881f7f)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Acked-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-02 18:26:38 +01:00
Richard Purdie b0ed5af344 gettext: Add DEPENDS on git-native
There are tools within gettext that make use of git, crazy as it may
seem so we have to ensure a recent version of git is available.

It could be worse, it could be the (deprecated) cvs alternative in
the code.

(From OE-Core rev: 239bf1973099f938663b2f5c7c68410a3582f06a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-02 18:25:26 +01:00
Richard Purdie 5d9ea7dea4 sysvinit: Mark as machine specific since there are machine specific components to this recipe
The inittab file depends on variables that are part of the machine config
such as the SERIAL_CONSOLE so the whole recipe must get built as machine
specific. Better might be to split the config out into a separate recipes
from the binaries but this fixes the immediate problem.

[YOCTO ##1131]

(From OE-Core rev: 5bcd6b2c3e935858ac80b17266b9e427060c1650)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-02 16:52:43 +01:00