]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
10 years agobash: Fix CVE-2014-7169
Khem Raj [Fri, 26 Sep 2014 20:21:19 +0000 (13:21 -0700)]
bash: Fix CVE-2014-7169

This is a followup patch to incomplete CVE-2014-6271 fix
code execution via specially-crafted environment

Change-Id: Ibb0a587ee6e09b8174e92d005356e822ad40d4ed
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agonss.inc: Fix LICENSE
Elizabeth Flanagan [Thu, 25 Sep 2014 22:59:56 +0000 (15:59 -0700)]
nss.inc: Fix LICENSE

From reading the COPYING and various license headers, the nss
LICENSE was incorrect. It's actually MPL-2.0 (not 1.1) with a
few different Or instances.

Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agobash: fix CVE-2014-6271
Ross Burton [Thu, 25 Sep 2014 23:05:18 +0000 (00:05 +0100)]
bash: fix CVE-2014-6271

CVE-2014-6271 aka ShellShock.

"GNU Bash through 4.3 processes trailing strings after function definitions in
the values of environment variables, which allows remote attackers to execute
arbitrary code via a crafted environment."

Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agocurl: add a PACKAGECONFIG for librtmp
Ross Burton [Thu, 25 Sep 2014 22:58:06 +0000 (23:58 +0100)]
curl: add a PACKAGECONFIG for librtmp

Otherwise this is a non-deterministic build dependency.

Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agolicenses.conf: remove link to deleted License_Audit wiki page
Jonathan Liu [Thu, 25 Sep 2014 02:04:54 +0000 (12:04 +1000)]
licenses.conf: remove link to deleted License_Audit wiki page

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agometa-toolchain-qt: fix up old reference to Nokia and typo
Jonathan Liu [Thu, 25 Sep 2014 02:05:52 +0000 (12:05 +1000)]
meta-toolchain-qt: fix up old reference to Nokia and typo

The SDK is now called Qt SDK.

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agoqt4: fix bug tracker URLs for patches
Jonathan Liu [Thu, 25 Sep 2014 02:07:30 +0000 (12:07 +1000)]
qt4: fix bug tracker URLs for patches

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agoqt-mobility: fix source URL
Jonathan Liu [Thu, 25 Sep 2014 02:06:58 +0000 (12:06 +1000)]
qt-mobility: fix source URL

The source is no longer available from the original URL.

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agoman/texinfo: conditionally add gzip/bzip2/xz to RDEPENDS
Hongxu Jia [Thu, 25 Sep 2014 06:31:59 +0000 (14:31 +0800)]
man/texinfo: conditionally add gzip/bzip2/xz to RDEPENDS

Conditionally add 'xz/bz2/gzip' to info/man's RDEPENDS
according to DOC_COMPRESS.

