]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
12 years agolibfakekey: Update to new revision to fix ${B} != ${S} issues
Richard Purdie [Mon, 18 Mar 2013 02:05:08 +0000 (02:05 +0000)]
libfakekey: Update to new revision to fix ${B} != ${S} issues

Upgrade to new upstream revision which includes out of tree build
fixes.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodiffstat: Fix case where ${B} != ${S}
Richard Purdie [Mon, 18 Mar 2013 02:05:07 +0000 (02:05 +0000)]
diffstat: Fix case where ${B} != ${S}

Fix out of tree builds by fixing cwd assumptions.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agonasm: Fix case where ${B} != ${S} (partial)
Richard Purdie [Mon, 18 Mar 2013 02:05:06 +0000 (02:05 +0000)]
nasm: Fix case where ${B} != ${S} (partial)

Fix out of tree build by fixing cwd assumptions.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosudo: Fix case where ${B} != ${S}
Richard Purdie [Mon, 18 Mar 2013 02:05:03 +0000 (02:05 +0000)]
sudo: Fix case where ${B} != ${S}

Fix out of tree builds by using full path to files in ${S} and remove
cwd assumptions.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoe2fsprogs: Fix case where ${B} != ${S}
Richard Purdie [Mon, 18 Mar 2013 02:05:01 +0000 (02:05 +0000)]
e2fsprogs: Fix case where ${B} != ${S}

Fix out of tree builds by placing built objects in the correct
location.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodocbook-utils-native: Fix case where ${B} != ${S}
Richard Purdie [Mon, 18 Mar 2013 02:05:00 +0000 (02:05 +0000)]
docbook-utils-native: Fix case where ${B} != ${S}

Fix out of tree builds by using full paths to source and built
objects as appropriate.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agochrpath: Fix case where ${B} != ${S}
Richard Purdie [Mon, 18 Mar 2013 02:04:59 +0000 (02:04 +0000)]
chrpath: Fix case where ${B} != ${S}

Fix out of tree builds for the native case by using the correct
path to the built object.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosysfsutils: Fix case where ${B} != ${S}
Richard Purdie [Mon, 18 Mar 2013 02:13:07 +0000 (02:13 +0000)]
sysfsutils: Fix case where ${B} != ${S}

Patch the makefiles to allow out of tree builds to work.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agorpm: Fix case where ${B} != ${S}
Richard Purdie [Mon, 18 Mar 2013 01:36:35 +0000 (01:36 +0000)]
rpm: Fix case where ${B} != ${S}

Fix out of tree builds by removing assumptions about cwd and using
full paths to files in ${S}.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agorsync: Fix case where ${B} != ${S}
Richard Purdie [Mon, 18 Mar 2013 01:35:56 +0000 (01:35 +0000)]
rsync: Fix case where ${B} != ${S}

Allow out of tree builds to work by removing assumptions about cwd.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agovalgrind: Fix case where ${B} != ${S}
Richard Purdie [Mon, 18 Mar 2013 01:35:11 +0000 (01:35 +0000)]
valgrind: Fix case where ${B} != ${S}

Fix out of tree builds by referring to the build object in ${B}.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopsplash: Fix case where ${B} != ${S}
Richard Purdie [Mon, 18 Mar 2013 01:32:16 +0000 (01:32 +0000)]
psplash: Fix case where ${B} != ${S}

Allow out of tree builds to work by using the full path to the
source file.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobinconfig: Handle the case where ${B} != ${S}
Richard Purdie [Mon, 18 Mar 2013 01:31:39 +0000 (01:31 +0000)]
binconfig: Handle the case where ${B} != ${S}

This change allows ${B} != ${S} builds to work which use binconfig.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoncurses: Fix case where ${B} != ${S}
Richard Purdie [Mon, 18 Mar 2013 01:15:14 +0000 (01:15 +0000)]
ncurses: Fix case where ${B} != ${S}

This change allows ${B} != ${S} builds to work as otherwise
gnu-configize is executed in the incorrect directory.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agocross-localedef-native: Fix case where ${B} != ${S}
Richard Purdie [Mon, 18 Mar 2013 01:13:30 +0000 (01:13 +0000)]
cross-localedef-native: Fix case where ${B} != ${S}

This change allows ${B} != ${S} builds to work since otherwise configure
isn't found.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopigz: Update to 2.3
Saul Wold [Sun, 17 Mar 2013 02:34:59 +0000 (19:34 -0700)]
pigz: Update to 2.3

Rebased the patch and added math library to satify tree.c's log() requirement.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolibenv-perl: Update to 1.04
Saul Wold [Sun, 17 Mar 2013 02:34:31 +0000 (19:34 -0700)]
libenv-perl: Update to 1.04

