]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
12 years agobase/license.bbclass: handle multiple INCOMPATIBLE_LICENSEs
Andy Ross [Thu, 29 Nov 2012 19:08:47 +0000 (11:08 -0800)]
base/license.bbclass: handle multiple INCOMPATIBLE_LICENSEs

Allow INCOMPATIBLE_LICENSE to be a whitespace-separated list of
incompatible license strings and/or glob patterns.

Also fix wildcarding: the string in INCOMPATIBLE_LICENSE was clearly
intended to match with wildcards (e.g. "*GPLv3" to match both GPLv3
and LGPLv3), but this was broken because of a bug in return_spdx()
which would die with a runtime error when there was no SPDXLICENSEMAP
entry for the string.

Signed-off-by: Andy Ross <andy.ross@windriver.com>
Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agopopulate_sdk_deb.bbclass: put back INSTALL_PACKAGES_NORMAL_DEB
Laurentiu Palcu [Thu, 6 Dec 2012 09:52:40 +0000 (11:52 +0200)]
populate_sdk_deb.bbclass: put back INSTALL_PACKAGES_NORMAL_DEB

This commit (0b0674ebcd8a51783e4bb38e3ead3e419dbba376) was also changing
the populate_sdk_deb.bbclass but the deb backend does not support
multilib just yet. So, when compiling the standalone toolchain tarball,
we ended up with an empty tarball if the deb package manager was chosen.

Reverting the deb part until the multilib support is added to deb.