[YOCTO #6750]
[YOCTO #6751]

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agotexinfo: fix QA Error while doc compress enabled
Hongxu Jia [Thu, 25 Sep 2014 06:31:57 +0000 (14:31 +0800)]
texinfo: fix QA Error while doc compress enabled

While doc compress enabled, ther is a QA issue:
...
ERROR: QA Issue: texinfo: Files/directories were installed but not shipped
  /usr/share/info/info.info.bz2
  /usr/share/info/info-stnd.info.bz2 [installed-vs-shipped]
...

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agogit: add Git perl module to perltools package
Peter A. Bigot [Thu, 25 Sep 2014 13:28:29 +0000 (08:28 -0500)]
git: add Git perl module to perltools package

Git perl tools such as add--interactive load the Git module at runtime.
A previous patch to eliminate a QA error by deleting it instead of
packaging it was incorrect.

    beaglebone[62]$ git add -i
    Can't locate Git.pm in @INC (you may need to install the Git module) (@INC contains: /usr/lib/perl/5.20.0 /prj/pab/Utils/lib/perl5/linux-arm/5.020000 /prj/pab/Utils/lib/perl5/ /prj/pab/Utils/lib/perl5/site_perl/linux-arm /prj/pab/Utils/lib/perl5/site_perl /etc/perl /usr/lib/perl/site_perl/5.20.0/ /usr/lib/perl/site_perl/5.20.0 /usr/lib/perl/vendor_perl/5.20.0/ /usr/lib/perl/vendor_perl/5.20.0 /usr/lib/perl/5.20.0/ /usr/local/lib/site_perl .) at /usr/lib/git/git-core/git-add--interactive line 7.
    BEGIN failed--compilation aborted at /usr/lib/git/git-core/git-add--interactive line 7.

[YOCTO#3780]

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agooeqa/utils: Added filter to LogResults decorator to enforce custom log level.
Lucian Musat [Wed, 24 Sep 2014 08:28:48 +0000 (11:28 +0300)]
oeqa/utils: Added filter to LogResults decorator to enforce custom log level.

Signed-off-by: Lucian Musat <georgex.l.musat@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agosstate.bbclass: update the timestamps after install
Robert Yang [Thu, 4 Sep 2014 06:12:06 +0000 (23:12 -0700)]
sstate.bbclass: update the timestamps after install

Update the sstate file's timestamps after it is installed, it will be
very useful for removing the old sstate file, especially, it's not easy
to remove when use the shared SSTATE_DIR, we can easily remove them with
this change, for example:

$ find state-cache -type f -ctime +10 -exec rm -f {} \;

Will remove the sstate file which isn't used by recent 10 days.

We can use the -atime, but it is not always available, for example,
when mounted with "-o noatime".

The touch is a very light weight action, and the
scripts/sstate-cache-management.sh also requires this.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agognupg: add pinentry into RRECOMMENDS
Roy Li [Tue, 23 Sep 2014 00:45:42 +0000 (08:45 +0800)]
gnupg: add pinentry into RRECOMMENDS

Pinentry is needed for most function of GnuPG, so add it into RRECOMMENDS

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agopinentry: add recipes
Roy Li [Tue, 23 Sep 2014 23:36:54 +0000 (07:36 +0800)]
pinentry: add recipes

gnupg 2.x.x needs pinentry to work

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agodhcp: use ${PN} for SYSTEMD_SERVICES
Chen Qi [Mon, 15 Sep 2014 07:46:13 +0000 (15:46 +0800)]
dhcp: use ${PN} for SYSTEMD_SERVICES

We should use ${PN} instead of hardcoding 'dhcp' for SYSTEMD_SERVICES,
otherwise we would have 'installed-not-shipped' QA error if we are building
lib32-dhcp.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agovolatile-binds: use ${PN} for SYSTEMD_SERVICE
Chen Qi [Mon, 15 Sep 2014 07:47:21 +0000 (15:47 +0800)]
volatile-binds: use ${PN} for SYSTEMD_SERVICE

As this recipe inherits allarch, it makes no real difference whether
we are using ${PN} or 'volatile-binds'. But using ${PN} would keep
the same style with the other recipes in OE.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agoacpid: use ${PN} for SYSTEMD_SERVICE
Chen Qi [Mon, 15 Sep 2014 07:44:21 +0000 (15:44 +0800)]
acpid: use ${PN} for SYSTEMD_SERVICE

We should use ${PN} instead of 'acpid' for SYSTEMD_SERVICE, otherwise
we would have the 'installed-not-shipped' QA error if multilib is enabled
and we run `bitbake lib32-acpid'.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agopackagegroup-core-standalone-sdk-target: Add libgcov-dev to on device SDK
Nobuhiro Iwamatsu [Tue, 16 Sep 2014 01:01:01 +0000 (10:01 +0900)]
packagegroup-core-standalone-sdk-target: Add libgcov-dev to on device SDK

When a user takes coverage in gcc of SDK, it becomes the link error in SDK
because there is not libgcov.

----
ld: cannot find -lgcov
collect2: error: ld returned 1 exit status
----

Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agognomebase: fix indentation
Ross Burton [Wed, 24 Sep 2014 22:25:39 +0000 (23:25 +0100)]
gnomebase: fix indentation

Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agosyslog: Change unused variable declaration LOCAL=0 to LOG_LOCAL=1
Michael Gloff [Tue, 23 Sep 2014 20:33:08 +0000 (15:33 -0500)]
syslog: Change unused variable declaration LOCAL=0 to LOG_LOCAL=1

This fix allows the correct appending of -L to syslogd arguments when both file and remote logging are selected.

Signed-off-by: Michael Gloff <mgloff@emacinc.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agoqtdemo-init: Make qtdemo startup correctly
Yi Zhao [Thu, 18 Sep 2014 09:05:47 +0000 (17:05 +0800)]
qtdemo-init: Make qtdemo startup correctly

The qtdemo can't launch via qtdemo-init initscript. Fix it.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agoperf: fix issue about package splitting
Chong Lu [Tue, 9 Sep 2014 01:22:22 +0000 (09:22 +0800)]
perf: fix issue about package splitting

Currently, perf can't split to perf-archive, perf-tests, perf-python and
perf-perl. All files are included in perf package. Change the perfexecdir
variable to make split successfull. Add python to RDEPENDS_perf-tests.

Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agolibpam / xtests: remove bash dependency
Wenzong Fan [Tue, 16 Sep 2014 03:10:57 +0000 (23:10 -0400)]
libpam / xtests: remove bash dependency

There's not bash specific syntax in the xtests scripts:

  $ cd Linux-PAM-1.1.6/xtests
  # replace /bin/bash to /bin/sh and check the bashisms:
  $ checkbashisms *.sh
  No output

So the runtime dependency to bash could be removed.

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agogst-plugins-base: fix build failure for x86
Jackie Huang [Tue, 16 Sep 2014 08:58:34 +0000 (04:58 -0400)]
gst-plugins-base: fix build failure for x86

On x86, EMMINTRIN is defined but not usable without SSE so check for
__SSE__ and __SSE2__ as well.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agocoreutils: selinux/flask.h should respect to with_selinux
Robert Yang [Tue, 16 Sep 2014 09:40:02 +0000 (02:40 -0700)]
coreutils: selinux/flask.h should respect to with_selinux

Fixed when build with meta-selinux even with --without-selinux:
runcon.c:49:28: fatal error: selinux/flask.h: No such file or directory
 # include <selinux/flask.h>
                            ^
compilation terminated.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agosystemd: disable resolv.conf symlink unless resolved is enabled
Peter A. Bigot [Thu, 18 Sep 2014 15:16:39 +0000 (10:16 -0500)]
systemd: disable resolv.conf symlink unless resolved is enabled

The tmpfiles configuration in systemd unconditionally creates a symlink
from /etc/resolv.conf to the location where systemd's resolved service
will place the real file.  This link is only appropriate when resolved
is enabled and running: its presence prevents connman or other systems
from providing a working resolv.conf when systemd is not assigned that
responsibility.  OE has not yet enabled systemd's networkd or resolved
by default.

There is a TODO in the systemd source to fix this, but it has not been
addressed upstream.  This patch comments out the corresponding line when
resolved is not enabled in the package configuration.

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agosstate: Change overlapping files warning to a fatal error
Richard Purdie [Thu, 25 Sep 2014 11:13:32 +0000 (11:13 +0000)]
sstate: Change overlapping files warning to a fatal error

When files overlap in the sysroot, something bad usually happened. We've had
two independent cases recently where a couple of months after one of these
warnings was shown, builds failed due to corruption.

This change moves the warning to become a fatal error. The complaint I've had
about this is that we need to tell the user what happened and more importantly
how to recover from it. If we could recover from it, great but the trouble is
we simply don't know what happened.

As a compromise, we can document several of the possible scenarios in the error
message. We don't normally go to this level of detail however in this case, I'm
lacking other viable alternatives.

I do believe it is important to stop as corruption occurs rather than letting the
build contunue into territory that is not deterministic amongst other things.

The complex message is followed by a simpler one in case the long message is too
much for the user.

(From OE-Core rev: 179ac7de03977b6e440409eddb2166819e07286a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobuild-appliance-image: Update to dizzy head revision
Richard Purdie [Tue, 23 Sep 2014 21:10:21 +0000 (22:10 +0100)]
build-appliance-image: Update to dizzy head revision

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosanity.conf: Update minimum bitbake version to 1.23.2 due to event changes
Richard Purdie [Tue, 23 Sep 2014 20:47:01 +0000 (21:47 +0100)]
sanity.conf: Update minimum bitbake version to 1.23.2 due to event changes

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolayer.conf: Mark opkg-utils as ABISAFE for update-alternatives usage
Richard Purdie [Tue, 23 Sep 2014 19:01:01 +0000 (20:01 +0100)]
layer.conf: Mark opkg-utils as ABISAFE for update-alternatives usage

Currently linux-firmware rebuilds for each machine due to its usage of
update-alternatives which in turn means a dependency on opkg-utils.
Marking opkg-utils as ABISAFE is the only option we have right now
to avoid this.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoupdate-rc.d/systemd: Remove OVERRIDES dependency
Richard Purdie [Tue, 23 Sep 2014 19:00:31 +0000 (20:00 +0100)]
update-rc.d/systemd: Remove OVERRIDES dependency

Taking run-postinsts and building for two machines which have different
OVERRIDES leads to two different sets of stamps for an allarch package.

We don't need to depend on OVERRIDES in these classes, the end resulting
variables are good enough. We can therefore exclude the dependency
and allow a single package to be generated for run-postinsts.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolayer.conf: Add in useradd dependencies as ABISAFE dependencies
Richard Purdie [Tue, 23 Sep 2014 19:01:28 +0000 (20:01 +0100)]
layer.conf: Add in useradd dependencies as ABISAFE dependencies

Currently allarch recipes using useradd rebuild each time MACHINE
changes which is not desireable. Adding the useradd dependencies
to this list ensures they do not change under these circumstances.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoman: fix not support xz/bz2 compression
Hongxu Jia [Tue, 23 Sep 2014 14:19:58 +0000 (22:19 +0800)]
man: fix not support xz/bz2 compression

In oe-core, bunzip and unzx located in /usr/bin/
rather than /usr, so tweak man's config.

[YOCTO #6750]

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoltp: make setregid02 be able to pass
Roy.Li [Tue, 23 Sep 2014 07:57:39 +0000 (15:57 +0800)]
ltp: make setregid02 be able to pass

[YOCTO #6748]

replace "nobody" group with "nogroup", since the user "nobody"
belongs to "nogroup" group and no "nobody" group in oe-core

Signed-off-by: Roy.Li <rongqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosystemtap: disable libvirt
Wenzong Fan [Tue, 23 Sep 2014 10:29:00 +0000 (06:29 -0400)]
systemtap: disable libvirt

libvirt is automatically linked to if present, this undetermined
dependency may cause build errors like:

  ../lib/libvirt.so: undefined reference to `libssh2_channel_open_ex'
  ../lib/libvirt.so: undefined reference to `libssh2_session_hostkey'
  ...

Both libvirt and libssh2 are not oe-core recipes for now, just disable
libvirt to fix this issue.

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agowic: add sdimage-bootpart kickstart file
Maciej Borzecki [Mon, 22 Sep 2014 11:35:20 +0000 (13:35 +0200)]
wic: add sdimage-bootpart kickstart file

Add kickstart for generating a SD card image that should cover most use
case scenarios. The layout is as follows:
- 16MB vfat partition that IMAGE_BOOT_FILES will be copied to, 4k
  alignment
- ext4 rootfs, 4k alignment

Signed-off-by: Maciej Borzecki <maciej.borzecki@open-rnd.pl>
Signed-off-by: Maciek Borzecki <maciek.borzecki@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agowic: add new bootimg-partition plugin
Maciej Borzecki [Mon, 22 Sep 2014 11:35:19 +0000 (13:35 +0200)]
wic: add new bootimg-partition plugin

This patch implements 'bootimg-partition source plugin class for 'wic'. The
plugin creates an image of boot partition, copying over files listed in
IMAGE_BOOT_FILES bitbake variable.

Signed-off-by: Maciej Borzecki <maciej.borzecki@open-rnd.pl>
Signed-off-by: Maciek Borzecki <maciek.borzecki@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodocumentation.conf: document IMAGE_BOOT_FILES
Maciej Borzecki [Mon, 22 Sep 2014 11:35:18 +0000 (13:35 +0200)]
documentation.conf: document IMAGE_BOOT_FILES

Document IMAGE_BOOT_FILES variable.

Signed-off-by: Maciej Borzecki <maciej.borzecki@open-rnd.pl>
Signed-off-by: Maciek Borzecki <maciek.borzecki@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agowic: set bootimg_dir when using image-name artifacts
Maciej Borzecki [Mon, 22 Sep 2014 11:35:16 +0000 (13:35 +0200)]
wic: set bootimg_dir when using image-name artifacts

Running wic with -e to use artifacts from a named image, bootimg_dir was
always passed as empty string to partition source plugins. The patch
sets bootimg_dir to current value of DEPLOY_DIR_IMAGE, as bootloader
artifacts end up in that location as well.

Signed-off-by: Maciej Borzecki <maciej.borzecki@open-rnd.pl>
Signed-off-by: Maciek Borzecki <maciek.borzecki@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agowic: fix vfat partition sector count only if needed
Maciej Borzecki [Mon, 22 Sep 2014 11:35:15 +0000 (13:35 +0200)]
wic: fix vfat partition sector count only if needed

VFAT rootfs partitions sector count would get updated always even if
there is no need. Since parition size in wic is expressed in MB, any
sub MB change will cause the generated partition image to be larger
than allocated space within the disk image. Fortunately, partitions
sized in MB will most of the time have a proper sector count.

Signed-off-by: Maciej Borzecki <maciej.borzecki@open-rnd.pl>
Signed-off-by: Maciek Borzecki <maciek.borzecki@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agowic: use IMAGE_EXTRA_SPACE for vfat rootfs
Maciej Borzecki [Mon, 22 Sep 2014 11:35:14 +0000 (13:35 +0200)]
wic: use IMAGE_EXTRA_SPACE for vfat rootfs

Functions for generating rootfs use IMAGE_EXTRA_SPACE rather than
BOOTDD_EXTRA_SPACE. The latter is used in boot image source plugins.

Signed-off-by: Maciej Borzecki <maciej.borzecki@open-rnd.pl>
Signed-off-by: Maciek Borzecki <maciek.borzecki@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agowic: minor comment update
Maciej Borzecki [Mon, 22 Sep 2014 11:35:13 +0000 (13:35 +0200)]
wic: minor comment update

Update comment about types of generated partition images.

Signed-off-by: Maciej Borzecki <maciej.borzecki@open-rnd.pl>
Signed-off-by: Maciek Borzecki <maciek.borzecki@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agouninative: Add uninative - a way of reusing native/cross over multiple distros
Richard Purdie [Thu, 28 Aug 2014 10:10:06 +0000 (10:10 +0000)]
uninative: Add uninative - a way of reusing native/cross over multiple distros

These patches are the start of a new idea, a way of allowing a single set of
cross/native sstate to work over mutliple distros, even old ones.

The assumption is that our own C library is basically up to date. We build
and share a small tarball (~2MB) of a prebuilt copy of this along with a
patchelf binary (which sadly is C++ based so libstdc++ is in there). This
tarball can be generated from our usual SDK generation process through
the supplied recipe, uninative-tarball.

At the start of the build, if its not been extracted into the sysroot, this
tarball is extracted there and configured for the specified path.

When we install binaries from a "uninative" sstate feed, we change the
dynamic loader to point at this dynamic loader and C librbary. This works
exactly the same way as our relocatable SDK does. The only real difference
is a switch to use patchelf, so even if the interpreter section is too small,
it can still adjust the binary.

Right now this implements a working proof of concept. If you build the tarball
and place it at the head of the tree (in COREBASE), you can run a build from
sstate and successfully build packages and construct images.

There is some improvement needed, its hardcoded for x86_64 right now, its trivial
to add 32 bit support too. The tarball isn't fetched right now, there is just a
harcoded path assumption and there is no error handling. I haven't figured
out the best delivery mechanism for that yet. BuildStarted is probably not
the right event to hook on either.

I've merged this to illustrate how with a small change, we might make the
native/cross sstate much more reusable and hence improve the accessibility
of lower overhead builds. With this change, its possible the Yocto Project may
be able to support a configured sstate mirror out the box. This also has
positive implications for our developer workflow/SDK improvements.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoirda-utils: remove inherit autotools
Ross Burton [Fri, 19 Sep 2014 23:56:10 +0000 (00:56 +0100)]
irda-utils: remove inherit autotools

irda-utils doesn't use autotools, so don't inherit it.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agooe-init-build-env-memres: Fix automatic port usage
Richard Purdie [Tue, 23 Sep 2014 14:56:31 +0000 (15:56 +0100)]
oe-init-build-env-memres: Fix automatic port usage

The use of an automatic port wasn't working correctly since the server
was never getting started when port == -1. This fixes things so the
server is started when port is not specified (i.e. automatic) ensuring
this happens before BBSERVER is set.

[YOCTO #6563]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolinux-yocto/3.14: update to v3.14.19
Bruce Ashfield [Tue, 23 Sep 2014 14:57:45 +0000 (10:57 -0400)]
linux-yocto/3.14: update to v3.14.19

Updating to the latest korg -stable update.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolinux-yocto/3.10: update to v3.10.55
Bruce Ashfield [Tue, 23 Sep 2014 14:57:44 +0000 (10:57 -0400)]
linux-yocto/3.10: update to v3.10.55

Updating to the latest korg -stable update.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolinux-yocto/3.17: bump to v3.17-rc6
Bruce Ashfield [Tue, 23 Sep 2014 14:57:43 +0000 (10:57 -0400)]
linux-yocto/3.17: bump to v3.17-rc6

Updating the 3.17 recipe to -rc6. This is nearly the release kernel, and should
have very few changes aftert this point.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolinux-yocto/3.17: switch to dedicated 3.17 repository
Bruce Ashfield [Tue, 23 Sep 2014 14:57:42 +0000 (10:57 -0400)]
linux-yocto/3.17: switch to dedicated 3.17 repository

The 3.17 repository is ready, so we no longer need to reuse the
linux-yocto-dev tree.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolinux-yocto/3.17: update to v3.17-rc5
Bruce Ashfield [Tue, 23 Sep 2014 14:57:41 +0000 (10:57 -0400)]
linux-yocto/3.17: update to v3.17-rc5

Bumping the SRCREVs to import the latest korg -rc.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolinux-yocto/3.14: update to v3.14.18 and -rt9
Bruce Ashfield [Tue, 23 Sep 2014 14:57:40 +0000 (10:57 -0400)]
linux-yocto/3.14: update to v3.14.18 and -rt9

Refreshing the 3.14 kernel to a new korg stable and -rt release.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolinux-yocto/3.10: update to v3.10.54 and -rt55
Bruce Ashfield [Tue, 23 Sep 2014 14:57:39 +0000 (10:57 -0400)]
linux-yocto/3.10: update to v3.10.54 and -rt55

The 3.10 kernel needed a refresh to the latest -stable and -rt releases.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agooeqa/selftest: Added decorators to buildoptions.py
Lucian Musat [Mon, 22 Sep 2014 10:45:05 +0000 (13:45 +0300)]
oeqa/selftest: Added decorators to buildoptions.py

Signed-off-by: Lucian Musat <georgex.l.musat@intel.com>
10 years agokernel.bbclass: use one package split for all firmware filename extensions
Carlos Rafael Giani [Sun, 21 Sep 2014 11:08:55 +0000 (13:08 +0200)]
kernel.bbclass: use one package split for all firmware filename extensions

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
10 years agou-boot: cleanup indentation and consolidate .inc file
Denys Dmytriyenko [Tue, 16 Sep 2014 23:10:00 +0000 (19:10 -0400)]
u-boot: cleanup indentation and consolidate .inc file

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
10 years agopopulate_sdk_base/meta-environment: Remove overlap from the two
Richard Purdie [Fri, 19 Sep 2014 17:09:12 +0000 (18:09 +0100)]
populate_sdk_base/meta-environment: Remove overlap from the two

Currently we have the horrible situation where meta-environment packages
the toolchain environment files and they get included in the SDK but are
broken, then, the SDK code overwrites them with good versions. This is
suboptimal.

This change fixes the code in meta-environment to create working
files and adds in the multilib support from populate_sdk_base, then
we remove the code in that base bbclass and rely on the packages
being installed if/as/when needed. This removes the duplication
and the broken versions of the files, hopefully making all well.

[YOCTO #6608]
[YOCTO #6613]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agometa-environment: Fix TARGET_OS problem for ppc
Richard Purdie [Fri, 19 Sep 2014 17:08:40 +0000 (18:08 +0100)]
meta-environment: Fix TARGET_OS problem for ppc

Due to the use of the cross-canadian inherit, TARGET_OS can be reset to
values other than the correct one, leading to generation of the wrong
files.

By expanding REAL_MULTIMACH_TARGET_SYS before the inherit, the correct
OS value is preserved and we generate the right environment files.

[YOCTO #6608]
[YOCTO #6613]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogstreamer1.0-plugins-bad: disable libssh2
Wenzong Fan [Thu, 18 Sep 2014 08:01:16 +0000 (04:01 -0400)]
gstreamer1.0-plugins-bad: disable libssh2

libssh2 is automatically linked to if present, this undetermined
dependency may cause build errors like:

  .../x86_64-poky-linux/4.9.0/ld: cannot find -lssh2

libssh2 isn't an oe-core recipe, disable it for now.

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
10 years agoperl: remove unneeded patches in ptest directory
Chong Lu [Thu, 18 Sep 2014 05:20:28 +0000 (13:20 +0800)]
perl: remove unneeded patches in ptest directory

The perl patches have been copied to ptest directory and these patches in
target rootfs are linked to build dir. The ptest of perl doesn't need these
patches, so remove them from target.

Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
10 years agopython: obey LDFLAGS
Christopher Larson [Wed, 3 Sep 2014 16:42:54 +0000 (09:42 -0700)]
python: obey LDFLAGS

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
10 years agoirda-utils: obey LDFLAGS
Christopher Larson [Wed, 3 Sep 2014 00:00:49 +0000 (17:00 -0700)]
irda-utils: obey LDFLAGS

While we're at it, also switch to explicit variable passing rather than
relying on make -e, and pass V=1 so the actual commands hit the logs.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
10 years agoblktrace: obey LDFLAGS for btrecord
Christopher Larson [Tue, 2 Sep 2014 22:58:50 +0000 (15:58 -0700)]
blktrace: obey LDFLAGS for btrecord

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
10 years agohostap-utils: obey LDFLAGS
Christopher Larson [Tue, 2 Sep 2014 22:56:25 +0000 (15:56 -0700)]
hostap-utils: obey LDFLAGS

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
10 years agosetserial: obey LDFLAGS
Christopher Larson [Tue, 2 Sep 2014 22:55:31 +0000 (15:55 -0700)]
setserial: obey LDFLAGS

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
10 years agoossp-uuid: obey LDFLAGS
Christopher Larson [Tue, 2 Sep 2014 22:53:52 +0000 (15:53 -0700)]
ossp-uuid: obey LDFLAGS

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
10 years agogdbm-1.8.3: obey LDFLAGS
Christopher Larson [Tue, 2 Sep 2014 21:12:41 +0000 (14:12 -0700)]
gdbm-1.8.3: obey LDFLAGS

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
10 years agozlib: obey LDFLAGS for tests
Christopher Larson [Wed, 28 May 2014 16:14:29 +0000 (09:14 -0700)]
zlib: obey LDFLAGS for tests

Signed-off-by: Christopher Larson <kergoth@gmail.com>
10 years agoltp: Added zip-native as a DEPENDS
Alejandro Hernandez [Thu, 18 Sep 2014 21:34:23 +0000 (16:34 -0500)]
ltp: Added zip-native as a DEPENDS

The Makefile checks for zip during installation

[YOCTO #6699]

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
10 years agoflex: fix the deps for ptest builds
Christopher Larson [Wed, 17 Sep 2014 01:22:02 +0000 (18:22 -0700)]
flex: fix the deps for ptest builds

Building the tests for flex requires flex-native and bison-native, but the
attempt to add this dependency was done incorrectly. Use an inline python
conditional based on PTEST_ENABLED instead.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
10 years agocmake.bbclass : Add support for cmake projects that use .S files.
Philip Balister [Wed, 17 Sep 2014 14:33:19 +0000 (10:33 -0400)]
cmake.bbclass : Add support for cmake projects that use .S files.

UHD and GNU radio use the cmake build system. The toolchain file made
from cmake.bbclass does not set the variable needs by cmake projects
that use .S files. UHD added some .S files and these changes are required
to build recent UHD.

Signed-off-by: Philip Balister <philip@balister.org>
10 years agosstatesig: fix overrides behaviour to remove SIGGEN_LOCKEDSIGS_i586
Hongxu Jia [Wed, 17 Sep 2014 07:22:26 +0000 (15:22 +0800)]
sstatesig: fix overrides behaviour to remove SIGGEN_LOCKEDSIGS_i586

Require a sig file which SIGGEN_LOCKEDSIGS_i586 is not null, but
the actual SIGGEN_LOCKEDSIGS_i586 is null.
Invoking 'bitbake -e' and we got:
...
 3935 # $SIGGEN_LOCKEDSIGS_i586 [2 operations]
 3936 #   set /path/to/locked-sigs.inc:8576
 3938 #   del data_smart.py:406 [finalize]
 3939 #     ""
...

It was caused by the following commit:
...
(Bitbake rev: 899d45b90061eb3cf3e71029072eee42cd80930c)
Author: Richard Purdie <richard.purdie@linuxfoundation.org>
Date:   Tue May 31 23:52:50 2011 +0100

    bitbake/data_smart: Change overrides behaviour to remove expanded
      variables from the datastore
...

We add prefix 't-' to type to workaround the overrides behaviour.

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
10 years agosstate: set SIGGEN_LOCKEDSIGS_CHECK_LEVEL default to error
Hongxu Jia [Wed, 17 Sep 2014 05:57:06 +0000 (13:57 +0800)]
sstate: set SIGGEN_LOCKEDSIGS_CHECK_LEVEL default to error

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
10 years agosstatesig.py: Replace '_'s with '-'s in SSTATE_LOCKEDSIGS* names.
Randy Witt [Fri, 12 Sep 2014 18:25:12 +0000 (11:25 -0700)]
sstatesig.py: Replace '_'s with '-'s in SSTATE_LOCKEDSIGS* names.

Using underscores in the "types" parts of the variable names can cause
unexpected issues with overrides. For example, if you have both
SSTATE_LOCKEDSIGS_x86_64 and SSTATE_LOCKEDSIGS_x86_64_i586, and i586
is in OVERRIDES, then you lose all of the contents in
SSTATE_LOCKEDSIGS_x86_64 and thus don't get some of the locked sstate.

Using '-'s in the variable names instead, eliminates these issues.

(From OE-Core rev: 6662c412a949a9f6b602c848e6303b19db7e5272)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosstatesig: Improve the support for locked down sstate cache usage
Hongxu Jia [Thu, 11 Sep 2014 08:30:16 +0000 (16:30 +0800)]
sstatesig: Improve the support for locked down sstate cache usage

Add code in the sstate hash validation code to ensure it really did
install these from sstate since if it didn't should to warn/abort
the build. The judgment condition is:
1) If a build is replaced by locked sstate-cache, it will triger a
   warn/error;
2) If objects are not used from the locked cache, it will triger a
   warn/error;
3) Use SIGGEN_LOCKEDSIGS_CHECK_LEVEL variable controls whether this
   is just a warning or a fatal error or nothing to report.

[YOCTO #6639]

(From OE-Core rev: 305912dce61c4fed0cbf631aa98a9e6f29db88e4)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosstatesig: Improve to handle locking of multiple machines
Richard Purdie [Fri, 5 Sep 2014 10:55:18 +0000 (11:55 +0100)]
sstatesig: Improve to handle locking of multiple machines

Instead of a single monolithic SIGGEN_LOCKEDSIGS, split this into
separate variables, one per sstate package architecture. Add in
a new SIGGEN_LOCKEDSIGS_TYPES variable which lists the package
architectures to load in.

SIGGEN_LOCKEDSIGS_TYPES is made machine specific using overrides.

Also sort the hashes in the lists by PN to make diffing them easier.

(From OE-Core rev: d8b0ce35981931a39e7db9d8e78de6e009b34688)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosstatesig/sstate: Add support for locked down sstate cache usage
Richard Purdie [Fri, 5 Sep 2014 09:40:02 +0000 (10:40 +0100)]
sstatesig/sstate: Add support for locked down sstate cache usage

I've been giving things some thought, specifically why sstate doesn't
get used more and why we have people requesting external toolchains. I'm
guessing the issue is that people don't like how often sstate can change
and the lack of an easy way to lock it down.

Locking it down is actually quite easy so patch implements some basics
of how you can do this (for example to a specific toolchain). With an
addition like this to local.conf (or wherever):

SIGGEN_LOCKEDSIGS = "\
gcc-cross:do_populate_sysroot:a8d91b35b98e1494957a2ddaf4598956 \
eglibc:do_populate_sysroot:13e8c68553dc61f9d67564f13b9b2d67 \
eglibc:do_packagedata:bfca0db1782c719d373f8636282596ee \
gcc-cross:do_packagedata:4b601ff4f67601395ee49c46701122f6 \
"

the code at the end of the email will force the hashes to those values
for the recipes mentioned. The system would then find and use those
specific objects from the sstate cache instead of trying to build
anything.

Obviously this is a little simplistic, you might need to put an override
against this to only apply those revisions for a specific architecture
for example. You'd also probably want to put code in the sstate hash
validation code to ensure it really did install these from sstate since
if it didn't you'd want to abort the build.

This patch also implements support to add to bitbake -S which dumps the
locked sstate checksums for each task into a ready prepared include file
locked-sigs.inc (currently placed into cwd). There is a function,
bb.parse.siggen.dump_lockedsigs() which can be called to trigger the
same functionality from task space.

A warning is added to sstate.bbclass through a call back into the siggen
class to warn if objects are not used from the locked cache. The
SIGGEN_ENFORCE_LOCKEDSIGS variable controls whether this is just a warning
or a fatal error.

A script is provided to generate sstate directory from a locked-sigs file.

(From OE-Core rev: 7e14784f2493a19c6bfe3ec3f05a5cf9797a2f22)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogcc-configure/gcc-common: Move preconfigure definition to common include
Richard Purdie [Tue, 16 Sep 2014 11:52:06 +0000 (11:52 +0000)]
gcc-configure/gcc-common: Move preconfigure definition to common include

There is a race where:

NOTE: recipe libgcc-initial-4.9.1-r0: task do_configure: Started
NOTE: recipe gcc-runtime-4.9.1-r0: task do_preconfigure: Started

| checking build system type... /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-deb/build/build/tmp/work-shared/gcc-4.9.1-r0/gcc-4.9.1/libgcc/../config.sub: line 1711: syntax error near unexpected token `;;'
| /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-deb/build/build/tmp/work-shared/gcc-4.9.1-r0/gcc-4.9.1/libgcc/../config.sub: line 1711: ` ;;'
| configure: error: /bin/bash /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-deb/build/build/tmp/work-shared/gcc-4.9.1-r0/gcc-4.9.1/libgcc/../config.sub x86_64-linux failed
| WARNING: exit code 2 from a shell command.

so we need to make sure the preconfigure task executes in all shared
work contexts.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agolibgcrypt: Fix ARM assembly when building __PIC__
Jackie Huang [Mon, 15 Sep 2014 10:16:00 +0000 (06:16 -0400)]
libgcrypt: Fix ARM assembly when building __PIC__

libgcrypt.so.20 contains .text relocations, backport a patch
to fix it.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agobuild-appliance-image: remove hardwired path
Cristian Iorga [Tue, 16 Sep 2014 07:18:00 +0000 (10:18 +0300)]
build-appliance-image: remove hardwired path

Remove wrong absolute hardwired path
for the VM disk image.

Fixes [YOCTO #6728].

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agorsync: remove trailing whitespace
Ross Burton [Mon, 15 Sep 2014 14:27:26 +0000 (15:27 +0100)]
rsync: remove trailing whitespace

Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agorsync: Add PACKAGECONFIG for acl/attr
Roy Li [Mon, 15 Sep 2014 09:01:36 +0000 (17:01 +0800)]
rsync: Add PACKAGECONFIG for acl/attr

Add PACKAGECONFIG for acl/attr
and setting the default value to enable them

[ RB: fix PACKAGECONFIG assignment ]

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agosystemd: fix to use ${libdir} for libraries
Chen Qi [Mon, 15 Sep 2014 02:05:03 +0000 (10:05 +0800)]
systemd: fix to use ${libdir} for libraries

We need to use ${libdir} instead of ${exec_prefix}/lib for libraries.
Otherwise, we would meet do_install errors if multilib is enabled.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agolttng-tools: add PACKAGECONFIG to support --enable-python-bindings and lttng-ust
Hongxu Jia [Thu, 4 Sep 2014 07:51:00 +0000 (15:51 +0800)]
lttng-tools: add PACKAGECONFIG to support --enable-python-bindings and lttng-ust

Add PACKAGECONFIG to support --enable-python-bindings
Add PACKAGECONFIG to support lttng-ust

And python-bindings requires swig-native as DEPENDS, and
swig-native is not in oe-core, so disable python-bindings
by default

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agoi2c-tools: create i2c-tools-misc package for perl scripts
Chong Lu [Tue, 9 Sep 2014 01:54:00 +0000 (09:54 +0800)]
i2c-tools: create i2c-tools-misc package for perl scripts

The patch is to split those perl scripts from the main package.
Add perl to RDEPENDS_i2c-tools-misc.

Signed-off-by: Michel Thebeau <michel.thebeau@windriver.com>
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agoportmap: add systemd service file
Chen Qi [Sun, 14 Sep 2014 06:48:52 +0000 (14:48 +0800)]
portmap: add systemd service file

Add systemd service file for systemd support.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agoportmap: fix INITSCRIPT_PARAMS
Chen Qi [Sun, 14 Sep 2014 06:48:51 +0000 (14:48 +0800)]
portmap: fix INITSCRIPT_PARAMS

Fix portmap init to make it run at runlevel 2,3,4,5.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agodropbear: add pam modules dependencies
Wenzong Fan [Fri, 12 Sep 2014 08:57:34 +0000 (04:57 -0400)]
dropbear: add pam modules dependencies

If pam distro feature enabled, dropbear will need below pam rpms
to work:

  * libpam-runtime
  * pam-plugin-deny
  * pam-plugin-permit
  * pam-plugin-unix

Just add the runtime dependencies explicitly.

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agoat-spi2-core: fix DBIND_CHECK_ALIGNOF m4 macro
Joe Slater [Fri, 12 Sep 2014 19:20:22 +0000 (12:20 -0700)]
at-spi2-core: fix DBIND_CHECK_ALIGNOF m4 macro

Modify the macro so it will work when cross-compiling.
Note that the values checked are normally in a site file
so the macro rarely has to discover them.

Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agogrub-efi: Replace _BSD_SOURCE macro with _DEFAULT_SOURCE
Robert Yang [Tue, 9 Sep 2014 07:38:30 +0000 (00:38 -0700)]
grub-efi: Replace _BSD_SOURCE macro with _DEFAULT_SOURCE

This is needed with glibc 2.20 since _BSD_SOURCE
macro is gone

Khem fixed grub, but the grub-efi also needs it, the patch can't apply
to grub-efi, so made a new patch for it.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agogstreamer1.0-plugins-bad.inc: Add rtmp support in gstreamer.
Marie Kowalczyk [Fri, 12 Sep 2014 08:54:49 +0000 (10:54 +0200)]
gstreamer1.0-plugins-bad.inc: Add rtmp support in gstreamer.

RTMP feature depends on rtmpdump.

Signed-off-by: Marie Kowalczyk <marie.kowalczyk@vodalys.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agosstate.bbclass: fix sstate_hardcode_path()
Robert Yang [Fri, 12 Sep 2014 09:54:18 +0000 (02:54 -0700)]
sstate.bbclass: fix sstate_hardcode_path()

The "grep -e (x|y)" doesn't work, for example:
$ echo xy | grep -e '(x|y)'
No output

We can use "grep -E" (extended regexp) or "grep -e x -e y" to fix it.
It only affected the cross recipes.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agolicense: Improve disk usage
Richard Purdie [Fri, 12 Sep 2014 15:39:49 +0000 (16:39 +0100)]
license: Improve disk usage

Currently copies of the license files are made which wastes disk space
and adversely affects performance. We can link these instead in most
cases for small performance gains.

(From OE-Core rev: 0b0f3631fd22f731b6aeedb73965e367b695028b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosstate: Fix incorrect return value handling
Richard Purdie [Fri, 12 Sep 2014 15:39:16 +0000 (16:39 +0100)]
sstate: Fix incorrect return value handling

The use of [ and && here means $? is reset and the exit 1 error
interception wasn't working, leading to "file changed as we read it"
errors from sstate_create_package when heavily using hardlinks.

Fix this by placing $? into a variable.

(From OE-Core rev: 6e51f900b76b06c09a3d6927f8db7398e2c035ed)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoshadow: Make useradd work correctly with --root again
Peter Kjellerstedt [Fri, 12 Sep 2014 15:05:00 +0000 (17:05 +0200)]
shadow: Make useradd work correctly with --root again

Even if useradd --root <root> is used it would still read login.defs
before doing the chroot() and thus use the one provided by the host
rather than the sysroot.

(From OE-Core rev: b85917a4ebe636316fa7305017cd32a47b392039)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoclasses/populate_sdk_base: enable adding custom commands to SDK install script
Paul Eggleton [Wed, 10 Sep 2014 17:19:31 +0000 (18:19 +0100)]
classes/populate_sdk_base: enable adding custom commands to SDK install script

Add an SDK_POST_INSTALL_COMMAND variable which allows additional
commands to be added towards the end of the SDK install script, for e.g.
additional processing that needs to be done as part of installing the
SDK.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoxserver-xorg: remove aarch64.patch
Kai Kang [Thu, 11 Sep 2014 03:31:09 +0000 (11:31 +0800)]
xserver-xorg: remove aarch64.patch

Patch aarch64.patch adds aarch64 support for xserver-xorg 1.13.1 in
header file servermd.h. And aarch64 is supported in version 1.15.1
already and the patch causes redefine error.

So remove aarch64.patch.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobuild-appliance-image: upgraded VMware machine config
Cristian Iorga [Thu, 11 Sep 2014 15:33:25 +0000 (18:33 +0300)]
build-appliance-image: upgraded VMware machine config

Build Appliance VMware configuration has
been modernized:
- Default disk is a SATA one;
- CDROM and Floppy drives removed, no real use;
- 3D acceleration not really present, removed;
This solves a warning that VMware
Player/Workstation was displaying at boot.
- IDE disk removed.
- guestOS has been set to a 64bits Linux.

Fixes [YOCTO #6680].

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agonspr: Upgrade to 4.10.7
Saul Wold [Tue, 9 Sep 2014 23:15:11 +0000 (16:15 -0700)]
nspr: Upgrade to 4.10.7

Remove patch that was directly modifing the configure script
since we can now use autoreconf to configure.  This also allowed
for the removal of the do_configure() functions.

Added patch to remove an undefined ${srcdir}.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
10 years agopackagegroup-self-hosted: move graphics packages to graphics group
Jackie Huang [Sat, 6 Sep 2014 00:25:12 +0000 (20:25 -0400)]
packagegroup-self-hosted: move graphics packages to graphics group

The following packages are gui based tools:
  xdg-utils       # A set of common interfaces for desktop
  leafpad         # A GTK+ text editor used in Build Appliance
  midori          # A web browser used in Build Appliance
  pcmanfm         # PCManFm file manager used in Build Appliance
  vte             # Virtual terminal emulator GTK+ widget library

Move them to packagegroup-self-hosted-graphics so that we can make
a graphics free self-hosted image by excluding the
packagegroup-self-hosted-graphics.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>