LICENSE file's year was updated.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agosysstat: Update to 10.1.4
Saul Wold [Sun, 17 Mar 2013 02:34:08 +0000 (19:34 -0700)]
sysstat: Update to 10.1.4

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolsbinitscripts: Update to 9.45
Saul Wold [Sun, 17 Mar 2013 02:33:51 +0000 (19:33 -0700)]
lsbinitscripts: Update to 9.45

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoman-pages: Update to 3.50
Saul Wold [Sun, 17 Mar 2013 02:33:30 +0000 (19:33 -0700)]
man-pages: Update to 3.50

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agokernel bbclass: return to original directory in do_deploy
Chase Maupin [Wed, 13 Mar 2013 12:03:50 +0000 (07:03 -0500)]
kernel bbclass: return to original directory in do_deploy

* During the base kernel_do_deploy function the directory is
  changed to DEPLOYDIR in order to do some cleanup and symlinking.
  However, the directory is not changed back to the original
  starting directory ${S} at the end.  For append functions this
  means that the starting directory is not ${S} as expected but
  instead ${DEPLOYDIR}.

  For functions like the do_deploy_append in
  recipes-kernel/linux/linux-dtb.inc there is an assumption that
  you are still in the source directory and not the DEPLOYDIR.
  Without this change the .dtb files are not copied because the
  check for the existence of ${DTS_FILE} which is a relative
  path from the ${S} directory fails.  This means that the .dtb
  files are not copied into the deploy directory and subsequently
  the deploy/images directory.

  In the log.do_deploy file you will see lines like:

    Warning: arch/arm/boot/dts/xxxxx.dts is not available!

Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agodocumentation.conf: remove unused variable QA_LOG
Andreas Oberritter [Tue, 12 Mar 2013 22:28:27 +0000 (23:28 +0100)]
documentation.conf: remove unused variable QA_LOG

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolayer.conf: Add LAYERVERSION and LAYERDEPENDS
wenzong.fan@windriver.com [Mon, 11 Mar 2013 08:06:02 +0000 (16:06 +0800)]
layer.conf: Add LAYERVERSION and LAYERDEPENDS

Add LAYERVERSION and LAYERDEPENDS to following oe-core layers:

    meta-hob, meta-skeleton

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agocracklib: Generate compiled dict using default dictionary
Colin Walters [Thu, 7 Mar 2013 23:45:22 +0000 (18:45 -0500)]
cracklib: Generate compiled dict using default dictionary

While cracklib compiles, the generated library's FascistCheck() API
will look for the default compiled dictionary, fail to find it, and
invoke exit(1), which then in turn breaks gnome-initial-setup that
uses cracklib via libpwquality.  (Quality here obviously referring to
the password, and not the libraries...)

What we do here is basically the same as what happens in the current
Fedora spec file, except the latter uses a far larger dictionary.

To make this work, we need to build cracklib-native because the
dictionary compiler is written in native code.

Signed-off-by: Colin Walters <walters@verbum.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolinux-firmware: upgrade to git HEAD c530a75c1e6a472b0eb9558310b518f0dfcd8860
Cristian Iorga [Thu, 14 Mar 2013 17:46:39 +0000 (19:46 +0200)]
linux-firmware: upgrade to git HEAD c530a75c1e6a472b0eb9558310b518f0dfcd8860

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoqt-mobility: Add pulseaudio dependency if DISTRO_FEATURES has pulseaudio
Felipe F. Tonello [Wed, 13 Mar 2013 16:49:13 +0000 (09:49 -0700)]
qt-mobility: Add pulseaudio dependency if DISTRO_FEATURES has pulseaudio

Signed-off-by: Felipe F. Tonello <ftonello@cercacor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoqt-mobility: Add bluez dependency if DISTRO_FEATURES has bluetooth
Felipe F. Tonello [Wed, 13 Mar 2013 16:49:12 +0000 (09:49 -0700)]
qt-mobility: Add bluez dependency if DISTRO_FEATURES has bluetooth

Some modules doesn't requires bluez4 to compile. So it's unnecessary to have
it as dependency.

Signed-off-by: Felipe F. Tonello <ftonello@cercacor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agonss-myhostname: add 0.3 version
Marcin Juszkiewicz [Thu, 14 Mar 2013 21:16:34 +0000 (22:16 +0100)]
nss-myhostname: add 0.3 version

Meta-linaro layer had own netbase.bbappend which took care of adding
MACHINE name to /etc/hosts to get it resolvable.

Koen Kooi pointed to nss-myhostname as better solution. Tested, works
fine so I add it for other users.

Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agomobile-broadband-provider-info: Upgrade to v20120614
Radu Moisan [Thu, 14 Mar 2013 16:43:46 +0000 (18:43 +0200)]
mobile-broadband-provider-info: Upgrade to v20120614

