]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
9 years agobootimg.bbclass: fix settings for grub-efi.bbclass
Robert Yang [Tue, 22 Mar 2016 09:48:19 +0000 (02:48 -0700)]
bootimg.bbclass: fix settings for grub-efi.bbclass

Fixed:
- Found potential conflicted var LABELS ...
  Set LABELS to "boot install" would build out broken images when build
  vm + live together, use set_live_vm_vars() to fix the problem.

- Use ROOT and LABEL in boot-directdisk.bbclass and image-foo.bbclass,
  they are not only used by syslinux.bbclass, but also grub-efi.bbclass,
  add "SYSLINUX_" prefix would mislead users.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agopixz: Fix build on big-endian/musl systems
Khem Raj [Tue, 22 Mar 2016 07:56:17 +0000 (07:56 +0000)]
pixz: Fix build on big-endian/musl systems

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agosanity.bbclass cleanup
Bill Randle [Mon, 21 Mar 2016 20:24:33 +0000 (13:24 -0700)]
sanity.bbclass cleanup

Limit search for a version var name to start at the beginning of a line,
otherwise, if the var name is used in a comment, that comment line will
be replaced, rather than the desired assignment line.
Move bblayer update message into function where it's actually updated,
rather than assuming all successful config file update are to the
bblayers.conf file.
Replace a stray tab with spaces for consistency.

