]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
10 years agosystemd: add PACKAGECONFIG for xkbcommon and iptables
Ross Burton [Fri, 27 Feb 2015 14:57:48 +0000 (14:57 +0000)]
systemd: add PACKAGECONFIG for xkbcommon and iptables

systemd has optional support for xkbcommon (verify keymaps when locale changes)
and iptables (configure NAT rules).

Add PACKAGECONFIG options for these, disabling iptables by default and
respecting the X11 DISTRO_FEATURE for libxkbcommon (as the code involves X11
keymaps).

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosystemd: use PACKAGECONFIG for PAM enable/disable
Ross Burton [Fri, 27 Feb 2015 14:57:47 +0000 (14:57 +0000)]
systemd: use PACKAGECONFIG for PAM enable/disable

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosystemd: add missing util-linux build-dependency
Ross Burton [Fri, 27 Feb 2015 14:57:46 +0000 (14:57 +0000)]
systemd: add missing util-linux build-dependency

This dependency accidently disappeared in the 219 upgrade, so add it back.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoowl-video: remove
Ross Burton [Fri, 27 Feb 2015 14:14:22 +0000 (14:14 +0000)]
owl-video: remove

The testapps packagegroup was the only user of owl-video, and now that has been
replaced by gst-player this can be deleted.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopackagegroups: use gst-player instead of owl-video
Ross Burton [Fri, 27 Feb 2015 14:14:21 +0000 (14:14 +0000)]
packagegroups: use gst-player instead of owl-video

owl-video is a bad video player that doesn't work very well, use gst-player
instead for testing.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosato: fix typo in packagegroup
Ross Burton [Fri, 27 Feb 2015 14:14:20 +0000 (14:14 +0000)]
sato: fix typo in packagegroup

The gtk-play binary is packaged in gst-player-bin...

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobuild-appliance-image: Update to master head revision
Richard Purdie [Fri, 27 Feb 2015 07:43:07 +0000 (07:43 +0000)]
build-appliance-image: Update to master head revision

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopython: Fix ctypes/libffi configure
Alejandro Hernandez [Thu, 26 Feb 2015 21:27:25 +0000 (15:27 -0600)]
python: Fix ctypes/libffi configure

Forces the creation of a configure script for ctypes/libffi Module
by calling autoreconf after it being deleted on do_configure().

Fixes configuration hence compilation of this Python module.