Signed-off-by: Radu Moisan <radu.moisan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoapr-util: Upgrade to v1.5.1
Radu Moisan [Thu, 14 Mar 2013 16:16:02 +0000 (18:16 +0200)]
apr-util: Upgrade to v1.5.1

Signed-off-by: Radu Moisan <radu.moisan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agobabeltrace: Upgrade to v1.0.3
Radu Moisan [Thu, 14 Mar 2013 15:36:13 +0000 (17:36 +0200)]
babeltrace: Upgrade to v1.0.3

Signed-off-by: Radu Moisan <radu.moisan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoliburcu: Upgrade to v0.7.6
Radu Moisan [Thu, 14 Mar 2013 15:28:22 +0000 (17:28 +0200)]
liburcu: Upgrade to v0.7.6

License file changed but still compliant with LGPLv2.1

Signed-off-by: Radu Moisan <radu.moisan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agosystemtap: Upgrade to v2.1
Radu Moisan [Thu, 14 Mar 2013 14:09:17 +0000 (16:09 +0200)]
systemtap: Upgrade to v2.1

Signed-off-by: Radu Moisan <radu.moisan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agocronie: Upgrade to v1.4.9
Radu Moisan [Wed, 13 Mar 2013 16:53:09 +0000 (18:53 +0200)]
cronie: Upgrade to v1.4.9

Signed-off-by: Radu Moisan <radu.moisan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agohdparm: Upgrade to v9.43
Radu Moisan [Wed, 13 Mar 2013 16:49:12 +0000 (18:49 +0200)]
hdparm: Upgrade to v9.43

Signed-off-by: Radu Moisan <radu.moisan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agou-boot: Upgrade to v2013.01.01
Radu Moisan [Wed, 13 Mar 2013 15:43:40 +0000 (17:43 +0200)]
u-boot: Upgrade to v2013.01.01

Signed-off-by: Radu Moisan <radu.moisan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agou-boot-mkimage: Upgrade to v2013.01.01
Radu Moisan [Wed, 13 Mar 2013 15:21:08 +0000 (17:21 +0200)]
u-boot-mkimage: Upgrade to v2013.01.01

Signed-off-by: Radu Moisan <radu.moisan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agou-boo-fw-utils: Upgrade to v2013.01.01
Radu Moisan [Wed, 13 Mar 2013 14:53:11 +0000 (16:53 +0200)]
u-boo-fw-utils: Upgrade to v2013.01.01

Signed-off-by: Radu Moisan <radu.moisan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoed: Upgrade to v1.7
Radu Moisan [Tue, 12 Mar 2013 15:06:36 +0000 (17:06 +0200)]
ed: Upgrade to v1.7

Signed-off-by: Radu Moisan <radu.moisan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agogawk: Upgrade to v4.0.2
Radu Moisan [Mon, 11 Mar 2013 15:06:02 +0000 (17:06 +0200)]
gawk: Upgrade to v4.0.2

Signed-off-by: Radu Moisan <radu.moisan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agorxvt-unicode: Upgrade to v9.17
Radu Moisan [Fri, 8 Mar 2013 12:28:53 +0000 (14:28 +0200)]
rxvt-unicode: Upgrade to v9.17

Signed-off-by: Radu Moisan <radu.moisan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agorm_work.bbclass: inhibit rm_work per recipe
Chen Qi [Wed, 13 Mar 2013 07:01:33 +0000 (15:01 +0800)]
rm_work.bbclass: inhibit rm_work per recipe

Use RM_WORK_WHITELIST to inhibit rm_work per recipe. In this way,
one can use rm_work for the most of the recipes but still keep the
work area for the recipe(s) one is working on.

As an example, the following settings in local.conf will inhibit
rm_work for icu-native, icu and busybox.
    INHERIT += "rm_work"
    RM_WORK_WHITELIST += "icu-native icu busybox"

If we comment out the RM_WORK_WHITELIST line and do a rebuild, the
working area of these recipes will be cleaned up.

