scm/bb/tizen-distro.git
10 years agoppp: add systemd support
Chen Qi [Wed, 23 Apr 2014 09:40:52 +0000 (17:40 +0800)]
ppp: add systemd support

Add systemd support for ppp.
The unit file mostly comes from ArchLinux.

(From OE-Core rev: e84f7ea24b08e3127b70731908b819fbdc1cbfd5)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobind: add systemd support
Chen Qi [Wed, 23 Apr 2014 09:40:51 +0000 (17:40 +0800)]
bind: add systemd support

Add systemd support for bind.

(From OE-Core rev: 812f69fee5fceef853c42960f3d90491bda8378a)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocronie: add systemd support
Chen Qi [Wed, 23 Apr 2014 09:40:50 +0000 (17:40 +0800)]
cronie: add systemd support

Add systemd support for cronie.

(From OE-Core rev: 8a92601f8a2030f7875ee1fc6f09fd8242bd7e0d)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoreport-error: Add posting in the public note
Saul Wold [Tue, 22 Apr 2014 23:42:25 +0000 (16:42 -0700)]
report-error: Add posting in the public note

(From OE-Core rev: c2eb5cd1aa4632f7ee8c261414e599dcb6f40a8b)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibnl: update to 3.2.24
Saul Wold [Tue, 22 Apr 2014 23:49:32 +0000 (16:49 -0700)]
libnl: update to 3.2.24

Remove patch that is now in the upstream version
Add new package for idiag libraries.

(From OE-Core rev: 407db800da02032e07e94b0b837a89cfb3e204a0)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosqlite3: Update to 3080403
Saul Wold [Tue, 22 Apr 2014 23:49:31 +0000 (16:49 -0700)]
sqlite3: Update to 3080403

And rename the PV to match the upstream versioning
This requires a PE Bump to ensure package versions don't
go backwards.

(From OE-Core rev: dbcb25038959e4cf252ba812176a112a49a382d5)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoutil-macros: update to 1.19.0
Saul Wold [Tue, 22 Apr 2014 23:49:30 +0000 (16:49 -0700)]
util-macros: update to 1.19.0

(From OE-Core rev: 79a849f86161e506655b5d2b0cff81fa63408af5)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibxkbcommon: update to 0.4.1
Saul Wold [Tue, 22 Apr 2014 23:49:29 +0000 (16:49 -0700)]
libxkbcommon: update to 0.4.1

(From OE-Core rev: 21562ba0c4746d9c63779d63996109200454c088)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agomsmtp: update to 1.4.32
Saul Wold [Tue, 22 Apr 2014 23:49:28 +0000 (16:49 -0700)]
msmtp: update to 1.4.32

(From OE-Core rev: f7cf5fa6fff149e30472ad5123eae7bb68169b2c)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoman-pages: update to 3.64
Saul Wold [Tue, 22 Apr 2014 23:49:26 +0000 (16:49 -0700)]
man-pages: update to 3.64

(From OE-Core rev: 5a4fa113ee49f916daddba8ef340649ac788101c)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolsbinitscripts: update to 9.53
Saul Wold [Tue, 22 Apr 2014 23:49:25 +0000 (16:49 -0700)]
lsbinitscripts: update to 9.53

(From OE-Core rev: 96c8ef95c9e491485c33bb89f2edc67d63b0a0b5)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocups: update to 1.7.2
Saul Wold [Tue, 22 Apr 2014 23:49:24 +0000 (16:49 -0700)]
cups: update to 1.7.2

(From OE-Core rev: 7286cc71dc7641ce08bf0a0f13e1e90a4a5470c8)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agohelp2man update to 1.44.1
Saul Wold [Tue, 22 Apr 2014 23:49:23 +0000 (16:49 -0700)]
help2man update to 1.44.1

(From OE-Core rev: dde45f7da96ce9a3afb5713ea84f18f42541a002)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogsettings-desktop-schemas: add missing dependency on intltool-native
Martin Jansa [Fri, 18 Apr 2014 21:27:47 +0000 (23:27 +0200)]
gsettings-desktop-schemas: add missing dependency on intltool-native

* do_configure fails with:
  | NOTE: Executing intltoolize --copy --force --automake
  | /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/gsettings-desktop-schemas/3.10.1-r1/temp/run.do_configure.1111: 180:
  /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/gsettings-desktop-schemas/3.10.1-r1/temp/run.do_configure.1111:
   intltoolize: not found
  | WARNING: exit code 127 from a shell command.
  | ERROR: Function failed: do_configure (log file is located at
  /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/gsettings-desktop-schemas/3.10.1-r1/temp/log.do_configure.1111)
  NOTE: recipe gsettings-desktop-schemas-3.10.1-r1: task do_configure:

* introduced in:
  commit 1138976f7bdcd24ef57451a2c2ceffa43666610f
  Author: Alexandru Palalau <alexandrux.palalau@linux.intel.com>
  Date:   Tue Mar 11 13:27:46 2014 +0000

    gsettings-desktop-schemas: removed unneeded class inheritance

(From OE-Core rev: 4a159a086db42467c310b1fa80fee13c53168729)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoapr: do not try to use sctp.h
Joe Slater [Fri, 18 Apr 2014 22:38:35 +0000 (15:38 -0700)]
apr: do not try to use sctp.h

If we let configure look for sctp.h it might find it
on the host, so suppress the search with two cached
config variables.

(From OE-Core rev: 4aa6616661cc7a0eda4e9ba3e82a22472b444595)

Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoPR bumps to remove PRINC use in meta-openpli
Mike Looijmans [Sun, 20 Apr 2014 12:39:38 +0000 (14:39 +0200)]
PR bumps to remove PRINC use in meta-openpli

Resolves warnings of this kind in the OpenPLi layer:
 WARNING: Use of PRINC * was detected in the recipe *