[YOCTO #7373]

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopackage_rpm.bbclass: support packaging of symlinks to directories
Patrick Ohly [Wed, 25 Feb 2015 14:53:29 +0000 (06:53 -0800)]
package_rpm.bbclass: support packaging of symlinks to directories

os.walk() returns symlinks to directories in the "dirs" lists, but then never
enters them by default. As a result, the old code applied neither the
directory handling (because that is active once a directory gets entered) nor
the file handling, and thus never packaged such symlinks.

The fix is simple: find such special directory entries and move them to the
"files" list. However, one has to be careful about the undefined behavior of
modifying a list while iterating over it.

This fix was required for packaging a modified base-files that created
symlinks into /usr for /sbin /lib and /sbin.

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibpcap: add pkg-config support
Joe MacDonald [Wed, 25 Feb 2015 04:39:01 +0000 (23:39 -0500)]
libpcap: add pkg-config support

libpcap was not previously installing a pkg-config file.  Add a basic one
that will allow using 'pkg-config --libs libpcap', for example, in recipes
rather than 'pcap-config', which frequently returns incorrect information.

Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosystemd: Upgrade 218 -> 219
Khem Raj [Wed, 25 Feb 2015 02:55:57 +0000 (02:55 +0000)]
systemd: Upgrade 218 -> 219

219 has been in the docks for sometime, the older patch got merged
this patch is now upgrading 218 to 219

Make all patches using git

Change-Id: Ib0350144592aba26cad56c13c9a5522515915c58
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibgpg-error: Upgrade 1.17 -> 1.18
Khem Raj [Wed, 25 Feb 2015 02:31:56 +0000 (02:31 +0000)]
libgpg-error: Upgrade 1.17 -> 1.18

License checksums changed due to year change

-   Copyright (C) 2003, 2004, 2010, 2013, 2014 g10 Code GmbH
+   Copyright (C) 2003, 2004, 2010, 2013, 2014, 2015 g10 Code GmbH

Change-Id: I870446796cf9ffe3acae7aeeac2d96d6305d4186
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogaku: remove (replaced by gst-player)
Ross Burton [Thu, 26 Feb 2015 17:59:02 +0000 (17:59 +0000)]
gaku: remove (replaced by gst-player)

Gaku was buggy and use GStreamer 0.10, gst-player is less buggy and uses
GStreamer 1.x.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosato: use gtk-play (from gst-player) instead of Gaku
Ross Burton [Thu, 26 Feb 2015 17:59:01 +0000 (17:59 +0000)]
sato: use gtk-play (from gst-player) instead of Gaku

The Gaku media player was always a bit incomplete and had some serious bugs.
gst-player doesn't have these bugs, is maintained, and uses GStreamer 1.x.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogst-player: add
Ross Burton [Thu, 26 Feb 2015 17:59:00 +0000 (17:59 +0000)]
gst-player: add

gst-player is a convenience library for handling media playback in GStreamer.
It also has a sample application that can be used as a basic media player for
testing.

Patch in a file selector for use without a terminal and a desktop file so it
appears in the desktop.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolib/oe/terminal: fix konsole terminal support for KDE 4.x
Paul Eggleton [Wed, 25 Feb 2015 11:22:25 +0000 (11:22 +0000)]
lib/oe/terminal: fix konsole terminal support for KDE 4.x

It seems that the --nofork option genuinely stops konsole from going
into the background now; I'm not sure when this changed but it does seem
to be working so we can use it. (Tested with Konsole 2.10 and 2.14.2).

Fixes [YOCTO #4934].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolib/oe/terminal: fix regressions
Paul Eggleton [Wed, 25 Feb 2015 11:22:24 +0000 (11:22 +0000)]
lib/oe/terminal: fix regressions

Fix up some issues introduced by OE-Core commit
818c94f5b9882c2028ef9f056714a0a3c9045551:

* If we want to support versions with more than two parts, versions with
  only one part, or versions with non-integer parts, then we have to
  stay with strings. We can use distutils.version.LooseVersion() to help
  with comparisons.
* We don't want a warning when launching gnome-terminal 3.10+ and
  logger.warn() doesn't take a first integer parameter anyway
  (logger.debug() does).
* Also clean up tabs.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobuild-appliance-image: Update to master head revision
Richard Purdie [Tue, 24 Feb 2015 23:37:49 +0000 (23:37 +0000)]
build-appliance-image: Update to master head revision

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoterminal.py: No --disable-factory for gnome-terminal >= 3.10
Sven Ebenfeld [Mon, 23 Feb 2015 19:39:41 +0000 (20:39 +0100)]
terminal.py: No --disable-factory for gnome-terminal >= 3.10

--disable-factory has been disabled in earlier versions of gnome-terminal
but from version 3.10 it raises an error and quits. This makes devshell
unusable with gnome-terminal >= 3.10. This patch checks for the version and
removes --disable-factory if you have the terminal version 3.10 or higher.

Signed-off-by: Sven Ebenfeld <sven.ebenfeld@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosystemd: Upgrade 216 -> 218
Khem Raj [Tue, 24 Feb 2015 18:07:26 +0000 (18:07 +0000)]
systemd: Upgrade 216 -> 218

Remove upstreamed patches as well as patches which arent needed anymore
since features are dropped from systemd e.g. userspace firmware download
Tested on qemux86

Change-Id: Ic53aaad198998de146c3a7702ef17de871de9de6
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoutil-linux: disable systemd
Ross Burton [Tue, 24 Feb 2015 18:07:25 +0000 (18:07 +0000)]
util-linux: disable systemd

systemd has a build-dependency on util-linux for libmount, and util-linux has an
optional build dependency on systemd.

The features in util-linux that enabling systemd gives you are:
* lslogins can show recent journal entries from the user
* uuidd can use socket activation and has a service file
* fstrim has a service file
* logger can write journal entries

These are not worth the overhead of maintaining two util-linux recipes to
bootstrap the cycle, so disable systemd support in util-linux.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopython-native: Fixes PGEN linking errors Changes Makefile rules to avoid parallel...
Alejandro Hernandez [Tue, 24 Feb 2015 06:08:08 +0000 (00:08 -0600)]
python-native: Fixes PGEN linking errors Changes Makefile rules to avoid parallel make races when trying to build Parser/PGEN

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoglibc: Help compile with -Os
Khem Raj [Tue, 24 Feb 2015 06:39:59 +0000 (06:39 +0000)]
glibc: Help compile with -Os

When we modify to use -Os
-Werror doesnt go well with it, glibc needs to be
cleaned up for that but until then lets disable -Werror
when using -Os

Also updates the options group patch to work better with -Os.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogst-plugins-package.inc: Avoid dependency on ${PN} from ${PN}-<plugin>
Peter Kjellerstedt [Sat, 21 Feb 2015 03:01:54 +0000 (04:01 +0100)]
gst-plugins-package.inc: Avoid dependency on ${PN} from ${PN}-<plugin>

A recent change to this file added a runtime dependency from ${PN} on
${PN}-meta since users tend to believe that installing the main
package will bring in all of the individual plugin packages, which
previously was not the case. However, since all plugin packages had a
dependency on the main package, this caused all plugin packages to be
pulled in whenever one plugin package was installed...

Since the main package is now guaranteed to be empty, there is no
reason for the plugin packages to depend on it any more.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agorecipes: Delete superfluous assignments, S = ${WORKDIR}/${BP}
Robert P. J. Day [Sat, 21 Feb 2015 21:28:42 +0000 (16:28 -0500)]
recipes: Delete superfluous assignments, S = ${WORKDIR}/${BP}

Given that bitbake.conf sets the default values:

BP = "${BPN}-${PV}"
S = "${WORKDIR}/${BP}"

there are a number of recipes that set the variable S completely
superfluously, so get rid of them.

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobusybox:udhcpc: Remove the routes from the right interface
Holger Hans Peter Freyther [Sat, 21 Feb 2015 20:13:08 +0000 (21:13 +0100)]
busybox:udhcpc: Remove the routes from the right interface

When using iproute2 to remove the route all default rules
will be removed. Scope the removal by interface like it is
done with ifconfig.

Signed-off-by: Holger Hans Peter Freyther <holger@moiji-mobile.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobusybox:udhcpc: Start with a metric of 10 for routes
Holger Hans Peter Freyther [Sat, 21 Feb 2015 20:13:07 +0000 (21:13 +0100)]
busybox:udhcpc: Start with a metric of 10 for routes

Linux allows to install multiple default routes with
different metrics. Start with a metric above 0 to
allow other parts of the system to install routes
with a lower metric.

Signed-off-by: Holger Hans Peter Freyther <holger@moiji-mobile.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobase-files: clean up and clarify hostname logic
Ross Burton [Mon, 23 Feb 2015 17:39:24 +0000 (17:39 +0000)]
base-files: clean up and clarify hostname logic

Change the hostname logic the default value is ${MACHINE}, and explain how to
change it.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopopulate_sdk_ext: add extensible SDK
Randy Witt [Mon, 23 Feb 2015 17:00:43 +0000 (17:00 +0000)]
populate_sdk_ext: add extensible SDK

This bbclass will create an SDK with a copy of bitbake and the metadata
and sstate for the target specified for the task. The idea is to let
"system" developers both work on applications and then test adding them
to an image without having to switch between workspaces or having to
download separate items.

Rather than running bitbake directly however, the primary way of running
builds within the extensible SDK is to use the "devtool" command. The
rest of the build system is fixed via locked shared state signatures,
and thus only the recipes you have added get built.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com>
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoscripts/oe-buildenv-internal: add means of skipping SDK check during setup
Randy Witt [Mon, 23 Feb 2015 17:00:42 +0000 (17:00 +0000)]
scripts/oe-buildenv-internal: add means of skipping SDK check during setup

The oe-buildenv-internal script checks if the user is already in an sdk
environment and errors if true. Add a way to skip this check.

Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com>
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agouninative-tarball: Actually use bzip2 for compression.
Randy Witt [Mon, 23 Feb 2015 17:00:41 +0000 (17:00 +0000)]
uninative-tarball: Actually use bzip2 for compression.

uninative.bbclass uses -xjf for decompression so actually run the data
through bzip2.

Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agotoolchain-shar-template.sh: Make relocation optional.
Randy Witt [Mon, 23 Feb 2015 17:00:40 +0000 (17:00 +0000)]
toolchain-shar-template.sh: Make relocation optional.

If the buildsystem is copied into the sdk and its toolchain is to
be used, then the relocation provided in toolchain-shar-template.sh
isn't needed and will actually fail.

So break the relocation aspect out and essentially make it another
SDK_POST_INSTALL_COMMAND script.

Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agotoolchain-scripts: Add parameters to toolchain_create_sdk_env_script.
Randy Witt [Mon, 23 Feb 2015 17:00:39 +0000 (17:00 +0000)]
toolchain-scripts: Add parameters to toolchain_create_sdk_env_script.

To add some flexibility to setting up the paths for the toolchain,
add some parameters. This initial use will be in order to point at
the buildsystem toolchain copied in by copy_buildsystem.py.

Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocopy_buildsystem.py: Add methods to copy shared state.
Randy Witt [Mon, 23 Feb 2015 17:00:38 +0000 (17:00 +0000)]
copy_buildsystem.py: Add methods to copy shared state.

Added the helper functions necessary to copy the sstate from the
current build, and generate the file to "lock" it.

Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com>
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocopy_buildsystem.py: Add a way to copy buildsystem to a directory.
Randy Witt [Mon, 23 Feb 2015 17:00:37 +0000 (17:00 +0000)]
copy_buildsystem.py: Add a way to copy buildsystem to a directory.

This file provides a way to take bitbake and the layers in the
current build and copy them to a target specified.

Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com>
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosstatesig: Add ability to filter list of tasks for locked-sigs.inc
Paul Eggleton [Mon, 23 Feb 2015 17:00:36 +0000 (17:00 +0000)]
sstatesig: Add ability to filter list of tasks for locked-sigs.inc

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogen-lockedsig-cache: Allow cross-filesystem copies.
Randy Witt [Mon, 23 Feb 2015 17:00:35 +0000 (17:00 +0000)]
gen-lockedsig-cache: Allow cross-filesystem copies.

Since this previously always tried to use hardlinks you couldn't have
the source and destination be on different devices. This change allows
for that and also prevents failure in situations where the files already
existed.

Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoclasses/sanity: avoid bblayers version issue when switching between poky and other...
Paul Eggleton [Thu, 5 Feb 2015 12:05:40 +0000 (12:05 +0000)]
classes/sanity: avoid bblayers version issue when switching between poky and other DISTRO values

If you create a build directory with poky, or set DISTRO to "poky" and
run bitbake, you'll get a bblayers.conf file with LCONF_VERSION set to
6. If you then set DISTRO to any other value where the new distro config
doesn't pull in poky's config, e.g. "nodistro", you would then get a
bblayers.conf version error which didn't immediately make sense. (The
layer versions have been out-of-step ever since meta-yocto-bsp was
split out of meta-yocto several years ago).

This is just painful and we'd rather users didn't have to deal with
it. Obviously it isn't an OE-Core problem per se, but a simple way to
resolve it for everyone is to bump OE-Core's version to 6 with an
automatic no-op upgrade. Also ensure that multiple upgrade functions
(such as the poky one) have a chance to execute by not breaking out of
the loop as we were before.

Fixes [YOCTO #6139].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoRevert "bind: fix and enable parallel build"
Richard Purdie [Mon, 23 Feb 2015 16:13:25 +0000 (16:13 +0000)]
Revert "bind: fix and enable parallel build"

This reverts commit b003df03358aea4e9e094ee339a9f6796866961e.

We keep seeing parallel make failures on the autobuilder

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoRevert "logrotate: 3.8.8 -> 3.8.9"
Richard Purdie [Mon, 23 Feb 2015 16:11:20 +0000 (16:11 +0000)]
Revert "logrotate: 3.8.8 -> 3.8.9"

This reverts commit 0a69248db774f169318fc5954c805f0a7e8803dc.

The update causes QA failures on the autobuilder.

10 years agoRevert "openssl: fix and enable parallel build"
Richard Purdie [Mon, 23 Feb 2015 16:12:08 +0000 (16:12 +0000)]
Revert "openssl: fix and enable parallel build"

This reverts commit 7502fa5febdd7a2281d626f7040782fb1f9af59e.

We keep seeing parallel make failures in openssl :(

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopython-native: Reverts usage of distutils.sysconfig
Alejandro Hernandez [Fri, 20 Feb 2015 21:40:47 +0000 (15:40 -0600)]
python-native: Reverts usage of distutils.sysconfig
On older versions of Python, sysconfig read the Makefile and Python.h, generated at build time
now it uses _sysconfigdata which contains information about the HOST, erroneous in our case,
this causes an error when bulding something using distutils since it obtains compiler information and such.

Also fixes configuration of _ctypes/libffi

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
10 years agoPython: Upgrade from 2.7.3 to 2.7.9:
Alejandro Hernandez [Wed, 11 Feb 2015 23:57:49 +0000 (17:57 -0600)]
Python: Upgrade from 2.7.3 to 2.7.9:

- Based on Paul Eggletons work to partially upgrade to Python 2.7.6

Modified:
default-versions.inc: switched to python 2.7.9
generate-manifest-2.7.py: fixed _sysconfigdata
python-2.7-manifest.inc: fixed _sysconfigdata
python.inc: Updated checksums and source, no LICENSE
change just updated some dates
python-native_2.7.3 -> python-native_2.7.9 and updated patches
python_2.7.3 -> python_2.7.9, and added ac_cv_file__dev_ptmx=no
ac_cv_file__dev_ptc=no in EXTRA_OECONF to solve python
issue #3754, only needed when cross compiling, also updated patches
use_sysroot_ncurses_instead_of_host.patch: New patch to use ncursesw
from sysroot instead of hosts, introduced by fix for python issue #15268

Rebased:
01-use-proper-tools-for-cross-build.patch
03-fix-tkinter-detection.patch
05-enable-ctypes-cross-build.patch
06-avoid_usr_lib_termcap_path_in_linking.patch
avoid_warning_about_tkinter.patch
builddir.patch
fix_for_using_different_libdir.patch
host_include_contamination.patch
multilib.patch
nohostlibs.patch
search_db_h_in_inc_dirs_and_avoid_warning.patch

Deleted (fixed on upstream):
06-ctypes-libffi-fix-configure.patch
CVE-2013-4073_py27.patch
gcc-4.8-fix-configure-Wformat.patch
json-flaw-fix.patch
posix_close.patch
pypirc-secure.patch
python-2.7.3-CVE-2012-2135.patch
python-2.7.3-CVE-2013-1752-smtplib-fix.patch
python-2.7.3-CVE-2014-1912.patch
python-2.7.3-CVE-2014-7185.patch
python-2.7.3-berkeley-db-5.3.patch
python-fix-build-error-with-Readline-6.3.patch
remove-BOM-insection-code.patch
remove_sqlite_rpath.patch
python2.7.3-nossl3.patch

[YOCTO #7059]

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
10 years agodevtool: fix broken clones of git recipes
Paul Eggleton [Thu, 19 Feb 2015 16:40:04 +0000 (16:40 +0000)]
devtool: fix broken clones of git recipes

Because we move the workdir when extracting source, then move the source
and delete the temporary workdir, you lose the indirection symlink
pointed to by the alternates file (which is created when the fetcher
clones it from DL_DIR with -s) and the resulting repository is broken.
In any case, for a source repo that the user may put their own changes
into, we can't really rely on a clone made with -s in case the
original goes away - because of cleanall, DL_DIR disappearing, etc. So
repack the repository so that it is a complete, non-shared clone after
unpacking.

(While I'm at it, add a test for devtool modify with a git recipe which
verifies that this works.)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodevtool: support source extraction for recipes that use a shared workdir
Paul Eggleton [Thu, 19 Feb 2015 16:40:03 +0000 (16:40 +0000)]
devtool: support source extraction for recipes that use a shared workdir

Enable source extraction used by devtool extract / devtool modify -x for
recipes that use a shared workdir (e.g. the kernel and gcc).

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodevtool: modify: handle recipes that use a shared workdir
Paul Eggleton [Thu, 19 Feb 2015 16:40:02 +0000 (16:40 +0000)]
devtool: modify: handle recipes that use a shared workdir

If S is outside of WORKDIR then we shouldn't try to get the relative
path in order to work out where the source subdirectory is as we do by
default.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodevtool: prevent extract/modify use with image recipes
Paul Eggleton [Thu, 19 Feb 2015 16:40:01 +0000 (16:40 +0000)]
devtool: prevent extract/modify use with image recipes

There wouldn't be any point to using these with an image recipe, so
disallow it.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodevtool: update-recipe: add handling for git recipes
Paul Eggleton [Thu, 19 Feb 2015 16:40:00 +0000 (16:40 +0000)]
devtool: update-recipe: add handling for git recipes

When updating git-based recipes, in a lot of cases what you want is to
push the changes to the repository and update SRCREV rather than to
apply patches within the recipe. Updating SRCREV is now the default
behaviour for recipes that fetch from git, but this can be overridden
in both directions using a new -m/--mode option.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolib/oe/recipeutils: minor improvements to patch_recipe()
Paul Eggleton [Thu, 19 Feb 2015 16:39:59 +0000 (16:39 +0000)]
lib/oe/recipeutils: minor improvements to patch_recipe()

* Ensure it knows where to put SRCREV and S
* Handle prepend/append and functions in general

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodevtool: build: run do_populate_sysroot instead of do_install
Paul Eggleton [Thu, 19 Feb 2015 16:39:58 +0000 (16:39 +0000)]
devtool: build: run do_populate_sysroot instead of do_install

If you want to be able to make use of libraries in conjunction with
devtool then we need to install them into the sysroot for other recipes
to use. Make it a configuration option in case it needs to be changed at
runtime.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodevtool: reset: run bitbake -c clean on recipe
Paul Eggleton [Thu, 19 Feb 2015 16:39:57 +0000 (16:39 +0000)]
devtool: reset: run bitbake -c clean on recipe

If you've added a new recipe, you want the output cleaned when you do
devtool reset, otherwise cruft from building the recipe may remain which
could interfere with future builds.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodevtool: add/modify: add option to build in same directory
Paul Eggleton [Thu, 19 Feb 2015 16:39:56 +0000 (16:39 +0000)]
devtool: add/modify: add option to build in same directory

The default behaviour is to build in a separate directory to the source,
however some projects can't be built this way, so add an option to do
that (or override the automatic behaviour in the case of modify).

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoclasses/kernel-yocto: extend SRCTREECOVEREDTASKS
Paul Eggleton [Thu, 19 Feb 2015 16:39:55 +0000 (16:39 +0000)]
classes/kernel-yocto: extend SRCTREECOVEREDTASKS

* Add do_shared_workdir which was added recently
* Add do_fetch and do_unpack to this list, because at the moment if you
  enable externalsrc through a bbappend the += in this class wipes out
  the original value from externalsrc (which is set with ?=)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoclasses/externalsrc: show a warning on compiling
Paul Eggleton [Thu, 19 Feb 2015 16:39:54 +0000 (16:39 +0000)]
classes/externalsrc: show a warning on compiling

Make sure there's no chance of anyone forgetting they have a recipe set
up for externalsrc; otherwise you could get confused about what is going
on. (With our default logging setup we can't make it a note because the
UI doesn't forward those; otherwise I would have used bb.note().)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoclasses/externalsrc: add workaround for recipes that use SRCPV in PV
Paul Eggleton [Thu, 19 Feb 2015 16:39:53 +0000 (16:39 +0000)]
classes/externalsrc: add workaround for recipes that use SRCPV in PV

Here we set SRC_URI to blank, however doing so means that the function
that is called when you expand the default value of SRCPV
(i.e. bb.fetch2.get_srcrev()) will fail, so any recipe that references
SRCPV in PV couldn't previously be used with externalsrc.

(At some point we may fix the function to work in the externalsrc case,
but then we would also need to ensure that ${B} did not change as a
result of PV changing any time the HEAD revision changes in the external
source tree, or you'll lose any intermediate build artifacts.)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoclasses/externalsrc: fix source being wiped out on clean with kernel
Paul Eggleton [Thu, 19 Feb 2015 16:39:52 +0000 (16:39 +0000)]
classes/externalsrc: fix source being wiped out on clean with kernel

kernel.bbclass adds ${S} do do_clean[cleandirs], but this means if you
run bitbake -c clean <kernelrecipe> then your external source tree will
be trashed, which could be a disaster. For safety, remove ${S} from
cleandirs for every task. We also have to do the same for ${B} in the
case where EXTERNALSRC_BUILD is set to the same value as EXTERNALSRC.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolib/oe/patch: fix PATCHTOOL = "git" with source in a subdirectory
Paul Eggleton [Thu, 19 Feb 2015 16:39:51 +0000 (16:39 +0000)]
lib/oe/patch: fix PATCHTOOL = "git" with source in a subdirectory

For recipes that have their actual source in a subdirectory of what is
fetched (e.g. mkelfimage), we need to find the root of the repository
within the GitApplyTree code that attempts to set up the required git
hooks and use that, rather than expecting the root to be the same as
${S}.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agorecipetool: fix regression caused by previous commit
Paul Eggleton [Thu, 19 Feb 2015 16:39:50 +0000 (16:39 +0000)]
recipetool: fix regression caused by previous commit

Option was renamed in the setup code but not in the code that used it.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopulseaudio: upgrade to 6.0
Cristian Iorga [Tue, 17 Feb 2015 15:10:18 +0000 (17:10 +0200)]
pulseaudio: upgrade to 6.0

Changes:
- BlueZ 5 native HSP (headset) support;
- BlueZ 5 HFP (hands-free) profile support via oFono;
- systemd socket activation support;
- Better support for multichannel and 2.1 profiles;
- Remap optimisations;
- Many minor improvements, bug fixes, and i18n updates.

- Switched to ${BP} variable.
- Patch 0001-configure.ac-Check-only-for-libsystemd-not-libsystem.patch
removed, no longer necessary.
- Patch CVE-2014-3970.patch included upstrem, removed.
- Slightly changed copyright notice, only a clarification.

libsamplerate based resamplers are now deprecated,
because they offer no particular advantage over speex.
Dependency to libsamplerate0 dropped.

[ RB: disable systemd until systemd.bbclass can handle user units ]

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agorunqemu: Specify rootfstype to qemu to avoid QA warnings
Richard Purdie [Sat, 21 Feb 2015 07:57:16 +0000 (07:57 +0000)]
runqemu: Specify rootfstype to qemu to avoid QA warnings

With the change to ext4 filesystems for qemu, we get boot warnings from where
it tried to mount the ext4 fileystem as ext2 and ext3 first.

Avoid these by specifying the rootfs type directly on the kernel commandline
for ext* images.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agomachine/qemu: Switch from ext3 to ext4
Richard Purdie [Fri, 20 Feb 2015 17:39:21 +0000 (17:39 +0000)]
machine/qemu: Switch from ext3 to ext4

There is no good reason not to use ext4 at this point, it has advantages
and few drawbacks. Therefore switch the qemu machines over (and the default
runqemu script options).

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolayer.conf: set a variable to map to the OE Layer Index name
Paul Eggleton [Fri, 20 Feb 2015 17:44:06 +0000 (17:44 +0000)]
layer.conf: set a variable to map to the OE Layer Index name

Add a variable that allows us to map the OE-Core layer to the name that
represents it in the OpenEmbedded layer index. This will be used by
bitbake-layers layerindex-fetch so that it knows that for example
OE-Core is already fetched and included in the current configuration.

Note - it won't be required for us to go around and set this for every
layer - we can do the matching based on repo and subdirectory, but
OE-Core is somewhat special in that it does sometimes appear in
different places, for example in poky.

[YOCTO #5348]

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake.conf: Add two variables for layer index
Chong Lu [Fri, 20 Feb 2015 17:44:05 +0000 (17:44 +0000)]
bitbake.conf: Add two variables for layer index

Add BBLAYERS_LAYERINDEX_URL variable that bitbake-layers can use to find layer index.
Add BBLAYERS_FETCH_DIR variable that bitbake-layers can use to specify fetch directory.

[YOCTO #5348]

Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolib/oeqa/selftest/bblayers: use dashed subcommands
Paul Eggleton [Fri, 20 Feb 2015 17:44:07 +0000 (17:44 +0000)]
lib/oeqa/selftest/bblayers: use dashed subcommands

bitbake-layers subcommands with underscores are the old syntax; the
dashed form has been supported (and displayed in the help text) for
quite a while now, and the old syntax is about to be unsupported, so use
the dashed form in the tests.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoglibc: Dont offer to be parsed for non-glibc TCLIBC selection
Khem Raj [Fri, 20 Feb 2015 04:24:36 +0000 (04:24 +0000)]
glibc: Dont offer to be parsed for non-glibc TCLIBC selection

We now can support musl along with uclibc and glibc
earlier when only alternative was uclibc this check was fine
but now we need to consider non-glibc vs glibc case instead of
uclibc vs glibc

Change-Id: Id794ce193c6557b5435002a8f9b6eb608738b696
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agotclibc-musl: Use musl for providing virtual/libintl instead of gettext
Khem Raj [Fri, 20 Feb 2015 04:24:35 +0000 (04:24 +0000)]
tclibc-musl: Use musl for providing virtual/libintl instead of gettext

Lets try to use musl version of libintl and see how far we get

Change-Id: I0259049eb6461ab9b579c7f3ad401fefede24621
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolttng-tools: add PACKAGECONFIG for kmod
Robert Yang [Fri, 20 Feb 2015 05:57:19 +0000 (21:57 -0800)]
lttng-tools: add PACKAGECONFIG for kmod

Fixed:
lttng-tools-2.6.0: lttng-tools-ptest rdepends on libkmod, but it isn't a build dependency? [build-deps]
lttng-tools-2.6.0: lttng-tools rdepends on libkmod, but it isn't a build dependency? [build-deps]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobuild-compare: update Rename-rpm-check.sh-to-pkg-diff.sh.patch
Robert Yang [Fri, 20 Feb 2015 05:57:18 +0000 (21:57 -0800)]
build-compare: update Rename-rpm-check.sh-to-pkg-diff.sh.patch

The patch can't be applied by "git am -3" with newer version of git
(such as 2.0.1), and can't be applied by "git am/apply" with any
version, now fix it

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolib/oe/package_manager: Performance tweak in regex usage
Richard Purdie [Fri, 20 Feb 2015 17:41:41 +0000 (17:41 +0000)]
lib/oe/package_manager: Performance tweak in regex usage

Profiling a core-image-sato-sdk rootfs, we're spending over 40s
compiling the same regex over and over again, roughly around 5 million
times.

This is suboptimal, fix for a 40s improvement on a 18.5minute task execution
time.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoe2fsprogs: Add a patch to speedup mkfs
Richard Purdie [Fri, 20 Feb 2015 17:41:05 +0000 (17:41 +0000)]
e2fsprogs: Add a patch to speedup mkfs

See the patch description, this adds a tweak to an algorithm to improve
core-image-sato-sdk mkfs time from over 8 minutes to about 35s.

Needs discussion upstream but seems reasonable for our uses of it.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoarch-armv7a.inc, tune-arm920t.inc: Fix PACKAGE_EXTRA_ARCHS
Martin Jansa [Thu, 19 Feb 2015 15:00:48 +0000 (16:00 +0100)]
arch-armv7a.inc, tune-arm920t.inc: Fix PACKAGE_EXTRA_ARCHS

* each DEFAULTTUNE with thumb enabled should list it's arm variants in
  PACKAGE_EXTRA_ARCHS, otherwise packages which force arm ISA won't be
  found in do_rootfs
* armv7athf-neon-vfpv4 was missing its own PACKAGE_ARCH and also the arm
  variant

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agofeature-arm-thumb.inc: respect ARM_INSTRUCTION_SET when adding thumb suffix
Martin Jansa [Wed, 18 Feb 2015 14:40:35 +0000 (15:40 +0100)]
feature-arm-thumb.inc: respect ARM_INSTRUCTION_SET when adding thumb suffix

* this means that recipes with ARM_INSTRUCTION_SET explicitly changed
  to arm will be built in feed without thumb suffix, the same does apply
  for workdir, e.g. after "bitbake glib-2.0" you can see:

  tmp-glibc/work/armv5e-oe-linux-gnueabi:
  glib-2.0  glibc  glibc-initial

  tmp-glibc/work/armv5te-oe-linux-gnueabi:
  acl              db              gdk-pixbuf     kmod  ....

  and

  tmp-glibc/deploy/ipk:
  all  armv5e  armv5te  qemuarm

* feed config should be ok, because all default DEFAULTTUNEs always
  include "arm" variants of all supported PACKAGE_ARCHs

* for more details see
  http://lists.openembedded.org/pipermail/openembedded-core/2014-April/091960.html
  the toolchain path issues were resolved in 1.8

* add ARM_INSTRUCTION_SET = "arm" to glibc-collateral.inc and comment in
  glibc.inc to fix glibc-locale and glibc-scripts build

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agokexec-tools: fix build failure on aarch64_be architecture
Fathi Boudra [Fri, 20 Feb 2015 18:46:41 +0000 (20:46 +0200)]
kexec-tools: fix build failure on aarch64_be architecture

* refresh/cleanup the patch to apply cleanly on 2.0.9
* get rid of configure - it's autogenerated
* configure.ac: use aarch64* wildcard

Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agowic: Fix kernel dir location
Tom Zanussi [Fri, 20 Feb 2015 20:14:01 +0000 (14:14 -0600)]
wic: Fix kernel dir location

With the recent kernel staging changes, STAGING_KERNEL_DIR no longer
points to the kernel image, which can be found however in
DEPLOY_DIR_IMAGE.  This updates find_artifacts() to look there
instead.

Fixes [YOCTO #7307].

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agoxorg-font-common: fix sysroot injection for encoding maps
Richard Tollerton [Fri, 20 Feb 2015 19:02:35 +0000 (13:02 -0600)]
xorg-font-common: fix sysroot injection for encoding maps

The xorg font builds use `pkg-config --variable=mapdir fontutil` to
locate encoding maps. This variable ought to be sysroot-relative, but
neither pkg-config nor font-util nor the fonts themselves provide any
facility to add the sysroot back in.

We're presently adding the sysroot by by twiddling MAPFILES_PATH in
configure.ac. This is broken; it's actually defined in aclocal.m4,
because the definition is provided by fontutil.m4. Another (more
speculative) criticism is that it also hardcodes a build-specific
absolute path into builds which might (incorrectly) encode it into
target-installable packages.

A somewhat more robust, focused, and clear solution is to override
UTIL_DIR on the make command line. (UTIL_DIR, not MAPFILES_PATH, is what
is actually referenced in the build.)

Signed-off-by: Richard Tollerton <rich.tollerton@ni.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agofont-util: remove MAPFILES_PATH override
Richard Tollerton [Fri, 20 Feb 2015 19:02:34 +0000 (13:02 -0600)]
font-util: remove MAPFILES_PATH override

MAPFILES_PATH is a configuration variable that is used by packages using
font-util, which tells those packages how to compute it in fontutil.m4.
Presently, we're manually twiddling things so that MAPFILES_PATH will
consult the native sysroot, when building under *any* architecture.
This complicates building other packages immensely, and also generates
broken on-target packages, because the contents of font-util-dev will
reference the native sysroot on the build machine (!).

We don't even need to twiddle MAPFILES_PATH anymore so just delete it.

This code also had a path bug (referencing /usr/lib/pkg-config instead
of /usr/lib/pkgconfig) which is also fixed by deletion.

Signed-off-by: Richard Tollerton <rich.tollerton@ni.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agofont-util: stage encoding maps into sysroot
Ben Shelton [Fri, 20 Feb 2015 19:02:33 +0000 (13:02 -0600)]
font-util: stage encoding maps into sysroot

font-util installs encoding maps into /usr/share/fonts/X11. This path
may not exist on the host (many distros install these into
/usr/share/fonts/util) so they must exist in the sysroot in order for
e.g. `pkg-config --variable=mapdir fontutil` to work correctly. However,
currently /usr/share/fonts is explicitly not installed into sysroots, so
the encoding maps were not getting found.

Fix this by explicitly staging ${datadir}/fonts/ into the sysroot.

Signed-off-by: Ben Shelton <ben.shelton@ni.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agoopkg: fix systemd unit installation
Ross Burton [Fri, 20 Feb 2015 16:39:40 +0000 (16:39 +0000)]
opkg: fix systemd unit installation

SYSTEMD_SERVICE doesn't need to be set conditionally, and units should be
installed if the systemd DISTRO_FEATURE is enabled, not if sysvinit isn't
enabled.

Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agoRevert "kernel-arch.bbclass: add arm64 support to U-Boot architecture map"
Nathan Rossi [Thu, 19 Feb 2015 03:34:35 +0000 (13:34 +1000)]
Revert "kernel-arch.bbclass: add arm64 support to U-Boot architecture map"

This reverts commit 0b891265716c414ade29d587fc1a3c4ea7beadbe.

U-Boot does support AArch64, this however was only added to newer
versions of U-Boot and at the time of this original commit the U-Boot in
OE-Core did not support the 'arm64' architecture. OE-Core now has a
newer version of U-Boot for the mkimage recipe and thus supports the
'arm64' architecture.

Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agologrotate: 3.8.8 -> 3.8.9
Robert Yang [Fri, 20 Feb 2015 05:37:21 +0000 (21:37 -0800)]
logrotate: 3.8.8 -> 3.8.9

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopython-gitdb: 0.6.1 -> 0.6.4
Robert Yang [Fri, 20 Feb 2015 05:37:20 +0000 (21:37 -0800)]
python-gitdb: 0.6.1 -> 0.6.4

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopython-git: 0.3.3 -> 0.3.6
Robert Yang [Fri, 20 Feb 2015 05:37:19 +0000 (21:37 -0800)]
python-git: 0.3.3 -> 0.3.6

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogit: 2.2.1 -> 2.3.0
Robert Yang [Fri, 20 Feb 2015 05:37:18 +0000 (21:37 -0800)]
git: 2.2.1 -> 2.3.0

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocups: 2.0.1 -> 2.0.2
Robert Yang [Fri, 20 Feb 2015 05:37:17 +0000 (21:37 -0800)]
cups: 2.0.1 -> 2.0.2

Removed the patch since upstream has fixed it:
0001-test-ippserver.c-check-avahi-before-use.patch

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoquilt: 0.63 -> 0.64
Robert Yang [Fri, 20 Feb 2015 05:37:16 +0000 (21:37 -0800)]
quilt: 0.63 -> 0.64

quilt-0.63.inc -> quilt.inc: we don't have multiple quilt-xxx.inc, so
use quilt.inc rather than quilt-0.63.inc.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agokernelshark: Update to version 2.5.3
Ben Shelton [Thu, 19 Feb 2015 20:11:06 +0000 (14:11 -0600)]
kernelshark: Update to version 2.5.3

Update to version 2.5.3 to match trace-cmd.

Changes include:

 - Remove kernelshark-fix-syntax-error-of-shell.patch (the syntax error
   is no longer present in the new version).

 - Specify bindir_relative and libdir in EXTRA_OEMAKE as in the
   trace-cmd recipe so files get installed to the right place.
   Additionally, remove unnecessary EXTRA_OEMAKE options.

 - Fix up the do_install steps to remove the plugins directory; that
   directory now lives under /usr/lib.

 - Set NO_PYTHON=1 because building the ctracecmd Python module requires
   swig, which is not available in oe-core.

Signed-off-by: Ben Shelton <ben.shelton@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agotrace-cmd: Update to version 2.5.3
Ben Shelton [Thu, 19 Feb 2015 20:11:05 +0000 (14:11 -0600)]
trace-cmd: Update to version 2.5.3

Updating adds new features including the very useful 'profile' option.

Changes include:

 - Remove addldflags.patch (already upstream in the new version).

 - Remove make-docs-optional.patch (docs are built in a separate target
   in the new version).

 - Update SRC_URI, SRCREV, PR, and PV in the .inc file and don't
   override them in the recipe.

 - Fix a typo in LIC_FILES_CHECKSUM so 'endline' is properly defined.

 - Drop PR.

Signed-off-by: Ben Shelton <ben.shelton@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agooeqa/parselogs: Add exception for new mips error message
Richard Purdie [Fri, 20 Feb 2015 18:16:10 +0000 (18:16 +0000)]
oeqa/parselogs: Add exception for new mips error message

The 3.19 kernel introduces this error, ignore it for now.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolinux-yocto: warn when a generated BSP description is used
Bruce Ashfield [Fri, 20 Feb 2015 18:38:03 +0000 (13:38 -0500)]
linux-yocto: warn when a generated BSP description is used

The meta data (in tree or out of tree) that describes a BSP, its patches
and configuration is not always available when a new/default or manually
configured machine is built.

When this happens, the tools generate a skeleton BSP and use a
architecture defconfig for the build. If this is by design, the build
is typically sane and everything works fine. If an existing BSP
description was expected, chances are that the resulting kernel will not
be correct.

To avoid surprising the user when a default/skeleton BSP is used for the
build, we can make it obvious to the user by emitting a warning like
the following:

   WARNING: [kernel]: An auto generated BSP description was used, this normally indicates a misconfiguration.
            Check that your machine (myqemux86-64) has an associated kernel description.

[YOCTO: #3383]

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agolinux-yocto: introduce 3.19 versioned recipes
Bruce Ashfield [Thu, 19 Feb 2015 03:10:22 +0000 (22:10 -0500)]
linux-yocto: introduce 3.19 versioned recipes

Introducing the v3.19.x recipes for the validated linux-yocto kernel.

Build, boot and sanity testing was performed on qemu for all major
architectures.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
10 years agolinux-yocto: remove 3.10 and 3.17 recipes
Bruce Ashfield [Wed, 18 Feb 2015 21:28:20 +0000 (16:28 -0500)]
linux-yocto: remove 3.10 and 3.17 recipes

In accordance with the kernel release criteria we support the latest
mainline kernel + the last LSTI kernel + a development kernel.

3.19 will be introduced as the latest mainline, and 3.14 is the released
LTSI kernel, which means that we remove the 3.10 and 3.17 variants.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
10 years agolinux-yocto: make kernel configuration audit user visible
Bruce Ashfield [Wed, 18 Feb 2015 21:15:35 +0000 (16:15 -0500)]
linux-yocto: make kernel configuration audit user visible

After a linux-yocto style kernel is configured, a kernel configuration
audit is executed to detect common errors or issues with the config.

This output used to be visible, but was made less obvious to not alarm
users unnecessarily (since some configuration issues are acceptable).

There are some classes of configuration issue that are worth being
visible, and that is specified configuration values that do not make the
final .config. These dropped options can result in any number of runtime
failures, so flagging them at build time makes sense.

The visibility of auditing is controlled by KCONF_AUDIT_LEVEL:

   0: no reporting
   1: report options that are specified, but not in the final config
   2: report options that are not hardware related, but set by a BSP

The default level is 1, with level 2 and above being for BSP development
only.

If these conditions are detected, warnings will be generated as follows:

  WARNING: [kernel config]: specified values did not make it into the
  kernel's final configuration:

  Value requested for CONFIG_SND_PCSP not in final ".config"
  Requested value: "CONFIG_SND_PCSP=y"
  Actual value set: ""

or

  WARNING: [kernel config]: BSP specified non-hw configuration:

  CONFIG_BLOCK
  CONFIG_CFG80211_WEXT
  CONFIG_CORDIC
  CONFIG_CRC8
  CONFIG_EFIVAR_FS
  CONFIG_EFI_PARTITION
  CONFIG_NET
  CONFIG_NETDEVICES
  CONFIG_PARTITION_ADVANCED
  CONFIG_WEXT_CORE
  CONFIG_WEXT_PROC
  CONFIG_WIRELESS

At this point thse are only a warnings, since there needs to be time for
layers and configuration fragments to be validated against this new
check.

[YOCTO: #6943]

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
10 years agolinux-libc-headers: update to 3.19
Bruce Ashfield [Wed, 11 Feb 2015 19:26:33 +0000 (14:26 -0500)]
linux-libc-headers: update to 3.19

Updating the libc-headers now that the kernel has released.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
10 years agoglibc: Update to glibc 2.21 release tag
Dan McGregor [Fri, 6 Feb 2015 17:20:19 +0000 (11:20 -0600)]
glibc: Update to glibc 2.21 release tag

Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
10 years agoglibc: Upgrade 2.20 -> 2.21
Khem Raj [Mon, 2 Feb 2015 07:49:10 +0000 (23:49 -0800)]
glibc: Upgrade 2.20 -> 2.21

Drop CVE backports and ppc/fpu detection patch which is not needed anymore
Forward port eglibc option groups patch
Default to using glibc 2.21

Additional patches needed to appease -Werror option

Change-Id: I1873097cec8387ea9e8186a255122938fc28c976
Signed-off-by: Khem Raj <raj.khem@gmail.com>
10 years agolzo: Upgrade to 2.09 and add ptest
Saul Wold [Tue, 17 Feb 2015 23:00:12 +0000 (15:00 -0800)]
lzo: Upgrade to 2.09 and add ptest

lzo_init checksum changed due to date change, not license change

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobind: Fix parallel make issue
Robert Yang [Wed, 18 Feb 2015 03:28:43 +0000 (19:28 -0800)]
bind: Fix parallel make issue

Fixed:
unix/os.o: file not recognized: File truncated
collect2: error: ld returned 1 exit status

This is because os.o was built twice:
* The implicity rule (depends on unix/os.o)
* The "make all" in unix subdir (depends on unix/os.o)

Depend on subdirs which is unix only rather than unix/os.o will fix the
problem.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobtrfs-tools: fix for parallel build
Robert Yang [Wed, 18 Feb 2015 03:28:42 +0000 (19:28 -0800)]
btrfs-tools: fix for parallel build

Fixed:
mkfs.c:300:46: error: 'BTRFS_BUILD_VERSION' undeclared (first use in this function)
  fprintf(stderr, "mkfs.btrfs, part of %s\n", BTRFS_BUILD_VERSION);

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobusybox: update to 1.23.1 release
Fathi Boudra [Wed, 18 Feb 2015 06:44:45 +0000 (14:44 +0800)]
busybox: update to 1.23.1 release

* Bump SRCREV/PV
* Drop PR
* Update SRC_URI md5sum/sha256sum
* Drop 0001-build-system-Specify-nostldlib-when-linking-to-.o-fi.patch
  - applied upstream and available in 1.23.1 release

Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoopenssl: disable SSLv3 by default
Brendan Le Foll [Mon, 16 Feb 2015 11:18:29 +0000 (11:18 +0000)]
openssl: disable SSLv3 by default

Because of the SSLv3 POODLE vulnerability, it's preferred to simply disable
SSLv3 even if patched with the TLS_FALLBACK_SCSV

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>