[YOCTO #3675]

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoarchiver: fix archive filtering behavior
Kevin Strasser [Mon, 11 Mar 2013 22:51:23 +0000 (15:51 -0700)]
archiver: fix archive filtering behavior

With the addition of sstate, ensure that archiving tasks are only
added to the build if they produce output in the directory specified
by the 'sstate-inputdirs' flag.

Move calls to 'tar_filter' and 'not_tarball' out to
archive-*-source.bbclass in order to filter out packages before their
archiving tasks are added to the build.

Additionally, negate the return value of copyleft_should_include in
tar_filter, so that packages that do not pass are in turn filtered out.

Signed-off-by: Kevin Strasser <kevin.strasser@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoarchive-*-source.bbclass: fix scripts_with_logs build error
Kevin Strasser [Mon, 11 Mar 2013 22:51:22 +0000 (15:51 -0700)]
archive-*-source.bbclass: fix scripts_with_logs build error

Log and script archives are only generated when explicitly enabled by
setting the environment variable SOURCE_ARCHIVE_LOG_WITH_SCRIPTS to
'logs_with_scripts'. When left disabled, the path specified to be
handled by sstate is never created, resulting in a build error.

Only attempt to archive scripts and logs when explicitly enabled.

Signed-off-by: Kevin Strasser <kevin.strasser@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoimage.bbclass: Drop legacy export of IMAGE_BASENAME
Richard Purdie [Mon, 18 Mar 2013 00:07:38 +0000 (00:07 +0000)]
image.bbclass: Drop legacy export of IMAGE_BASENAME

We used to export this in the days an external script handled the image
generation. This is no longer the case and hence we no longer need this
export.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobison: Use PATH to locate m4
Richard Purdie [Mon, 18 Mar 2013 00:03:03 +0000 (00:03 +0000)]
bison: Use PATH to locate m4

We can specify no path to m4 at configure time and thus avoiding
having a wrapper for that particular problem.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomesa-common: Fix confused variable assignment/comment
Richard Purdie [Mon, 18 Mar 2013 00:02:12 +0000 (00:02 +0000)]
mesa-common: Fix confused variable assignment/comment

Its clear this was meant to be a prepend. Also fix an out
of date comment.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogcc-common: Exclude AVAILTUNES from sstate checksums
Richard Purdie [Mon, 18 Mar 2013 00:01:22 +0000 (00:01 +0000)]
gcc-common: Exclude AVAILTUNES from sstate checksums

AVAILTUNES is only used as a sanity check, we don't need to
include it in the sstate checksum in this case. If included
it can cause problems when switching machines with a common
package architecture.

[YOCTO #3667]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agotune-xscale: Drop unneeded optimisation overrides
Richard Purdie [Mon, 18 Mar 2013 00:00:06 +0000 (00:00 +0000)]
tune-xscale: Drop unneeded optimisation overrides

These hacks have been around for years and deal with old gcc issues.
They've been removed from the other use sites, we should clean up the
core tune file too.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoopenssl: build always with -Wa,--noexecstack
Enrico Scholz [Thu, 12 Jan 2012 16:30:21 +0000 (17:30 +0100)]
openssl: build always with -Wa,--noexecstack

There is no reason to disable exec-stack only for -native builds;
binaries on the target will suffer from the same SELinux ACLs.

OpenSSL does not use executable stack so this option can be disabled
unconditionally.

Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake.conf: Add LICENSE_PATH to sstate whitelist
Khem Raj [Sun, 17 Mar 2013 08:04:28 +0000 (01:04 -0700)]
bitbake.conf: Add LICENSE_PATH to sstate whitelist

some layers e.g. meta-intel are defining LICENSE_PATH in layer.conf like
LICENSE_PATH += "${LAYERDIR}/common/custom-licenses"
This causes the target packages to invalidate the siginfo and casues
rebuild for all packages.

Thanks bitbake-diffsigs, it shows

basehash changed from c27b55ea6980262fab370e539ba8bcd7 to
37962b22ebd6194e9537bc4f85819323
Variable LICENSE_PATH value changed from '
/builds2/poky/meta-intel/common/custom-licenses' to '
/b/kraj/jlinux-next/poky/meta-intel/common/custom-licenses'

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoutil-linux: Update License Information (remove GPLv3 Licnese)
Saul Wold [Fri, 15 Mar 2013 19:54:40 +0000 (12:54 -0700)]
util-linux: Update License Information (remove GPLv3 Licnese)

The upstream authors have updated the licenses of a couple subcomponents,
these were GPLv3, but updated to be either GPLv2 or LGPLv2.1 accordingly.
These changes make the util-linux package become completely non-GPLv3.

Cleaned up some white space issue also

[YOCTO #4014]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopopulate_sdk_base: search for perl scripts after symlinks are relocated
Laurentiu Palcu [Fri, 15 Mar 2013 16:01:53 +0000 (18:01 +0200)]
populate_sdk_base: search for perl scripts after symlinks are relocated

grep will throw "No such file or directory" errors for all invalid
symlinks. To overcome this, move the search after the symlinks have been
changed to point to the new location.

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogcc-cross-canadian: do not create symlinks to non-existent binaries
Laurentiu Palcu [Fri, 15 Mar 2013 16:01:52 +0000 (18:01 +0200)]
gcc-cross-canadian: do not create symlinks to non-existent binaries

If fortran is not built, soft links to gfortran and g77 are created
even though the fortran compiler doesn't exist...

[YOCTO #4023]

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoelfutils: fix the num passed to memset in ar.c
Zhenhua Luo [Fri, 15 Mar 2013 13:27:27 +0000 (21:27 +0800)]
elfutils: fix the num passed to memset in ar.c

Following build error will appear on Fedora18+:
ar.c: In function 'do_oper_delete':
ar.c:918:31: error: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Werror=sizeof-pointer-memaccess]
   memset (found, '\0', sizeof (found));

Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agognupg: fix PN -> BPN in do_install for multilibs
Jackie Huang [Fri, 15 Mar 2013 08:04:01 +0000 (16:04 +0800)]
gnupg: fix PN -> BPN in do_install for multilibs

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agottf-fonts: fix PN -> BPN in do_install for multilibs
Jackie Huang [Fri, 15 Mar 2013 08:04:02 +0000 (16:04 +0800)]
ttf-fonts: fix PN -> BPN in do_install for multilibs

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopython-imaging: fix PN -> BPN in do_install for multilibs
Jackie Huang [Fri, 15 Mar 2013 08:04:00 +0000 (16:04 +0800)]
python-imaging: fix PN -> BPN in do_install for multilibs

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibatomics-ops: fix PN -> BPN in do_install for multilibs
Jackie Huang [Fri, 15 Mar 2013 08:04:03 +0000 (16:04 +0800)]
libatomics-ops: fix PN -> BPN in do_install for multilibs

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopackage_rpm: Ensure PV manipulations are correct
Richard Purdie [Sat, 16 Mar 2013 15:46:15 +0000 (15:46 +0000)]
package_rpm: Ensure PV manipulations are correct

The previous change to this function fixed one manipuation at
the expense of the other, depending on ow expanded the versioned
dependency string was when the AUTOINC substitution was made.

This update ensures we cover both cases and ensures the classextended
version works as as well as the normal case.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoicecc: improve interaction with sstate
Martin Jansa [Wed, 13 Mar 2013 19:04:51 +0000 (20:04 +0100)]
icecc: improve interaction with sstate

* exclude ICECC_PARALLEL_MAKE (like PARALLEL_MAKE is)
* add ICECC_DISBLED to be able to disable whole icecc functionality
  while keeping icecc enabled. This is useful when you want multiple
  builders sharing same sstate-cache, but only some of them using icecc.

* inheriting icecc changes all checksums because of do_*_prepends calls,
  but because icecc should not influence binary output of task we should
  get same checksums for tasks build with and without icecc

* ICECC_DISABLED when set (to any non-empty value will disable icecc env
  modifications but while keeping same sstate checksum

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoelfutils: Fix size passed to snprintf for invalid sh_name case
Zhenhua Luo [Tue, 12 Mar 2013 03:58:58 +0000 (11:58 +0800)]
elfutils: Fix size passed to snprintf for invalid sh_name case

Following build error will appear on Fedora18.
nm.c: In function 'show_symbols_sysv':
nm.c:756:27: error: argument to 'sizeof' in 'snprintf' call is the same expression as the destination; did you mean to provide an explicit length? [-Werror=sizeof-pointer-memaccess]
    snprintf (name, sizeof name, "[invalid sh_name %#" PRIx32 "]",
                           ^

Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agobinutils: fix ineffectual zero of cache and array bounds issue
Zhenhua Luo [Wed, 13 Mar 2013 07:43:04 +0000 (15:43 +0800)]
binutils: fix ineffectual zero of cache and array bounds issue

binutils build fails on Fedora18+:
1. binutils-2.23.1/bfd/elf32-xtensa.c:6078:36: error: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Werror=sizeof-pointer-memaccess]
       memset (sec_cache, 0, sizeof (sec_cache));
                                    ^
2. binutils-2.23.1/bfd/elf32-xtensa.c:6120:32: error: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Werror=sizeof-pointer-memaccess]
   memset (sec_cache, 0, sizeof (sec_cache));
                                ^
3. binutils-2.23.1/opcodes/arc-dis.c:430:13: error: argument to 'sizeof' in '__builtin_strncat' call is the same expression as the destination; did you mean to provide an explicit length? [-Werror=sizeof-pointer-memaccess]
       sizeof (state->commentBuffer));
              ^
4. binutils-2.23.1/opcodes/rl78-dis.c:230:13: error: array subscript is above array bounds [-Werror=array-bounds]
      if (oper->use_es && indirect_type (oper->type))
              ^

Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoxf86-video-*: delete references to mibstore.h
Laurentiu Palcu [Mon, 11 Mar 2013 16:05:13 +0000 (18:05 +0200)]
xf86-video-*: delete references to mibstore.h

This patch removes any references to mibstore.h, which has been removed
from xserver-org, from the following drivers:
 * xf86-video-vmware
 * xf86-video-fbdev
 * xf86-video-vesa

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoxf86-video-intel: upgrade to 2.21.3
Laurentiu Palcu [Mon, 11 Mar 2013 13:32:52 +0000 (15:32 +0200)]
xf86-video-intel: upgrade to 2.21.3

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoxserver-xorg: upgrade to 1.14.0
Laurentiu Palcu [Mon, 11 Mar 2013 12:19:28 +0000 (14:19 +0200)]
xserver-xorg: upgrade to 1.14.0

Aditionally:
 * adjust the aarch64.patch because the logic changed and the
   lnx_video.c changes are no longer necessary;
 * created patch to fix compilation issue when not using xinerama;

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoinputproto: upgrade to 2.3
Laurentiu Palcu [Mon, 11 Mar 2013 12:42:43 +0000 (14:42 +0200)]
inputproto: upgrade to 2.3

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoneard: Update reference commit sha1 and install script
Olivier Guiter [Tue, 12 Mar 2013 20:33:52 +0000 (13:33 -0700)]
neard: Update reference commit sha1 and install script

This patch installs neard daemon in /usr/lib/neard.

Signed-off-by: Olivier Guiter <olivier.guiter@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoqemu-native:fix do_compile failed on SLED 11.2
Hongxu Jia [Tue, 12 Mar 2013 01:54:06 +0000 (09:54 +0800)]
qemu-native:fix do_compile failed on SLED 11.2

1, When build qemu-native on SLED 11.2, there is an error:
...
| In file included from /usr/include/bits/sigcontext.h:28,
|    from /usr/include/signal.h:339,
|    from /buildarea2/tmp/work/i686-linux/qemu-native/1.4.0-r0/
qemu-1.4.0/include/qemu-common.h:42,
|    from fsdev/virtfs-proxy-helper.c:23:
| /usr/include/asm/sigcontext.h:28: error: expected specifier-
qualifier-list before '__u64'
| /usr/include/asm/sigcontext.h:191: error: expected specifier-
qualifier-list before '__u64'
...

2, The virtfs-proxy-helper.c includes <sys/capability.h> and
qemu-common.h in sequence. The header include map is:
(`-->' presents `include')
...
"virtfs-proxy-helper.c" --> <sys/capability.h>
...
"virtfs-proxy-helper.c" --> "qemu-common.h" --> <signal.h> -->
<bits/sigcontext.h> --> <asm/sigcontext.h> --> <linux/types.h> -->
<asm/types.h> --> <asm-generic/types.h> --> <asm-generic/int-ll64.h>
...

3, The bug is found on SLED 11.2 x86. In libcap header file
/usr/include/sys/capability.h, it does evil stuff like this:
...
  25 /*
  26  * Make sure we can be included from userland by preventing
  27  * capability.h from including other kernel headers
  28  */
  29 #define _LINUX_TYPES_H
  30 #define _LINUX_FS_H
  31 #define __LINUX_COMPILER_H
  32 #define __user
  33
  34 typedef unsigned int __u32;
  35 typedef __u32 __le32;
...
This completely prevents including /usr/include/linux/types.h.
The above `<asm/sigcontext.h> --> <linux/types.h>' is prevented,
and '__u64' is defined in <asm-generic/int-ll64.h>.

4, Modify virtfs-proxy-helper.c to include <sys/capability.h>
last to workaround the issue.

http://www.linuxtv.org/pipermail/vdr/2009-August/021194.html
http://patchwork.linuxtv.org/patch/12748/

[YOCTO #4001]

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agowatchdog: Upgrade 5.12 -> 5.13
Khem Raj [Tue, 12 Mar 2013 05:32:45 +0000 (22:32 -0700)]
watchdog: Upgrade 5.12 -> 5.13

Part of ping failure patch is already applied
in 5.13 hence refreshed the patch.
Tested on x86_64 box

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agopsplash : update to latest SRCREV afd4e228c606a9998feae44a3fed4474803240b7
Andrei Dinu [Tue, 12 Mar 2013 14:54:11 +0000 (16:54 +0200)]
psplash : update to latest SRCREV afd4e228c606a9998feae44a3fed4474803240b7

Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agopackage.bbclass: add debug-without-src PACKAGE_DEBUG_SPLIT_STYLE
Martin Jansa [Tue, 12 Mar 2013 11:24:32 +0000 (12:24 +0100)]
package.bbclass: add debug-without-src PACKAGE_DEBUG_SPLIT_STYLE

* same as original and default version, but does not package source files in PN-dbg

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agosystemd: remove libsystemd-daemon linkage in libudev
Ross Burton [Wed, 6 Mar 2013 10:35:48 +0000 (10:35 +0000)]
systemd: remove libsystemd-daemon linkage in libudev

libudev was statically linking to libsystemd-shared, which was linking to
libsystemd-daemon (via libtool).  This is a spurious dependency so backport a
commit from upstream to remove it.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agosystemd: set the location of the kill binary
Ross Burton [Tue, 26 Feb 2013 17:03:08 +0000 (17:03 +0000)]
systemd: set the location of the kill binary

Otherwise systemd uses AC_PROG_PATH and finds it in the sysroot, which won't
work on the target.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agosystemd: remove util-linux-mount dependency
Ross Burton [Wed, 20 Feb 2013 20:24:09 +0000 (20:24 +0000)]
systemd: remove util-linux-mount dependency

There's been a lot of action in busybox to fix mount's behaviour for systemd, so
remove the dependency on util-linux.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agosystemd: busybox's swapon now supports -p
Ross Burton [Wed, 20 Feb 2013 20:04:51 +0000 (20:04 +0000)]
systemd: busybox's swapon now supports -p

Now that busybox's swapon supports -p, systemd doesn't need to depend on
util-linux.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agobusybox: enable swapon -p (91 byte increase)
Ross Burton [Wed, 20 Feb 2013 20:04:25 +0000 (20:04 +0000)]
busybox: enable swapon -p (91 byte increase)

systemd needs "swapon -p", so as the impact is minimal enable it unversally.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agosystemd-compat-units: add missing systemd-systemctl-native dependency
Ross Burton [Fri, 1 Mar 2013 10:48:31 +0000 (10:48 +0000)]
systemd-compat-units: add missing systemd-systemctl-native dependency

This package has postinsts that run on the build host, but wasn't depending on
systemd-systemctl-native.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoxkeyboard-config: remove long-gone build dependencies
Ross Burton [Wed, 27 Feb 2013 14:51:30 +0000 (14:51 +0000)]
xkeyboard-config: remove long-gone build dependencies

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoavahi: explicitly disable systemd if we don't want it enabled
Ross Burton [Thu, 7 Mar 2013 15:16:32 +0000 (15:16 +0000)]
avahi: explicitly disable systemd if we don't want it enabled

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoxf86-video-intel: add explicit dependency on udev
Ross Burton [Fri, 8 Mar 2013 10:47:56 +0000 (10:47 +0000)]
xf86-video-intel: add explicit dependency on udev

Otherwise configure will auto-detect, and not be reliable.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agopolkit: explicitly disable systemd if we're using consolekit
Ross Burton [Thu, 7 Mar 2013 15:16:50 +0000 (15:16 +0000)]
polkit: explicitly disable systemd if we're using consolekit

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoconnman: explicitly disable systemd if we don't want it enabled
Ross Burton [Thu, 7 Mar 2013 12:56:45 +0000 (12:56 +0000)]
connman: explicitly disable systemd if we don't want it enabled

Otherwise configure will use pkg-config and may find systemd, even though we
don't want it.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agobuild-appliance-image: fix lost net connectivity after restart
Cristian Iorga [Mon, 11 Mar 2013 11:24:22 +0000 (13:24 +0200)]
build-appliance-image: fix lost net connectivity after restart

The issue is that an ethernet config file is removed without
proper checks in place (rm -f), which triggers an error and
makes the connman startup script to fail.

The file is now removed with proper checks in place.

Fixes [YOCTO #4003].

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agobuild-appliance-image: ethernet connection type is now bridged
Cristian Iorga [Mon, 11 Mar 2013 11:24:21 +0000 (13:24 +0200)]
build-appliance-image: ethernet connection type is now bridged

For network/internet connectivity, Build Appliance uses
a NAT virtual network adapter. While using NAT, inside
Build Appliance network proxies won't provide a network
connection to the outside world.

Basically, connectivity is not provided if network proxies
are needed in order to acces the internet.

The solution is to use bridged ethernet connection type.

Fixes [YOCTO #3998].

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agobuild-appliance-image: upgrade to newer poky revision.
Cristian Iorga [Mon, 11 Mar 2013 11:24:20 +0000 (13:24 +0200)]
build-appliance-image: upgrade to newer poky revision.

Upgraded to poky commit: d823759b4594143d522eae0b2a2498436a6dcb1e

- Includes fixes and enhancements to Hob;
- Includes fixes and improvements to bitbake;
- Includes the switch to Linux kernel 3.8;
- Includes fixes to network connectivity.

Fixes [YOCTO #3843].

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolibxi: upgrade to 1.7
Constantin Musca [Mon, 11 Mar 2013 14:06:03 +0000 (16:06 +0200)]
libxi: upgrade to 1.7

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolibical: add recipe back in oe-core
Cristian Iorga [Mon, 11 Mar 2013 13:56:48 +0000 (15:56 +0200)]
libical: add recipe back in oe-core

version: 0.48.
reason: libical is needed by bluez.

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agopackage_rpm: Ensure package dependencies have correct version numbers
Richard Purdie [Thu, 14 Mar 2013 00:15:10 +0000 (00:15 +0000)]
package_rpm: Ensure package dependencies have correct version numbers

If a recipe has versioned dependencies on another package within
the same recipe, there are potentially races where the version
remapping may not happen correctly.

This issue triggered with neard in multilib builds since it
uses a "-" character in its PV which is illegal in an rpm version
field. The remapping to "+" was not occuring.

It only triggers in the multilib case since in this case, expansion
of the datastore happens at slightly different points.

The correct fix is to search for PV, not PKGV but substitute the
PV value.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoexternal-python-tarball: rename output package
Kang Kai [Tue, 12 Mar 2013 07:29:53 +0000 (15:29 +0800)]
external-python-tarball: rename output package

Update TOOLCHAIN_OUTPUTNAME to rename the output package which is the
similiar style to name packages meta-toolchain-*.

[YOCTO #3996]

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolib/oe/lsb: enable getting distro ID when lsb_release is not installed
Paul Eggleton [Tue, 12 Mar 2013 03:39:56 +0000 (03:39 +0000)]
lib/oe/lsb: enable getting distro ID when lsb_release is not installed

If lsb_release is not installed (as it may not be on headless/minimal
installations on distros whose LSB package has a long list of
dependencies) we need to gather the information directly from files in
/etc.

Fixes [YOCTO #4012].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogst-plugins-gl: allow empty packages
Jeremy Stashluk [Mon, 11 Mar 2013 17:05:22 +0000 (13:05 -0400)]
gst-plugins-gl: allow empty packages

The patch to Poky (git://git.yoctoproject.org/poky) commit
bd73fa69f532ca3d81ec2452a79e7a333b3543c2 titled: "recipes: Fix
ALLOW_EMPTY with no package specified" breaks this recipe. This patch
specifies the allowed empty packages.

Signed-off-by: Jeremy Stashluk <jstashluk@dekaresearch.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agogst-plugins-package: return few ALLOW_EMPTY settings
Martin Jansa [Wed, 6 Mar 2013 21:52:33 +0000 (22:52 +0100)]
gst-plugins-package: return few ALLOW_EMPTY settings

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolinux-yocto/3.8: update EDF configuration
Bruce Ashfield [Mon, 11 Mar 2013 13:25:12 +0000 (09:25 -0400)]
linux-yocto/3.8: update EDF configuration

The sched_deadline configuration fragmements were not optimal, so tweaking
the meta data to make an enable-only configuration fragment avaiable and
updating the options within that fragment.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolinux-yocto/3.8: bump kver to v3.8.1
Bruce Ashfield [Mon, 4 Mar 2013 16:25:46 +0000 (11:25 -0500)]
linux-yocto/3.8: bump kver to v3.8.1

Updating the linux-yocto_3.8 SRCREVs to reflect the integration of the
korg 3.8.1 -stable release.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolinux-yocto/3.4: update to v3.4.34 and LTSI refresh
Bruce Ashfield [Thu, 28 Feb 2013 19:49:22 +0000 (14:49 -0500)]
linux-yocto/3.4: update to v3.4.34 and LTSI refresh

Updating the 3.4 SRCREVs to incorporate the -stable release of 3.4.34 and
the latest LTSI fixes up to [36a9caf 2 more fixes added].

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolibtirpc: Fix build on uclibc
Khem Raj [Sun, 10 Mar 2013 23:07:36 +0000 (16:07 -0700)]
libtirpc: Fix build on uclibc

Last upgrade of libtirpc broke the uclibc specific
patch. So lets refresh it and make it compile for
uclibc again

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agowpa-supplicant: avoid host contamination by libnl3
Andreas Oberritter [Fri, 8 Mar 2013 22:42:03 +0000 (23:42 +0100)]
wpa-supplicant: avoid host contamination by libnl3

Removes hardcoded include path -I/usr/include/libnl3. OE's include
path gets injected by do_configure.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agowpa-supplicant: reorder do_configure
Andreas Oberritter [Fri, 8 Mar 2013 22:42:02 +0000 (23:42 +0100)]
wpa-supplicant: reorder do_configure

Copy from WORKDIR first, then modify. Improves consistency
between successive invocations of do_configure.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agowpa-supplicant: change S to point to the top-level directory
Andreas Oberritter [Fri, 8 Mar 2013 22:42:01 +0000 (23:42 +0100)]
wpa-supplicant: change S to point to the top-level directory

This makes it possible to apply patches to ../src.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>