]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
9 years agoupdate-rc.d: Include updated-rc.d in DEPENDS
Richard Purdie [Sat, 25 Jul 2015 22:05:22 +0000 (23:05 +0100)]
update-rc.d: Include updated-rc.d in DEPENDS

If you build a user of updated-rc.d like udev, as things stand currently
nothing pulls in updated-rc.d but there is a dependency added on the
package at do_package time. This can lead to errors during rootfs
construction either with licensing. The fact its a RRECOMMEND means
the image are not deterministic.

A particularly good test case for reproducing this is:

MACHINE=A bitbake core-image-minimal
MACHINE=B bitbake core-image-minimal-initramfs

and since the second machine can find the package but not the license
manifest, a failure will result.

Extending the DEPENDS is the easy way to fix the issues.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolinux-yocto: introduce 4.1 versioned recipes
Bruce Ashfield [Tue, 21 Jul 2015 15:21:07 +0000 (11:21 -0400)]
linux-yocto: introduce 4.1 versioned recipes

Updating the linux-yocto kernel recipes to include a named/versioned 4.1
recipe. This will be the LTSI kernel, and the 3.14 and 3.19 kernels will
be removed in subsequent commites (once reference boards have transitioned).

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agokern-tools: standalone tree configuration
Bruce Ashfield [Tue, 21 Jul 2015 15:21:05 +0000 (11:21 -0400)]
kern-tools: standalone tree configuration

Updating the kern-tools SRCREV to import the following changes:

  cbd4b7102668 patchme/updateme: unify meta directory handling
  b65075997152 configme: standalone operation

The change of note is [configme: standalone operation], which makes the
kernel configuration script free from dependencies on other parts of the
kern-tools.

With this change, we set the stage to extend kernel configuration
fragments and auditing to arbitrary trees.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolinux-yocto: split meta data from kernel repository
Bruce Ashfield [Tue, 21 Jul 2015 15:21:04 +0000 (11:21 -0400)]
linux-yocto: split meta data from kernel repository

The linux-yocto tree has always been a combined set of kernel changes
and configuration (meta) data carried in a single tree. While this
format is effective at keeping kernel configuration and source
modifications synchronized, it isn't always obvious to developers on
how to manipulate the meta data versus the source.

With this change, we remove the meta data processing from the
kernel-yocto class and use the external meta-data repository that
has always been used to seed the linux-yocto meta branch.

After this change, linux-yocto can no longer process combined trees,
and is simplified as a result.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoperf: Fix config file conflict with 4.1 kernels
Richard Purdie [Sat, 25 Jul 2015 13:37:58 +0000 (14:37 +0100)]
perf: Fix config file conflict with 4.1 kernels

If you setup mutlitlibs and then:

bitbake perf libb32-perf
bitbake perf libb32-perf -c cleansstate
bitbake perf libb32-perf

you will see races where the two builds get confused about which directory
they should be using and they corrupt each other.

The issue is that .config-detected is created in ${S}, not $(OUTPUT).
We can fix this by moving the file to $(OUTPUT).