[YOCTO #3532]

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agohob-toolchain: Update for removal of dummy classes
Richard Purdie [Tue, 11 Dec 2012 12:35:48 +0000 (12:35 +0000)]
hob-toolchain: Update for removal of dummy classes

Without this hob will fail to parse.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobase.bbclass: Remove implicit dependency on license.bbclass
Richard Purdie [Thu, 6 Dec 2012 11:55:20 +0000 (11:55 +0000)]
base.bbclass: Remove implicit dependency on license.bbclass

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agort-tests: added missing dependencies in Makefile
Jackie Huang [Fri, 7 Dec 2012 05:54:13 +0000 (13:54 +0800)]
rt-tests: added missing dependencies in Makefile

The following targets missed dependency on librttest.a:
pi_stress
rt-migrate-test
hackbench

[YOCTO #3549]

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agorootfs_ipk/package_ipk: Simplify opkg commandline option variables
Richard Purdie [Thu, 6 Dec 2012 11:38:59 +0000 (11:38 +0000)]
rootfs_ipk/package_ipk: Simplify opkg commandline option variables

The current maze of IPKG_ARGS variables is hard to understand and worse,
not even used in some places. This simplifies the code and specifies the
options in one place.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoimage/populate_sdk: Simplify imagetest inclusion and drop dummy class file
Richard Purdie [Thu, 6 Dec 2012 11:37:49 +0000 (11:37 +0000)]
image/populate_sdk: Simplify imagetest inclusion and drop dummy class file

Having to include some dummy class is suboptimal and we no longer need to
do this. Also move this check to populate_sdk_base since we then don't
need to include it in toolchains specifically.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobootimg: Remove now unnecessary dummy inherit usage
Richard Purdie [Thu, 6 Dec 2012 11:36:39 +0000 (11:36 +0000)]
bootimg: Remove now unnecessary dummy inherit usage

bitbake now supports empty expansions for inherit usage so we can simplify
these statements.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolicense.bbclass: Including locale packages
Elizabeth Flanagan [Thu, 6 Dec 2012 20:01:10 +0000 (12:01 -0800)]
license.bbclass: Including locale packages

As locale packages are installed on the image, we should
be including them in the package/license manifest.

This ensures that the manifests are accurate and complete.

[ YOCTO #2461 ]

Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoupdate-alternatives.bbclass: Add missing runtime dependency
Mark Hatle [Thu, 6 Dec 2012 20:51:13 +0000 (14:51 -0600)]
update-alternatives.bbclass: Add missing runtime dependency

When using update-alternatives, there should be a runtime dependency on
${VIRTUAL-RUNTIME_update-alternatives}.  Without this, it's possible to
get into a situation where the package is not installable.

(If VIRTUAL-RUNTIME_update-alternatives is not defined, no requirement
is added.)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosstate: fix typo
Saul Wold [Thu, 6 Dec 2012 19:48:16 +0000 (19:48 +0000)]
sstate: fix typo

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosstate: fix typo
Richard Purdie [Thu, 6 Dec 2012 16:09:12 +0000 (16:09 +0000)]
sstate: fix typo

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogit: fix unpackaged python files
Martin Jansa [Wed, 5 Dec 2012 19:59:51 +0000 (20:59 +0100)]
git: fix unpackaged python files

* EXTRA_OEMAKE is needed after inheriting autotools which sets it to empty
* fixes:
git-1.7.7: git: Files/directories were installed but not shipped
  /usr/lib64
  /usr/lib64/python2.7
  /usr/lib64/python2.7/site-packages
  /usr/lib64/python2.7/site-packages/git_remote_helpers-0.1.0-py2.7.egg-info
  /usr/lib64/python2.7/site-packages/git_remote_helpers
  /usr/lib64/python2.7/site-packages/git_remote_helpers/__init__.py
  /usr/lib64/python2.7/site-packages/git_remote_helpers/util.pyc
  /usr/lib64/python2.7/site-packages/git_remote_helpers/__init__.pyc
  /usr/lib64/python2.7/site-packages/git_remote_helpers/util.py
  /usr/lib64/python2.7/site-packages/git_remote_helpers/git
  /usr/lib64/python2.7/site-packages/git_remote_helpers/git/__init__.py
  /usr/lib64/python2.7/site-packages/git_remote_helpers/git/importer.pyc
  /usr/lib64/python2.7/site-packages/git_remote_helpers/git/non_local.pyc
  /usr/lib64/python2.7/site-packages/git_remote_helpers/git/exporter.py
  /usr/lib64/python2.7/site-packages/git_remote_helpers/git/git.py
  /usr/lib64/python2.7/site-packages/git_remote_helpers/git/repo.py
  /usr/lib64/python2.7/site-packages/git_remote_helpers/git/__init__.pyc
  /usr/lib64/python2.7/site-packages/git_remote_helpers/git/importer.py
  /usr/lib64/python2.7/site-packages/git_remote_helpers/git/exporter.pyc
  /usr/lib64/python2.7/site-packages/git_remote_helpers/git/repo.pyc
  /usr/lib64/python2.7/site-packages/git_remote_helpers/git/git.pyc
  /usr/lib64/python2.7/site-packages/git_remote_helpers/git/non_local.py

* fixes [YOCTO #3344]

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopopulate_sdk_base, adt_installer_internal: fix issue on older distributions
Laurentiu Palcu [Thu, 6 Dec 2012 13:16:32 +0000 (15:16 +0200)]
populate_sdk_base, adt_installer_internal: fix issue on older distributions

This patch addresses an SDK installer issue on older distributions if
the installation takes place in another directory than the default one. In
fact, is all about the 'file' utility version used for determining if a
file is a text file. For example, for a perl script, newer 'file' versions
return:
"...script, ASCII text executable"
while older versions return:
"...script text executable"
Hence the regex pattern didn't match the scripts.

Also the patch contains two unrelated minor fixes:
 * return an exit code of 1 instead of -1 when installation machine is
   not supported. That because on an older distribution we also get this
   error message: "exit: 9: Illegal number: -1";
 * remove unnecessary $SUDO_EXEC prefix to grep;

[YOCTO #3538]

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobuildhistory_analysis: fix broken list length checks
Paul Eggleton [Thu, 6 Dec 2012 11:11:51 +0000 (11:11 +0000)]
buildhistory_analysis: fix broken list length checks

Fix erroneous use of .count instead of len(), which unfortunately is not
reported by Python as an error in a numeric comparison.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosstate: fetch .siginfo files from SSTATE_MIRROR
Saul Wold [Tue, 4 Dec 2012 00:32:44 +0000 (00:32 +0000)]
sstate: fetch .siginfo files from SSTATE_MIRROR

This would be useful for doing siginfo compares to understand why a build
is not reusing something when using SSTATE_MIRROR. No error will be reported
if it fails to find the .siginfo file

[YOCTO #2898]

[RP: Small tweaks]
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoutil-linux: Package systemd files correctly
Khem Raj [Mon, 24 Sep 2012 02:38:32 +0000 (02:38 +0000)]
util-linux: Package systemd files correctly

2.21 has some linking issues with gold on uclibc where mount
program does not work. Its some sort of underlinking.

2.22 did not solve that problem completely either

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoAdded regex functionality to distrodata.bbclass
Andrei Dinu [Wed, 5 Dec 2012 14:08:11 +0000 (14:08 +0000)]
Added regex functionality to distrodata.bbclass

In order to make the PRS use regexes for the versioning
of packages who have the distros on sourceforge and
for those who have faulty reports.

Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoutil-linux: rebase remove-lscpu patch
Saul Wold [Wed, 5 Dec 2012 22:43:53 +0000 (14:43 -0800)]
util-linux: rebase remove-lscpu patch

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoqt4-native & ghostscript: update upstream status for their patches
Chen Qi [Wed, 5 Dec 2012 02:19:04 +0000 (10:19 +0800)]
qt4-native & ghostscript: update upstream status for their patches

Update the upstream status for patches of long building path.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agozip: Remove QA warnings: No GNU_HASH in the elf binary
Muhammad Shakeel [Wed, 5 Dec 2012 15:02:10 +0000 (20:02 +0500)]
zip: Remove QA warnings: No GNU_HASH in the elf binary

Update the LFLAGS1 in the Makefile to remove warnings:
QA Issue: No GNU_HASH in the elf binary

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Muhammad Shakeel <muhammad_shakeel@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agobabeltrace: upgrade to 1.0.0
Constantin Musca [Wed, 5 Dec 2012 12:57:35 +0000 (14:57 +0200)]
babeltrace: upgrade to 1.0.0

License checksum change due to diff:
15a16,22
>
> * LGPLv2.1
>
> The file include/babeltrace/list.h is licensed under LGPLv2.1. It only
> contains trivial static inline functions and macros, and, therefore,
> including it does not make babeltrace a derivative work on this header.
> Please refer to the LGPLv2.1 license for details.

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Radu Moisan <radu.moisan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoliburcu: upgrade to 0.7.4
Constantin Musca [Wed, 5 Dec 2012 12:57:36 +0000 (14:57 +0200)]
liburcu: upgrade to 0.7.4

License checksum change due to diff:
3c3
< May 10, 2009
> May 15, 2012
59a60,65
>
> * GPLv3 (or later)
>
> The following build-related macro is under GPLv3 (or later):
>
> m4/ax_tls.m4

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Radu Moisan <radu.moisan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoprs: use the PRServer to replace the BB_URI_LOCALCOUNT functionality
Constantin Musca [Wed, 5 Dec 2012 08:58:58 +0000 (10:58 +0200)]
prs: use the PRServer to replace the BB_URI_LOCALCOUNT functionality

- adapt the PRServer to generate an incremental number for every revision set
associated with a (PN, PV)
- use one incrementing value rather than several
- PV becomes 0.1+gitAUTOINC+deadbeefdecafbad_decafbaddeadbeef
- if PV contains 'AUTOINC' set PKGV to the same thing with AUTOINC replaced
with the "auto PR" value
- if the PRServer isn't running replace AUTOINC with 0 (no package feeds, but usual
image creation would work)
- use the PR table with "AUTOINC-${PV-without-SRCREVs}" as key
- modify prexport/primport to address the generated srcrev entries
- this patch addresses the following proposal:
http://lists.linuxtogo.org/pipermail/bitbake-devel/2012-November/003878.html

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agonasm: upgrade to 2.10.05
Constantin Musca [Wed, 5 Dec 2012 10:40:19 +0000 (12:40 +0200)]
nasm: upgrade to 2.10.05

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolibconvert-asn1-perl: upgrade to 0.26
Constantin Musca [Wed, 5 Dec 2012 10:40:37 +0000 (12:40 +0200)]
libconvert-asn1-perl: upgrade to 0.26

License md5sum change due to:
- README is removed
- README.md contains license info

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolibaio: Remove QA warning: No GNU_HASH in the elf binary
Muhammad Shakeel [Wed, 5 Dec 2012 11:40:06 +0000 (16:40 +0500)]
libaio: Remove QA warning: No GNU_HASH in the elf binary

Update the LINK_FLAGS in the Makefile to remove warning:
QA Issue: No GNU_HASH in the elf binary

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Muhammad Shakeel <muhammad_shakeel@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoquicky: tidy up inherit
Paul Eggleton [Wed, 5 Dec 2012 13:28:33 +0000 (13:28 +0000)]
quicky: tidy up inherit

* inherit qt4x11 which inherits qmake2 and sets DEPENDS already.
* Remove pkgconfig from inherit since quicky doesn't actually use
  pkg-config nor does it produce a .pc file

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agopython-smartpm: don't try to remove /usr/share/share twice
Martin Jansa [Wed, 5 Dec 2012 16:07:26 +0000 (17:07 +0100)]
python-smartpm: don't try to remove /usr/share/share twice

* distutils.bbclass now removes that directory

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Conflicts:
meta/recipes-devtools/python/python-smartpm_1.4.1.bb

12 years agoat: change initscript dependency from build time to runtime
Martin Jansa [Sat, 1 Dec 2012 23:29:05 +0000 (00:29 +0100)]
at: change initscript dependency from build time to runtime

* doesn't look like build dependency

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoclasses/binconfig.bbclass: Allow packages to add sed expressions
Holger Freyther [Thu, 27 Dec 2007 11:46:52 +0000 (11:46 +0000)]
classes/binconfig.bbclass: Allow packages to add sed expressions

packages/apr/apr-util,apr use this, but it not been in the class

patch the config files to be 'installed' and not point to the build
and source-directory.

From OE-Classic:
http://git.openembedded.org/openembedded/commit/?id=030992bdd415c8892cf2925cf6fbe888226be046

[YOCTO #3267]

Orignal Author: Holger Freyther <zecke@selfish.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolibpcap: PR bump because of PU for libnl
Mihai Prica [Tue, 4 Dec 2012 16:50:31 +0000 (18:50 +0200)]
libpcap: PR bump because of PU for libnl

Signed-off-by: Mihai Prica <mihai.prica@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agowpa-supplicant: configured to work with libnl 3.2.14
Mihai Prica [Tue, 4 Dec 2012 16:50:30 +0000 (18:50 +0200)]
wpa-supplicant: configured to work with libnl 3.2.14

* Updated the configuration file for libnl-3
* Added python include dir path to configuration file

Signed-off-by: Mihai Prica <mihai.prica@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolibnl: upgrade to 3.2.14
Mihai Prica [Tue, 4 Dec 2012 16:50:29 +0000 (18:50 +0200)]
libnl: upgrade to 3.2.14

* Based on the 3.2.9 recipe from meta-oe
* Modified the patches to work with the new name of the library file (libnl-3.so)

Signed-off-by: Mihai Prica <mihai.prica@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoqa.py: Toolchain path should not be hardcoded to execute objdump
Muhammad Shakeel [Tue, 4 Dec 2012 10:40:59 +0000 (15:40 +0500)]
qa.py: Toolchain path should not be hardcoded to execute objdump

Currently objdump command is invoked from the STAGING_BINDIR_TOOLCHAIN
directory. In case of external toolchain if this directory doesn't
exist then objdump fails to execute. Instead of hardcoding the path
it should search PATH to find it.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Muhammad Shakeel <muhammad_shakeel@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolibassuan: add pkgconfig support
Chen Qi [Mon, 3 Dec 2012 10:23:27 +0000 (18:23 +0800)]
libassuan: add pkgconfig support

Add pkgconfig support to libassuan.

[YOCTO #2453]

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agopth: add pkgconfig support
Chen Qi [Mon, 3 Dec 2012 10:22:27 +0000 (18:22 +0800)]
pth: add pkgconfig support

Add pkgconfig support to pth.

[YOCTO #2453]

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoICU: add pkgconfig support
Chen Qi [Mon, 3 Dec 2012 10:21:08 +0000 (18:21 +0800)]
ICU: add pkgconfig support

Add pkgconfig support to ICU.

[YOCTO #2453]

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolibksba: add pkgconfig support
Chen Qi [Mon, 3 Dec 2012 10:17:31 +0000 (18:17 +0800)]
libksba: add pkgconfig support

Add pkgconfig support to libksba.

[YOCTO #2453]

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolinux-yocto/3.4: inform the fetcher if the meta branch changes
Bruce Ashfield [Thu, 29 Nov 2012 21:37:33 +0000 (16:37 -0500)]
linux-yocto/3.4: inform the fetcher if the meta branch changes

The meta data branch for the kernel can be varied by changing the
KMETA variable, but that change wasn't reflected in the SRC_URI,
which means that the fetcher won't check for changes on that branch
and is a potential source of errors.

Making the meta branch specification KMETA vs meta solves the problem.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolinux-yocto/3.4: emenlow: switch from psb to emgd graphics
Bruce Ashfield [Mon, 3 Dec 2012 19:57:15 +0000 (14:57 -0500)]
linux-yocto/3.4: emenlow: switch from psb to emgd graphics

Updating the meta branch SRCREVs for the following commit:

[
   meta/emenlow: use emgd instead of psb graphics driver

    This commit essentially does just this:
      Remove all the references of psb patches for emenlow BSP.
      Change the emenlow scc files to use emgd instead of psb.
]

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolinux-yocto/3.4: merge v3.4.19, v3.4.20
Bruce Ashfield [Fri, 30 Nov 2012 17:33:50 +0000 (12:33 -0500)]
linux-yocto/3.4: merge v3.4.19, v3.4.20

Updating the linux-yocto-3.4 trees to incorporate both 3.4.19 and
3.4.20 from the kernel.org -stable team.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agopuzzles: upgrade to r9712
Constantin Musca [Mon, 3 Dec 2012 15:34:42 +0000 (17:34 +0200)]
puzzles: upgrade to r9712

License checksum change due to:
< Schmidt and Steffen Bauer.
> Schmidt, Steffen Bauer and Lennard Sprong.

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolighttpd: upgrade to 1.4.32
Constantin Musca [Mon, 3 Dec 2012 15:11:15 +0000 (17:11 +0200)]
lighttpd: upgrade to 1.4.32

lighttpd_fix_for_automake-1.12.patch: removed
- included in the new version

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolibxslt: upgrade to 1.1.28
Constantin Musca [Mon, 3 Dec 2012 15:27:40 +0000 (17:27 +0200)]
libxslt: upgrade to 1.1.28

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolibxcb: upgrade to 1.9
Constantin Musca [Mon, 3 Dec 2012 15:23:36 +0000 (17:23 +0200)]
libxcb: upgrade to 1.9

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoethtool: upgrade to 3.6
Constantin Musca [Mon, 3 Dec 2012 15:14:43 +0000 (17:14 +0200)]
ethtool: upgrade to 3.6

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agogconf.bbclass: run postinstalls at rootfs time
Laurentiu Palcu [Tue, 4 Dec 2012 09:49:50 +0000 (11:49 +0200)]
gconf.bbclass: run postinstalls at rootfs time

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agogdk-pixbuf: generate the pixbuf loader's cache ar rootfs time
Laurentiu Palcu [Tue, 18 Sep 2012 15:59:54 +0000 (18:59 +0300)]
gdk-pixbuf: generate the pixbuf loader's cache ar rootfs time

This will generate the loaders.cache file for pixbuf, at rootfs time.

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agogtk-icon-cache: run the icon generation at rootfs time
Laurentiu Palcu [Tue, 18 Sep 2012 15:56:04 +0000 (18:56 +0300)]
gtk-icon-cache: run the icon generation at rootfs time

This change will allow for the icon cache generation at rootfs time and
only once, at the end. So, even though there will be many packages
depending on gtk+, the icon cache generation will be done once.
Hopefully, this will lower the target's first boot time significantly
by using the power of the host machine to generate the cache.

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agorootfs generation: export two new variables to postinst scriptlets
Laurentiu Palcu [Tue, 18 Sep 2012 15:47:59 +0000 (18:47 +0300)]
rootfs generation: export two new variables to postinst scriptlets

In order for the postinst scriptlets to be able to run once we need to
export the location of the intercept scripts and also the location of
native sysrootfs. The gdk-pixbuf binaries will need the latter because
in order to generate the loaders.cache it will need to scan some shared
libraries that must be native. Even though the output is a text file.

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoimage.bbclass: run postinst scripts once, at rootfs time
Laurentiu Palcu [Tue, 18 Sep 2012 15:39:49 +0000 (18:39 +0300)]
image.bbclass: run postinst scripts once, at rootfs time

This patch will allow the repeating postinst scriptlets to be run
only once, on host, at do_rootfs time. This will lower the time for
rootfs generation and, also, instead of running some time consuming
scriptlets at target's first boot, we will do on the host.

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolicense.bbclass: Avoid grep error message
Mark Hatle [Sat, 1 Dec 2012 18:26:00 +0000 (12:26 -0600)]
license.bbclass: Avoid grep error message

Touch a file that is later greped to make sure it exists.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agopkgconfig: Add a manual dependency of pkgconfig(pkg-config)
Mark Hatle [Fri, 30 Nov 2012 02:54:42 +0000 (20:54 -0600)]
pkgconfig: Add a manual dependency of pkgconfig(pkg-config)

The libtelepathy-glib-dev package contains a .pc file that has a requires
of pkgconfig(pkg-config) > 0.21 in it.  In order to satisfy this requirement
we add a manual RPROVIDE to the pkgconfig package.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agopackage_deb: Dependencies with a ( or ) in them are invalid in debs
Mark Hatle [Fri, 30 Nov 2012 02:53:29 +0000 (20:53 -0600)]
package_deb: Dependencies with a ( or ) in them are invalid in debs

Replace ( or ) with __.  This allows RPM style dependencies to be satisfied
in deb style packages.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoshadow: add runtime dependency on base-passwd
Paul Eggleton [Fri, 30 Nov 2012 18:21:31 +0000 (18:21 +0000)]
shadow: add runtime dependency on base-passwd

This fixes an issue where the shadow package was sometimes getting
installed before base-passwd during rootfs construction with Smart,
which meant the postinstall scripts could not find /etc/passwd and
/etc/group and failed as a result.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agopython-smartpm: Fix incorrect comparison arguments
Mark Hatle [Wed, 28 Nov 2012 23:38:12 +0000 (17:38 -0600)]
python-smartpm: Fix incorrect comparison arguments

Built-in provides were not being compared properly within smart.
This was caused by an incorrect argument to the match function.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agopython-smartpm: allow setting arbitrary macros in smart config
Paul Eggleton [Thu, 29 Nov 2012 15:41:02 +0000 (15:41 +0000)]
python-smartpm: allow setting arbitrary macros in smart config

Add support for an rpm-extra-macros config option which can be
used to define some extra macros that need to be set for rootfs
construction to work on the host and that don't really warrant
their own specific named config options to be created.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agopython-smartpm: support nolinktos and noparentdirs rpm options
Paul Eggleton [Thu, 29 Nov 2012 15:38:00 +0000 (15:38 +0000)]
python-smartpm: support nolinktos and noparentdirs rpm options

Allowing us to turn on these options enables installation of base-files
which contains a symlink to /proc/mounts which is auto-detected as a
dependency and isn't provided by any other package.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agopython-smartpm: don't create /var/tmp on every rpm database open
Paul Eggleton [Thu, 29 Nov 2012 15:35:36 +0000 (15:35 +0000)]
python-smartpm: don't create /var/tmp on every rpm database open

This directory if present in the rootfs interferes with proper
installation of base-files and doesn't seem to need to be there
for smart/rpm to work in any case.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agopython-smartpm: fix package metadata not being read from rpm-md feeds
Paul Eggleton [Thu, 29 Nov 2012 15:33:36 +0000 (15:33 +0000)]
python-smartpm: fix package metadata not being read from rpm-md feeds

The XML indexes in rpm-md were being parsed incorrectly leading to the
package metadata (e.g. dependencies) not being read.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agopython-smartpm: style fixes
Paul Eggleton [Wed, 28 Nov 2012 11:48:42 +0000 (11:48 +0000)]
python-smartpm: style fixes

* Use ${PN} instead of python-smartpm
* Use multi-line strings instead of multiple single line += (also
  avoiding the confusing "_append +=")
* Use class-native instead of virtclass-native - no difference in
  behaviour, but this keeps things consistent if we have to add
  any target overrides in future.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agopython-smartpm: add support for recommends
Paul Eggleton [Wed, 14 Nov 2012 18:46:56 +0000 (18:46 +0000)]
python-smartpm: add support for recommends

Implement support within Smart for handling RRECOMMENDS relationships
between RPM packages as used by OE. This includes support within the
base system for caching and resolving these relationships as well as
specific support in the RPM backend for reading the information from
packages, and reading the "missingok" flag added to createrepo for
rpm-md feeds.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agocreaterepo: implement support for recommends
Paul Eggleton [Mon, 26 Nov 2012 15:02:15 +0000 (15:02 +0000)]
createrepo: implement support for recommends

Adds a flag into the output metadata to note recommends relationships
in a way that should not break compatibility with clients that don't
understand this flag.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agorpm: Fix Upstream-Status fields
Mark Hatle [Tue, 4 Dec 2012 16:49:30 +0000 (10:49 -0600)]
rpm: Fix Upstream-Status fields

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agorpm: Fixup platform matching code
Mark Hatle [Mon, 3 Dec 2012 23:58:29 +0000 (17:58 -0600)]
rpm: Fixup platform matching code

On ARM systems the platform matching code could fail in some cases, as
the system macros file could override the 'platform' file settings.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agorpm: Fix rpm relocation macro usage
Mark Hatle [Wed, 28 Nov 2012 21:37:39 +0000 (15:37 -0600)]
rpm: Fix rpm relocation macro usage

When RPM is setup to dynamically reconfigure itself at runtime, we need
to avoid hard coded settings for _usrlibrpm and _etcrpm.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agorpm: Move rpmdb_loadcvt from base to dev package
Mark Hatle [Mon, 26 Nov 2012 21:33:55 +0000 (15:33 -0600)]
rpm: Move rpmdb_loadcvt from base to dev package

This item is only useful when the various development components are
installed.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agorpm: enable _openall_before_chroot by default
Paul Eggleton [Wed, 14 Nov 2012 18:45:52 +0000 (18:45 +0000)]
rpm: enable _openall_before_chroot by default

We want this enabled especially for the native case.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agopackage_rpm.bbclass: Add the runtime dependencies to the pre/post scriptlets
Mark Hatle [Thu, 15 Nov 2012 21:31:11 +0000 (15:31 -0600)]
package_rpm.bbclass: Add the runtime dependencies to the pre/post scriptlets

When the scriptlets are processed in RPM, they have a different dependency
set then the core package.  OE has no way to specify dependencies for the
pre/post scriptlists, so we simply make the runtime dependencies scriptlets
as well.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agotar: Split RMT from tar
Mark Hatle [Thu, 15 Nov 2012 21:28:12 +0000 (15:28 -0600)]
tar: Split RMT from tar

After the recent change of the libexecdir definition, the update-alternatives
for the libexec rmt broke.  Fix this by moving rmt from libexec to /sbin.  Also
split the rmt app from tar as it's likely not useful to many users.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agocpio: Split RMT from cpio
Mark Hatle [Thu, 15 Nov 2012 21:26:09 +0000 (15:26 -0600)]
cpio: Split RMT from cpio

After the recent change of the libexecdir definition, the update-alternatives
for the libexec rmt broke.  Fix this by moving rmt from libexec to /sbin.  Also
split the rmt app from cpio as it's likely not useful to many users.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agochkconfig: add link files install_initd and remove_initd
Kang Kai [Wed, 21 Nov 2012 09:38:43 +0000 (17:38 +0800)]
chkconfig: add link files install_initd and remove_initd

Add link files ${libdir}/lsb/{install,remove}_initd that they are
required by LSB tests. They were created by package lsbsetup, but
lsbsetup was dropped, so create them in chkconfig.

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agopulseaudio: explicitly set --with-database=simple
Mario Domenech Goulart [Mon, 3 Dec 2012 18:06:04 +0000 (16:06 -0200)]
pulseaudio: explicitly set --with-database=simple

The default value for --with-database is "auto".  So, if some package
installs a database library and pulseaudio auto detects, that library
will be added to the dependencies list, causing a dependency error at
do_rootfs time.  For example, samba installs libtdb, which is one of
the pulseaudio supported databases.

Signed-off-by: Mario Domenech Goulart <mario@ossystems.com.br>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agobinutils_2.23.1.bb: Correct typo in enable-targets configure option
Khem Raj [Wed, 28 Nov 2012 17:38:11 +0000 (09:38 -0800)]
binutils_2.23.1.bb: Correct typo in enable-targets configure option

Drop virtclass override in favor of class override

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agotcmode-default.inc: Use binutils 2.23.1
Khem Raj [Wed, 8 Aug 2012 17:33:41 +0000 (10:33 -0700)]
tcmode-default.inc: Use binutils 2.23.1

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agooprofile: Include config.h before bfd.h
Khem Raj [Wed, 8 Aug 2012 14:57:46 +0000 (07:57 -0700)]
oprofile: Include config.h before bfd.h

oprofile uses bfd.h from binutils which now in 2.23+ expects config.h
so lets include it

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agobinutils-2.23.1: Add recipes
Khem Raj [Wed, 8 Aug 2012 14:57:09 +0000 (07:57 -0700)]
binutils-2.23.1: Add recipes

backport non regressing patches from 2.23 branch after 2.23.1
release.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolibusb-compat: Update to 0.1.4
Saul Wold [Fri, 30 Nov 2012 18:31:31 +0000 (10:31 -0800)]
libusb-compat: Update to 0.1.4

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agosstate.bbclass: fix detection of owners matching sstate files
Martin Jansa [Tue, 4 Dec 2012 01:31:15 +0000 (02:31 +0100)]
sstate.bbclass: fix detection of owners matching sstate files

* without this patch:
  Python 2.7.3
  >>> sstate_search_cmd = "grep -rl /OE/jansa-test/shr-core/tmp-eglibc/pkgdata/armv7a-vfp-neon-oe-linux-gnueabi/runtime-reverse/vim-common /OE/jansa-test/shr-core/tmp-eglibc/sstate-control --exclude=master.list | sed -e 's:^.*/::' -e 's:\.populate-sysroot::'"
  >>> cmd_array = sstate_search_cmd.split(' ')
  >>> search_output = subprocess.Popen(cmd_array, stdout=subprocess.PIPE).communicate()[0]
  grep: |: No such file or directory
  grep: sed: No such file or directory

* Adding shell=True and using cmd string instead of array makes it work:
  >>> search_output = subprocess.Popen(sstate_search_cmd, shell=True, stdout=subprocess.PIPE).communicate()[0]
  >>> print search_output
  manifest-armv7a-vfp-neon-gvim.package
  manifest-armv7a-vfp-neon-vim-tiny.package
  manifest-armv7a-vfp-neon-vim.package

  But still isn't 100% reliable, I guess it's caused by some other package
  being removed from sstate while grep is already running.
  So sometimes grep can show error on STDERR
  >>> search_output = subprocess.Popen(sstate_search_cmd, shell=True, stdout=subprocess.PIPE).communicate()[0]
  grep: /OE/jansa-test/shr-core/tmp-eglibc/sstate-control/manifest-armv7a-vfp-neon-systemtap.package: No such file or directory

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosstate.bbclass: fixed file-conflict check
Enrico Scholz [Fri, 16 Nov 2012 17:14:20 +0000 (18:14 +0100)]
sstate.bbclass: fixed file-conflict check

The value of subprocess.Popen().communicate()[0] is a string.
Checking for '!= None' will always match causing bogus warnings
regarding already staged files.

Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoutil-linux: use u-a for eject
Martin Jansa [Tue, 4 Dec 2012 01:31:13 +0000 (02:31 +0100)]
util-linux: use u-a for eject

* 2.22.1 now builds eject which conflicts with eject from eject recipe in meta-oe

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodistutils: remove empty datadir/share after it's content is moved to datadir
Martin Jansa [Tue, 4 Dec 2012 01:31:12 +0000 (02:31 +0100)]
distutils: remove empty datadir/share after it's content is moved to datadir

* fixes a lot of QA warnings about unpackaged /usr/share/share

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopackagegroup-core-basic: use VIRTUAL-RUNTIME_initscripts and VIRTUAL-RUNTIME_init_manager
Martin Jansa [Tue, 4 Dec 2012 01:31:11 +0000 (02:31 +0100)]
packagegroup-core-basic: use VIRTUAL-RUNTIME_initscripts and VIRTUAL-RUNTIME_init_manager

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogst-meta-base: pull in X11 plugins when using X11
Ross Burton [Tue, 4 Dec 2012 20:58:03 +0000 (20:58 +0000)]
gst-meta-base: pull in X11 plugins when using X11

The splitting out of X11 plugins wasn't complete, which lead to no X11 plugins
being installed.

If the X11 distro feature is present, make gst-meta-base depend on
gst-meta-x11-base.  Also make -x11-base RDEPEND on xvimagesink for video
playback performance.

[ YOCTO #3458 ]

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoqmmp: remove qmake2 from inherit
Paul Eggleton [Wed, 5 Dec 2012 13:28:32 +0000 (13:28 +0000)]
qmmp: remove qmake2 from inherit

qt4x11 already inherits qmake2 so it doesn't need to be inherited again.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agofotowall: tidy up
Paul Eggleton [Wed, 5 Dec 2012 13:28:31 +0000 (13:28 +0000)]
fotowall: tidy up

* inherit qt4x11 which inherits qmake2 and sets DEPENDS already
* Remove pkgconfig from inherit since quicky doesn't actually use
  pkg-config nor does it produce a .pc file
* Move packaging definitions to the end

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agometa/lib/oe/sstatesig: fix locating stamp files
Paul Eggleton [Wed, 5 Dec 2012 13:12:19 +0000 (13:12 +0000)]
meta/lib/oe/sstatesig: fix locating stamp files

Fixes "bitbake-diffsigs -t" for changes to the stamp directory layout,
and this time uses the actual value of STAMP to get the location of
sigdata files in the stamp directory rather than trying to do it
manually, which should be a little more robust.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopopulate_sdk_base: fix directory creation as normal user
Laurentiu Palcu [Wed, 5 Dec 2012 11:00:00 +0000 (13:00 +0200)]
populate_sdk_base: fix directory creation as normal user

My previous patch removed the mkdir and added it at the end of the
"gaining SUDO rights" block in order to fix directory creation when
installing in a location without proper rights. Unfortunately this
messed up the directory creation as normal user as it will ask for
sudo right in order to create it...

Hopefully, this will fix both cases.

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibxkbcommon: make the build do something
Ross Burton [Tue, 4 Dec 2012 20:40:59 +0000 (20:40 +0000)]
libxkbcommon: make the build do something

In "cleaning up" the package I managed to remove the inherit autotools, so this
recipe didn't actually build anything.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopopulate_sdk_base: mkdir was missing $SUDO_EXEC prefix
Laurentiu Palcu [Tue, 4 Dec 2012 12:16:12 +0000 (14:16 +0200)]
populate_sdk_base: mkdir was missing $SUDO_EXEC prefix

mkdir was in the wrong place and missing sudo rights. Hence, the
installation to default location (or any other for which the user didn't
have rights) would fail. Unless the installer itself is run with sudo.

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibxml2: update PR to contain INC_PR to reflect the update of inc file
Zhenhua Luo [Tue, 4 Dec 2012 09:57:11 +0000 (17:57 +0800)]
libxml2: update PR to contain INC_PR to reflect the update of inc file

Signed-off-by: Zhenhua Luo <b19537@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoqa.py: Modify the env for the child process only
Muhammad Shakeel [Tue, 4 Dec 2012 10:19:50 +0000 (15:19 +0500)]
qa.py: Modify the env for the child process only

Modified environment is only required for new subprocess to execute
objdump command and not for the current process. We should only
modify the copy of env to pass it on to the child.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Muhammad Shakeel <muhammad_shakeel@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoxserver-xorg: restore packaging for the DRI/DRI2/DBE extensions
Ross Burton [Wed, 28 Nov 2012 15:28:48 +0000 (15:28 +0000)]
xserver-xorg: restore packaging for the DRI/DRI2/DBE extensions

Even though the current xserver in oe-core (1.13) doesn't ship these as
standalone extensions, older X servers required by binary drives
(e.g. meta-intel's 1.9) still install them separately.  As the packages didn't
exist in xserver-xorg.inc the extensions were not packaged, and X didn't work.

Revolve this by restoring the package definitions, and moving the upgrade path
dependencies to xserver-xorg_1.13.bb.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolatencytop: add missing signed-off-by and re-add upstream status
Jack Mitchell [Mon, 3 Dec 2012 14:59:14 +0000 (14:59 +0000)]
latencytop: add missing signed-off-by and re-add upstream status

When I made a change to this patch in git commit 1b41a4660d0
I accidently removed the Upstream Status line and also didn't
add the required signed-off-by tag.

Signed-off-by: Jack Mitchell <jack.mitchell@dbbroadcast.co.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agokernel-yocto: checkout known branch before leaving do_validate_branches
Bruce Ashfield [Thu, 29 Nov 2012 18:42:22 +0000 (13:42 -0500)]
kernel-yocto: checkout known branch before leaving do_validate_branches

We should always leave the tree on a BSP branch or master when
do_validate_branches completes to avoid modifying version tracked
files are part of the build process. Modifying these files will lead
to errors when changing branches, since the contents would be lost.

This is evident in the case that a the meta branch is reset to a
known SRCREV and the tree was left on the meta branch. This branch
tracks the meta/meta-series, and other artifacts of the original
tree construction. When the build process runs, it updates these same
files, which creates a conflict when switching branches.

This has been fixed in the tree construction scripts to not track
these files, but a secondary fix is also required of not leaving
the build on these branches, to allow arbitrary trees to be built.

[YOCTO #3413]

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibxml-sax-base-perl: add recipe for libxml-sax-perl
Xin Ouyang [Fri, 30 Nov 2012 10:29:59 +0000 (18:29 +0800)]
libxml-sax-base-perl: add recipe for libxml-sax-perl

If libxml-sax-base-perl is not installed on the target, libxml-sax-perl
would be fail to use. So add the recipe.

    # cat > test.pl <<-EOF
    #!/usr/bin/perl
    use XML::SAX;
    EOF
    # perl ./test.pl
    Can't locate XML/SAX/Exception.pm in @INC ...

Also inherit allarch for three perl modules.

Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibproxy: Fix for CVE-2012-4504
yanjun.zhu [Fri, 30 Nov 2012 11:08:56 +0000 (19:08 +0800)]
libproxy: Fix for CVE-2012-4504

Reference:https://code.google.com/p/libproxy/source/detail?r=853

Stack-based buffer overflow in the url::get_pac function in url.cpp
in libproxy 0.4.x before 0.4.9 allows remote servers to have an
unspecified impact via a large proxy.pac file.

http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2012-4504

[YOCTO #3487]

Signed-off-by: yanjun.zhu <yanjun.zhu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosquashfs: fix for CVE-2012-4024
yanjun.zhu [Fri, 30 Nov 2012 11:41:23 +0000 (19:41 +0800)]
squashfs: fix for CVE-2012-4024

Reference:http://squashfs.git.sourceforge.net/git/gitweb.cgi?p=
squashfs/squashfs;a=commit;h=19c38fba0be1ce949ab44310d7f49887576cc123

Fix potential stack overflow in get_component() where an individual
pathname component in an extract file (specified on the command line
or in an extract file) could exceed the 1024 byte sized targname
allocated on the stack.

Fix by dynamically allocating targname rather than storing it as
a fixed size on the stack.

[YOCTO #3513]

Signed-off-by: yanjun.zhu <yanjun.zhu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibpng: fix license segment md5sum boundary
Marko Lindqvist [Sun, 2 Dec 2012 06:59:51 +0000 (08:59 +0200)]
libpng: fix license segment md5sum boundary

Replaced incorrect "startline" with correct "beginline" for telling
where license segment in file begins. Old md5sum was calculated from
the beginning of the file, not from beginning of the license segment.

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>