]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
12 years agogst-meta-base: don't rdepend on ximagesink/xvimagesink
Ross Burton [Mon, 17 Dec 2012 17:21:10 +0000 (17:21 +0000)]
gst-meta-base: don't rdepend on ximagesink/xvimagesink

Loosen these dependencies to recommends, as some targets won't want or build
these sinks.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosstate.bbclass: Improve stamp-extra-info task handling to avoid warnings
Richard Purdie [Fri, 14 Dec 2012 15:39:56 +0000 (15:39 +0000)]
sstate.bbclass: Improve stamp-extra-info task handling to avoid warnings

If you change a machine to a different package architecture, you will see sstate
errors about overwriting files as the code stands today. Instead it should clean
out the files safely and correctly. This patch changes the naming of stamp-extra-info
manifest files to avoid this problem. It will potentially trigger warnings during
builds in existing TMPDIRs until the system adjusts to the new naming, these are
harmless.

[YOCTO #3521]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosstate.bbclass: Remove unused/uneeded variable
Richard Purdie [Fri, 14 Dec 2012 15:39:08 +0000 (15:39 +0000)]
sstate.bbclass: Remove unused/uneeded variable

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosstate.bbclass: Simplify overcomplicated cleanall function
Richard Purdie [Fri, 14 Dec 2012 15:38:27 +0000 (15:38 +0000)]
sstate.bbclass: Simplify overcomplicated cleanall function

The code was written before SSTATETASKNAMES existed. Since it
does exist, lets simply the code.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolib/oe/patch: Use force option when creating symlinks to patches
Richard Purdie [Fri, 14 Dec 2012 17:21:05 +0000 (17:21 +0000)]
lib/oe/patch: Use force option when creating symlinks to patches

Under the scenario where you have an existing source tree and you then
change one of the patches, maybe to be architecture or machine specific,
then rebuild, the build will fail since the symlink already exists
but should now point at a different file.

The easiest fix is to tell the system to remove and recreate the link
which is done with the force option.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agodistutils: Replacing path to native python by path to python in the image to support...
Lukas Bulwahn [Thu, 13 Dec 2012 16:55:38 +0000 (17:55 +0100)]
distutils: Replacing path to native python by path to python in the image to support python packages with console-script setup

When using distutils for a python package based on a python-setuptools
installation script that sets up a console script, the header
of the console script created by setuptools points to the
python-native path.

The console scripts are commonly executed in the image, but not
in the sysroot environment. Therefore, the header of the
console scripts should point to the python interpreter in the
image.

Setuptools does not allow to set the path of the python
interpreter via some command-line argument.
Hence after the installation script ran, the distutils
class replaces the path in the console script files created by
the installation.

Signed-off-by: Lukas Bulwahn <Lukas.Bulwahn@oss.bmw-carit.de>
sgw - added \ to protect the space.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoxserver-xorg: add libgcrypt dependency
Marko Lindqvist [Thu, 13 Dec 2012 17:46:24 +0000 (19:46 +0200)]
xserver-xorg: add libgcrypt dependency

Build failed because of missing libgcrypt.

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agocups CVE-2011-3170
Li Wang [Thu, 13 Dec 2012 07:24:07 +0000 (15:24 +0800)]
cups CVE-2011-3170

the patch come from:
http://cups.org/strfiles/3914/str3914.patch

The gif_read_lzw function in filter/image-gif.c in CUPS 1.4.8 and
earlier does not properly handle the first code word in an LZW stream,
which allows remote attackers to trigger a heap-based buffer overflow,
and possibly execute arbitrary code, via a crafted stream, a different
vulnerability than CVE-2011-2896.
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2011-3170

[YOCTO #3583]
[ CQID: WIND00299594 ]
Upstream-Status: Backport

Signed-off-by: Li Wang <li.wang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agocups - CVE-2011-2896
Li Wang [Thu, 13 Dec 2012 07:24:06 +0000 (15:24 +0800)]
cups - CVE-2011-2896

the patch come from:
http://cups.org/strfiles/3867/str3867.patch

The LZW decompressor in the LWZReadByte function in giftoppm.c
in the David Koblas GIF decoder in PBMPLUS, as used in the
gif_read_lzw function in filter/image-gif.c in CUPS before 1.4.7,
the LZWReadByte function in plug-ins/common/file-gif-load.c
in GIMP 2.6.11 and earlier, the LZWReadByte function in img/gifread.c
in XPCE in SWI-Prolog 5.10.4 and earlier, and other products,
does not properly handle code words that are absent from the
decompression table when encountered, which allows remote attackers to
trigger an infinite loop or a heap-based buffer overflow, and possibly
execute arbitrary code, via a crafted compressed stream, a related
issue to CVE-2006-1168 and CVE-2011-2895.
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2011-2896

[YOCTO #3582]
[ CQID: WIND00299595 ]
Upstream-Status: Backport

Signed-off-by: Li Wang <li.wang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolibrsvg: CVE-2011-3146
Li Wang [Thu, 13 Dec 2012 06:51:22 +0000 (14:51 +0800)]
librsvg: CVE-2011-3146

Store node type separately in RsvgNode

commit 34c95743ca692ea0e44778e41a7c0a129363de84 upstream

The node name (formerly RsvgNode:type) cannot be used to infer
the sub-type of RsvgNode that we're dealing with, since for unknown
elements we put type = node-name. This lead to a (potentially exploitable)
crash e.g. when the element name started with "fe" which tricked
the old code into considering it as a RsvgFilterPrimitive.
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2011-3146

https://bugzilla.gnome.org/show_bug.cgi?id=658014

[YOCTO #3581]
[ CQID: WIND00376773 ]
Upstream-Status: Backport

Signed-off-by: Li Wang <li.wang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolibxml2 CVE-2012-2871
Li Wang [Thu, 13 Dec 2012 05:54:21 +0000 (13:54 +0800)]
libxml2 CVE-2012-2871

the patch come from:
http://src.chromium.org/viewvc/chrome/trunk/src/third_party/libxml/src \
/include/libxml/tree.h?r1=56276&r2=149930

libxml2 2.9.0-rc1 and earlier, as used in Google Chrome before 21.0.1180.89,
does not properly support a cast of an unspecified variable during handling
of XSL transforms, which allows remote attackers to cause a denial of service
or possibly have unknown other impact via a crafted document, related to the
_xmlNs data structure in include/libxml/tree.h.

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

[YOCTO #3580]
[ CQID: WIND00376779 ]
Upstream-Status: Pending

Signed-off-by: Li Wang <li.wang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agocups: CVE-2012-5519
Li Wang [Thu, 13 Dec 2012 04:25:26 +0000 (12:25 +0800)]
cups: CVE-2012-5519

lpadmin to (limited) root privilege escalation
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2012-5519
http://www.cups.org/strfiles/4223/str4223v2-1.4.4-debian.patch

[YOCTO #3579]
[ CQID: WIND00392016 ]
Upstream-Status: Backport

Signed-off-by: Li Wang <li.wang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolinux-firmware: split out ralink drivers
Anders Darander [Thu, 13 Dec 2012 09:35:59 +0000 (10:35 +0100)]
linux-firmware: split out ralink drivers

To reduce disk usage on systems using the ralink driver, split out the ralink firmware
to a separate package.

Signed-off-by: Anders Darander <anders@chargestorm.se>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agomesa: remove dependency on mesa-dri in mesa-dri-dev
Ross Burton [Thu, 13 Dec 2012 15:30:31 +0000 (15:30 +0000)]
mesa: remove dependency on mesa-dri in mesa-dri-dev

Move /etc/drirc to libdricommon so mesa-dri is empty, and remove the automatic
dependency on mesa-dri in mesa-dri-dev.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoautotools: copy also remove-potcdate.sin from ${STAGING_DATADIR_NATIVE}/gettext/po
Martin Jansa [Wed, 12 Dec 2012 22:33:43 +0000 (23:33 +0100)]
autotools: copy also remove-potcdate.sin from ${STAGING_DATADIR_NATIVE}/gettext/po

* some packages (e.g. uptime, cpu, forecasts, news from meta-efl)
  don't have remove-potcdate.sin in po subdirectory, but Makefile.in.in
  supplied by autotools.bbclass depends on it and fails without like this:
  | make[3]: Entering directory `/OE/shr-core/tmp-eglibc/work/x86_64-oe-linux/uptime/0.0.2+svnr80477-r0.0/E-MODULES-EXTRA/uptime/po'
  | make[3]: *** No rule to make target `remove-potcdate.sin', needed by `remove-potcdate.sed'.  Stop.
  | make[3]: Leaving directory `/OE/shr-core/tmp-eglibc/work/x86_64-oe-linux/uptime/0.0.2+svnr80477-r0.0/E-MODULES-EXTRA/uptime/po'
  | make[2]: *** [uptime.pot] Error 2

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agogettext: move remove-potcdate.sin from gettext-native to gettext-minimal-native
Martin Jansa [Wed, 12 Dec 2012 23:48:40 +0000 (00:48 +0100)]
gettext: move remove-potcdate.sin from gettext-native to gettext-minimal-native

* now autotools.bbclass are copying not only Makefile.in.in but also
  remove-potcdate.sin which is used by Makefile.in.in, so we need to
  provide this file already in gettext-minimal-native otherwise build
  can fail, when autotools.bbclass is used before gettext-native (full)
  is built.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoghostscript-native:fix host underlinking issues
Hongxu Jia [Thu, 13 Dec 2012 02:17:43 +0000 (10:17 +0800)]
ghostscript-native:fix host underlinking issues

The ghostscript-native will check libtiff
automatically at configure time and libtiff
needs libjpeg. If libtiff and libjpeg is
just populated to staging native directories
and the host doesn't install them, the libjpeg
could not be linked, fail with:

|libjpeg.so.8, needed by libtiff.so, not found
|libtiff.so: undefined reference to
`jpeg_set_defaults@LIBJPEG_8.0'
|collect2: error: ld returned 1 exit status

Disable libtiff support to fix this issue and
modify configure to let disable system libtiff
could work.
We also explicity disable fontconfig, freetype,
cups for ghostscript-native to avoid the similar
issues.

[YOCTO #3562]

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agosquashfs: fix CVE-2012-4025
yanjun.zhu [Tue, 11 Dec 2012 10:00:32 +0000 (18:00 +0800)]
squashfs: fix CVE-2012-4025

CQID:WIND00366813

Reference: http://squashfs.git.sourceforge.net/git/gitweb.cgi?
p=squashfs/squashfs;a=patch;h=8515b3d420f502c5c0236b86e2d6d7e3b23c190e

Integer overflow in the queue_init function in unsquashfs.c in
unsquashfs in Squashfs 4.2 and earlier allows remote attackers
to execute arbitrary code via a crafted block_log field in the
superblock of a .sqsh file, leading to a heap-based buffer overflow.

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

Signed-off-by: yanjun.zhu <yanjun.zhu@windriver.com>
[YOCTO #3564]
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoiperf: pass in target path vars
Fahad Usman [Wed, 12 Dec 2012 11:26:12 +0000 (16:26 +0500)]
iperf: pass in target path vars

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
the patch was imported from meta-mentor layer on yoctoproject git server
http://git.yoctoproject.org/cgit/cgit.cgi/meta-mentor as of commit id
71748b54694f4ffe2d598da71f641969df1417c0

slightly modified the patch to apply it on .bb file instead of .bbappend

Signed-off-by: Fahad Usman <fahad_usman@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoperf: pass CFLAGS and LDFLAGS
Fahad Usman [Wed, 12 Dec 2012 11:26:11 +0000 (16:26 +0500)]
perf: pass CFLAGS and LDFLAGS

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
the patch was imported from meta-mentor layer on yoctoproject git server
http://git.yoctoproject.org/cgit/cgit.cgi/meta-mentor as of commit id
9d698004137c1a888d40d6a4808d94afa22387e7

Signed-off-by: Fahad Usman <fahad_usman@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoperf: kill -Werror
Fahad Usman [Wed, 12 Dec 2012 07:08:37 +0000 (12:08 +0500)]
perf: kill -Werror

this fails to build using a recent sourcery toolchain due to
unused-but-set-variable

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
the patch was imported from meta-mentor layer on yoctoproject git server
http://git.yoctoproject.org/cgit/cgit.cgi/meta-mentor as of commit ids
82e96b3baa1c64d03412871fce56d496a338f167 and
ae325d011bd50501fe677c8b37295ae83030c526

Signed-off-by: Fahad Usman <fahad_usman@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agonewt: enable python support
Kang Kai [Wed, 12 Dec 2012 10:48:07 +0000 (18:48 +0800)]
newt: enable python support

Compile newt with python support. There may be packages that need newt's
python extension.

Add python to DEPENDS. And add patch fix_python_fpic.patch to compile
python .so module with flag -fPIC.

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agonative tools set packagegroup
Hongxu Jia [Wed, 12 Dec 2012 10:01:02 +0000 (18:01 +0800)]
native tools set packagegroup

This packagegroup is a toolset that contains most
of the native packages.

[YOCTO #3298]

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agopackage_rpm: Workaround for 'all' arch multilib package naming
Mark Hatle [Tue, 11 Dec 2012 22:05:49 +0000 (16:05 -0600)]
package_rpm: Workaround for 'all' arch multilib package naming

[YOCTO #3565]

All packages should not be multilib specific, however when the multilib
rules run, they automatically rename the 'all' target recipes.  As such
there is no way to know if an 'all' package should or should not contain
the multilib prefix.  We workaround this issue in the translate function
by checking to see if the runtime-reverse file exists or not.

The workaround should be removed once a proper solution to the architectural
issue is in place.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agopackage_rpm.bbclass: Add a simply way to enable RPM debugging
Mark Hatle [Tue, 11 Dec 2012 17:59:04 +0000 (11:59 -0600)]
package_rpm.bbclass: Add a simply way to enable RPM debugging

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agorpm/smart: Fix runtime-relocation issues w/ RPM and Smart
Mark Hatle [Tue, 11 Dec 2012 14:09:40 +0000 (08:09 -0600)]
rpm/smart: Fix runtime-relocation issues w/ RPM and Smart

Fix runtime-relocation issues with the RPM and Smart wrappers.

In addition the patches were necessary to fix related problems.
The changes to the includes three categories of issues:
  *) Incorrect pathname evaluations
  *) Incorrect evaluation of the /etc/rpm/platform file contents
  *) Confusing vendor #define checks

Finally, a simple way to debug the platformScore was added as
that is necessary to debug how this works and into the smart system.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agopackage_rpm.bbclass: Add additional install error detection
Mark Hatle [Mon, 10 Dec 2012 16:55:03 +0000 (10:55 -0600)]
package_rpm.bbclass: Add additional install error detection

There is a condition where the package will fail to install, but smart does
not capture the error.  Add the error string to the scan list.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agopackage_rpm.bbclass: Add support for incremental installs
Mark Hatle [Sat, 1 Dec 2012 18:51:41 +0000 (12:51 -0600)]
package_rpm.bbclass: Add support for incremental installs

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agopackage_rpm.bbclass: Add additional logging
Mark Hatle [Sat, 1 Dec 2012 18:51:06 +0000 (12:51 -0600)]
package_rpm.bbclass: Add additional logging

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agopackage_rpm.bbclass: Fix the way the RPM platform file is generated
Mark Hatle [Tue, 11 Dec 2012 17:57:21 +0000 (11:57 -0600)]
package_rpm.bbclass: Fix the way the RPM platform file is generated

When generating an SDK, we need to use either the SDK or TARGET version
of the OS.  They are not interchangable!

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agopackage_rpm: Update the way the multilib package names are translated
Mark Hatle [Fri, 30 Nov 2012 22:11:37 +0000 (16:11 -0600)]
package_rpm: Update the way the multilib package names are translated

The variable MULTILIB_PACKAGE_ARCHS has been removed in favor of a
repurposed MULTILIB_PREFIX_LIST.  The format of this item is now
<libid>:<arch>:<arch1>:...:<archN>.  This ensures that we can correctly
translate the libid to one of the supported archs in a tri-lib system.

All of the users of MULTILIB_PREFIX_LIST and MULTILIB_PACKAGE_ARCHS have
been modified accordingly.

Also change the way attempted packages are installed, verify the package
exists in the translate functions, then perform the install in one single
operation.  This results in a significantly faster install time.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoUpdate sanity tests to use smart instead of zypper
Paul Eggleton [Mon, 10 Dec 2012 16:03:00 +0000 (16:03 +0000)]
Update sanity tests to use smart instead of zypper

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoclasses/rootfs_rpm: install smart instead of zypper in rpm-based images
Paul Eggleton [Fri, 30 Nov 2012 18:59:39 +0000 (18:59 +0000)]
classes/rootfs_rpm: install smart instead of zypper in rpm-based images

Switch over to smart on the target when package-management is enabled.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoclasses/*_rpm: integrate Smart into RPM filesystem construction
Paul Eggleton [Thu, 29 Nov 2012 15:43:16 +0000 (15:43 +0000)]
classes/*_rpm: integrate Smart into RPM filesystem construction

Use Smart to construct the root filesystem for images and the contents
of SDKs rather than the custom scripts around rpm we had previously.
This ensures the result when producing an updated image will be the
same as upgrading to the same package versions from an older image on
the target, as well as allowing us to remove a substantial amount of
code making the rpm classes much easier to follow.

Some bugfixes from Bogdan Marinescu <bogdan.marinescu@intel.com>.
SDK implementation and testing as well as a number of bugfixes from
Mark Hatle <mark.hatle@windriver.com>.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agorunqemu: add support for FSTYPE=vmdk
Trevor Woerner [Tue, 11 Dec 2012 01:55:25 +0000 (20:55 -0500)]
runqemu: add support for FSTYPE=vmdk

Allow vmdk images to be run through the 'runqemu' facility.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agomkelfimage-native:make failed if libz not in host
Hongxu Jia [Fri, 7 Dec 2012 05:58:34 +0000 (13:58 +0800)]
mkelfimage-native:make failed if libz not in host

mkelfimage-native finds libz from host dir, not
from the staging directories.

Modify confiugre.ac to let makefile find libz
and zlib.h by CFLAGS and LDFLAGS.

[YOCTO #3547]

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agopopulate_sdk_base: Add perl modules as needing to be relocated
Mark Hatle [Fri, 14 Dec 2012 17:38:47 +0000 (11:38 -0600)]
populate_sdk_base: Add perl modules as needing to be relocated

The perl module for automake has an embedded path in it, this needs
to be relocated.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibsoup: RRECOMMEND glib-networking
Ross Burton [Fri, 14 Dec 2012 16:40:15 +0000 (16:40 +0000)]
libsoup: RRECOMMEND glib-networking

Without glib-networking, libsoup can't do SSL, proxies, and probably more.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoe2fsprogs: fix out-of-tree builds
Ross Burton [Fri, 14 Dec 2012 14:51:24 +0000 (14:51 +0000)]
e2fsprogs: fix out-of-tree builds

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agofont-util: fix out-of-tree builds
Ross Burton [Fri, 14 Dec 2012 14:51:23 +0000 (14:51 +0000)]
font-util: fix out-of-tree builds

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobase-passwd: fix out-of-tree builds
Ross Burton [Fri, 14 Dec 2012 14:51:22 +0000 (14:51 +0000)]
base-passwd: fix out-of-tree builds

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibgcrypt: fix out-of-tree builds
Ross Burton [Fri, 14 Dec 2012 14:51:21 +0000 (14:51 +0000)]
libgcrypt: fix out-of-tree builds

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogperf: fix out-of-tree builds
Ross Burton [Fri, 14 Dec 2012 14:51:20 +0000 (14:51 +0000)]
gperf: fix out-of-tree builds

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoossp-uuid: fix out-of-tree builds
Ross Burton [Fri, 14 Dec 2012 14:51:19 +0000 (14:51 +0000)]
ossp-uuid: fix out-of-tree builds

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopkgconfig: fix out-of-tree builds
Ross Burton [Fri, 14 Dec 2012 14:51:18 +0000 (14:51 +0000)]
pkgconfig: fix out-of-tree builds

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoapr: fix out-of-tree builds
Ross Burton [Fri, 14 Dec 2012 14:51:17 +0000 (14:51 +0000)]
apr: fix out-of-tree builds

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agocurl: fix out-of-tree builds
Ross Burton [Fri, 14 Dec 2012 14:51:16 +0000 (14:51 +0000)]
curl: fix out-of-tree builds

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoUpdate the SRC_URI in systemtap recipe
Maxin B. John [Fri, 14 Dec 2012 12:00:28 +0000 (13:00 +0100)]
Update the SRC_URI in systemtap recipe

The SRC_URI in systemtap recipe uses 'sources.redhat.com' which
redirects to 'sourceware.org'. This causes random fetch failures.
Updating the recipe to use the direct link.

Signed-off-by: Maxin B. John <Maxin.John@enea.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogitignore: Add hob-image-*.bb
Richard Purdie [Fri, 14 Dec 2012 13:07:52 +0000 (13:07 +0000)]
gitignore: Add hob-image-*.bb

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoDisabling audio on when running runqemu qemuarm
Andrei Dinu [Thu, 13 Dec 2012 16:08:08 +0000 (18:08 +0200)]
Disabling audio on when running runqemu qemuarm

Added the change that prevented runqemu to throw
sound errors.

[YOCTO #3528]

Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomodule.bbclass: make sure do_make_scripts() executes after do_patch()
Tom Zanussi [Fri, 14 Dec 2012 05:27:09 +0000 (23:27 -0600)]
module.bbclass: make sure do_make_scripts() executes after do_patch()

If do_make_scripts() executes before do_unpack()/do_patch(), the build
fails because it can't cd into the workdir of a recipe using this
class, so make sure do_make_scripts() doesn't run before the package
has been unpacked and patched.

Fixes [YOCTO #3589].

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agochrpath.bbclass: Normalize rpath only of it doesn't contain ORIGIN variable
Andrei Gherzan [Fri, 14 Dec 2012 02:15:03 +0000 (04:15 +0200)]
chrpath.bbclass: Normalize rpath only of it doesn't contain ORIGIN variable

If we normalize a rpath which contains ORIGIN variable, the binary will end
up without those rpaths at all. So check first if rpath contains ORIGIN variable
and if not, move on and normalize it.

Signed-off-by: Andrei Gherzan <andrei.gherzan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomesa-dri-git: remove patch that doesn't apply to 9.x
Ross Burton [Thu, 13 Dec 2012 17:36:08 +0000 (17:36 +0000)]
mesa-dri-git: remove patch that doesn't apply to 9.x

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoeglibc: fix checksums of fetched patches
Marko Lindqvist [Thu, 13 Dec 2012 16:39:22 +0000 (18:39 +0200)]
eglibc: fix checksums of fetched patches

As downloaded files are not named, tarball checksum is used also
for downloaded patches, causing checksum check for them to fail.
Added correct checksums of their own for all downloaded files.

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agochrpath: normalize the paths
Saul Wold [Wed, 12 Dec 2012 01:40:57 +0000 (17:40 -0800)]
chrpath: normalize the paths

By normalizing the paths the path comparing code works correct
to generate the right RPATH even when there is a A/../A in TMPDIR

[YOCTO #3408]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibacpi: Remove QA warning: No GNU_HASH in the elf binary
Muhammad Shakeel [Wed, 12 Dec 2012 11:35:41 +0000 (16:35 +0500)]
libacpi: Remove QA warning: No GNU_HASH in the elf binary

Handle LDFLAGS properly 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: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomesa: package osmesa.pc
Ross Burton [Wed, 12 Dec 2012 10:38:42 +0000 (10:38 +0000)]
mesa: package osmesa.pc

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agocoreutils_6.9: Update the older coreutils to no longer provide 'su'
Mark Hatle [Wed, 12 Dec 2012 18:31:36 +0000 (18:31 +0000)]
coreutils_6.9: Update the older coreutils to no longer provide 'su'

'su' was removed from newer versions of coreutils, and in OE-Core
we pick up 'su' from shadow instead. So simply remove the binary
from the install image to match expected behavior and avoid failures
due to conflicting 'su' binaries during do_rootfs when building
non-GPLv3 images.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agorootfs_rpm.bbclass: Revert to default shell logging behavior
Mark Hatle [Wed, 12 Dec 2012 18:31:25 +0000 (18:31 +0000)]
rootfs_rpm.bbclass: Revert to default shell logging behavior

Remove the set +x, and revert to the normal logging behavior.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobootimg: Use FAT 32 for images larger than 512MB
Darren Hart [Wed, 12 Dec 2012 22:39:15 +0000 (14:39 -0800)]
bootimg: Use FAT 32 for images larger than 512MB

Fixes [YOCTO #2138]

Commit 217584211625b1c496fe5b78aa4765ccf605d2b9 dropped the forced use
of FAT32 for the hddimg generation as it broke with very small images
(< 32MB). Unfortunately, left to its own devices, mkdosfs appears to select
FAT16 even for very large images, resulting in 2.2GB images being
generated as FAT16:

$ ls -lah core-image-lsb-sdk-atom-pc-20121010233936.hddimg
-rw-rw-r-- 1 dvhart dvhart 2.2G 2012-10-17 08:00 core-image-lsb-sdk-atom-pc-20121010233936.hddimg

$ file !$
file core-image-lsb-sdk-atom-pc-20121010233936.hddimg
core-image-lsb-sdk-atom-pc-20121010233936.hddimg: x86 boot sector, code offset 0x58, OEM-ID "SYSLINUX", sectors/cluster 128, root entries 512, Media descriptor 0xf8, sectors/FAT 138, heads 64, sectors 4502496 (volumes > 32 MB) , serial number 0x50761926, label: "boot       ", FAT (16 bit)

The result was a runtime boot error from SYSLINUX and a failure to boot
live images greater than 1GB in size.

While strictly speaking it is the cluster count that determines which
FAT size is used, that calculation requires more information than we
have readily available (such as sectors per cluster). If we let mkdosfs
determine sectors per cluster and just set a sane threshold above which
FAT32 is used, we get correct bootable images. With this patch the 2.2GB
core-image-lsb-sdk uses FAT32 and the 21 MB core-image-minimal uses
FAT16, and both boot in qemu successfully:

$ ls -lah tmp/deploy/images/core-image-lsb-sdk-atom-pc-20121212220835.hddimg
-rw-r--r-- 1 dvhart dvhart 2.2G 2012-12-12 14:18 tmp/deploy/images/core-image-lsb-sdk-atom-pc-20121212220835.hddimg

$ file !$
file tmp/deploy/images/core-image-lsb-sdk-atom-pc-20121212220835.hddimg
tmp/deploy/images/core-image-lsb-sdk-atom-pc-20121212220835.hddimg: x86 boot sector, code offset 0x58, OEM-ID "SYSLINUX", sectors/cluster 8, Media descriptor 0xf8, heads 64, sectors 4470304 (volumes > 32 MB) , FAT (32 bit), sectors/FAT 4357, reserved3 0x800000, serial number 0x50c902b7, label: "boot       "

$ ls -lah tmp/deploy/images/core-image-minimal-atom-pc-20121212220600.hddimg
-rw-r--r-- 1 dvhart dvhart 21M 2012-12-12 14:06 tmp/deploy/images/core-image-minimal-atom-pc-20121212220600.hddimg

$ file !$
file tmp/deploy/images/core-image-minimal-atom-pc-20121212220600.hddimg
tmp/deploy/images/core-image-minimal-atom-pc-20121212220600.hddimg: x86 boot sector, code offset 0x58, OEM-ID "SYSLINUX", sectors/cluster 4, root entries 512, sectors 41408 (volumes <=32 MB) , Media descriptor 0xf8, sectors/FAT 41, heads 64, serial number 0x50c8ffec, label: "boot       ", FAT (16 bit)

I have tested and booted core-image-minimal and core-image-lsb-sdk for
atom-pc with qemu-system-i386 using this patch.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Cc: Steve Sakoman <steve@sakoman.com>
Cc: Joshua Immanuel <josh@hipro.co.in>
Cc: Przemek Czesnowicz <przemyslawx.czesnowicz@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoeglibc: remove dependency of eglibc-utils on bash
Paul Eggleton [Wed, 12 Dec 2012 14:15:25 +0000 (14:15 +0000)]
eglibc: remove dependency of eglibc-utils on bash

Adapt a patch from Peter Seebach <peter.seebach@windriver.com> to remove
the non-POSIX elements from the tzselect script, and add a separate
patch to work around a bug in the current version of busybox's awk
command. This replaces the /bin/bash reference in the script header with
/bin/sh and thus eliminates the dependency on bash picked up during
packaging.

Fixes [YOCTO #3551].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agotar: apply fedora patch for fortify sources sigabort
Fahad Usman [Wed, 12 Dec 2012 13:01:32 +0000 (18:01 +0500)]
tar: apply fedora patch for fortify sources sigabort

See https://qa.mandriva.com/show_bug.cgi?id=61419 for details.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
the patch was imported from meta-mentor layer on yoctoproject git server
http://git.yoctoproject.org/cgit/cgit.cgi/meta-mentor as of commit id
333d2e0510a1e052cb83a6f8beed6d8bcea59b2c

Signed-off-by: Fahad Usman <fahad_usman@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomatchbox-keyboard: fix the build with libpng15
Ross Burton [Wed, 12 Dec 2012 11:53:57 +0000 (11:53 +0000)]
matchbox-keyboard: fix the build with libpng15

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibmatchbox: upgrade to 1.10, drop git
Ross Burton [Tue, 11 Dec 2012 21:54:29 +0000 (21:54 +0000)]
libmatchbox: upgrade to 1.10, drop git

All patches have been upstreamed so drop them, and as upstream isn't heavily
developed drop the git recipe.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibpng: enable nativesdk variant
Constantin Musca [Mon, 10 Dec 2012 08:08:11 +0000 (08:08 +0000)]
libpng: enable nativesdk variant

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agocreate-pull-request: detect trailing white space
Nitin A Kamble [Tue, 11 Dec 2012 17:28:03 +0000 (09:28 -0800)]
create-pull-request: detect trailing white space

Add logic in the create-pull-request to detect and warn about the
trailing white space inserted by patches.

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoeglibc: add AArch64 support
Marcin Juszkiewicz [Mon, 10 Dec 2012 17:20:58 +0000 (18:20 +0100)]
eglibc: add AArch64 support

Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agogdk-pixbuf: handle postinstall errors differently
Laurentiu Palcu [Mon, 10 Dec 2012 14:31:21 +0000 (16:31 +0200)]
gdk-pixbuf: handle postinstall errors differently

Apparently gdk-pixbuf-query-loaders always returns 0 but writes any
errors to stderr. So, the conditional exit at the end of the command was
useless. Write the errors to a file and exit only if the file size is
greater than 0.

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agopopulate_sdk_(deb|ipk|rpm): export NATIVE_ROOT and INTERCEPT_DIR variables
Laurentiu Palcu [Mon, 10 Dec 2012 14:30:03 +0000 (16:30 +0200)]
populate_sdk_(deb|ipk|rpm): export NATIVE_ROOT and INTERCEPT_DIR variables

In order for the postinstall scripts to have access to the recent
improvements when generating the target SDK sysroot, export these
variables in populate_sdk.

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agotelepathy-glib: remove pkgconfig dependency in pkgconfig
Ross Burton [Mon, 10 Dec 2012 15:23:07 +0000 (15:23 +0000)]
telepathy-glib: remove pkgconfig dependency in pkgconfig

A pkg-config file depending on pkg-config doesn't really make sense, and this is
causing unexpected dependencies on pkg-config at image contruction time (see

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolibpcre: Improve the recipe
Fahad Usman [Mon, 10 Dec 2012 14:51:21 +0000 (19:51 +0500)]
libpcre: Improve the recipe

- Improve the cross patch to determine *_FOR_BUILD in configure

- Leverage the fact that autotools.bbclass handles *_FOR_BUILD now

- Drop the now unnecessary do_compile override

- Drop the do_split_packages

- Split out packages for pcregrep, pcretest, in addition to libpcrecpp and
libpcreposix

- add nativesdk to BBCLASSEXTEND as well as native

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
- the patch was imported from meta-mentor layer on yoctoproject git server
http://git.yoctoproject.org/cgit/cgit.cgi/meta-mentor as of commit id
62f819b97e356c1d7468fbccbf3a3ceed78b09a8

- broken up the original patch in two parts, this part contains some
improvements to the recipe and the cross patch

Signed-off-by: Fahad Usman <fahad_usman@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolibpcre: upgrade to 8.32
Fahad Usman [Mon, 10 Dec 2012 14:51:20 +0000 (19:51 +0500)]
libpcre: upgrade to 8.32

- Also improve description
- Add summary and homepage

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
- the patch was imported from meta-mentor layer on yoctoproject git server
http://git.yoctoproject.org/cgit/cgit.cgi/meta-mentor as of commit id
62f819b97e356c1d7468fbccbf3a3ceed78b09a8

- broken up the original patch in two parts, this first part upgrades the
version to 8.32

Signed-off-by: Fahad Usman <fahad_usman@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolibuser: enable python support
Kang Kai [Mon, 10 Dec 2012 09:37:15 +0000 (17:37 +0800)]
libuser: enable python support

Compile libuser with python support and add python to DEPENDS.

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoqemu: upgrade to 1.3.0
Constantin Musca [Mon, 10 Dec 2012 08:08:13 +0000 (10:08 +0200)]
qemu: upgrade to 1.3.0

remove-hardcoded-libexec.patch: removed
    - included in the new version

qemu-vmware-vga-depth.patch: removed
    - doesn't apply anymore
    - the problem addressed by the patch is fixed by
reverting commit 1f202568e0553b416483e5993f1bde219c22cf72

Revert-vmware_vga-Add-back-some-info-in-local-state-.patch:
    - VMware VGA requires that the depth presented to the guest
to be the same as the Display Surface depth in order to do not
corrupt the display
    - do not cache the DS depth (the depth might change)
    - revert commit 1f202568

- QEMU now uses pixman (DEPENDS += "pixman")
- rearrange the recipe in order to mimic the bitbake flow
- update both variants (.tar.bz2, git)

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agopixman: upgrade to 0.28.0
Constantin Musca [Mon, 10 Dec 2012 08:08:12 +0000 (10:08 +0200)]
pixman: upgrade to 0.28.0

* Generic-C-implementation-of-pixman_blt-with-overlapp.patch:
    - adapted to the new version
* enable nativesdk variant

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agodocumentation-audit.sh: Add/fix checks for skipped lines.
Robert P. J. Day [Sun, 9 Dec 2012 12:39:21 +0000 (07:39 -0500)]
documentation-audit.sh: Add/fix checks for skipped lines.

Have the script skip:

  * "Recipe" lines.
  * Lines with 11 "=", not 12.

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agobitbake.conf/utils: Drop some OVERRIDES from FILESPATH
Richard Purdie [Fri, 7 Dec 2012 17:38:23 +0000 (17:38 +0000)]
bitbake.conf/utils: Drop some OVERRIDES from FILESPATH

There are several overrides that don't make sense as part of FILESPATH. This
introduces FILESOVERRIDES and allows us to drop some of the pointless ones,
simplifying the files search path further and improving the user experience.

If needed by specific recipes, other overrides can be added back in for
specific cases.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agox11vnc: bind vnc server to port 5900
Laurentiu Palcu [Tue, 11 Dec 2012 12:41:49 +0000 (14:41 +0200)]
x11vnc: bind vnc server to port 5900

At the moment, if one clicks on X11VNC Server icon, a new vnc server is
started on an automatically assigned port (starting with 5900). The
problem is that the user can click multiple times on the icon and a new
vnc server is started on another port. So, we'll end up with multiple
vnc servers, wasting memory.

This patch will restrict the x11vnc server port to 5900 (default VNC
port) and another process will not be started (because the port is
already used), unless the user chooses to start the server manually,
from the command line, in which case the port can be changed as the
user wishes.

[YOCTO #3369]

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopackage.bbclass: prepend MLPREFIX to LOCALEBASEPN
Constantin Musca [Tue, 11 Dec 2012 15:29:42 +0000 (17:29 +0200)]
package.bbclass: prepend MLPREFIX to LOCALEBASEPN

We need to prepend MLPREFIX to LOCALEBASEPN in order to
fully enable multilib

[YOCTO #3440]

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomultilib.bbclass: fix do_package_qa_multilib
Constantin Musca [Tue, 11 Dec 2012 15:29:41 +0000 (17:29 +0200)]
multilib.bbclass: fix do_package_qa_multilib

The packages which start with "rtld" are ok

[YOCTO #3440]

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobuild-appliance: Updated to include bblayers.conf.sample fix
Cristian Iorga [Tue, 11 Dec 2012 13:48:18 +0000 (15:48 +0200)]
build-appliance: Updated to include bblayers.conf.sample fix

In Build Appliance, Hob didn't start because it crashed
checking bblayers.conf

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobuild-appliance: provides git proxified acces
Cristian Iorga [Tue, 11 Dec 2012 13:55:54 +0000 (15:55 +0200)]
build-appliance: provides git proxified acces

Inside Build Appliance, external repos can be
accesed using the git protocol through a proxy

Fixes [YOCTO #3175]

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomesa-dri: upgrade -git version to current master
Ross Burton [Thu, 6 Dec 2012 12:23:33 +0000 (12:23 +0000)]
mesa-dri: upgrade -git version to current master

license.html was reformated so the checksum changed.

The GLSL compiler can be built using CC_FOR_BUILD, so we don't need
mesa-dri-glsl-native.

Update common packaging to include libdricore and the skeleton libgles3, and
remove the driver .la files.

mesa-git/uclibc.patch isn't applied, remove.

x32 support is integrated into mklib, drop 0003-fix-for-x32.patch.

uclibc is checked for upstream, drop 0001-Compile-with-uclibc.patch.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agomesa: upgrade to 8.0.5
Ross Burton [Thu, 6 Dec 2012 12:23:32 +0000 (12:23 +0000)]
mesa: upgrade to 8.0.5

Licence checksum change, use an upstream source file instead of a generated
file: we were previously checksumming the Bison license.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agomesa: common packaging cleanup
Ross Burton [Thu, 6 Dec 2012 12:23:31 +0000 (12:23 +0000)]
mesa: common packaging cleanup

mesa-dri ships the configuration file in mesa 9, so ship that and don't claim
it's empty.   Clean up libegl and libgbm packaging.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agomtd-utils:fix corrupt cleanmarker with flash_erase -j command
Chunrong Guo [Thu, 6 Dec 2012 06:27:37 +0000 (00:27 -0600)]
mtd-utils:fix corrupt cleanmarker with flash_erase -j command

     *Flash_erase -j should fill discrete freeoob areas with required bytes
     of JFFS2 cleanmarker in jffs2_check_nand_cleanmarker(). Not just fill
     the first freeoob area.

Signed-off-by: Chunrong Guo <b40290@freescale.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agonativesdk-qt4-tools: fix do_configure to be reentrant
Martin Jansa [Wed, 5 Dec 2012 21:59:02 +0000 (22:59 +0100)]
nativesdk-qt4-tools: fix do_configure to be reentrant

* without = it can add g++ prefix multiple time when you reexecute do_configure (e.g. after failure)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoqt4: upgrade to 4.8.4
Martin Jansa [Wed, 5 Dec 2012 21:59:01 +0000 (22:59 +0100)]
qt4: upgrade to 4.8.4

* changes in licenses are only s/Nokia/Digia/

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agopackage.bbclass: make do_split_packages handle non-existent root directories
Ross Burton [Thu, 6 Dec 2012 12:53:14 +0000 (12:53 +0000)]
package.bbclass: make do_split_packages handle non-existent root directories

This function has different behaviour if the split directory doesn't exist
depending on the recursive argument: non-recursive uses os.listdirs which throws
an exception, recursive uses os.walk which doesn't.

do_split_packages should silently handle non-existent directories because it's
mainly used for plugin directories, which may end up being empty though changing
the distro configuration (for example, connman without wifi distro feature).

So, add an early exit if the split root doesn't exist.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
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>