[Fixes YOCTO #9318]

Signed-off-by: Bill Randle <william.c.randle@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agomatchbox-wm: Update to fix XChangeProperty datatype issue
Jussi Kukkonen [Mon, 21 Mar 2016 19:43:18 +0000 (21:43 +0200)]
matchbox-wm: Update to fix XChangeProperty datatype issue

This brings us to master HEAD and adds a single commit
compared to the previous version:
  8178e70 ewmh: Fix data type of a few XChangeProperty calls

This fixes broken Home-button in matchbox panel on mips64 (and
probably other platforms).

[YOCTO #9284]

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agomatchbox-panel-2: Fix Home-button icon load issue
Jussi Kukkonen [Mon, 21 Mar 2016 19:43:17 +0000 (21:43 +0200)]
matchbox-panel-2: Fix Home-button icon load issue

Home (showdesktop) button sometimes did not load the icon because
the active state was never initialized. Backport fix for this issue.

[YOCTO #9026]

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogstreamer1.0: fix introspection support also for git recipes
Alexander Kanavin [Mon, 21 Mar 2016 16:40:09 +0000 (18:40 +0200)]
gstreamer1.0: fix introspection support also for git recipes

This is generally done by moving necessary patches to common
include files, and a few other fixes.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogstreamer1.0-plugins-bad: fix incorrect handling of Cflags in gstreamer-gl.pc file
Alexander Kanavin [Mon, 21 Mar 2016 16:40:08 +0000 (18:40 +0200)]
gstreamer1.0-plugins-bad: fix incorrect handling of Cflags in gstreamer-gl.pc file

Cflags had GL_CFLAGS appended, which contained full sysroot path to libdrm include;
generally such dependencies should be handled by pkgconfig's Requires facility.
It's unlikely that this .pc file is used by anything, but it was causing a QA error.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agox86-base.inc: suggest the latest kernel
Maxin B. John [Mon, 21 Mar 2016 15:57:08 +0000 (17:57 +0200)]
x86-base.inc: suggest the latest kernel

Use latest 4.x kernel instead of 3.x version

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoat: fix configure option with/without-selinux
Wenzong Fan [Mon, 21 Mar 2016 02:10:19 +0000 (22:10 -0400)]
at: fix configure option with/without-selinux

without-selinux doesn't work since WITH_SELINUX is always be defined no
matter which option is given: with-selinux, without-selinux.

This causes build errors if '--without-selinux' is used and libselinux
is not buildable in project:

  atd.c:87:29: fatal error: selinux/selinux.h: No such file or directory

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agono-static-libs: just like target and native, nativesk-libcap doesn't like unrecognise...
Ross Burton [Wed, 16 Mar 2016 14:01:42 +0000 (14:01 +0000)]
no-static-libs: just like target and native, nativesk-libcap doesn't like unrecognised options

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolinux-firmware: package firmware for Marvell 88W8688
Jens Rehsack [Wed, 16 Mar 2016 09:35:18 +0000 (10:35 +0100)]
linux-firmware: package firmware for Marvell 88W8688

According to error messages from guruplug

[   35.826441] btmrvl_sdio mmc0:0001:2: Direct firmware load for mrvl/sd8688_helper.bin failed with error -2
[   35.903291] Bluetooth: request_firmware(helper) failed, error code = -2
[   35.909942] Bluetooth: Failed to download helper!
[   36.052820] Bluetooth: Downloading firmware failed!
...
[  764.422739] libertas_sdio: Libertas SDIO driver
[  764.438213] libertas_sdio: Copyright Pierre Ossman
[  764.461186] libertas_sdio mmc0:0001:1: Direct firmware load for libertas/sd8688_helper.bin failed with error -2
[  764.488234] libertas_sdio mmc0:0001:1: Direct firmware load for sd8688_helper.bin failed with error -2
[  764.507382] libertas_sdio: failed to find firmware (-2)

and http://wiki.beyondlogic.org/index.php?title=GuruPlug_Libertas_SD8688,
package the firmware files for Marvell 88W8688, too.

Signed-off-by: Jens Rehsack <sno@netbsd.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agotune-arm926ejs: Handle missing thumb suffix
Jens Rehsack [Wed, 16 Mar 2016 09:34:22 +0000 (10:34 +0100)]
tune-arm926ejs: Handle missing thumb suffix

When enabling tune for arm926ejs, poky optionally appends suffixes for
thumb and dsp support. Since sometimes arm926ejse (ARM code) and sometime
arm926ejste (thumb code) is used in PACKAGE_ARCH, allow both.

Signed-off-by: Jens Rehsack <sno@netbsd.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agonativesdk-coreutils: a lot of warnings fixed
Dengke Du [Wed, 16 Mar 2016 02:49:13 +0000 (22:49 -0400)]
nativesdk-coreutils: a lot of warnings fixed

When we create nativesdk-coreutils, a lot of warnings appear,it
show many files can't find. Because in the coreutils recipe, it
didn't contain the do_install for the nativesdk, so when the
alternative system check the files in the following process, it
can't find the files. So we should add the do_install for the
nativesdk, change the function do_install_append_class-target() to
do_install_append() in the file:
meta/recipes-core/coreutils/coreutils_8.25.bb
in this way, the alternative system can find the files, the warnings
disappear.

Signed-off-by: Dengke Du <dengke.du@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agorunqemu-internal: split the code into functions
Robert Yang [Thu, 10 Mar 2016 02:09:19 +0000 (18:09 -0800)]
runqemu-internal: split the code into functions

Use config_<machine> to split the code into separate functions, so that
different machines won't affect each other, and they will have a better
structure.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
9 years agorunqemu-internal: cleanup unsed code
Robert Yang [Thu, 3 Mar 2016 03:37:45 +0000 (19:37 -0800)]
runqemu-internal: cleanup unsed code

* remove akita and spitz related code
  They are not supported by runqemu anymore:
  $ runqemu spitz
  Error: unable to classify arg [spitz]
  So remove related code.

* Remove checking of 256M for qemuarm, qemu can check it, for example:
  $ runqemu qemuarm qemuparams="-m 1024"
  [snip]
  qemu: Too much memory for this machine: 1024 MB, maximum 256 MB
  [snip]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
9 years agorunqemu: simplify checking for iso and ramfs
Robert Yang [Thu, 3 Mar 2016 01:50:05 +0000 (17:50 -0800)]
runqemu: simplify checking for iso and ramfs

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
9 years agorunqemu: add support for qcow2 and vdi
Robert Yang [Wed, 2 Mar 2016 08:45:04 +0000 (00:45 -0800)]
runqemu: add support for qcow2 and vdi

[YOCTO #9168]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
9 years agorunqemu: remove ISO and RAMFS from help text
Robert Yang [Wed, 2 Mar 2016 09:01:23 +0000 (01:01 -0800)]
runqemu: remove ISO and RAMFS from help text

They don't work, and the script can check the type correctly.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
9 years agorunqemu: simplify the checking for vm images
Robert Yang [Wed, 2 Mar 2016 07:40:40 +0000 (23:40 -0800)]
runqemu: simplify the checking for vm images

* So that we can add more image support easliy.
* I think that wic should be vm images.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
9 years agorunqemu: fix ROOTFS for vmdk
Robert Yang [Fri, 26 Feb 2016 02:06:26 +0000 (18:06 -0800)]
runqemu: fix ROOTFS for vmdk

* Make it can boot scsi and virtio block drive such as root=/dev/sdX and
  /dev/vdX.

* Drop VM from help info, id doesn't work, and the script can check
  whether it is a vm disk or not.

* Make it can be run by:
  $ runqemu tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64.vmdk
  or:
  $ runqemu qemux86-64 vmdk

[YOCTO #9170]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
9 years agopython(3): Disable tkinter
Martin Jansa [Mon, 21 Mar 2016 10:01:28 +0000 (11:01 +0100)]
python(3): Disable tkinter

* restore changes from:
  http://git.openembedded.org/openembedded-core/commit/?id=53ae544cfdac22c82af452b8c7ebe6664296bd9b
* which were shamelessly removed in upgrade to 2.7.9:
  http://git.openembedded.org/openembedded-core/commit/?id=d4ad95f0d5f08891637c644e85b09da9c4585059
  and then spread to python3 as well
* fixes following issues reported by test-dependencies
  WARN: python3: python3-tkinter rdepends on glibc, but it isn't a build dependency?
  WARN: python3: python3-tkinter rdepends on libpython3, but it isn't a build dependency?
  WARN: python3: python3-tkinter rdepends on tcl-lib, but it isn't a build dependency?

  WARN: python: python-tkinter rdepends on glibc, but it isn't a build dependency?
  WARN: python: python-tkinter rdepends on libpython2, but it isn't a build dependency?
  WARN: python: python-tkinter rdepends on tcl-lib, but it isn't a build dependency?

  and following QA warnings in normal builds:
  python-2.7.11: python-tkinter rdepends on tcl-lib, but it isn't a build dependency, missing tcl in DEPENDS or PACKAGECONFIG? [build-deps]
  python-2.7.11: /usr/lib/python2.7/lib-dynload/_tkinter.so contained in package python-tkinter requires libtk8.6.so, but no providers found in RDEPENDS_python-tkinter? [file-rdeps]
  python3-3.5.1: python3-tkinter rdepends on tcl-lib, but it isn't a build dependency, missing tcl in DEPENDS or PACKAGECONFIG? [build-deps]
  python3-3.5.1: /usr/lib/python3.5/lib-dynload/_tkinter.cpython-35m-arm-linux-gnueabi.so contained in package python3-tkinter requires libtk8.6.so, but no providers found in RDEPENDS_python3-tkinter? [file-rdeps]

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoselftest/signing.py: RPM_GPG_PASSPHRASE_FILE -> RPM_GPG_PASSPHRASE
Robert Yang [Mon, 21 Mar 2016 09:25:51 +0000 (02:25 -0700)]
selftest/signing.py: RPM_GPG_PASSPHRASE_FILE -> RPM_GPG_PASSPHRASE

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogpg_sign.py: get rid of pexpect
Robert Yang [Mon, 21 Mar 2016 09:25:50 +0000 (02:25 -0700)]
gpg_sign.py: get rid of pexpect

The python-expect is not installed on the distro such as Ubuntu by
default, and we can get rid of it.

Use RPM_GPG_PASSPHRASE to replace of RPM_GPG_PASSPHRASE_FILE which is
more straightforward.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agorpm: check _gpg_passphrase before ask for input
Robert Yang [Mon, 21 Mar 2016 09:25:49 +0000 (02:25 -0700)]
rpm: check _gpg_passphrase before ask for input

rpm always asked for pass phrasae when add signature, which made it
can't work non-interactively, this patch fix the problem. It will work
non-interactively if _gpg_passphrase is defined, and work as before if
not.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agooe-publish-sdk: fix remote publishing
Paul Eggleton [Mon, 21 Mar 2016 05:14:08 +0000 (18:14 +1300)]
oe-publish-sdk: fix remote publishing

A typo in the command prevented the last part of the publish from
succeeding.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agooe-publish-sdk: improve help output slightly
Paul Eggleton [Mon, 21 Mar 2016 05:14:07 +0000 (18:14 +1300)]
oe-publish-sdk: improve help output slightly

This was just copy-and-pasted from devtool - set a reasonable
description and tweak the sdk parameter help text.

Also add a copyright statement and drop the opening comment describing
the command-line syntax that duplicated the help output (with at least
one mistake in it).

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agooe-publish-sdk: drop SDK installer file from published output
Paul Eggleton [Mon, 21 Mar 2016 05:14:06 +0000 (18:14 +1300)]
oe-publish-sdk: drop SDK installer file from published output

We don't really need the SDK installer in the published output, for two
reasons:

1) The directory produced is for the consumption of devtool sdk-update,
   and the installer isn't used by that at all
2) It wouldn't really make sense to point users at the update directory
   to download the SDK installer because it contains a bunch of things
   that aren't meant for manual download, so it wouldn't be very tidy.

Leaving the file present can mislead you into thinking the opposite of
both of the above.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agodevtool: add: create git repository if URL specified as positional argument
Paul Eggleton [Mon, 21 Mar 2016 05:14:05 +0000 (18:14 +1300)]
devtool: add: create git repository if URL specified as positional argument

When we add from a fetched URL we are supposed to turn the resulting
source tree into a git repository (if it isn't already one). However, we
were using the older deprecated option name here instead of the
positional argument, so "devtool add -f <url>" resulted in the repo
being created but "devtool add <url>" didn't, which was wrong.

Also update the oe-selftest tests to check that this worked.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agodevtool: add: delete externalsrc files on npm recipe do_install
Paul Eggleton [Mon, 21 Mar 2016 05:14:04 +0000 (18:14 +1300)]
devtool: add: delete externalsrc files on npm recipe do_install

The npm class just installs whatever is in ${S}; if you're using
externalsrc in conjunction with it the symlinks (oe-workdir and oe-logs
by default) plus singletask.lock will end up in the final package, which
isn't really right. Introduce a variable so we know the path the files
will be installed into within npm.bbclass, and append to do_install
within the workspace bbappend to delete the files.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agodevtool: configure-help: fix error if do_configure not already run
Paul Eggleton [Mon, 21 Mar 2016 05:14:03 +0000 (18:14 +1300)]
devtool: configure-help: fix error if do_configure not already run

The code here for running do_configure if it hadn't already been run was
using the wrong string substitution parameters; fix it and test it.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake.conf: whitelist proxy variables in config hash
Paul Eggleton [Mon, 21 Mar 2016 05:14:02 +0000 (18:14 +1300)]
bitbake.conf: whitelist proxy variables in config hash

We don't need these variables incorporated in the config hash (i.e. we
don't need to reparse if they change).

This fixes an issue with the extensible SDK where the cache generated
at installation time not to be used afterwards due to the way we're
allowing through the proxy variables into the install environment (such
that they get set to "" if not set externally).

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoclasses/populate_sdk_ext: parse metadata on minimal SDK install
Paul Eggleton [Mon, 21 Mar 2016 05:14:01 +0000 (18:14 +1300)]
classes/populate_sdk_ext: parse metadata on minimal SDK install

Instead of skipping the build system preparation step within the
extensible SDK install process when SDK_EXT_TYPE is "minimal", run
bitbake -p so that the cache is populated ready for the first time
devtool is run.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agodevtool: sdk-install: add option to allow building from source
Paul Eggleton [Mon, 21 Mar 2016 05:14:00 +0000 (18:14 +1300)]
devtool: sdk-install: add option to allow building from source

By default the sdk-install subcommand expects to restore the requested
items from sstate and fails if it can't. If the user is OK with building
from source, add a -s/--allow-build option to allow them to do that. In
the process, ensure we show the status output while we're installing.

Also add the missing header to the top of the file.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosite.conf.sample: fix reference to oe-git-proxy script
Paul Eggleton [Mon, 21 Mar 2016 05:10:59 +0000 (18:10 +1300)]
site.conf.sample: fix reference to oe-git-proxy script

The name of the script is oe-git-proxy, not oe-git-proxy.sh.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoclasses/distutils*: don't hide logs when setup script fails
Paul Eggleton [Mon, 21 Mar 2016 05:10:58 +0000 (18:10 +1300)]
classes/distutils*: don't hide logs when setup script fails

We need to see the output of the setup script in the error message
because what we are having bbfatal print here doesn't completely
describe what went wrong, thus we should use bbfatal_log here and not
bbfatal.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoclasses/packagegroup: drop complementary -ptest if ptest not in DISTRO_FEATURES
Paul Eggleton [Mon, 21 Mar 2016 05:10:57 +0000 (18:10 +1300)]
classes/packagegroup: drop complementary -ptest if ptest not in DISTRO_FEATURES

If ptest isn't in DISTRO_FEATURES, there won't be any -ptest packages
and thus no need for the -ptest package for the packagegroup either.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoclasses/packagegroup: fix dbg/dev/ptest complementary packages
Paul Eggleton [Mon, 21 Mar 2016 05:10:56 +0000 (18:10 +1300)]
classes/packagegroup: fix dbg/dev/ptest complementary packages

OE-Core commit 8981ed20234c42dc1f5cdef802ebe7214bd55238 (from 2013)
caused a regression where -dbg/-dev/-ptest packages weren't generated
for packagegroups because we weren't setting ALLOW_EMPTY for them.
Break out the code for adding complementary groups to its own
conditional so we can set ALLOW_EMPTY at the same time.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoparselogs: add new whitelist entries to address 4.4.3 issues
Saul Wold [Tue, 22 Mar 2016 08:52:39 +0000 (08:52 +0000)]
parselogs: add new whitelist entries to address 4.4.3 issues

Adds intel-corei7-64 with x86-common, this makes the x86-common
whitelist available for intel-corei7-64 bsp also.

[YOCTO #9179]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agooe-buildenv-internal: Correct the sed expression which updates $PATH
Peter Kjellerstedt [Mon, 21 Mar 2016 11:41:46 +0000 (12:41 +0100)]
oe-buildenv-internal: Correct the sed expression which updates $PATH

Without this, the code that adds paths to $PATH could cause it to end
up with a trailing : which would then cause an error from the sanity
checker.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agotzdata: update to 2016b
Armin Kuster [Fri, 18 Mar 2016 21:43:18 +0000 (14:43 -0700)]
tzdata: update to 2016b

updated SRC_URI to http as it seems more stable.

Changes affecting future time stamps

     New zones Europe/Astrakhan and Europe/Ulyanovsk for Astrakhan and
     Ulyanovsk Oblasts, Russia, both of which will switch from +03 to +04 on
     2016-03-27 at 02:00 local time.  They need distinct zones since their
     post-1970 histories disagree.  New zone Asia/Barnaul for Altai Krai and
     Altai Republic, Russia, which will switch from +06 to +07 on the same date
     and local time.  Also, Asia/Sakhalin moves from +10 to +11 on 2016-03-27
     at 02:00.  (Thanks to Alexander Krivenyshev for the heads-up, and to
     Matt Johnson and Stepan Golosunov for followup.)

     As a trial of a new system that needs less information to be made up,
     the new zones use numeric time zone abbreviations like "+04"
     instead of invented abbreviations like "ASTT".

     Haiti will not observe DST in 2016.  (Thanks to Jean Antoine via
     Steffen Thorsen.)

     Palestine's spring-forward transition on 2016-03-26 is at 01:00, not 00:00.
     (Thanks to Hannah Kreitem.) Guess future transitions will be March's last
     Saturday at 01:00, not March's last Friday at 24:00.

Changes affecting past time stamps

     Europe/Chisinau observed DST during 1990, and switched from +04 to
     +03 at 1990-05-06 02:00, instead of switching from +03 to +02.
     (Thanks to Stepan Golosunov.)

     1991 abbreviations in Europe/Samara should be SAMT/SAMST, not
     KUYT/KUYST.  (Thanks to Stepan Golosunov.)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agotzcode: update to 2016b
Armin Kuster [Fri, 18 Mar 2016 21:43:17 +0000 (14:43 -0700)]
tzcode: update to 2016b

change SRC_URI http seems more reliable

Changes to code

     tzselect's diagnostics and checking, and checktab.awk's checking,
     have been improved.  (Thanks to J William Piggott.)

     tzcode now builds under MinGW.  (Thanks to Ian Abbott and Esben Haabendal.)

     tzselect now tests Julian-date TZ settings more accurately.
     (Thanks to J William Piggott.)

Changes to commentary

     Comments in zone tables have been improved.  (Thanks to J William Piggott.)

     tzselect again limits its menu comments so that menus fit on a
     24x80 alphanumeric display.

     A new web page tz-how-to.html.  (Thanks to Bill Seymour.)

     In the Theory file, the description of possible time zone abbreviations in
     tzdata has been cleaned up, as the old description was unclear and
     inconsistent.  (Thanks to Alain Mouette for reporting the problem.)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoffmpeg: Remove RSUGGEST=mplayer
Mike Looijmans [Sat, 19 Mar 2016 09:12:50 +0000 (10:12 +0100)]
ffmpeg: Remove RSUGGEST=mplayer

This line causes 'mplayer' to be built unless one explicitly removes it.
There are plenty uses for ffmpeg that don't involve a player, so the
"suggestion" doesn't make sense.

Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolttng-tools: Remove lttng-ust from PACKAGECONFIG for musl
Khem Raj [Sat, 19 Mar 2016 09:13:42 +0000 (09:13 +0000)]
lttng-tools: Remove lttng-ust from PACKAGECONFIG for musl

Remove lttng-ust from DEPENDS its added by PACKAGECONFIG anyway

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopackagegroup: Disable packages not available on musl
Khem Raj [Sat, 19 Mar 2016 09:13:41 +0000 (09:13 +0000)]
packagegroup: Disable packages not available on musl

They otherwise get pulled into world builds via dependencies
even when they are excluded from world globally

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoworld-broken: Add packages broken on musl
Khem Raj [Sat, 19 Mar 2016 09:13:40 +0000 (09:13 +0000)]
world-broken: Add packages broken on musl

These 14 packages are failing aross all architectures
on musl targets.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agositeinfo: Move apr configure cache to common-linux
Khem Raj [Sat, 19 Mar 2016 09:13:39 +0000 (09:13 +0000)]
siteinfo: Move apr configure cache to common-linux

There are variables which are used in all target specific
sitefiles. Move it to common-linux, so it can be effective
for all targets. Usually they will vary based upon libc
e.g. musl does not have process shared mutexes so apr_cv_process_shared_works
should be no for it. For glibc though it should be yes but
existing behaviour is to use 'no' so its left as it is.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoparselogs: add new whitelist entries to address 4.4.3 issues
Saul Wold [Fri, 18 Mar 2016 17:40:01 +0000 (10:40 -0700)]
parselogs: add new whitelist entries to address 4.4.3 issues

This message appears on older hardware and is a benign warning

[YOCTO #9179]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agou-boot: Upgrade to 2016.03 release
Otavio Salvador [Fri, 18 Mar 2016 18:39:34 +0000 (15:39 -0300)]
u-boot: Upgrade to 2016.03 release

The 2016.03 release has been announced in March 14th. This
incorporates a lot of bug fixes and improvements which are useful for
any new embedded development.

Along with the upgrade of U-Boot and its related recipes, this patch
also drops the AM335x environment fix which has been merged into the
release.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogrub: add -Wno-error=trampolines to native CFLAGS
Bill Randle [Fri, 18 Mar 2016 18:16:27 +0000 (11:16 -0700)]
grub: add -Wno-error=trampolines to native CFLAGS

(Resend as mailer munged previous submission. Also updated comments
to indicate problem is not limited to gcc 5.3.0.)

Adds -Wno-error=trampolines to native CFLAGS prevent multiple compile
errors when using gentoo builf of gcc.

[YOCTO #9201]

Signed-off-by: Bill Randle <william.c.randle@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agodhcpd: create dhcpd user for dhcp dameon
Alexandru Moise [Fri, 18 Mar 2016 12:21:25 +0000 (14:21 +0200)]
dhcpd: create dhcpd user for dhcp dameon

This patch enables the functionality for dhcpd service to be started
with dhcp uid and gid.

Test steps:

Step 1: Assign ip to interface
ifconfig eth0 192.168.1.1

Step 2: Edit /etc/dhcp/dhcpd.conf:
default-lease-time 600;
max-lease-time 7200;
option subnet-mask 255.255.255.0;
subnet 192.168.1.0 netmask 255.255.255.0 {
        option broadcast-address 192.168.1.255;
        range 192.168.1.88 192.168.1.88;
        option routers 192.168.1.0;
}

Step 3: Edit /etc/default/dhcp-server:
INTERFACES="eth0"

Step 4: Check uid and gid of running dhcpd process
$ ps -eo user:19,group:19,cmd | grep dhcpd
dhcp        dhcp        /usr/sbin/dhcpd eth0 -user dhcp -group dhcp

Signed-off-by: Alexandru Moise <alexandru.moise@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agovalgrind: fix buildpath QA issue
Hongxu Jia [Fri, 18 Mar 2016 09:01:46 +0000 (05:01 -0400)]
valgrind: fix buildpath QA issue

Pass DEBUG_FLAGS to SELECTED_OPTIMIZATION which fixes build
path issue in DWARF.

[YOCTO #8457]

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogcc-5.3/gcc-4.9:Reuse -fdebug-prefix-map to replace -ffile-prefix-map
Hongxu Jia [Fri, 18 Mar 2016 09:01:44 +0000 (05:01 -0400)]
gcc-5.3/gcc-4.9:Reuse -fdebug-prefix-map to replace -ffile-prefix-map

The oe-core may use external toolchain for compiling,
which did not support -ffile-prefix-map.

Since we use -fdebug-prefix-map to do the same thing,
so we could reuse it to replace -ffile-prefix-map.

[YOCTO #7058]

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogcc-5.3/gcc-4.9:replace build path with target path in __FILE__
Hongxu Jia [Fri, 18 Mar 2016 09:01:43 +0000 (05:01 -0400)]
gcc-5.3/gcc-4.9:replace build path with target path in __FILE__

Similar -fdebug-prefix-map, add option -ffile-prefix-map to map one
directory name (old) to another (new) in __FILE__, __BASE_FILE__and
__builtin_FILE ().

With this patch, it fixes build path issue which caused by __FILE__.
We do not need to use relative path to compile any more.

[YOCTO #7058]

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70268

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agooe-buildenv-internal: Some clean up
Peter Kjellerstedt [Tue, 15 Mar 2016 16:58:07 +0000 (17:58 +0100)]
oe-buildenv-internal: Some clean up

* Consistent indentation (four spaces)
* Use [ -z ...] and [ -n ... ] where possible
* Unset temporary variables
* Use $(...) instead of `...`
* Avoid an unnecessary call to expr

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agooe-buildenv-internal: Add variables individually to BB_ENV_EXTRAWHITE
Peter Kjellerstedt [Tue, 15 Mar 2016 16:53:31 +0000 (17:53 +0100)]
oe-buildenv-internal: Add variables individually to BB_ENV_EXTRAWHITE

Instead of adding all variables to BB_ENV_EXTRAWHITE as one, treat
them separately and add them one by one as needed.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agooe-buildenv-internal: Add paths to $PATH individually
Peter Kjellerstedt [Tue, 15 Mar 2016 16:48:53 +0000 (17:48 +0100)]
oe-buildenv-internal: Add paths to $PATH individually

Instead of assuming that the path to the scripts directory always is
in $PATH directly before the bitbake directory, treat them as separate
paths and add them individually to $PATH.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agooe-init-build-env*: Make them actually return failures
Peter Kjellerstedt [Thu, 17 Mar 2016 09:56:28 +0000 (10:56 +0100)]
oe-init-build-env*: Make them actually return failures

If either of the internal scripts (oe-buildenv-internal and
oe-setup-builddir) failed, oe-init-build-env (and
oe-init-build-env-memres) would still return success.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agooe-init-build-env*: Remove unnecessary differences between the scripts
Peter Kjellerstedt [Tue, 15 Mar 2016 15:04:11 +0000 (16:04 +0100)]
oe-init-build-env*: Remove unnecessary differences between the scripts

While at it, also fix:
* consistent indentation (four spaces)
* unset temporary variables
* use $(...) instead of `...`

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agooe-init-build-env*: Update/correct comment about specifying arguments
Peter Kjellerstedt [Tue, 15 Mar 2016 15:01:53 +0000 (16:01 +0100)]
oe-init-build-env*: Update/correct comment about specifying arguments

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agooe-init-build-env*: Allow $OEROOT to be predefined
Peter Kjellerstedt [Tue, 15 Mar 2016 14:41:02 +0000 (15:41 +0100)]
oe-init-build-env*: Allow $OEROOT to be predefined

The current implementation of oe-init-build-env and
oe-init-build-env-memres requires that they are sourced from the
directory that will be known as $OEROOT. This makes it hard to write a
wrapper script with the same name as the original OE script which,
e.g., sources the original OE script from a sub-directory.

With this change, $OEROOT can be predefined when oe-init-build-env or
oe-init-build-env-memres is sourced, allowing the original OE scripts
to be anywhere.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agobluez5: allow D-Bus to spawn obexd in systems without systemd
Javier Viguera [Wed, 24 Feb 2016 18:12:21 +0000 (19:12 +0100)]
bluez5: allow D-Bus to spawn obexd in systems without systemd

This includes a proper D-Bus service file for obexd in systems that do
not support systemd.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agooeqa: remove RPM 4 self test
Joshua Lock [Mon, 14 Mar 2016 14:37:00 +0000 (14:37 +0000)]
oeqa: remove RPM 4 self test

We're dropping RPM 4 as it's not well maintained, therefore remove
a selftest which tests RPM 4 availability.

Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolib/package_manager: remove RPM4 support code
Joshua Lock [Fri, 11 Mar 2016 14:07:31 +0000 (14:07 +0000)]
lib/package_manager: remove RPM4 support code

Simplify the RPM code by removing support for RPM 4 now that we've
dropped the RPM 4 recipe.

Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agosmartpm: remove rpm4 patch
Joshua Lock [Fri, 11 Mar 2016 14:07:30 +0000 (14:07 +0000)]
smartpm: remove rpm4 patch

The RPM4 support we added to SMART doesn't appear to work, remove
it as part of the removal of RPM4 from OE-Core.

Refresh the smart-add-for-rpm-ignoresize-check.patch which was
applied after smart-rpm4-fixes.patch and doesn't apply cleanly once
that patch is removed.

Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agorpm: remove RPM 4
Joshua Lock [Fri, 11 Mar 2016 14:07:29 +0000 (14:07 +0000)]
rpm: remove RPM 4

RPM4 support is buggy and incomplete. As we don't have the
resources or interest to maintain it this patch removes it.

Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogrub: fix documentation rebuilds
Ross Burton [Fri, 18 Mar 2016 14:40:32 +0000 (14:40 +0000)]
grub: fix documentation rebuilds

If the documentation needs to rebuild then it will fail as the syntax isn't
valid with modern texinfo.  Backport a patch from git to fix the syntax.

[ YOCTO #9306 ]

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agooe-selftest: Fixed --list-tests-by tag option
Daniel Istrate [Fri, 18 Mar 2016 13:18:09 +0000 (15:18 +0200)]
oe-selftest: Fixed --list-tests-by tag option

Commit 35be67951305950ba797dc2efddbc7d88fc0556a broke the
--list-tests-by tag option.
This patch fixes that.

Having a module in lib/oeqa/selftest named testmodule:
class TestClass(oeSelfTest):
    @tag(feature='tag1')
    def test_func1(self):
        pass
    @tag(feature=('tag1', 'tag2'))
    def test_func2(self):
        pass
    @tag(feature=('tag2', 'tag3'))
    def test_func3(self):
        pass
    @tag(feature=('tag1', 'tag2', 'tag3'))
    def test_func4(self):
        pass

$ oe-selftest --list-tests-by tag tag1
 ID  TAG(s)            NAME        CLASS      MODULE
----  ----------------  ----------  ---------  --------
      tag1              test_func1  TestClass  testmodule
      tag1, tag2        test_func2  TestClass  testmodule
      tag1, tag2, tag3  test_func4  TestClass  testmodule
______________________________
Filtering by:  tag
Looking for:  tag1
Total found:  3

$  oe-selftest --list-tests-by tag tag1 tag2
  ID  TAG(s)            NAME        CLASS      MODULE
----  ----------------  ----------  ---------  --------
      tag1              test_func1  TestClass  testmodule
      tag1, tag2        test_func2  TestClass  testmodule
      tag1, tag2, tag3  test_func4  TestClass  testmodule
      tag2, tag3        test_func3  TestClass  testmodule
______________________________
Filtering by:  tag
Looking for:  tag1, tag2
Total found:  4

$ oe-selftest --list-tests-by tag tag*
  ID  TAG(s)            NAME        CLASS      MODULE
----  ----------------  ----------  ---------  --------
      tag1              test_func1  TestClass  testmodule
      tag1, tag2        test_func2  TestClass  testmodule
      tag1, tag2, tag3  test_func4  TestClass  testmodule
      tag2, tag3        test_func3  TestClass  testmodule
______________________________
Filtering by:  tag
Looking for:  tag*
Total found:  4

Signed-off-by: Daniel Istrate <daniel.alexandrux.istrate@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogcc-runtime.inc: set LICENSE for all gcc-runtime packages
Andre McCurdy [Fri, 18 Mar 2016 13:13:26 +0000 (06:13 -0700)]
gcc-runtime.inc: set LICENSE for all gcc-runtime packages

LICENSE_${PN} doesn't apply to all gcc-runtime packages. Set LICENSE
instead. Without this fix, gcc-runtime packages such as libstdc++ are
excluded from rootfs for builds which blacklist GPLv3.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoParaTypeFFL-1.3: Add license file
Ioan-Adrian Ratiu [Fri, 18 Mar 2016 10:34:19 +0000 (12:34 +0200)]
ParaTypeFFL-1.3: Add license file

The ParaType Free Font License is used by various fonts, out of which a
recipe will be added to meta-openembedded for ttf-pt-sans.

Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoexternalsrc: use shared stamp directory if B=S
Markus Lehtonen [Fri, 18 Mar 2016 07:41:51 +0000 (09:41 +0200)]
externalsrc: use shared stamp directory if B=S

We have a common build directory for all target architectures if
externalsrc is used and ${B}=${S}. In this case we also need to have a
common stamp directory. The reason is that e.g. changing MACHINE will
basically "invalidate" the artefacts in ${B} (wrt. to the new MACHINE)
but old stamp files with matching hashes from an earlier build might be
available in the machine-specific stamps directory and tasks would not
be correctly re-run.

Previous attempt in f44f12af346888bdeb3ae01a275cb5dd4396b505 to handle
this correctly was faulty as it threw some spurious warnings and caused
do_configure to be re-run in every build if that would not be necessary.

[YOCTO #8950]
[YOCTO #9237]

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agorpm: fix error when 'lua' is enabled
Chen Qi [Fri, 18 Mar 2016 05:20:47 +0000 (13:20 +0800)]
rpm: fix error when 'lua' is enabled

Fix the following compilation error when 'lua' is enabled in PACKAGECONFIG.

  | gcc: error: lib21.c: No such file or directory
  | gcc: fatal error: no input files

Modify FILES for dev package to avoid installed-not-shipped error.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agomatchbox-keyboard: Update to latest HEAD to fix 64bit issue
Saul Wold [Thu, 17 Mar 2016 20:16:17 +0000 (13:16 -0700)]
matchbox-keyboard: Update to latest HEAD to fix 64bit issue

This brings us to the current HEAD and adds the following patches:

ebc330e Saul Wold matchbox-keyboard-ui.c: Fix int -> long to address 32bit vs 64 bit addressing
8063096 Khem Raj config-parser: Use matching printf format

[YOCTO #9254]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agooeqa/selftest/buildoptions: test read-only-rootfs
Ross Burton [Thu, 17 Mar 2016 22:09:25 +0000 (22:09 +0000)]
oeqa/selftest/buildoptions: test read-only-rootfs

Add a test to build core-image-sato with read-only-rootfs enabled.

[ YOCTO #9214 ]

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agooeqa/selftest/sstatetests: verify more variables don't impact the hash
Ross Burton [Thu, 17 Mar 2016 21:16:39 +0000 (21:16 +0000)]
oeqa/selftest/sstatetests: verify more variables don't impact the hash

Add DL_DIR and TIME to the hash tests.  We can't add DATE for some reason.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogobject-introspection.bbclass: wrap comments at 80 columns
Andre McCurdy [Thu, 17 Mar 2016 17:19:27 +0000 (10:19 -0700)]
gobject-introspection.bbclass: wrap comments at 80 columns

Whitespace and comment updates only, no functional changes.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoqemuarm64.conf: don't clear MACHINE_FEATURES
Andre McCurdy [Thu, 17 Mar 2016 17:19:26 +0000 (10:19 -0700)]
qemuarm64.conf: don't clear MACHINE_FEATURES

Accept the default MACHINE_FEATURES from qemu.inc (qemuarm64
shouldn't need to be a special case).

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agosanity.bbclass: allow customizing config file update error messages
Patrick Ohly [Thu, 17 Mar 2016 16:00:57 +0000 (17:00 +0100)]
sanity.bbclass: allow customizing config file update error messages

The default file pattern may be amiguous and "meld" might not always
be the preferred tool, so allow distros to override those parts of the
error messages.

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agosanity.bbclass: fix success message when config file was updated
Patrick Ohly [Thu, 17 Mar 2016 16:00:56 +0000 (17:00 +0100)]
sanity.bbclass: fix success message when config file was updated

The code now iterates over different config files, but always printed a
message about conf/bblayers.conf for each file.

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agosanity.bbclass: expand error messages for version checks
Patrick Ohly [Thu, 17 Mar 2016 16:00:55 +0000 (17:00 +0100)]
sanity.bbclass: expand error messages for version checks

The ${WORKDIR} variable was not getting expanded (anymore?), leading to
less helpful error messages like:

   Exception: NotImplementedError: Your version of bblayers.conf has the wrong LCONF_VERSION (has 7, expecting 8).
   Please compare your file against bblayers.conf.sample and merge any changes before continuing.
   "meld conf/bblayers.conf ${COREBASE}/meta*/conf/bblayers.conf.sample"

   is a good way to visualise the changes.

   ERROR: Execution of event handler 'check_sanity_eventhandler' failed

After adding expansion, embedding ${LCONF_VERSION} and ${LAYER_CONF_VERSION}
in the error message seems a bit more readable and consistent.

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolighttpd: fix /usr/lib/mod_cgi.so: undefined symbol: chunkqueue_written
Nick Leverton [Thu, 17 Mar 2016 15:15:22 +0000 (15:15 +0000)]
lighttpd: fix /usr/lib/mod_cgi.so: undefined symbol: chunkqueue_written

lighttpd fails to load when mod_cgi is enabled at run time, with the
message "dlopen() failed for: /usr/lib/mod_cgi.so /usr/lib/mod_cgi.so:
undefined symbol: chunkqueue_written".

This is caused by a patch intended to prevent memory exhaustion by
naively streaming CGIs, aimed at upstream issue
http://redmine.lighttpd.net/issues/1264 . The patch uses internal API
functions from older versions of lighttpd which don't exist in this
version.  Remove the patch, pending a better fix.

[ YOCTO #9289 ]

Signed-off-by: Nick Leverton <nick@leverton.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agovalgrind: Disable nios2 support
Marek Vasut [Thu, 17 Mar 2016 12:31:39 +0000 (13:31 +0100)]
valgrind: Disable nios2 support

valgrind does not support nios2 yet, so disable it.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Ley Foon Tan <lftan@altera.com>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: Ross Burton <ross.burton@intel.com>
Cc: Thomas Chou <thomas@wytron.com.tw>
Cc: Walter Goossens <waltergoossens@home.nl>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agosystemtap: Disable nios2 support
Marek Vasut [Thu, 17 Mar 2016 12:31:38 +0000 (13:31 +0100)]
systemtap: Disable nios2 support

systemtap does not support nios2 yet, so disable it.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Ley Foon Tan <lftan@altera.com>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: Ross Burton <ross.burton@intel.com>
Cc: Thomas Chou <thomas@wytron.com.tw>
Cc: Walter Goossens <waltergoossens@home.nl>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolttng-modules: Add nios2 support
Marek Vasut [Thu, 17 Mar 2016 12:31:37 +0000 (13:31 +0100)]
lttng-modules: Add nios2 support

The lttng-modules are compatible with nios2, so just amend
the compatibility string.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Ley Foon Tan <lftan@altera.com>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: Ross Burton <ross.burton@intel.com>
Cc: Thomas Chou <thomas@wytron.com.tw>
Cc: Walter Goossens <waltergoossens@home.nl>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agokexec: Disable on nios2
Marek Vasut [Thu, 17 Mar 2016 12:31:36 +0000 (13:31 +0100)]
kexec: Disable on nios2

kexec is not supported on nios2, so disable it.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Ley Foon Tan <lftan@altera.com>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: Ross Burton <ross.burton@intel.com>
Cc: Thomas Chou <thomas@wytron.com.tw>
Cc: Walter Goossens <waltergoossens@home.nl>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agopackagegroup-core-sdk: Disable sanitizers for nios2
Marek Vasut [Thu, 17 Mar 2016 12:31:35 +0000 (13:31 +0100)]
packagegroup-core-sdk: Disable sanitizers for nios2

These are not available on nios2 yet, so disable them.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Ley Foon Tan <lftan@altera.com>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: Ross Burton <ross.burton@intel.com>
Cc: Thomas Chou <thomas@wytron.com.tw>
Cc: Walter Goossens <waltergoossens@home.nl>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agobdgwc: Backport nios2 support
Marek Vasut [Thu, 17 Mar 2016 12:31:34 +0000 (13:31 +0100)]
bdgwc: Backport nios2 support

Backport patch from bdwgc mainline which adds initial
support for nios2 architecture.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Ley Foon Tan <lftan@altera.com>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: Ross Burton <ross.burton@intel.com>
Cc: Thomas Chou <thomas@wytron.com.tw>
Cc: Walter Goossens <waltergoossens@home.nl>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolibatomic-ops: Backport nios2 support
Marek Vasut [Thu, 17 Mar 2016 12:31:33 +0000 (13:31 +0100)]
libatomic-ops: Backport nios2 support

Backport a patch adding nios2 support into libatomic-ops

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Ley Foon Tan <lftan@altera.com>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: Ross Burton <ross.burton@intel.com>
Cc: Thomas Chou <thomas@wytron.com.tw>
Cc: Walter Goossens <waltergoossens@home.nl>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoselftest/buildoptions: Renamed one test case
Daniel Istrate [Thu, 17 Mar 2016 10:37:29 +0000 (12:37 +0200)]
selftest/buildoptions: Renamed one test case

'test_layer_git_revisions_are_displayed_and_do_not_fail_without_git_repo'
was renamed to 'test_layer_without_git_dir' which is shorter.

fix for [YOCTO #9243]

Signed-off-by: Daniel Istrate <daniel.alexandrux.istrate@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agopython-numpy: Fix build on musl
Khem Raj [Thu, 17 Mar 2016 05:18:21 +0000 (05:18 +0000)]
python-numpy: Fix build on musl

Match API version in cached _numpyconfig.h to the
one mandated by numpy version in use.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agosocat: Access c_ispeed and c_ospeed via APIs
Khem Raj [Thu, 17 Mar 2016 05:18:20 +0000 (05:18 +0000)]
socat: Access c_ispeed and c_ospeed via APIs

make it more portable across libc implementations

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agowatchdog: Disable nfs on musl targets
Khem Raj [Thu, 17 Mar 2016 05:18:19 +0000 (05:18 +0000)]
watchdog: Disable nfs on musl targets

Fixes build issue on musl where it needs to link to sunrpc
when enabling nfs

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agobdwgc: Check for getcontext() API during configure
Khem Raj [Thu, 17 Mar 2016 05:18:17 +0000 (05:18 +0000)]
bdwgc: Check for getcontext() API during configure

This helps in compiling dependent components like
guile where it shows the problem of missing getcontext
API when using libc which dont implement it e.g. musl

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agodevtool: change config symlink name to .config.new
Markus Lehtonen [Wed, 16 Mar 2016 15:50:57 +0000 (17:50 +0200)]
devtool: change config symlink name to .config.new

Otherwise (if the symlink is named .config) kernel build considers
source tree as dirty and fails.

[YOCTO #9270]

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agosystemd: Fix and expand ptests
Jussi Kukkonen [Wed, 16 Mar 2016 12:13:45 +0000 (14:13 +0200)]
systemd: Fix and expand ptests

systemd-ptest only runs a couple of tests currently.
* Install all test binaries and required data files
* Add missing runtime dependencies for -ptest
* Fix paths required for on-target testing in do_configure_prepend()
* cleanup do_install_ptest()

For reference, results on current core-image-sato:
  PASS: 109
  SKIP:   5
  FAIL:   2

test-execute failure:
https://github.com/systemd/systemd/issues/2852

test-acl-util failure:
https://bugzilla.yoctoproject.org/show_bug.cgi?id=9269

Fixes [YOCTO #8767].

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agooeqa/utils/testexport.py: add functionality for exporting binaries
Costin Constantin [Sun, 24 Jan 2016 19:49:39 +0000 (21:49 +0200)]
oeqa/utils/testexport.py: add functionality for exporting binaries

This new file is encapsulating functionality for both
running tests with binaries support via TestNeedsBin() decorator
and exporting these binaries via testimage.bbclass file.
Addresses [YOCTO #7850], [YOCTO #8478], [YOCTO #8481],
[YOCTO #8536], [YOCTO #8694].

Signed-off-by: Costin Constantin <costin.c.constantin@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoinit-live : make it easier to add custom boot targets
Jérémy Rosen [Fri, 11 Mar 2016 10:38:31 +0000 (11:38 +0100)]
init-live : make it easier to add custom boot targets

When booting from the live image, the label from the bootloader is passed
to init.sh. init.sh uses the label to either boot a live image or call a
script to take over and install the system.

It is possible to add new labels to the bootloader via the LABELS family of
variables, but the names in init.sh were hardcoded to install and
install-efi

this patch checks if a shell script with the same name as the label is
available instead of using a hardcoded list. Any recipe can add such file
and this provide a new boot target to the live image

Signed-off-by: Jérémy Rosen <jeremy.rosen@openwide.fr>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agouseradd_base.bbclass: replace retry logic with flock
Kai Kang [Mon, 29 Feb 2016 09:19:32 +0000 (17:19 +0800)]
useradd_base.bbclass: replace retry logic with flock

When perform useradd during populate sysroot, it locks files passwd.lock
and group.lock at same time. And then it meets a dead lock issue
randomly.

Use flock to reslove it by using an universal lock directory for all the
user and group related operations.

[YOCTO #9022]

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoimage.bbclass: track ROOTFS_POSTUNINSTALL_COMMAND in do_rootfs vardeps
Patrick Ohly [Tue, 15 Mar 2016 13:11:07 +0000 (14:11 +0100)]
image.bbclass: track ROOTFS_POSTUNINSTALL_COMMAND in do_rootfs vardeps

The list of variables influencing do_rootfs was not updated when
introducing ROOTFS_POSTUNINSTALL_COMMAND. As a result, making changes
in commands listed there or the variables they depend on did not trigger
a re-run of do_rootfs.

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoeudev: split eudev-hwdb from eudev
Alejandro Hernandez [Mon, 14 Mar 2016 23:09:37 +0000 (23:09 +0000)]
eudev: split eudev-hwdb from eudev

The eudev recipe included the hwdb.d directory by default,
which ended up making the eudev package a lot heavier than
the old udev, this patch splits the eudev-hwdb package to
avoid using unecessary space when required

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoopenssl: don't move libcrypto to base_libdir
Chen Qi [Tue, 15 Mar 2016 07:13:46 +0000 (15:13 +0800)]
openssl: don't move libcrypto to base_libdir

For now, if 'openssl' is enabled for ntp, ntp would still be built
without openssl & libcrypto. This is because that ntp thinks openssl
and libcrypto locates under the same directory.

This patch removes the codes of moving libcrypto to base_libdir.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>