(From OE-Core rev: 5ffb38d6ace7faae839c8cac7327b5b1c2daae1a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoconsole-tools: Remove floating runtime dependency on flex
Jacob Kroon [Mon, 21 Apr 2014 10:23:00 +0000 (12:23 +0200)]
console-tools: Remove floating runtime dependency on flex

The 'loadkeys' program defines its own yywrap()/yylex() functions,
there is no need to link with flex shared library.

(From OE-Core rev: 69a7c9345360b61eda79f818775656fc1aa9932c)

Signed-off-by: Jacob Kroon <jacob.kroon@mikrodidakt.se>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agooprofileui-server_git: add avahi-daemon to RDEPENDS list
Adrian Calianu [Tue, 22 Apr 2014 08:04:14 +0000 (10:04 +0200)]
oprofileui-server_git: add avahi-daemon to RDEPENDS list

oprofileui-server recipe depends on avahi recipe. But avahi recipe
generates more packages and one of those packages(avahi-daemon) which
oprofileui-server expected to be available is not found into image.
A runtime dependency of oprofileui-server on avahi-daemon is required.

Upstream-Status: Pending

(From OE-Core rev: 1163b6e619102bea08c429e49a4792abfa234c1c)

Signed-off-by: Adrian Calianu <adrian.calianu@enea.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoliberror-perl: add 0.17022
Koen Kooi [Thu, 17 Apr 2014 09:07:38 +0000 (11:07 +0200)]
liberror-perl: add 0.17022

This is needed for git-perltools to work:

koen@beast:/build/v2014.06/sources/meta-openembedded$ git send-email -M -1 --to openembedded-devel@lists.openembedded.org --subject-prefix=meta-oe][PATCH
Can't locate Error.pm in @INC (@INC contains: /usr/lib/perl/5.14.3 /etc/perl /usr/lib/perl/site_perl/5.14.3/ /usr/lib/perl/site_perl/5.14.3 /usr/lib/perl/vendor_perl/5.14.3/ /usr/lib/perl/vendor_perl/5.14.3 /usr/lib/perl/5.14.3/ /usr/local/lib/site_perl .) at /usr/lib/git/git-core/git-send-email line 30.

(From OE-Core rev: b4f453e435739b2a692980a87504393156aaaaf5)

Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibpng: bump to 1.6.10
Maxin B. John [Wed, 23 Apr 2014 12:41:39 +0000 (14:41 +0200)]
libpng: bump to 1.6.10

1. Fixes CVE-2014-0333
2. There are changes in License checksums. This is due to new
   contributor names being added to LICENSE and png.h file
   contains version of the new release.So, license remains the same.

(From OE-Core rev: 270e82399915d1f620756e380464f984c8a2cda8)

Signed-off-by: Maxin B. John <maxin.john@enea.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopixbufcache: add error exit in pixbufcache_sstate_postinst
Joe Slater [Tue, 22 Apr 2014 18:00:41 +0000 (11:00 -0700)]
pixbufcache: add error exit in pixbufcache_sstate_postinst

In order to attempt recovery of a failed populate_sysroot_setscene,
we need to explicitly error exit an SSTATEPOSTINSTFUNC.  So, we test
the return value of gdk-pixbuf-query-loaders.

(From OE-Core rev: 17bdb2538e6b723e11afb1079c71363603dba63d)

Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoautotools: Enable separate builddir by default
Richard Purdie [Thu, 27 Feb 2014 17:55:50 +0000 (17:55 +0000)]
autotools: Enable separate builddir by default

(From OE-Core rev: baf5b230af919b6b0fd14ac5fc3e734bf7c464d5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: bitbake-worker: Drop BBHASH variables
Richard Purdie [Sun, 13 Apr 2014 10:49:45 +0000 (11:49 +0100)]
bitbake: bitbake-worker: Drop BBHASH variables

Iterating through and calling setVar on this number of variables has significant
overhead in the profiling data. By not setting this, we save 3,000 calls
to setVar which gives a noticeable improvement to the speed of task execution.

The BBHASH variables have since been replaced by accessing that data through
the siggen code and going forward, that is the preferred way work with it.

(Bitbake rev: 92526eadd09d19938762290e0492076174367583)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: parse/ast: Optimise data finalisation
Richard Purdie [Sun, 13 Apr 2014 10:48:53 +0000 (11:48 +0100)]
bitbake: parse/ast: Optimise data finalisation

The optimisation where only the data we're interested in was finalised
was good but it turns out we can do better. In the case where a
class-extension is to be targeted, we can skip the other targets.

This change does that and speeds up parsing at the bitbake-worker
execution time. Specifically, you can see an improvement in the speed
of bitbake X -n.

(Bitbake rev: b56918c7ef7913e84356c69ee9b269844a446728)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: runqueue: Do not write out stamp files in dry_run mode
Richard Purdie [Sun, 13 Apr 2014 10:45:58 +0000 (11:45 +0100)]
bitbake: runqueue: Do not write out stamp files in dry_run mode

In dry run mode, stamps for noexec tasks are being written out which
is incorrect. Avoid this.

(Bitbake rev: aa6448a0552ba2947ac262b8b5314a593d1058d3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: runqueue: Fix task weighting algorithm
Richard Purdie [Sun, 13 Apr 2014 10:45:03 +0000 (11:45 +0100)]
bitbake: runqueue: Fix task weighting algorithm

When looking at a list of tasks, do_patch and do_unpack were being
given equal priority when one clearly depends on another. The
reason for this was the default task weights of 0 being to tasks.
This is therefore changed to 1 to allow correct weighting of dependencies
which means the scheduler has better information available to it about
tasks.

Weight endpoints differently (10) for clearer debugging of priorities.

(Bitbake rev: 12dc1d17fac3e8ec420fcafb06186d32fd847d89)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: runqueue: Fix handling of zero priority task
Richard Purdie [Sun, 13 Apr 2014 10:44:25 +0000 (11:44 +0100)]
bitbake: runqueue: Fix handling of zero priority task

The zero priority task should be run first but was being confused with
the None value the priority field defaulted to. Check for None
explicitly to avoid this error.

In the real world this doesn't change much but it confused the debug
output from the schedulers.

(Bitbake rev: 49c9d8c9400f74c804c2f36462639236e0841ff0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: bitbake: toaster: Fix Empty tasks filter
Belen Barros Pena [Fri, 11 Apr 2014 16:32:31 +0000 (17:32 +0100)]
bitbake: bitbake: toaster: Fix Empty tasks filter

Somehow the counter was set to count tasks with outcome
'not available', instead of outcome 'empty'. This patch
fixes the problem.

[YOCTO #6146]

(Bitbake rev: 1cc2a299c842185ba14074817d5cd2925275610b)

Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: bitbake: toaster: Fix total number of tasks in build dashboard
Belen Barros Pena [Fri, 11 Apr 2014 16:32:30 +0000 (17:32 +0100)]
bitbake: bitbake: toaster: Fix total number of tasks in build dashboard

The total number of tasks in the build dashboard was counting
_setscene tasks, which are not exposed by Toaster as separate
tasks. This patch makes sure that _setscene tasks are not
counted when calculating that number.

[YOCTO #6145]

(Bitbake rev: f8817c060042147a173d3451121304b25ffc4b6c)

Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agokmod: upgrade to v17 via git
Cristiana Voicu [Fri, 18 Apr 2014 06:40:36 +0000 (09:40 +0300)]
kmod: upgrade to v17 via git

Just one patch has some small changes because the new code
has another fix for unaligned access.

(From OE-Core rev: 1d82fb4f1980bbe3c9cf0fffb45702bddda73307)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agomtd-utils: upgrade to 1.5.1+gitAUTOINC+12158de
Cristiana Voicu [Fri, 18 Apr 2014 06:40:35 +0000 (09:40 +0300)]
mtd-utils: upgrade to 1.5.1+gitAUTOINC+12158de

(From OE-Core rev: d2a7665ac5615482d1d212410064a7d23dd196de)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoat-spi2-core: upgrade to 2.12.0
Cristiana Voicu [Fri, 18 Apr 2014 06:40:34 +0000 (09:40 +0300)]
at-spi2-core: upgrade to 2.12.0

(From OE-Core rev: c27b4b47b1d69965ce3da7560f57c972cbf8085d)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoat-spi2-atk: upgrade to 2.12.0
Cristiana Voicu [Fri, 18 Apr 2014 06:40:33 +0000 (09:40 +0300)]
at-spi2-atk: upgrade to 2.12.0

(From OE-Core rev: 982443d0d9373aba3d86a977c16a8780425b736e)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoatk: upgrade to 2.12.0
Cristiana Voicu [Fri, 18 Apr 2014 06:40:32 +0000 (09:40 +0300)]
atk: upgrade to 2.12.0

(From OE-Core rev: 95d85136a4ab62ce60e915755a1252e5472108cc)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocurl: upgrade to 7.36.0
Cristiana Voicu [Fri, 18 Apr 2014 06:40:31 +0000 (09:40 +0300)]
curl: upgrade to 7.36.0

(From OE-Core rev: a4b5173dcba0384589debceebf90e98a2cbadd63)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopango: upgrade to 1.36.3
Cristiana Voicu [Fri, 18 Apr 2014 06:40:30 +0000 (09:40 +0300)]
pango: upgrade to 1.36.3

(From OE-Core rev: e61afbdf0227b8905092571c84ffd6fdeccc34be)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agomklibs-native: upgrade from 0.1.38 to 0.1.39
Robert Yang [Thu, 20 Mar 2014 02:19:06 +0000 (10:19 +0800)]
mklibs-native: upgrade from 0.1.38 to 0.1.39

* Fix the HOMEPAGE
* Fix the SRC_URI, .tar.gz has gone, only .tar.xz now.

(From OE-Core rev: f441f0693670da976ca38fa85717878f6958a359)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoautomake: upgrade from 1.14 to 1.14.1
Robert Yang [Thu, 20 Mar 2014 02:19:05 +0000 (10:19 +0800)]
automake: upgrade from 1.14 to 1.14.1

(From OE-Core rev: 07c158691f298b1a561a73c40480176625f309d9)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agowget: upgrade from 1.14 to 1.15
Robert Yang [Thu, 20 Mar 2014 02:19:04 +0000 (10:19 +0800)]
wget: upgrade from 1.14 to 1.15

* Removed:
  - fix_doc.patch (backport)
* Add the HOMEPAGE.

(From OE-Core rev: c5ed2e443d8f3d6c31a3fa99cddc20b8f89f7d0e)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agofile: upgrade from 5.16 to 5.17
Robert Yang [Thu, 20 Mar 2014 02:19:03 +0000 (10:19 +0800)]
file: upgrade from 5.16 to 5.17

(From OE-Core rev: cf1a4a8b1a0ece2f75fab9d79c69ce2726ef78b9)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolttng-modules: update to 2.4.1 version
Chunrong Guo [Mon, 14 Apr 2014 06:13:43 +0000 (14:13 +0800)]
lttng-modules: update to 2.4.1 version

    *This updates lttng-modules for 2.4.1 and
     it also fixes the build with 3.13 Linux kernel.

(From OE-Core rev: 023c2401677f9af6895887d6e8bca2fd1d730985)

Signed-off-by: Chunrong Guo <B40290@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogrub-efi: Use a variable to specify built-in grub modules.
Philip Tricca [Wed, 16 Apr 2014 01:16:48 +0000 (01:16 +0000)]
grub-efi: Use a variable to specify built-in grub modules.

The previous behavior defines a static set of modules that are built
into the grub efi executable. This works fine for a limited set of boot
environments namely the standard linux/initrd. This patch conditionally
 assigns the same modules to a variable. This allows other meta layers
to add additional modules or completely override the defaults. The use
case driving this patch is the use of multiboot2 and related modules.

(From OE-Core rev: 597f8e0040ba3135220000b23767858c64b5c9b8)

Signed-off-by: Philip Tricca <flihp@twobit.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoopenssh-sshd: host contamination fix
Matthieu Crapet [Mon, 14 Apr 2014 13:56:05 +0000 (15:56 +0200)]
openssh-sshd: host contamination fix

If you do a readelf -x .rodata /path/.../to/openssh/6.5p1-r0/packages-split/openssh-sshd/usr/sbin/sshd

You'll see two references to OE's sysroots/${BUILD_SYS} login and passwd binaries.
First one can be overridden with LOGIN_PROGRAM environment variable (see configure.ac),
second needs a cached variable definition.

(From OE-Core rev: 2127c80d0cc2a3a4d676bd3c0890454a175fba8e)

Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogrub git: workaround debugedit problems
Koen Kooi [Mon, 14 Apr 2014 08:03:37 +0000 (10:03 +0200)]
grub git: workaround debugedit problems

Debugedit errors out on bare metal binaries. The first version of this patch limited it to 64 bit targets, but the problem now shows up on 32 bit targets (minnowboard) as well.

(From OE-Core rev: f95c7611007ddda3fe36db90168c7d5de096f9cd)

Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agomake menuconfig work for recent xfce environment
Andreas Müller [Thu, 17 Apr 2014 08:13:26 +0000 (10:13 +0200)]
make menuconfig work for recent xfce environment

xfce terminal was renamed 'Terminal' -> 'xfce4-teminal' mainline end of 2012,
so the distros supporting 'Terminal' will dissapear. The distros not
mentionied in  __init__ do (e.g fedora 19 - tested) fail - or will fail
sooner or later.

(From OE-Core rev: d07f3812ec371da6f18fa1dd920cdde470bd89ad)

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolinux-yocto/3.14: aufs, edgerouter config and -rt
Bruce Ashfield [Sat, 12 Apr 2014 04:10:11 +0000 (00:10 -0400)]
linux-yocto/3.14: aufs, edgerouter config and -rt

Updating the 3.14 SRCREVs to import the following changes:

  - enable AUFS: a missing Kbuild patch was preventing aufs from compiling
  - edgerouter: remove RTC configuration options
  - preempt-rt recipe. The patch for 3.14 is availble, so we populate the recipe.

(From OE-Core rev: 8e38a24a9d9cd44733a25d3de307907a788d643d)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agorecipe_sanity.bbclass: avoid error when running 'bitbake -e'
Andreas Oberritter [Fri, 11 Apr 2014 18:56:13 +0000 (20:56 +0200)]
recipe_sanity.bbclass: avoid error when running 'bitbake -e'

Running 'bitbake -e' without further arguments causes a stack trace on stderr:

| ERROR: Command execution failed: Traceback (most recent call last):
|   File "[...]/bitbake/lib/bb/command.py", line 99, in runAsyncCommand
|     commandmethod(self.cmds_async, self, options)
|   File "[...]/bitbake/lib/bb/command.py", line 405, in showEnvironment
|     command.cooker.showEnvironment(bfile)
|   File "[...]/bitbake/lib/bb/cooker.py", line 453, in showEnvironment
|     logger.plain("\npython %s () {\n%s}\n", e, data.getVar(e, envdata, 1))
|   File "[...]/bitbake/lib/bb/data.py", line 89, in getVar
|     return d.getVar(var, exp)
|   File "[...]/bitbake/lib/bb/data_smart.py", line 522, in getVar
|     return self.getVarFlag(var, "_content", expand, noweakdefault)
|   File "[...]/bitbake/lib/bb/data_smart.py", line 612, in getVarFlag
|     value = self.expand(value, cachename)
|   File "[...]/bitbake/lib/bb/data_smart.py", line 350, in expand
|     return self.expandWithRefs(s, varname).value
|   File "[...]/bitbake/lib/bb/data_smart.py", line 340, in expandWithRefs
|     raise ExpansionError(varname, s, exc)
| ExpansionError: Failure expanding variable can_delete_FILESPATH, expression was def can_delete_FILESPATH(cfgdata, d):
|     expected = cfgdata.get("FILESPATH")
|     #expected = "${@':'.join([os.path.normpath(os.path.join(fp, p, o)) for fp in d.getVar('FILESPATHBASE', True).split(':') for p in d.getVar('FILESPATHPKG', True).split(':') for o in (d.getVar('OVERRIDES', True) + ':').split(':') if os.path.exists(os.path.join(fp, p, o))])}:${FILESDIR}"
|     expectedpaths = d.expand(expected)
|     unexpanded = d.getVar("FILESPATH", 0)
|     filespath = d.getVar("FILESPATH", True).split(":")
|     filespath = [os.path.normpath(f) for f in filespath if os.path.exists(f)]
|     for fp in filespath:
|         if not fp in expectedpaths:
|             # __note("Path %s in FILESPATH not in the expected paths %s" %
|             # (fp, expectedpaths), d)
|             return False
|     return expected != unexpanded
|  which triggered exception AttributeError: 'NoneType' object has no attribute 'split'

Removing the commented second line in can_delete_FILESPATH() hides the error.

(From OE-Core rev: a84c36e0e5e8332ddc5a6c34e1f598d5cb87cee2)

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoscripts/send-error-report: simple hack to use proxy from the enviroment
Stefan Stanacar [Fri, 11 Apr 2014 17:49:14 +0000 (20:49 +0300)]
scripts/send-error-report: simple hack to use proxy from the enviroment

People behind a proxy couldn't send an error report to an upstream server,
this should fix the issue if they use a proxy that doesn't require authentication,
or one that uses basic http authentication and it's correctly exported in the enviroment.

(From OE-Core rev: a8511ee80246b4e2caa353b87f4b586f1539e6d4)

Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoicecc: don't create unnecessary 'ice' dirs in sysroots when disabled
Martin Jansa [Fri, 11 Apr 2014 15:07:39 +0000 (17:07 +0200)]
icecc: don't create unnecessary 'ice' dirs in sysroots when disabled

* parsing ICE_PATH="${@icc_path(bb, d)}" causes "ice" directories
  to be created in every sysroot, that could be a bit confusing for
  people who inherit icecc.bbclass, but disabled it
* shorten ICECC_VERSION="${@icc_version(bb, d)}" path a bit
  by returning sooner when disabled
* remove ICECC_PATH and ICECC_ENV_EXEC from signatures, we assume that
  using icecc doesn't influence the output, so it shouldn't matter when
  user supplies own version of icecc or env script
* always compare ICECC_DISABLED with "1", boolean typed_value isn't used
  because documentation already mentions using empty value to keep icecc
  enabled and that's not valid boolean value when oe.data.typed_value is
  used:
  ERROR: ICECC_DISABLED: Invalid boolean value ''

(From OE-Core rev: c3e8bfe30685e2357a6eb3ba8f4a014c7dc9f58e)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoshadow: fix building systemd with useradd-staticids.bbclass enabled
Andreas Müller [Thu, 10 Apr 2014 18:07:48 +0000 (20:07 +0200)]
shadow: fix building systemd with useradd-staticids.bbclass enabled

| groupadd: 'systemd-journal-gateway' is not a valid group name

Without useradd-staticids enabled, group 'systemd-journal-gateway' is created
by useradd and that seems not to care for GROUP_NAME_MAX_LENGTH which has 16 by
default.

(From OE-Core rev: 33c7892326de296cc6d143577be5b395ac887d91)

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoselftest: DiskMonTest: use a high value for free space
Stefan Stanacar [Fri, 11 Apr 2014 11:04:49 +0000 (14:04 +0300)]
selftest: DiskMonTest: use a high value for free space

Using the free space of the host works when
oe-selftest is the only build running, but if something else
on the host remove things this will fail (as seen on AB).
Using an absurdly high value should fix this.

(From OE-Core rev: 413fc934fadbd3603b7f78dfd3cc0ac83bb0377f)

Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibav: Add libsdl to DEPENDS only when x11 is enabled
Khem Raj [Sat, 19 Apr 2014 09:59:28 +0000 (02:59 -0700)]
libav: Add libsdl to DEPENDS only when x11 is enabled

When we have opengl in distro features but not x11 and try to
build libav then it calls out to build libsdl which inturn has depependency on libglu
and libglu fails to build

ld: error: cannot find -lGL
| collect2: error: ld returned 1 exit status
| make: *** [libGLU.la] Error 1
| ERROR: oe_runmake failed

since libglu wants glx enabled in mesa and glx in mesa is (righly) enabled only when x11
is in distro features.

This breaks the dependency chain leading to this problem

(From OE-Core rev: fe9fe5ca5039743fc80d14f0518b95929c458b1a)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibnotify: add dbus-glib dependency
Martin Jansa [Fri, 18 Apr 2014 20:01:18 +0000 (22:01 +0200)]
libnotify: add dbus-glib dependency

* | No package 'dbus-glib-1' found
  | configure:11865: error: Package requirements (gtk+-2.0 >= 2.18, glib-2.0 >= 2.6,
    dbus-1 >= 0.76, dbus-glib-1 >= 0.76 gmodule-2.0) were not met:

* introduced in:
  commit 5c1eeb5d16566521e45947b07fdcd9f552fec45b
  Author: Alexandru Palalau <alexandrux.palalau@intel.com>
  Date:   Thu Feb 27 12:05:41 2014 +0200

      libnotify: don't use gnome.bbclass

  because gnome.bbclass was adding gconf->dbus-glib dependency

* it was also causing other recipes to fail when they were depending
  on libnotify which has dbus-glib in pkg-config and dbus-glib was
  missing, e.g. firefox:
  | checking for libnotify >= 0.4... Package dbus-glib-1 was not found
  in the pkg-config search path. Perhaps you should add the directory
  containing `dbus-glib-1.pc' to the PKG_CONFIG_PATH environment
  variable Package 'dbus-glib-1', required by 'libnotify', not found
  | configure: error: Library requirements (libnotify >= 0.4) not met;
  consider adjusting the PKG_CONFIG_PATH environment variable if your
  libraries are in a nonstandard prefix so pkg-config can find them.

(From OE-Core rev: abb2571a6352fc33a8b78ab0886d443894cda3b6)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoapr: remove the use of ${SHELL} to avoid bash/dash confliction
Hongxu Jia [Fri, 11 Apr 2014 10:31:38 +0000 (18:31 +0800)]
apr: remove the use of ${SHELL} to avoid bash/dash confliction

While multible hosts sharing a common sstate cache, the fist host using
bash as default shell and build apr, the second host using dash as
default shell and build apr-util, there was a failure in apr-util:
...
| /bin/sh: 0: Can't open i586-poky-linux-libtool
| make[1]: *** [dbm/apr_dbm_gdbm.lo] Error 127
| make[1]: *** Waiting for unfinished jobs....
| make[1]: Leaving directory
`tmp/work/i586-poky-linux/apr-util/1.5.2-r0/apr-util-1.5.2'
...

The quick way to reproduce the defect in Ubuntu 1204:
1. Create a new build
2. sudo dpkg-reconfigure dash <set bash as /bin/sh>
3. bitbake apr
4. sudo dpkg-reconfigure dash <set dash as /bin/sh>
5. bitbake apr-util

Remove the use of $(SHELL) in the apr could avoid this issue.

(From OE-Core rev: 53af71200b6f6d117e1e7dc2e7a7d21c6faab8f9)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobuild-appliance-image: Update to head revision
Richard Purdie [Tue, 22 Apr 2014 21:53:34 +0000 (22:53 +0100)]
build-appliance-image: Update to head revision

(From OE-Core rev: bec37f8b85b6dd1e4e1c1b9b215a7952ca2fc386)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: bitbake-user-manual-hello.xml: Edits to the "Hello World" Appendix.
Scott Rifenbark [Thu, 17 Apr 2014 18:57:51 +0000 (11:57 -0700)]
bitbake: bitbake-user-manual-hello.xml: Edits to the "Hello World" Appendix.

Fixes [YOCTO #1973]

These are review changes applied from Paul Eggleton.

(Bitbake rev: 431181705f1bc3fc51439faa04a193debc1d03fd)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: bitbake-user-manual-hello.xml: First draft of "Hello World" appendix
Scott Rifenbark [Tue, 15 Apr 2014 21:06:21 +0000 (14:06 -0700)]
bitbake: bitbake-user-manual-hello.xml: First draft of "Hello World" appendix

Fixes [YOCTO #1973]

Added the complete "Hello World" appendix first draft beyond
what Bill Traynor had supplied.

(Bitbake rev: 176baaf3d0f033091f5ab9d9cfb2cec3d25a5442)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: bitbake-user-manual-hello.xml: Edits to environment for hello world.
Scott Rifenbark [Tue, 15 Apr 2014 13:53:29 +0000 (06:53 -0700)]
bitbake: bitbake-user-manual-hello.xml: Edits to environment for hello world.

Some general edits to the sections that get you set up to run
the "Hello World" example.

(Bitbake rev: 43286d31c22e6e2fa96ba1b82445e85db0a0f18c)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: bitbake-user-manual-metadata.xml: Added section on pathname syntax
Scott Rifenbark [Tue, 15 Apr 2014 00:56:23 +0000 (17:56 -0700)]
bitbake: bitbake-user-manual-metadata.xml: Added section on pathname syntax

Added a brief subsection to the "Basic Syntax" section that
describes the issue using the tilde character (~) when providing
a pathname as part of a statement.  BitBake does not expand
this character like the shell does.  We recommend to not use
it in pathnames.

(Bitbake rev: 8e4c5cee932c3f38d4147c59612d76ca0b002727)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: bitbake-user-manual-ref-variables.xml: Edits to the BBPATH variable.
Scott Rifenbark [Tue, 15 Apr 2014 00:10:03 +0000 (17:10 -0700)]
bitbake: bitbake-user-manual-ref-variables.xml: Edits to the BBPATH variable.

I took the stuff about running bitbake outside the build
directory and removed the note syntax.

(Bitbake rev: 783f29a593ce16a37b275b02f71b3ec918ef8c91)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: bitbake-user-manual-ref-variables.xml: Fixed BBPATH example
Scott Rifenbark [Mon, 14 Apr 2014 22:31:14 +0000 (15:31 -0700)]
bitbake: bitbake-user-manual-ref-variables.xml: Fixed BBPATH example

The example used in the note in the BBPATH variable description
had incorrect syntax.  Spaces existed in the BBPATH = statement.
I have removed them.

(Bitbake rev: 896a1c102a4afda0e5d07d009bd7918044f88269)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: user-manual-hello.xml: General edits
Scott Rifenbark [Mon, 14 Apr 2014 20:05:48 +0000 (13:05 -0700)]
bitbake: user-manual-hello.xml: General edits

I worked through the chapter and made some minor edits based
on my user experience.  Part of what I did was to update
the console output for the examples.

(Bitbake rev: 13bf6cf71ff49572c3413435a33d87e5b6a8df0d)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: bitbake-user-manual-hello.xml: Fixed two broken links.
Scott Rifenbark [Mon, 14 Apr 2014 18:00:42 +0000 (11:00 -0700)]
bitbake: bitbake-user-manual-hello.xml: Fixed two broken links.

(Bitbake rev: 7a0948beba2c882de31ec9b98c7740bba230aed9)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: bitbake-user-manual-metadata.xml: New section on anonymous Python functions
Scott Rifenbark [Mon, 14 Apr 2014 16:34:39 +0000 (09:34 -0700)]
bitbake: bitbake-user-manual-metadata.xml: New section on anonymous Python functions

Per Paul Eggleton's suggestion, I added a new section on
anonymous Python functions into the "Functions" section.
I also updated the intro text to account for the added
type of functions.

(Bitbake rev: 983d03c1a082e2b83187f0788e61a7941670b242)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: bitbake-user-manual-metadata.xml: Edits to flexible inheritance section.
Scott Rifenbark [Fri, 11 Apr 2014 18:47:57 +0000 (11:47 -0700)]
bitbake: bitbake-user-manual-metadata.xml: Edits to flexible inheritance section.

Fixes [YOCTO #5472]

Applied review edits from Paul Eggleton to this section.
Minor edits and some re-writing.

(Bitbake rev: 7259d9d40aad8254751f7674653cd362a9023054)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: doc: Rename user-manual -> bitbake-user-manual
Richard Purdie [Fri, 11 Apr 2014 16:38:18 +0000 (17:38 +0100)]
bitbake: doc: Rename user-manual -> bitbake-user-manual

This manual gets combined with other manuals and in that context, it helps
a lot if its seen as the Bitbake User Manual. Renames are a pain but
this is worthwhile so that other docs can correctly be combined with this
one. This also clarifies things like google search results which is helpful.

(Bitbake rev: 452a62ae0c2793e281d6769fd3e45500a74898d6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoscripts/send-error-report: use a real server as the default
Stefan Stanacar [Thu, 17 Apr 2014 10:35:04 +0000 (13:35 +0300)]
scripts/send-error-report: use a real server as the default

Now that there is a public instance [1] of the error report web interface [2],
we should set it as the default.

[1] http://errors.yoctoproject.org/
[2] http://git.yoctoproject.org/cgit/cgit.cgi/error-report-web/

(From OE-Core rev: 90a955761db4724f0222527a129a3904d6d8aa6e)

Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agotoaster.bbclass: do not fail on non-existent files
Alexandru DAMIAN [Fri, 11 Apr 2014 16:40:32 +0000 (17:40 +0100)]
toaster.bbclass: do not fail on non-existent files

Toaster may look up inexistent file paths in the build history
for packages that have been referenced but not built.

This triggers a failure, and this patch recovers by deleting
the reference to the non-built packages.

[YOCTO #6063]

(From OE-Core rev: 6bc4a0311cc3cd3f696d9dbca8fc0ef4e3bc340b)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agou-boot: fix beaglebone boot issue with large kernel images
Denys Dmytriyenko [Thu, 17 Apr 2014 19:05:33 +0000 (15:05 -0400)]
u-boot: fix beaglebone boot issue with large kernel images

Fix beaglebone boot issue with large kernel images overwriting Device Tree.
See very detailed comments inside the patch.

The original patch is being reviewed upstream and is targeting mainline U-boot
version 2014.07. This is the adaptation of the patch for 2013.07 version we use

(From OE-Core rev: cd495307d233b81ebeb43198d13bbd4b3ad7407f)

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: bitbake: Update to version 1.23.0 for master
Richard Purdie [Thu, 10 Apr 2014 16:47:51 +0000 (17:47 +0100)]
bitbake: bitbake: Update to version 1.23.0 for master

(Bitbake rev: bb4980c63db386ce7d30d9a6b86e9f3861b3bc3a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: bitbake: Update to version 1.22.0
Richard Purdie [Thu, 10 Apr 2014 16:47:22 +0000 (17:47 +0100)]
bitbake: bitbake: Update to version 1.22.0

(Bitbake rev: a8a32de0fb74ff63e5490e3b5e4419146a8f7367)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: cache: don't trigger reparse on recipes with wildcards in SRC_URI
Paul Eggleton [Thu, 10 Apr 2014 16:35:40 +0000 (17:35 +0100)]
bitbake: cache: don't trigger reparse on recipes with wildcards in SRC_URI

Since we now get wildcards in the file checksum list in the cache, we
need to ignore them when checking to see if they still exist. This
fixes connman-gnome reparsing on every bitbake execution in OE-Core.

(Bitbake rev: 340c250fc664414ab2715a454bedbd19e8efe103)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolinux-yocto/3.10: intel BSP configuration updates
Bruce Ashfield [Thu, 10 Apr 2014 14:49:47 +0000 (14:49 +0000)]
linux-yocto/3.10: intel BSP configuration updates

Updating the SRCREV for the following configuration changes:

  7df9ef8ee47d minnow: Add minnow-drivers-extra fragment
  4f12b62002ca meta: smp.scc: increase default NR_CPUS to 64
  de70ccd19f86 intel-common: change intel-corei7064-preempt-rt-scc filename
  e3780cd93809 meta: mohonpeak: remove branch 'mohonpeak'

(From OE-Core rev: 20625df0f88b1948bfc05be0d2cbdaa201c3b2f0)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolinux-yocto/3.14: beagleboard black: USB, DRM config tweaks
Bruce Ashfield [Thu, 10 Apr 2014 14:46:20 +0000 (14:46 +0000)]
linux-yocto/3.14: beagleboard black: USB, DRM config tweaks

Importing the meta SRCREV to pick up the following two fixes:

  928d7b2ddad0 beaglebone: enhance USB support and enable MUSB modules
  fbe38387ac61 beaglebone: enable DRM for HDMI output

(From OE-Core rev: c95ae50dc0817fee291ca981c41cb556bf7db582)

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolinux-yocto/3.14: intel configuration fixes
Bruce Ashfield [Wed, 2 Apr 2014 14:37:01 +0000 (14:37 +0000)]
linux-yocto/3.14: intel configuration fixes

Importing the intel configuration fixes from Darren Hart:

   a82ccc635e7a meta: Purge retired BSPs chiefriver, sys940x, and atom-pc
   b50ba1e37c26 x86: Drop X86_32 configs
   8aa0a946f528 x86: Move MTRR config into x86 common fragments
   ddae217aefee common-pc: Remove SMP from common-pc*-cpu fragments
   f3ad83aa4c39 x86: Consolidate common x86* CPU features

(From OE-Core rev: 399d3d51f35fd8782367e82c7b6e641f32396f80)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolinux-yocto/3.10: intel-common: Add preempt-rt ktype targets
Bruce Ashfield [Wed, 2 Apr 2014 14:33:34 +0000 (14:33 +0000)]
linux-yocto/3.10: intel-common: Add preempt-rt ktype targets

Updating the meta SRCREV to incorporate the intel common preempt-rt kernel
support.

(From OE-Core rev: 63de385a2dce1727d6d4b42dfdf8cb38d8ae5792)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolinux-yocto/3.10: v3.10.35 and emenlow boot fixes
Bruce Ashfield [Wed, 2 Apr 2014 04:38:53 +0000 (04:38 +0000)]
linux-yocto/3.10: v3.10.35 and emenlow boot fixes

Updating the 3.10 SRCREVs to pick up 3.10.35 and a LTSI cherry pick that
fixes a boot issue with the emenlow.

(From OE-Core rev: f0990363aaeb3f8f7a8e02fc2acb0af2171e4eba)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolinux-yocto/3.4: update to v3.4.85
Bruce Ashfield [Thu, 10 Apr 2014 15:12:32 +0000 (11:12 -0400)]
linux-yocto/3.4: update to v3.4.85

Updating the SRCREVs to integrate the latest korg -stable update.

(From OE-Core rev: c6fe4b287c204d31a9ab86e3f38336d8828903ee)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosstate: Silence warnings when switching machines
Richard Purdie [Thu, 10 Apr 2014 12:49:55 +0000 (13:49 +0100)]
sstate: Silence warnings when switching machines

We recently added multiple provider warnings. These could get issued
from -cross recipes due to the way these currently overlap in the
native sysroot. Filter out these warnings for now, until such times
as we improve the cross recipes so they don't have an overlapping
namespace.

(From OE-Core rev: d62f8d428831cc62b395f4c764c1e876353ddede)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoselftest: DiskMonTest: use POSIX output for df
Alexandru Palalau [Thu, 10 Apr 2014 10:59:00 +0000 (13:59 +0300)]
selftest: DiskMonTest: use POSIX output for df

Without "-P" df  splits the output on multiple lines and breaks the test

(From OE-Core rev: 81a81807d34e4b2ea28d8ba9c29e5b48a14bbc1f)

Signed-off-by: Alexandru Palalau <alexandrux.palalau@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogcc: Fix a race over unwind.h
Richard Purdie [Thu, 10 Apr 2014 10:09:01 +0000 (10:09 +0000)]
gcc: Fix a race over unwind.h

There are two places unwind.h is installed, even by the Makefile's admission.
Disable one of them to prevent build failure races.

(From OE-Core rev: d3b02218dcfedda8e4efb43b8fa6d13af8d91f78)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agovala: inherit pkgconfig
Joe Slater [Wed, 9 Apr 2014 18:55:29 +0000 (11:55 -0700)]
vala: inherit pkgconfig

Although somebody we depend on might cause pkgconfig-native
to be built, we should not rely on that.

(From OE-Core rev: ed4b26cf312360e0eb1b0fbec5b039b939d9823f)

Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoperf: Fix sysroot option to CC handling
Richard Purdie [Thu, 10 Apr 2014 09:05:50 +0000 (10:05 +0100)]
perf: Fix sysroot option to CC handling

If you build perf in tree /xxx/treea, then cleansstate perf and build it
in /xxx/treeb having deleted treea, the build will fail, unable to find libc.

The problem is that the --sysroot option passed in through CC is missing.
This works fine if the default sysroot is ok, if it isn't, things will fail.
In 1.7 we'll start poisoning the default sysroot in gcc to catch this kind of
issue however that doesn't fix the problem with perf.

The problem is that various Makefiles set CC = $(CROSS_COMPILE)gcc. The
easist fix for now is to sed out the problematic Makefile lines. Its worth
noting the tools/lib/traceevent Makefile has a much more funky way of setting
CC which works for us and may be the way we need to fix the other Makefiles
upstream.

This fixes build failures we're occasionally seen on the autobuilders.

(From OE-Core rev: d9bd1ac6d91de932dd3e2fcac9da77e0a7c09f55)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agokernelshark/trace-cmd: fix syntax error of shell
Chong Lu [Thu, 10 Apr 2014 08:25:03 +0000 (16:25 +0800)]
kernelshark/trace-cmd: fix syntax error of shell

Delete "<<<" syntax of bash in Makefile, else we would get following error:

        Syntax error: redirection unexpected

[YOCTO #6112]

(From OE-Core rev: c2892fa27d9918aa4ce00a106a254ddfd44aa0f1)

Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoopenssh: fix sshd_config_readonly creation
Jonathan Liu [Thu, 10 Apr 2014 08:24:48 +0000 (18:24 +1000)]
openssh: fix sshd_config_readonly creation

The readonly sshd config sshd_config_readonly needs to be created from
the installed sshd_config as make install will adjust the paths in
the config file. This fixes the path for sftp-server being correct
in sshd_config but incorrect in sshd_config_readonly.

(From OE-Core rev: 400b4bce34ffb76e500e2195104cc200218aa4c3)

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoimage.bbclass: improve sed expressions for ssh_allow_empty_password()
Jonathan Liu [Thu, 10 Apr 2014 08:24:19 +0000 (18:24 +1000)]
image.bbclass: improve sed expressions for ssh_allow_empty_password()

The sed expression was also replacing documentation text containing
PermitRootLogin in the line so "PermitRootLogin yes" was specified
twice.

(From OE-Core rev: 0572196158d9505a624bdee71760978f284728b0)

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoREADME.hardware: update with Texas Instruments Beaglebone instructions
Denys Dmytriyenko [Thu, 10 Apr 2014 08:02:13 +0000 (04:02 -0400)]
README.hardware: update with Texas Instruments Beaglebone instructions

Replaces outdated Beagleboard instructions with Beaglebone Black (and White).

(From meta-yocto rev: 283b51b0149f7e5838bd1c8465451897baf0bf44)

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoedgerouter: clarify diskboot instructions
Bruce Ashfield [Wed, 9 Apr 2014 19:41:32 +0000 (15:41 -0400)]
edgerouter: clarify diskboot instructions

There was some missing details in how to boot from the edgerouter USB
storage. With this update, we have the information required to boot from
either the vfat, or ext3 partition.

[YOCTO #6113]

(From meta-yocto rev: ed2eba333d13cc544648169d06bc47c7e2bbb3f2)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: Allow toaster to start without pytz
Alexandru DAMIAN [Wed, 9 Apr 2014 17:00:53 +0000 (17:00 +0000)]
bitbake: toaster: Allow toaster to start without pytz

This patch allows toaster to start without pytz.

Django can work with or without pytz, but in the
time zone fix I mistakenly added a hard dependency
on this module.

This patch eliminates the hard dependency.

(Bitbake rev: 40027a6e093c3b7480bfaccbd57e0e613d9a7b71)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: add URI search path list
David Reyna [Tue, 8 Apr 2014 03:26:12 +0000 (03:26 +0000)]
bitbake: toaster: add URI search path list

Display the URI paths from SSTATE_DIR and SSTATE_MIRRORS
in the Task page.

[YOCTO #5996]

(Bitbake rev: 6d07b531736c2b304da2dfe661239fd3612b0541)

Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: sort on size in detail pages
Dave Lerner [Tue, 8 Apr 2014 16:32:21 +0000 (16:32 +0000)]
bitbake: toaster: sort on size in detail pages

[YOCTO 5778]

Implements the features described in the attachment to bugzilla 5778
   - new global changes to the format of size data, and
   - adding sorts by selected columns to specific detail pages.

Although new pagination and row search capabilities are shown on the
screen shots for the 5778 attachment, those features are specified in
a different bugzilla entry 5777 and are not implemented in this commit.

Also, the 5778 spec includes table sorting for the recipe package
detail page, but sorting for that page was not implemented in this
commit due to complications with sorting then returning to a page that
is only one URL fragment in a template.

The scope of file changes are described below.
Changes to support new 'size' field column formats...
    default.css - added sizecol class style (right justified)
    projecttags.py - changed filtered_filesizeformat to allow
        ".0" suffixes

Changes that add class 'sizecol, span2(as spec'd) ' to <th> and/or
<td> size columns were made to...
    dirinfo.py,
    package_built_dependencies.html,
    package_included_dependencies.html,
    recipe.html,
    bpackage.html, and
    target.html

More significant changes to support detail page table sorting
are:
    - tablesort.html: New created to implement the sort icons,
        directions, and table headings, and
        suppress sort handling if 'disable_sort' in context,
        without search or pagination elements ingrained
        in basetable_top. Confining the changes to this small file
        reduces the impact (testing and risk) on the larger set of
        files that arleady include basetable_top/bottom files.
    - view.py: Modified the following view functions with
        - trivial changes for size formatting to the views: target,
        - changes to package_built_detail, package_included_detail,
            package_included_reverse_dependencies to handle the sorting
            implementation as well as moving headings and size
            formatting for size columns from templates to the views.
    - Implementation of the detail sorting using above in:
            package_built_detail.html,
            package_included_detail.html, and
            package_included_reverse_dependencies.html
        to include the tablesort heading setup, format the size column,
        and iterate over the new sorted objects, suppressing sorts if
        table row count less than 2.

(Bitbake rev: d16126e9abfffde66ab70865a81997322847d44e)

Signed-off-by: Dave Lerner <dave.lerner@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: hide tasks without order or outcome
David Reyna [Tue, 8 Apr 2014 01:11:42 +0000 (01:11 +0000)]
bitbake: toaster: hide tasks without order or outcome

Hide the incomplete tasks, those without order numbers and/or outcomes.

[YOCTO #6060]

(Bitbake rev: bdbba81715765681a0404fa82f28e471b241051a)

Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: regex alternation filter caused django error
David Reyna [Tue, 8 Apr 2014 16:25:44 +0000 (16:25 +0000)]
bitbake: toaster: regex alternation filter caused django error

The combination of a regex filter specification that uses alternate,
plus a search string, plus multiple search_allowed_fields, leads to
a Django fatal error. Replace this regex filter for variables in
local files with a simpler 'contains' against the project's directory
plus a '/conf/' string.

Alex rebased this on top of fix for #6048.

[YOCTO #5962]

(Bitbake rev: fd57128dc3a35ca87031f3df1a531a085e89baf0)

Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: fix filtering query for multiple filters
Alexandru DAMIAN [Tue, 8 Apr 2014 16:10:33 +0000 (16:10 +0000)]
bitbake: toaster: fix filtering query for multiple filters

This is a fix for using multiple expressions in filters.
Three different issues are touched:
* added an explicit error message for incorrect filter usage
* changed the value separator to something that will pass
through from the browser to the actual code
* changed the "and" operator for combining Q from a dubios
lambda function to the standard operator.and_

(Bitbake rev: 845b081fc108c656f04d4a70afa4695defc13c9f)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: keep number of rows across searches
Alexandru DAMIAN [Mon, 7 Apr 2014 11:10:54 +0000 (11:10 +0000)]
bitbake: toaster: keep number of rows across searches

This patch will make Toaster remember the selected
number of rows to be displayed in tables across different
searches.

The number of rows setting will not be remembered if the
the user leaves the page and subsequently returns to it.

(Bitbake rev: a84f296591be26972b808e98816e9d92cadf3eb5)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: show unique set-in files in configvar
David Reyna [Fri, 4 Apr 2014 21:21:09 +0000 (21:21 +0000)]
bitbake: toaster: show unique set-in files in configvar

When listing the set-in files in the configure varaible table, only show
each file once in that summary view.

[YOCTO #6048]

(Bitbake rev: e69a57fc3302ed8fac21631ba95ea66e93b243e5)

Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: disable 'size over total' sort
Dave Lerner [Mon, 31 Mar 2014 20:44:05 +0000 (20:44 +0000)]
bitbake: toaster: disable 'size over total' sort

[YOCTO 6061]

Disable size-over-total table column sorts in the image installed
packages view because that field is a computed field and only model
fields are sortable in the current table toaster implementation.

(Bitbake rev: ba6937c9bffcf81f71ef6fa9f0d29fbbd6e17b2d)

Signed-off-by: Dave Lerner <dave.lerner@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: do not load all available timezones
Alexandru DAMIAN [Tue, 1 Apr 2014 15:28:15 +0000 (15:28 +0000)]
bitbake: toaster: do not load all available timezones

This patch makes sure that we only load pytz-recognized
timezones. Pytz is used to transform the timezone information
for the database queries, and needs to be able to deal with
the TIME_ZONE value that we set up.

[YOCTO #6093]

(Bitbake rev: bfe67472e3ee778b78ef004b2153fa88b3807b92)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: bitbake-selftest: add tests for local fetching
Paul Eggleton [Tue, 8 Apr 2014 15:49:55 +0000 (16:49 +0100)]
bitbake: bitbake-selftest: add tests for local fetching

Add some explicit tests for unpacking local files to the appropriate
location. Some of these tests are actually testing for broken behaviour;
these have been called out in the comments, and associated bugs have
been filed.

(Bitbake rev: ca921c773c52392a5a338b2f493ad38c8132f708)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: bitbake-selftest: fix help message to include command line
Paul Eggleton [Tue, 8 Apr 2014 15:49:54 +0000 (16:49 +0100)]
bitbake: bitbake-selftest: fix help message to include command line

(Bitbake rev: 3016af554d9cc67aec2429b96d8d085b88315e77)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>