[YCOTO #8043]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobyacc: upgrade to 20150711
Chen Qi [Fri, 24 Jul 2015 09:08:02 +0000 (17:08 +0800)]
byacc: upgrade to 20150711

The LIC_FILES_CHECKSUM is modified. The change is only about the
copyright time. So the licence remains the same.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoimage: Support for qcow2
Christian Ziethén [Thu, 23 Jul 2015 14:32:28 +0000 (16:32 +0200)]
image: Support for qcow2

Add support for qcow2 image format. Implemented in the same way as
the previously existing vmdk and vdi solutions.

Signed-off-by: Christian Ziethén <christian.ziethen@linaro.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoqemu: upgrade to 2.4.0-rc2
Cristian Iorga [Thu, 23 Jul 2015 08:46:03 +0000 (11:46 +0300)]
qemu: upgrade to 2.4.0-rc2

Various bugfixes.
Ongoing upgrade en route to final 2.4.0.

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoboot-directdisk: Make kernel image inclusion conditional.
Christian Ziethén [Thu, 23 Jul 2015 14:32:29 +0000 (16:32 +0200)]
boot-directdisk: Make kernel image inclusion conditional.

When building for qcow2 and a dummy kernel, avoid installing
a non existing bzImage.

Signed-off-by: Christian Ziethén <christian.ziethen@linaro.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agodiffstat: upgrade to 1.60
Chen Qi [Wed, 22 Jul 2015 05:50:43 +0000 (13:50 +0800)]
diffstat: upgrade to 1.60

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agotcf-agent: Update to version 1.3
Randy Witt [Thu, 23 Jul 2015 22:51:37 +0000 (15:51 -0700)]
tcf-agent: Update to version 1.3

According to the Eclipse tcf team, 1.3 tcf is required for the newest
Eclipse release "mars".

[YOCTO #7886]

Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agomklibs-native: Remove dependency on dpkg
Roy Li [Fri, 24 Jul 2015 06:15:05 +0000 (14:15 +0800)]
mklibs-native: Remove dependency on dpkg

b18618a8[mklibs-native: two fixes] should remove the dependency
on dpkg, but it is missed, so fix it.

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agooeqa/qemurunner: don't assume hostname starts with qemu
Ross Burton [Thu, 23 Jul 2015 21:59:50 +0000 (22:59 +0100)]
oeqa/qemurunner: don't assume hostname starts with qemu

It's possible to customise the hostname trivially so don't assume that the
hostname hasn't been configured.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agooeqa/runtime/parselogs: don't use uname to get MACHINE
Ross Burton [Thu, 23 Jul 2015 21:59:49 +0000 (22:59 +0100)]
oeqa/runtime/parselogs: don't use uname to get MACHINE

Instead of running "uname -n" on the target (which actually returns the
hostname) to get something approximating the hostname (or not, if that has been
overriden), simply fetch MACHINE from the datastore.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agooeqa/selftest/imagefeatures: handle killpg victim not existing
Ross Burton [Thu, 23 Jul 2015 21:59:48 +0000 (22:59 +0100)]
oeqa/selftest/imagefeatures: handle killpg victim not existing

If Pexpect throws an exception it may be because the child has already died, in
which case killpg will fail.  Catch the latter exception silently, and output
the exception from Pexpect.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agooeqa/runtime/parselogs: add more x86 log exceptions
Ross Burton [Thu, 23 Jul 2015 21:59:47 +0000 (22:59 +0100)]
oeqa/runtime/parselogs: add more x86 log exceptions

Move "fail to add MMCONFIG..." to qemux86_common as we started to also see it on
x86-64 with Linux 4.1.

Add "can't claim BAR..." to qemux86_common.

Generalise "Failed to access perfctr MSR" as the MSR number can change.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agooeqa/sshcontrol: Ensure we don't trigger ssh-askpass
Richard Purdie [Thu, 23 Jul 2015 15:51:27 +0000 (16:51 +0100)]
oeqa/sshcontrol: Ensure we don't trigger ssh-askpass

If DISPLAY is set, ssh-askpass can be triggered which is not what
we want in the middle of sanity tests. We can disable this by
unsetting DISPLAY.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosed: rrec on locale-base-ru-ru, not rdep
Abdur Rehman [Thu, 23 Jul 2015 15:20:48 +0000 (20:20 +0500)]
sed: rrec on locale-base-ru-ru, not rdep

This locale package isn't guaranteed to exist, depending on the value of
GLIBC_GENERATE_LOCALES.

The value of GLIBC_GENERATE_LOCALES can be specified to not contain
locale-base-ru-ru, thus resulting in unsatisfied dependency. Its better
to remove hardcoded dependency upon locale-base-ru-ru in favor of a
recommendation, as this locale isn't always available depending upon the
value of GLIBC_GENERATE_LOCALES.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Abdur Rehman <abdur_rehman@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolinux-libc-headers: update to 4.1
Bruce Ashfield [Tue, 21 Jul 2015 15:21:06 +0000 (11:21 -0400)]
linux-libc-headers: update to 4.1

Updating the libc-headers to match the 4.1 LTSI kernel version.

We also tweak the logic in linux-libc-headers.inc to look in the
4.x subdirectory if a 4.x kernel is specified as the header source.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agorecipetool: appendsrcfile: handle S == STAGING_KERNEL_DIR
Christopher Larson [Thu, 16 Jul 2015 23:23:03 +0000 (16:23 -0700)]
recipetool: appendsrcfile: handle S == STAGING_KERNEL_DIR

When determining the path from WORKDIR to the extracted sources, we're using
S, but if S is in work-shared, that's problematic and won't give us good
results, so assume 'git' for that case, warning when appropriate.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agorecipetool: appendsrcfile: use -D, not -d for destdir
Christopher Larson [Thu, 16 Jul 2015 15:12:00 +0000 (08:12 -0700)]
recipetool: appendsrcfile: use -D, not -d for destdir

-d is already taken for --debug.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agorecipetool: appendsrcfile: fix duplicate SRC_URI check
Christopher Larson [Wed, 15 Jul 2015 23:48:00 +0000 (16:48 -0700)]
recipetool: appendsrcfile: fix duplicate SRC_URI check

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agooeqa/buildoptions.py: automate test case 926, archive work dir and export source
Costin Constantin [Wed, 22 Jul 2015 07:04:08 +0000 (10:04 +0300)]
oeqa/buildoptions.py: automate test case 926, archive work dir and export source

Signed-off-by: Costin Constantin <costin.c.constantin@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agooeqa/buildoptions.py: automate test case 563; build directfb image
Costin Constantin [Wed, 22 Jul 2015 06:54:56 +0000 (09:54 +0300)]
oeqa/buildoptions.py: automate test case 563; build directfb image

Signed-off-by: Costin Constantin <costin.c.constantin@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agocommon-glibc: define bash_cv_getcwd_malloc
Joe Slater [Tue, 21 Jul 2015 17:39:10 +0000 (10:39 -0700)]
common-glibc: define bash_cv_getcwd_malloc

We do not want bash to use internal code for getcwd() because
it can fail in certain filesystem types.  Trust that the function
in glibc is not "broken".

Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agooeqa/QemuRunner: don't use bb for logging
Ross Burton [Wed, 22 Jul 2015 14:20:48 +0000 (15:20 +0100)]
oeqa/QemuRunner: don't use bb for logging

Instead of using bb.note() etc for logging use logging.Logger directly, allowing
the use of QemuRunner outside of bitbake.

Also clean up the logging/errors by moving create_socket() out of
__init__()/restart() and into start().

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agocronie: Upgrade v1.4.12 to v1.5.0
Amarnath Valluri [Wed, 22 Jul 2015 07:55:43 +0000 (10:55 +0300)]
cronie: Upgrade v1.4.12 to v1.5.0

Signed-off-by: Amarnath Valluri <amarnath.valluri@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobootimg: remove previous FATIMG before creating a new one
Ricardo Neri [Wed, 15 Jul 2015 23:56:59 +0000 (16:56 -0700)]
bootimg: remove previous FATIMG before creating a new one

Since version 3.0.0 of dosfstools, mkdosfs opens the to-be-filesystem
file with O_EXCL. Since the filesystem is also opened with O_CREAT,
the -C option of mkdosfs can only succeed if FATIMG does not exists.
Thus, delete any previous FATIMG file. The file can be safely deleted
as we are inside build_fat_img because we want to create an new
FATIMG.

Signed-off-by: Ricardo Neri <ricardo.neri-calderon@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agomesa-demos: Fix building demos which require GLU.
Drew Moseley [Tue, 21 Jul 2015 12:19:08 +0000 (08:19 -0400)]
mesa-demos: Fix building demos which require GLU.

Set glu_enabled when pkg-config detects GLU.  This is needed so
that HAVE_GLU is properly set to enable the GLU based demos.

Signed-off-by: Drew Moseley <drew_moseley@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogtk+: require either x11 or directfb DISTRO_FEATURES to be set
Ross Burton [Tue, 21 Jul 2015 11:52:48 +0000 (12:52 +0100)]
gtk+: require either x11 or directfb DISTRO_FEATURES to be set

GTK+ needs either X11 or DirectFB, and fails with obscure errors if neither are present.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agotune-cortexa17: add tunes for ARM Cortex-A17
Trevor Woerner [Tue, 21 Jul 2015 01:47:17 +0000 (21:47 -0400)]
tune-cortexa17: add tunes for ARM Cortex-A17

http://www.arm.com/products/processors/cortex-a/cortex-a17-processor.php

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoncurses-terminfo-base: include screen-256color
Richard Tollerton [Fri, 17 Jul 2015 19:59:28 +0000 (14:59 -0500)]
ncurses-terminfo-base: include screen-256color

Nominally tmux sets TERM=screen which we are including in
ncurses-terminfo-base. However, if tmux detects that it's running in a
terminal capable of 256-color output (e.g. xterm-256color), it will
instead use TERM=screen-256color. We aren't including that, and we ought
to be.

Signed-off-by: Richard Tollerton <rich.tollerton@ni.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years ago*image.bbclass: Consolidate ROOTFS_POSTPROCESS_COMMANDs
Gary Thomas [Fri, 17 Jul 2015 12:58:00 +0000 (06:58 -0600)]
*image.bbclass: Consolidate ROOTFS_POSTPROCESS_COMMANDs

Move ROOTFS_POSTPROCESS_COMMANDs from core-image.bbclass to
image.bbclass so that images built using just image.bbclass
will benefit from them.  Without this change, an image built
using image.bbclass did not honor read-only-rootfs image feature.

Signed-off-by: Gary Thomas <gary@mlbassoc.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogtk+3: fix Wayland-only builds
Ross Burton [Tue, 21 Jul 2015 08:57:21 +0000 (09:57 +0100)]
gtk+3: fix Wayland-only builds

When configured with just the Wayland backend (no X11), not enough
Pango headers were included.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolttng-ust: 2.6.1 -> 2.6.2
Robert Yang [Tue, 14 Jul 2015 02:51:57 +0000 (19:51 -0700)]
lttng-ust: 2.6.1 -> 2.6.2

* Remove add-aarch64.patch since it is already in the source.
* Rename lttng-ust_2.6.1.bb -> lttng-ust_git.bb

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agou-boot: Upgrade to 2015.07 release
Otavio Salvador [Mon, 20 Jul 2015 14:10:30 +0000 (11:10 -0300)]
u-boot: Upgrade to 2015.07 release

This upgrades the U-Boot and its related recipes for the 2015.07
release.

The following recipes has been upgraded:

 - u-boot
 - u-boot-mkimage
 - u-boot-fw-utils

The patches which were applied on top of the 2015.01 release are
dropped as those are not needed in this release.

The license checksum update was due minimal changes in the text, those
have no impact in the license terms.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agovolatile-binds: correct path of command umount
Kai Kang [Mon, 20 Jul 2015 07:59:04 +0000 (15:59 +0800)]
volatile-binds: correct path of command umount

It calls /sbin/umount to stop service var-volatile-lib. But umount is
installed into directory /bin. Correct it.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosqlite3: Upgrade 3.8.10.0 -> 3.8.10.2
Aníbal Limón [Mon, 20 Jul 2015 19:40:00 +0000 (14:40 -0500)]
sqlite3: Upgrade 3.8.10.0 -> 3.8.10.2

Minor upgrade contains fixes see [1].

[1] https://www.sqlite.org/releaselog/3_8_10_2.html

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agooeqa/syslog: Removed a pointless testcase and added skip for another.
Lucian Musat [Mon, 20 Jul 2015 14:51:10 +0000 (17:51 +0300)]
oeqa/syslog: Removed a pointless testcase and added skip for another.

The testcase syslog --help was rather useless and also causing problems
on images where syslog was non-busybox, like LSB images so I removed it.
Added a skip condition for TC 202 for the same reason. If syslog is
non-busybox then the test skips.

Signed-off-by: Lucian Musat <george.l.musat@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agooeqa/runtime: Added decorators for the remaining auto tests.
Lucian Musat [Fri, 17 Jul 2015 09:54:36 +0000 (12:54 +0300)]
oeqa/runtime: Added decorators for the remaining auto tests.

This helps for the automatic completion of the results in testopia.

Signed-off-by: Lucian Musat <george.l.musat@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agooeqa/runtime: Added a new automated rpm test.
Daniel Istrate [Wed, 15 Jul 2015 14:39:52 +0000 (17:39 +0300)]
oeqa/runtime: Added a new automated rpm test.

testcase 195: Check rpm install/removal log file size

Signed-off-by: Daniel Istrate <daniel.alexandrux.istrate@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agooeqa/prservice: add useful failure messages to test cases
Costin Constantin [Thu, 16 Jul 2015 13:22:28 +0000 (16:22 +0300)]
oeqa/prservice: add useful failure messages to test cases

Signed-off-by: Costin Constantin <costin.c.constantin@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agooeqa/recipetool: add useful failure messages to test cases
Costin Constantin [Thu, 16 Jul 2015 13:20:24 +0000 (16:20 +0300)]
oeqa/recipetool: add useful failure messages to test cases

Signed-off-by: Costin Constantin <costin.c.constantin@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agooeqa/pkgdata: add useful failure messages to test cases
Costin Constantin [Thu, 16 Jul 2015 10:06:03 +0000 (13:06 +0300)]
oeqa/pkgdata: add useful failure messages to test cases

Signed-off-by: Costin Constantin <costin.c.constantin@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agooeqa/runtime: Added one runtime testcase in connman.
Daniel Istrate [Wed, 15 Jul 2015 14:35:34 +0000 (17:35 +0300)]
oeqa/runtime: Added one runtime testcase in connman.

(testcase 223) Check that only one connmand runs in background.

Signed-off-by: Daniel Istrate <daniel.alexandrux.istrate@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agorpm4: Drop native RDEPENDS
Richard Purdie [Wed, 22 Jul 2015 07:08:55 +0000 (08:08 +0100)]
rpm4: Drop native RDEPENDS

Native recipes should *never* depend on target recipes since this would
cause them to rebuild every time the target changes. Before the recent
datastore changes, this happened to work. Now, this makes rpm-native
unbuildable since base-files-native doesn't exist and the code remaps
the variable.

Dropping these dependencies here is the correct way to resolve this issue
and fix an autobuilder selftest failure.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agorecipeutils.py: get_recipe_pv_without_srcpv remove prefixes from pv
Aníbal Limón [Wed, 15 Jul 2015 00:43:57 +0000 (19:43 -0500)]
recipeutils.py: get_recipe_pv_without_srcpv remove prefixes from pv

Some recipes uses v or r prefixes in versions that makes wrong
comparisions over recipes like lz4 r123 > 128.

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agooe/recipeutils.py: get_recipe_upstream_info update to get revision
Aníbal Limón [Wed, 15 Jul 2015 00:43:56 +0000 (19:43 -0500)]
oe/recipeutils.py: get_recipe_upstream_info update to get revision

Bitbake fetcher latest_versionstring now returns a tuple with (version,
 revision) that helps SCM's like git to build current upstream version.

[YOCTO #7605]

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agooe/recipeutils.py: get_recipe_upstream_info only use sfx and pfx when exits
Aníbal Limón [Wed, 15 Jul 2015 00:43:55 +0000 (19:43 -0500)]
oe/recipeutils.py: get_recipe_upstream_info only use sfx and pfx when exits

Don't use pfx and sfx when not exist because cause formatting errors
like 2.9HASH instead of 2.9+gitAUTOINC+HASH.

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolibx11: update Upstream-Status on a merged patch
Ross Burton [Mon, 20 Jul 2015 11:00:49 +0000 (12:00 +0100)]
libx11: update Upstream-Status on a merged patch

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agooeqa/selftest: Fix imagefeature testcases not to interfere with testimage on AB
Daniel Istrate [Tue, 21 Jul 2015 12:54:40 +0000 (15:54 +0300)]
oeqa/selftest: Fix imagefeature testcases not to interfere with testimage on AB

[YOCTO #8017] - selftest does not use pkill qemu
[YOCTO #7976] - tests do not touch .ssh/known_hosts
              - don't hardcode qemu IP
[YOCTO #8027] - use qemu nographic
Extra: removed unnecessary assert for bitbake and runCmd status

Signed-off-by: Daniel Istrate <daniel.alexandrux.istrate@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoRevert "create-pull-request: Fix error on 2.0 versions of git"
Ross Burton [Fri, 17 Jul 2015 11:29:13 +0000 (12:29 +0100)]
Revert "create-pull-request: Fix error on 2.0 versions of git"

This breaks create-pull-request for git <2, which is many people.

This reverts commit 7ee64ea60ede5477b2f9a355d93bdc556e6b7895.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosanity.bbclass: Remove check if /tmp is writable
Mariano Lopez [Wed, 15 Jul 2015 11:21:51 +0000 (11:21 +0000)]
sanity.bbclass: Remove check if /tmp is writable

The check would be managed using BB_DISKMON_DIRS so this
removes the check from the sanity class.

[YOCTO #8000]

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agonative: Move virtclass override to earlier so DEPENDS is handled correctly
Richard Purdie [Tue, 21 Jul 2015 11:16:03 +0000 (12:16 +0100)]
native: Move virtclass override to earlier so DEPENDS is handled correctly

Currently the virtclass override is added too late to be taken into
account when DEPENDS and other variables are processed by the virtclass
extension code. This sets the overrides in a more optimal place, meaning
they are accounted for in variables like DEPENDS.

Recipes in meta-oe like libwmf-native showed the issue.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoqemu: upgrade to 2.4.0-rc1
Ross Burton [Mon, 20 Jul 2015 14:47:17 +0000 (15:47 +0100)]
qemu: upgrade to 2.4.0-rc1

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopseudo: 1.6.5 -> 1.6.7
Richard Purdie [Mon, 20 Jul 2015 09:31:45 +0000 (09:31 +0000)]
pseudo: 1.6.5 -> 1.6.7

Adds proper support for fifos, giving performance back to bitbake
with the recent logging changes.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agocore-image-lsb-sdk: use kernel-devsrc to ensure kernel module builds work
Ross Burton [Fri, 17 Jul 2015 14:40:22 +0000 (15:40 +0100)]
core-image-lsb-sdk: use kernel-devsrc to ensure kernel module builds work

With the move of the kernel source to the kernel-devsrc, we need this package to
ensure the kernel module sanity tests made on core-image-lsb-sdk continue to
pass. Therefore update the name of the package included in the image.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agokexec-tools: change powerpc memory size limit
Quanyang Wang [Fri, 17 Jul 2015 02:58:44 +0000 (10:58 +0800)]
kexec-tools: change powerpc memory size limit

When run "kexec" in powerpc board, the kexec has a limit that
the kernel text and bss size must be less than 24M. But now
some kernel size exceed the limit. So we need to change the limit,
else will get the error log as below:

my_load:669: do
Could not find a free area of memory of 0x12400 bytes...
Could not find a free area of memory of 0x13000 bytes...
locate_hole failed

Signed-off-by: Quanyang Wang <quanyang.wang@windriver.com>
Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agokexec-tools: disable the GCC's stack protection for purgatory code
Kevin Hao [Fri, 17 Jul 2015 02:58:32 +0000 (10:58 +0800)]
kexec-tools: disable the GCC's stack protection for purgatory code

If the GCC's stack protection is enabled by default, the purgatory will
also be built with this option. But it makes no sense to enable this
for the purgatory code, and would cause error when we are trying to
relocate the purgatory codes because symbol like __stack_chk_fail is
unresolved. Instead of disabling this for some archs specifically,
disable it for all the archs.

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolibpam: Upgrade v1.1.6 -> v1.2.1
Amarnath Valluri [Fri, 17 Jul 2015 08:53:24 +0000 (11:53 +0300)]
libpam: Upgrade v1.1.6 -> v1.2.1

Dropped upstreamed patches(commit-id):
- add-checks-for-crypt-returning-NULL.patch(8dc056c)
- destdirfix.patch(d7e6b92)
- libpam-fix-for-CVE-2010-4708.patch(4c430f6)

Dropped backported patches(commit-id):
- pam_timestamp-fix-potential-directory-traversal-issu.patch(9dcead8)
- reflect-the-enforce_for_root-semantics-change-in-pam.patch(bd07ad3)

Forward ported patches:
- pam-unix-nullok-secure.patch
- crypt_configure.patch

Signed-off-by: Amarnath Valluri <amarnath.valluri@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolttng-modules: 2.6.1 -> 2.6.2
Robert Yang [Tue, 14 Jul 2015 02:44:11 +0000 (19:44 -0700)]
lttng-modules: 2.6.1 -> 2.6.2

* Rename recipe name from lttng-modules_2.6.1.bb to lttng-modules_git.bb

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agobtrfs-tools: 4.0.1 -> 4.1.1
Robert Yang [Tue, 14 Jul 2015 02:34:15 +0000 (19:34 -0700)]
btrfs-tools: 4.0.1 -> 4.1.1

This upgrade fixes DEBUG_BUILD on qemuarm:
    [CC]     btrfs-convert.o
    [CC]     btrfs-corrupt-block.o
    [CC]     btrfs-calc-size.o
{standard input}: Assembler messages:
{standard input}:3257: Error: invalid operands (.text and *UND* sections) for `-'
{standard input}:3263: Error: invalid operands (.text and *UND* sections) for `-'
make: *** [cmds-fi-usage.o] Error 1

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agopulseaudio: rdepend on modules referenced by start-pulseaudio-x11
Tanu Kaskinen [Fri, 17 Jul 2015 09:22:18 +0000 (12:22 +0300)]
pulseaudio: rdepend on modules referenced by start-pulseaudio-x11

pulseaudio-server contains /usr/bin/start-pulseaudio-x11 when X11 is
enabled, and that script tries to load module-device-manager,
module-x11-cork-request, module-x11-publish, and module-x11-xsmp.
Therefore, pulseaudio-server should rdepend on those modules when X11
is enabled, otherwise the script won't work as intended.

[YOCTO #8007]

Signed-off-by: Tanu Kaskinen <tanu.kaskinen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoneard: merge .inc file
Ross Burton [Thu, 16 Jul 2015 23:34:08 +0000 (00:34 +0100)]
neard: merge .inc file

The .inc file contains so much version-dependent logic (for example behaviour of
libexecdir and location of installed daemon) that there's not really any point
in having the two split.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoneard: remove overridden do_install
Ross Burton [Thu, 16 Jul 2015 23:32:53 +0000 (00:32 +0100)]
neard: remove overridden do_install

Overriding libexecdir was required when neard did funky things in the Makefile,
but it doesn't anymore.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agognome-icon-theme: clean up icon-naming search
Ross Burton [Thu, 16 Jul 2015 22:51:55 +0000 (23:51 +0100)]
gnome-icon-theme: clean up icon-naming search

Previous this recipe added an argument to specify where the icon-name-mapping
binary is installed, to override a failing pkg-config call (as target pkg-config
won't find native .pc files), and munged libexecdir as it likely contains PN.

This is all very complicated and we have a native pkg-config binary now, so just
use pkg-config-native for that section of configure.ac.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agopython-smartpm: Improve warnings/errors consistency
Richard Purdie [Thu, 16 Jul 2015 22:54:11 +0000 (23:54 +0100)]
python-smartpm: Improve warnings/errors consistency

Sadly, smart is not deterministic so the same build can go down multiple different
pathways. We'd expect to see the same warnings however depending on the pathway
taken, it may or may not warn, particularly with Recommends since they're optional.

For example, where a Recommended package is available but has Conflicts, we'd expect
to see an warning that we couldn't install it. Some code paths silently hide this
(its a LOCKED_CONFLICT). We add printing of warnings for this case.

Also, if there are two compatible feeds available (e.g. i586 and core2_32), this
changes the code path from direct _install() to _pending() since there are multiple
providers. This patch adds warning handling to _pending() so we don't hit hard
failures there. This is as seen with the mysterious libspeexdsp failures for x86-lsb
on the autobuilder.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolib/oe/package_manager: Use log-level warning instead of quiet
Richard Purdie [Thu, 16 Jul 2015 22:53:01 +0000 (23:53 +0100)]
lib/oe/package_manager: Use log-level warning instead of quiet

quiet means that no warnings are shown on the console and really is too
quiet for our needs. This is more verbose but that is better than too
little and does aid debugging things when they go wrong.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agopackage_ipk/deb: Drop version information from RPROVIDES
Richard Purdie [Thu, 16 Jul 2015 22:47:30 +0000 (23:47 +0100)]
package_ipk/deb: Drop version information from RPROVIDES

In some scenarios rpm needs version information from RPROVIDES. We can
add this to the metadata where needed however we need to stop it entering
the ipk/deb packages. This data is not needed due to the way opkg/dpkg
handle the data.

This patch ensures that data isn't used.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agodebian: Add versions to RPROVIDES
Richard Purdie [Thu, 16 Jul 2015 22:48:51 +0000 (23:48 +0100)]
debian: Add versions to RPROVIDES

Recently, libspeexdsp-dev added RCONFLICTS = "speex-dev < 1.2rc2". where
libspeexdsp is 1.2rc3. That all seems reasonable, except there is a problem.

debian.bbclass renames speex-dev to libspeex-dev and adds a "Provides: speex-dev"
which the packaging backends duly note. The trouble is rpm sees that as having no
version at all. This means that "speex-dev < 1.2rc2" conflicts with "speex-dev"
and the -dev package simply cannot be installed.

We can't simply version all Provides for rpm since some dependencies clearly
shouldn't be versioned (e.g. the locale ones).

The solution that seems to work best is to add the versions in debian.bbclass.
If the backend doesn't like these, the backend can then strip them off
(separate patch does this).

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogamin: remove
Ross Burton [Thu, 16 Jul 2015 22:24:06 +0000 (23:24 +0100)]
gamin: remove

Gamin hasn't been required for many years now, maintenance upstream stopped in
2008 and the addition of inotify to the kernel made it redundant.

Remove the recipe from oe-core, and references to it in pacakgegroup-core-lsb
(LSB doesn't require gamin) and packagegroup-self-hosted.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoextensible sdk: Error when trying to install as root.
Randy Witt [Thu, 16 Jul 2015 20:34:21 +0000 (13:34 -0700)]
extensible sdk: Error when trying to install as root.

Since the extensible sdk uses bitbake, which can't run as root, the sdk
shouldn't be installed as root.

Previously it would error out late into setup when bitbake errored
saying not to run bitbake as root.

Now the script errors with a message saying the extensible sdk can't be
installed as root.

[Yocto #7545]

Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agosubversion_1.8.13.bb: Upstream-Status updated to Accepted
Jose Lamego [Tue, 14 Jul 2015 09:01:38 +0000 (09:01 +0000)]
subversion_1.8.13.bb: Upstream-Status updated to Accepted

Upstream-Status changed to Accepted due to [1]

[1] http://svn.apache.org/viewvc/subversion/trunk/build/ac-macros/serf.m4?r1=1594156&r2=1689824

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolibcap: control attr PACKAGECONFIG via xattr DISTRO feature
Andre McCurdy [Thu, 16 Jul 2015 01:58:08 +0000 (18:58 -0700)]
libcap: control attr PACKAGECONFIG via xattr DISTRO feature

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolibcap: avoid losing default Large File Support CFLAGS
Andre McCurdy [Thu, 16 Jul 2015 01:58:07 +0000 (18:58 -0700)]
libcap: avoid losing default Large File Support CFLAGS

-D_LARGEFILE64_SOURCE and -D_FILE_OFFSET_BITS=64 are present in the
default libcap CFLAGS. Add them to the OE CFLAGS too, so that they
are still in effect when the OE CFLAGS over-ride the defaults.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolibcap: always link apps dynamically
Andre McCurdy [Thu, 16 Jul 2015 01:58:06 +0000 (18:58 -0700)]
libcap: always link apps dynamically

Without the explicit over-ride, apps will be linked statically
if a .git directory is found in the top level source directory.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolocal.conf.sample: Added /tmp to BB_DISKMON_DIRS
Mariano Lopez [Wed, 15 Jul 2015 11:17:48 +0000 (11:17 +0000)]
local.conf.sample: Added /tmp to BB_DISKMON_DIRS

If the there is no space left in /tmp the build
will fail with very exotic errors. This monitor
the space of /tmp.

[YOCTO #8000]

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolinux-yocto/3.19: drm and axxia updates
Bruce Ashfield [Thu, 16 Jul 2015 05:03:06 +0000 (01:03 -0400)]
linux-yocto/3.19: drm and axxia updates

Bumping the 3.19 SRCREVs for the following fixes:

  e152349de59b drm/i915: Reset CSB read pointer in ring init
  a87a6ffb3459 drm/i915/bdw: Enable execlists by default where supported
  a70b2eb273ef meta: axxiaarm: add configuration fragments

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolinux-yocto/3.14: fix gcc 4.9.4/5.1 build issues, yaffs2 memory leak
Bruce Ashfield [Thu, 16 Jul 2015 05:03:05 +0000 (01:03 -0400)]
linux-yocto/3.14: fix gcc 4.9.4/5.1 build issues, yaffs2 memory leak

Updating the 3.14 SRCREVs for the following commits:

  7534aeb01883 yaffs2: fix memory leak in mount/umount
  4287412436cb MIPS: Fix build with binutils 2.24.51+

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoqemu: upgrade to 2.4.0-rc0
Cristian Iorga [Thu, 16 Jul 2015 17:30:06 +0000 (20:30 +0300)]
qemu: upgrade to 2.4.0-rc0

- Get rid of direct use of gnutls APIs in quorum
blockdrv in favour of using the crypto APIs.
- Convert VNC websockets to use crypto APIs.
- quorum and vnc-ws packageconfig options no
longer exist, removed.
- All previous CVE are now included.
- larger_default_ram_size.patch patch removed,
no longer necessary.

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogtk-icon-utils: Rename, upgrade, add binary
Jussi Kukkonen [Tue, 9 Jun 2015 13:46:38 +0000 (16:46 +0300)]
gtk-icon-utils: Rename, upgrade, add binary

* Rename from gtk-update-icon-cache to gtk-icon-utils to better
  reflect the content. Fix references in other recipes and classes
* Upgrade to GTK+ 3.16.4
* Add gtk-encode-symbolic-svg binary: it is used by icon themes
  (e.g. Adwaita) to generate png versions of svg icons.
* Depend on librsvg-native for gtk-encode-symbolic-svg
* Add a patch that removes Gdk dependency from gtk-encode-symbolic-svg:
  this way the native build stays slim.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolib/oe/recipeutils: fix replace_dir_vars to return the correct variables
Paul Eggleton [Tue, 14 Jul 2015 21:56:00 +0000 (22:56 +0100)]
lib/oe/recipeutils: fix replace_dir_vars to return the correct variables

If we sort by length of name here we get the variables we are interested
in first. I've tested this with all of the variables we care about (the
ones at the top of bitbake.conf) and it returns the right results.

This fixes the failures we've been seeing in the oe-selftest
test_recipetool_appendfile_* tests.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agosstate.bbclass: remove redundant cd and mkdir commands
Andre McCurdy [Wed, 15 Jul 2015 00:54:42 +0000 (17:54 -0700)]
sstate.bbclass: remove redundant cd and mkdir commands

Update sstate_create_package and sstate_unpack_package to remove
redundant initial mkdir and cd commands. The working directory is
now setup correctly before the shell functions are called.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agooeqa/devtool: add useful failure messages for some test cases
Costin Constantin [Wed, 15 Jul 2015 13:04:50 +0000 (16:04 +0300)]
oeqa/devtool: add useful failure messages for some test cases

Signed-off-by: Costin Constantin <costin.c.constantin@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agobitbake.conf: fix qemu user mode linux for qemuarm64
Cristian Iorga [Wed, 15 Jul 2015 07:58:02 +0000 (10:58 +0300)]
bitbake.conf: fix qemu user mode linux for qemuarm64

OLDEST_KERNEL is invalid for aarch64, it didn't exist
back in our current version. Use a more recent version
for aarch64 to allow user mode qemu to work correctly.

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
9 years agorunqemu-internal: add temporary disk interface to qemuarm64
Cristian Iorga [Tue, 7 Jul 2015 13:44:58 +0000 (16:44 +0300)]
runqemu-internal: add temporary disk interface to qemuarm64

Starting with qemu 2.4, a disk needs be attached via a specified
interface, even if that interface is none. In case of qemuarm64
machine, the board is virtual, so a none interface it works
correctly.

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
9 years agooeqa/buildoptions: add useful failure messages for all test cases
Costin Constantin [Tue, 14 Jul 2015 11:31:11 +0000 (14:31 +0300)]
oeqa/buildoptions: add useful failure messages for all test cases

Signed-off-by: Costin Constantin <costin.c.constantin@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agooeqa/bblayers.py: add useful failure messages to all test cases
Costin Constantin [Tue, 14 Jul 2015 11:31:10 +0000 (14:31 +0300)]
oeqa/bblayers.py: add useful failure messages to all test cases

Signed-off-by: Costin Constantin <costin.c.constantin@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agooeqa/bbtests: add useful failure messages for all test cases
Costin Constantin [Tue, 14 Jul 2015 11:31:09 +0000 (14:31 +0300)]
oeqa/bbtests: add useful failure messages for all test cases

Signed-off-by: Costin Constantin <costin.c.constantin@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoconnman-conf: fix SRC_URI_append
Martin Jansa [Tue, 14 Jul 2015 12:36:45 +0000 (14:36 +0200)]
connman-conf: fix SRC_URI_append

* add leading space so that it works even with some .bbappend adding
  additional files to SRC_URI without trailing space

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoclasses/logging: allow shell message functions to work in devshell
Paul Eggleton [Tue, 14 Jul 2015 08:54:46 +0000 (09:54 +0100)]
classes/logging: allow shell message functions to work in devshell

Fix a regression caused by the shell message changes - if you run a
shell task's runfile, the task isn't actually running in BitBake and
thus the message FIFO won't exist - so we should just fall back to
printing the message with echo as we did before so that the run files
are still useful.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
9 years agoUse die() or bbfatal_log() where the log should definitely be printed
Paul Eggleton [Mon, 13 Jul 2015 15:20:03 +0000 (16:20 +0100)]
Use die() or bbfatal_log() where the log should definitely be printed

Change calls to bbfatal() to either die() or bbfatal_log() where we know
we want the full log to be printed by the UI (calling bberror or bbfatal
would otherwise suppress it since the change to connect these functions
through to the UI.) bbfatal() is still fine to use where there is enough
context information in the message such that the log isn't needed.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
9 years agoclasses/base: fix die() to print the full log
Paul Eggleton [Mon, 13 Jul 2015 15:30:09 +0000 (16:30 +0100)]
classes/base: fix die() to print the full log

The recent change to connect through the shell logging functions caused
a regression - bb.error() and bb.fatal() cause a flag to be set
internally such that BitBake's UI will not print the full task log on
failure; unfortunately we have in a lot of places called die() or
bbfatal() within shell functions with a very terse message as a means of
exiting out, where we still want to see the full log (and we were
previously). We do still want to have fatal errors with proper messages
that don't result in the full log being printed, however we can't ignore
the typical usage of die(). Having added a mechanism to BitBake to log an
error and reset the flag, create a bbfatal_log() function that uses this
and call it from die() to restore the previous behaviour.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
9 years agoclasses/useradd: don't read bbnote/bbwarn/bbfatal values
Paul Eggleton [Mon, 13 Jul 2015 14:26:28 +0000 (15:26 +0100)]
classes/useradd: don't read bbnote/bbwarn/bbfatal values

Since these functions now log through BitBake's message logging system
we must have standalone implementations here.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
9 years agoguile: Add explicit directories to guile_cross_config
Ross Burton [Tue, 14 Jul 2015 14:50:05 +0000 (15:50 +0100)]
guile: Add explicit directories to guile_cross_config

guile_cross_config() was using relative paths which mean it depends on exactly
what directory it starts in.  To clarify the code, always use absolute paths.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agochkconfig: use explicit directories in obey_variables()
Ross Burton [Tue, 14 Jul 2015 14:49:13 +0000 (15:49 +0100)]
chkconfig: use explicit directories in obey_variables()

obey_variables() was using relative paths which mean it depends on exactly what
directory it starts in.  To clarify the code, always use absolute paths.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agodmidecode: use absolute paths in fixup task
Ross Burton [Tue, 14 Jul 2015 14:40:24 +0000 (15:40 +0100)]
dmidecode: use absolute paths in fixup task

The calls to sed use relative paths so they depend on the directory the task
starts in.  To clarify the code, use absolute paths.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agodepmodwrapper-cross: set S correctly
Ross Burton [Tue, 14 Jul 2015 14:38:43 +0000 (15:38 +0100)]
depmodwrapper-cross: set S correctly

This recipe doesn't unpack any source, so set S to ${WORKDIR}.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoqemuwrapper-cross: set S correctly
Ross Burton [Tue, 14 Jul 2015 14:38:03 +0000 (15:38 +0100)]
qemuwrapper-cross: set S correctly

This recipe doesn't unpack any source, so set S to ${WORKDIR}.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoopkg-arch-config: set S correctly
Ross Burton [Tue, 14 Jul 2015 14:37:33 +0000 (15:37 +0100)]
opkg-arch-config: set S correctly

This recipe doesn't unpack any source, so set S to ${WORKDIR}.

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