]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
10 years agoinsane: Add baremetal mappings to the QA arch test
Richard Purdie [Tue, 31 Mar 2015 15:23:14 +0000 (16:23 +0100)]
insane: Add baremetal mappings to the QA arch test

Add mappings for i586-elf, x86_64-elf and arm-eabi to binary lookup
table which allows for a variety of baremetal toolchain generation.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agositeinfo: Add x86_64-elf support
Richard Purdie [Tue, 31 Mar 2015 15:22:09 +0000 (16:22 +0100)]
siteinfo: Add x86_64-elf support

Teach siteinfo about x86_64-elf so that baremetal toolchains parse/build.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopopulate_sdk_ext: Log the "Preparing build system" step
Randy Witt [Wed, 25 Mar 2015 00:16:26 +0000 (17:16 -0700)]
populate_sdk_ext: Log the "Preparing build system" step

When using bitbake to do the setscene as part of sdk setup, it would be
useful to have a log in the case where it fails.

The log is called preparing_build_system.log and is in the top level
directory of the extracted sdk.

Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodpkg-native: Avoid 'file changed' errors from tar
Richard Purdie [Sat, 28 Mar 2015 08:50:27 +0000 (08:50 +0000)]
dpkg-native: Avoid 'file changed' errors from tar

Hardlink count duing do_package_write_deb can change causing dpkg-deb
failures. We don't care about this error case so avoid it by checking
the tar exit code.

[YOCTO #7529]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agowpa-supplicant: Make SystemD D-Bus config conditional
Otavio Salvador [Fri, 27 Mar 2015 22:14:24 +0000 (19:14 -0300)]
wpa-supplicant: Make SystemD D-Bus config conditional

The SystemD D-Bus configuration should only to be installed when
SystemD support is enabled.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agou-boot.inc: fix rename image error
Chunrong Guo [Wed, 25 Mar 2015 09:51:22 +0000 (17:51 +0800)]
u-boot.inc: fix rename image error

   Resolve mismatch between U-Boot configs and uboot image name.
   The ${S}/${config}/u-boot-${type}.${UBOOT_SUFFIX} may alway be false
   and repeat compile or install so we need to check if ${type} match ${config}

Signed-off-by: Chunrong Guo <B40290@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibart-lgpl: add art_config.h for armeb/aarch64be/aarch64be_32
Krishnanjanappa, Jagadeesh [Thu, 26 Mar 2015 15:39:11 +0000 (21:09 +0530)]
libart-lgpl: add art_config.h for armeb/aarch64be/aarch64be_32

The preprocessor macro values present in art_config.h
differ for individual architectures, basically libart-lgpl recipe will
pick up correct art_config.h file based on

ART_CONFIG = "${HOST_ARCH}/art_config.h"

and thereby having correct preprocessor macros definition
of each architectures.

Signed-off-by: Krishnanjanappa, Jagadeesh <jagadeesh.krishnanjanappa@caviumnetworks.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocombo-layer: fix file_exclude for empty commits
Patrick Ohly [Fri, 27 Mar 2015 13:53:12 +0000 (14:53 +0100)]
combo-layer: fix file_exclude for empty commits

The code detecting empty patches after removing files with
file_exclude failed for commits which were already empty before (like
the initial commit in some repos): such patches are completely empty
files, without a From line.

Detect that case and just let the normal empty patch detection deal
with it.

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocombo-layer: fix file_exclude for dest_dir = .
Patrick Ohly [Fri, 27 Mar 2015 13:53:11 +0000 (14:53 +0100)]
combo-layer: fix file_exclude for dest_dir = .

"filterdiff -x ./some/file" does not remove changes for some/file.
We must be more careful about constructing the path name and
only add the prefix when it really means a directory.

While at it, also better normalize the path in copy_selected_files()
early on, to handle double slashes. Useful should the function ever
gets used for something other that dest_dir (which gets normalized in
sanity_check()).

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocombo-layer: clean up dest_dir checking
Patrick Ohly [Fri, 27 Mar 2015 13:53:10 +0000 (14:53 +0100)]
combo-layer: clean up dest_dir checking

Empty dest_dir is basically undocumented behavior. The sample conf
only mentions using just a dot for the current directory. In practice,
the empty string does not work because of code like this:

def action_splitpatch(conf, args):
    ...
        if dest_dir != ".":
            filerange_root = '%s -x "%s/*"' % (filerange_root, dest_dir)

However, the empty string was not explicitly checked for, leading to
strange errors when trying to apply patches:

[12:50:23] Applying: foobar: xyz
fatal: unable to stat newly created file '/foobar': No such file or directory

This patch turns the empty string into an alias for the dot. This seems
more user-friendly than throwing an error. This alias is intentionally
not document in the sample conf, because the dot is clearer and works also
with older copies of combo-layer.

Instead of checking for both all the time and normalizing the path when
needed (as done in some places), rewrite the value in sanity_check()
and then only check for '.'.

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoglibc-testing: Specify location of c++ header files
Juro Bystricky [Thu, 26 Mar 2015 15:14:31 +0000 (08:14 -0700)]
glibc-testing: Specify location of c++ header files

Glibc test suite contains several c++ files. They are built
with g++ -nostdinc. In this case the location of c++ include files
needs to be specified explicitly, or the programs may fail to build.

The header locations are assumed to be:
    sysroot/usr/include/c++/<version>
    sysroot/usr/include/c++/<version>/<machine>

The new code parses "configparms" to get the actual CXX and sysroot
used for the glibc test suite, then it queries CXX to determine
CXX <version> and CXX <machine>. With the known values for <version>
and <machine> the code composes a new value for c++-sysincludes
and appends "configparms" with that value.

[YOCTO #7081]

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agooe-git-proxy: Redirect error messages to STDERR
Juro Bystricky [Fri, 27 Mar 2015 17:17:35 +0000 (10:17 -0700)]
oe-git-proxy: Redirect error messages to STDERR

oe-git-proxy script needs socat. If socat is not found,
an error message is issued on STDOUT. This leads to a misleading
git message:

fatal: protocol error: bad line length character: ERRO

instead of the intended message:

ERROR: socat binary not in PATH

Redirecting the error message to STDERR fixes this issue.

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoautotools: Avoid find race for S = "${WORKDIR}"
Richard Purdie [Thu, 26 Mar 2015 14:18:30 +0000 (14:18 +0000)]
autotools: Avoid find race for S = "${WORKDIR}"

For recipes with PACKAGES_remove = "${PN}", the find which removes .la files
can race against deletion of other directories in WORKDIR e.g.:

find: '/home/autobuilder/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/build/tmp/work/qemux86_64-poky-linux/init-ifupdown/1.0-r7/sstate-build-populate_lic': No such file or directory
| WARNING: /home/autobuilder/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/build/tmp/work/qemux86_64-poky-linux/init-ifupdown/1.0-r7/temp/run.do_configure.6558:1 exit 1 from
|   find /home/autobuilder/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/build/tmp/work/qemux86_64-poky-linux/init-ifupdown/1.0-r7 -name \*.la -delete

The simplest fix is to add the find option which ignores these kind of races.

[YOCTO #7522]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogcc: Tweak arm multilib endian patch for baremetal
Richard Purdie [Thu, 26 Mar 2015 23:55:12 +0000 (23:55 +0000)]
gcc: Tweak arm multilib endian patch for baremetal

In a baremetal build, TARGET_ENDIAN_OPTION isn't set leading to build
failures. Add in ifdefs to avoid this.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agokernel-yocto: merge duplicate kernel_configme task definitions
Ross Burton [Fri, 27 Mar 2015 15:21:01 +0000 (15:21 +0000)]
kernel-yocto: merge duplicate kernel_configme task definitions

The kernel_configme task was added twice (once in the .bbclass, one in a .inc)
with different ordering constraints.

Change this to be just one definition in the bbclass with the stronger ordering
constraints.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolinux-yocto: add kern-tools-native to kernel_metadata depends
Ross Burton [Fri, 27 Mar 2015 15:21:00 +0000 (15:21 +0000)]
linux-yocto: add kern-tools-native to kernel_metadata depends

The autobuilder failed like this:

  temp/run.do_kernel_metadata.25242: line 165: createme: command not found

createme is provided by kern-tools-native.  do_patch has a dependency on
kern-tools-native, but do_kernel_metadata runs before do_patch.  So move the
dependency from do_patch to do_kernel_metadata, moving the statement from the
.inc to the class so it's alongside the task definition.

[ YOCTO #7531 ]

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agotoaster: update toasterconf.json for fido release
Belen Barros Pena [Wed, 25 Mar 2015 14:14:36 +0000 (14:14 +0000)]
toaster: update toasterconf.json for fido release

We update the toasterconf.json for the 1.8 "fido"
release.

A small update to the release help text in the
toasterconf.json file shipped with the
openembedded-core layer.

We now make explicit that Toaster will build with
the tip of the selected branch, and we add links
to the OpenEmbedded repository.

Signed-off-by: Belen Barros Pena <belen.barros.pena@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agotoaster.bbclass: do not add symbolic links to artifacts
Alexandru DAMIAN [Wed, 25 Mar 2015 14:14:35 +0000 (14:14 +0000)]
toaster.bbclass: do not add symbolic links to artifacts

This patch removes the symbolic links from the artifact list.

[YOCTO #7184]

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocpio: fix CVE-2015-1197
Robert Yang [Thu, 26 Mar 2015 09:18:09 +0000 (02:18 -0700)]
cpio: fix CVE-2015-1197

Additional directory traversal vulnerability via symlinks
cpio CVE-2015-1197

Initial report:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=774669
Upstream report:
https://lists.gnu.org/archive/html/bug-cpio/2015-01/msg00000.html

And fix the indent in SRC_URI.

[YOCTO #7182]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopatch: fix CVE-2015-1196
Robert Yang [Thu, 26 Mar 2015 06:42:34 +0000 (23:42 -0700)]
patch: fix CVE-2015-1196

A directory traversal flaw was reported in patch:

References:
http://www.openwall.com/lists/oss-security/2015/01/18/6
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=775227
https://bugzilla.redhat.com/show_bug.cgi?id=1182154

[YOCTO #7182]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobuild-appliance-image: Update to fido head revision
Richard Purdie [Wed, 25 Mar 2015 13:14:19 +0000 (13:14 +0000)]
build-appliance-image: Update to fido head revision

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobuild-appliance-image: Update to fido head revision
Richard Purdie [Wed, 25 Mar 2015 13:01:04 +0000 (13:01 +0000)]
build-appliance-image: Update to fido head revision

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopython-pygobject: Disable parallel make install in native case
Richard Purdie [Wed, 25 Mar 2015 12:31:44 +0000 (12:31 +0000)]
python-pygobject: Disable parallel make install in native case

Comments within the commit describe the issue.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolttng-modules: Update along 2.6 stable branch
Richard Purdie [Wed, 25 Mar 2015 08:36:05 +0000 (08:36 +0000)]
lttng-modules: Update along 2.6 stable branch

Resolve compile issues with latest 3.19 stable series kernels.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agouninative-tarball: fix dependency on patchelf
Tyler Hall [Tue, 24 Mar 2015 22:17:10 +0000 (18:17 -0400)]
uninative-tarball: fix dependency on patchelf

DEPENDS doesn't actually add the dependency on patchelf-native to the
populate_sdk task. SDK_DEPENDS does this, but move the append to after
inheriting the base class so it does not get overwritten.

Without this, uninative-tarball fails to build in a clean workspace on a
system without patchelf.

[YOCTO #7467]

Signed-off-by: Tyler Hall <tylerwhall@gmail.com>
Acked-by: Randy Witt <randy.e.witt@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoskeleton: clarify linux-yocto-custom workflow
Bruce Ashfield [Tue, 24 Mar 2015 18:57:53 +0000 (14:57 -0400)]
skeleton: clarify linux-yocto-custom workflow

It was pointed out that the kernel development documentation recommends
making a copy of linux-yocto-custom, while the comments in the recipe
itself suggest a bbappend.

To keep things consistent between these two sources, we update the
comment in the recipe itself to also recommend a copy (and rename).

[YOCTO: #6925]

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolinux-yocto/3.19: fixes for Intel core warnings
Bruce Ashfield [Tue, 24 Mar 2015 18:57:52 +0000 (14:57 -0400)]
linux-yocto/3.19: fixes for Intel core warnings

Updating the 3.19 meta branch to include the following configuration
change to deal with kernel configuration audit warnings:

  9e70b482d377 romley: remove common video and media config items
  8a4e096759ad intel-common: remove eg20t from common config
  c2f5ab15620c drm-cdvpvr: Add STAGING_MEDIA
  ac4693c1db39 media: Prefer modules(m) to yes(y) and update for 3.19 Kernel

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolinux-yocto/3.14: integrate korg stable and meta data changes
Bruce Ashfield [Tue, 24 Mar 2015 18:57:51 +0000 (14:57 -0400)]
linux-yocto/3.14: integrate korg stable and meta data changes

Updating the 3.14 SRCREVs to import the v3.14.36 korg stable changes and
configuration changes to the meta branch.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolinux-yocto/3.19: configuration updates and stable import
Bruce Ashfield [Tue, 24 Mar 2015 18:57:50 +0000 (14:57 -0400)]
linux-yocto/3.19: configuration updates and stable import

Updating the 3.19 SRCREVs to pick up the korg 3.19.2 release, as well
as the following meta data changes:

  ed82e1ac3196 features: soc: fix typo in baytrail.cfg
  76bc151242d7 tiny.cfg: Enable BINFMT_SCRIPT

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agokernel-yocto: allow in-tree defconfigs
Bruce Ashfield [Tue, 24 Mar 2015 18:57:49 +0000 (14:57 -0400)]
kernel-yocto: allow in-tree defconfigs

In a similar manner to the kernel itself, which does the following to
bring a defconfig into the configuration:

    defconfig: $(obj)/conf
    ifeq ($(KBUILD_DEFCONFIG),)
        $< --defconfig $(Kconfig)
    else
        @echo "*** Default configuration is based on '$(KBUILD_DEFCONFIG)'"
        $(Q)$< --defconfig=arch/$(SRCARCH)/configs/$(KBUILD_DEFCONFIG) $(Kconfig)
    endif

We do the same with the linux-yocto configuration processing. If a
defconfig is specified via the KBUILD_DEFCONFIG variable, we copy it
from the source tree, into a common location and normalized "defconfig"
name, where the rest of the process will include and incorporate it
into the configuration process.

If the fetcher has already placed a defconfig in WORKDIR (from the
SRC_URI), we don't overwrite it, but instead warn the user that SRC_URI
defconfigs take precedence.

[YOCTO: #7474]

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoopenssl: 1.0.2 -> 1.0.2a
Richard Purdie [Mon, 23 Mar 2015 16:54:46 +0000 (16:54 +0000)]
openssl: 1.0.2 -> 1.0.2a

Patch updated to drop TERMIO flags since these are the default on
Linux anyway (see https://git.openssl.org/?p=openssl.git;a=commit;h=64e6bf64b36136d487e2fbf907f09612e69ae911)

Also drop patch merged upstream.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogst-player: Add error messages for missing plugins
Jussi Kukkonen [Tue, 24 Mar 2015 16:15:28 +0000 (18:15 +0200)]
gst-player: Add error messages for missing plugins

Make it easier to understand problems with missing gstreamer plugins
(e.g. decoders) by adding an info bar with a message like "Missing
plugin 'MPEG-4 AAC decoder'" to the player.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopackage_deb: DpkgIndexer use apt-ftparchive that needs a valid config
Andreas Oberritter [Tue, 24 Mar 2015 09:50:08 +0000 (09:50 +0000)]
package_deb: DpkgIndexer use apt-ftparchive that needs a valid config

Since we have support of log checking in deb/ipk [1] rootfs generation
in non Debian-based hosts fails because apt-ftparchive generates a
Warning when not find /etc/apt/apt.conf.d/ (available in Debian-based
hosts).

package_manager.py: DpkgPMIndexer add support for generate and export apt
configuration.

[1] http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=86aec93902af2e2d7d73ca9a643707fcca45055c

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoimage.bbclass: Empty /var/volatile if it is a mount point
Randy Witt [Tue, 24 Mar 2015 17:26:36 +0000 (10:26 -0700)]
image.bbclass: Empty /var/volatile if it is a mount point

If /var/volatile is a mount point it shouldn't contain any files before
mount time. If files are there, they will no longer be able to be accessed
once the tmpfs gets mounted at /var/volatile.

This problem can be seen for instance when systemd creates
/var/volatile/log/journal as part of its package installation. It then
assumes the journal is persistent even though /var/volatile/log/journal
goes away shortly thereafter.

This change makes sure that there are no files in /var/volatile if it is
to be used as a mount point.

[Yocto #7388]

Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoimage: Ensure manifests end with a newline
Richard Purdie [Tue, 24 Mar 2015 10:57:25 +0000 (10:57 +0000)]
image: Ensure manifests end with a newline

Manifests should end with a newline character but don't currently. This
is the easiest fix for now, the alternative would be a rewrite of the
internal code which is something to consider in due course.

[YOCTO #7427]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibunwind: use xz, because it fails to detect liblzma provided by lzma
Andreas Oberritter [Mon, 23 Mar 2015 15:39:41 +0000 (16:39 +0100)]
libunwind: use xz, because it fails to detect liblzma provided by lzma

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoca-certificates: clean up before do_compile()
Andreas Oberritter [Mon, 23 Mar 2015 15:36:50 +0000 (16:36 +0100)]
ca-certificates: clean up before do_compile()

Otherwise the script which converts mozilla certificates extracts
each certificate twice.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopigz: fix alternatives handling, use symlinks, provide zcat
Andreas Oberritter [Mon, 23 Mar 2015 15:34:17 +0000 (16:34 +0100)]
pigz: fix alternatives handling, use symlinks, provide zcat

The installed unpigz is a hardlink to pigz.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agokernel-module-split.bbclass: Avoid bogus recommends for modules ending with -dev
Andreas Oberritter [Mon, 23 Mar 2015 15:33:18 +0000 (16:33 +0100)]
kernel-module-split.bbclass: Avoid bogus recommends for modules ending with -dev

Example: lirc-dev.ko -> kernel-module-lirc-dev

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agovalgrind: enable build for MIPS
Andreas Oberritter [Mon, 23 Mar 2015 15:30:03 +0000 (16:30 +0100)]
valgrind: enable build for MIPS

Since 3.8.0, valgrind supports MIPS32. MIPS64 was added in 3.9.0.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoconnman: only depend on xuser-account if ROOTLESS_X is set
Andreas Oberritter [Mon, 23 Mar 2015 15:29:29 +0000 (16:29 +0100)]
connman: only depend on xuser-account if ROOTLESS_X is set

* Copied from xserver-nodm-init.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibav: fix floating dependency on libasound
Andreas Oberritter [Mon, 23 Mar 2015 15:41:33 +0000 (16:41 +0100)]
libav: fix floating dependency on libasound

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopython: fix cached config value for /dev/ptmx
Andreas Oberritter [Mon, 23 Mar 2015 15:42:21 +0000 (16:42 +0100)]
python: fix cached config value for /dev/ptmx

Linux usually has /dev/ptmx, so set set it to yes.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoqemu: Add patch to fix qemux86-64 EDSCA key problems
Richard Purdie [Tue, 24 Mar 2015 09:08:41 +0000 (09:08 +0000)]
qemu: Add patch to fix qemux86-64 EDSCA key problems

Without this patch, x86_64 images would show invalid EDSCA key errors
with sshd from openssh (but not dropbear) during init.

This would cause problems with operation with some distros where EDSCA
keys were mandatory. The issue was present in qemu 2.2.1 and not in
2.3.0-rc0, bisected to this commit which was then backported. This fixes
intermittent failures on the autobuilder. Issue is not present when
using KVM (consistent with a fault in TCG).

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoRevert "systemd: Fix the problem of an empty journal on boot"
Randy Witt [Tue, 24 Mar 2015 00:28:13 +0000 (17:28 -0700)]
Revert "systemd: Fix the problem of an empty journal on boot"

This reverts commit e75c95ceca34879698b1ea229a2101dc1ccc12fc. The fix
was reported to cause long waits for some users.

Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agokernel-module-split.bbclass: fix autoloading from postinst script
Andreas Oberritter [Mon, 23 Mar 2015 15:39:06 +0000 (16:39 +0100)]
kernel-module-split.bbclass: fix autoloading from postinst script

When using KERNEL_MODULE_AUTOLOAD, autoload was empty, causing
"modprobe None" to get appended to the postinst script.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopython: Fix PGEN linking errors
Alejandro Hernandez [Mon, 23 Mar 2015 21:33:21 +0000 (15:33 -0600)]
python: Fix PGEN linking errors

Parallel make races when linking PGEN affects target's python
compilation as well, adds patch from python-native to modify the
Makefile and avoid parallel make races, also updates upstream status

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoupdate-alternatives.bbclass: alternatives should be removed in prerm
Andreas Oberritter [Mon, 23 Mar 2015 19:10:51 +0000 (20:10 +0100)]
update-alternatives.bbclass: alternatives should be removed in prerm

This behaviour matches dpkg's manpage and fixes deinstalling
alternatives for programs needed by the postrm script, e.g. /bin/sh.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodpkg: Don't move update-alternatives to sbindir
Andreas Oberritter [Mon, 23 Mar 2015 19:09:25 +0000 (20:09 +0100)]
dpkg: Don't move update-alternatives to sbindir

Debian, Ubuntu and opkg all have it in bindir.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agorootfs.py: Also uninstall update-alternatives and shadow for read-only-rootfs
Andreas Oberritter [Mon, 23 Mar 2015 18:59:30 +0000 (19:59 +0100)]
rootfs.py: Also uninstall update-alternatives and shadow for read-only-rootfs

This brings back commit d41097a970e9bfa553cd4bc3c9fad4b9073d7bd5,
which got lost during transition from image.bbclass to rootfs.py.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopackage.bbclass: Add SYSTEMD_SERVICE to list of package specific variables
Andreas Oberritter [Mon, 23 Mar 2015 18:58:49 +0000 (19:58 +0100)]
package.bbclass: Add SYSTEMD_SERVICE to list of package specific variables

Changes to SYSTEMD_SERVICE should change the sstate checksum. To make that
happen, it needs to be listed in the list of package specific variables,
therefore add it.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agowebkit-gtk: disable JIT for armv5/armv6
Cristian Iorga [Mon, 23 Mar 2015 18:31:38 +0000 (20:31 +0200)]
webkit-gtk: disable JIT for armv5/armv6

JIT for JS causes webkit to crash for
ARM v5 and ARM v6 arch, so disable it for now.

TODO: re-evaluate after webkit-gtk upgrade.

Fixes [YOCTO #6931].

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosystemd: fix firmware path to match linux-firmware
Jonathan Liu [Mon, 23 Mar 2015 11:18:46 +0000 (22:18 +1100)]
systemd: fix firmware path to match linux-firmware

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosystemd: restore userspace firmware loading support
Jonathan Liu [Thu, 19 Mar 2015 04:38:32 +0000 (15:38 +1100)]
systemd: restore userspace firmware loading support

This changes the minimum required Linux version from 3.7 back to 3.0.

[YOCTO #7409]

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agotzdata: update to 2015b
Armin Kuster [Sat, 21 Mar 2015 14:42:09 +0000 (07:42 -0700)]
tzdata: update to 2015b

Changes affecting future time stamps

Mongolia will start observing DST again this year, from the last
Saturday in March at 02:00 to the last Saturday in September at 00:00.
(Thanks to Ganbold Tsagaankhuu.)

Palestine will start DST on March 28, not March 27.  Also,
correct the fall 2014 transition from September 26 to October 24.
Adjust future predictions accordingly.  (Thanks to Steffen Thorsen.)

Changes affecting past time stamps

The 1982 zone shift in Pacific/Easter has been corrected, fixing a 2015a
regression.  (Thanks to Stuart Bishop for reporting the problem.)

Some more zones have been turned into links, when they differed
from existing zones only for older time stamps.  As usual,
these changes affect UTC offsets in pre-1970 time stamps only.
Their old contents have been moved to the 'backzone' file.
The affected zones are: America/Antigua, America/Cayman,
Pacific/Midway, and Pacific/Saipan.

Changes affecting time zone abbreviations

Correct the 1992-2010 DST abbreviation in Volgograd from "MSK" to "MSD".
(Thanks to Hank W.)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agotzcode: update to 2015b
Armin Kuster [Sat, 21 Mar 2015 14:42:08 +0000 (07:42 -0700)]
tzcode: update to 2015b

Changes affecting code

Fix integer overflow bug in reference 'mktime' implementation.
(Problem reported by Jörg Richter.)

Allow -Dtime_tz=time_t compilations, and allow -Dtime_tz=... libraries
to be used in the same executable as standard-library time_t functions.
(Problems reported by Bradley White.)

Changes affecting commentary

Cite the recent Mexican decree changing Quintana Roo's time zone.
(Thanks to Carlos Raúl Perasso.)

Likewise for the recent Chilean decree.  (Thanks to Eduardo Romero Urra.)

Update info about Mars time.

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolib/oe/lsb.py: Prioritize parsing of /etc/os-release
Ed Bartosh [Fri, 20 Mar 2015 18:37:12 +0000 (20:37 +0200)]
lib/oe/lsb.py: Prioritize parsing of /etc/os-release

Moved parsing of /etc/os-release before parsing of
/etc/SuSE-release as /etc/SuSE-release is deprecated in
recent releases of OpenSuSE.

Here is the quote from /etc/SuSE-release:
/etc/SuSE-release is deprecated and will be removed in the future,
use /etc/os-release instead

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agotar: set acpaths to avoid "Argument list too long" error
Chong Lu [Thu, 12 Mar 2015 06:14:55 +0000 (23:14 -0700)]
tar: set acpaths to avoid "Argument list too long" error

There would be an error when the TMPDIR is long/deep, for example when
len(TMPDIR) = 410 while our supported longest value is 410:

    aclocal: error: cannot open xxx
    autoreconf: aclocal failed with exit status: 1
    ERROR: autoreconf execution failed.

Let aclocal use the relative path for the m4 file rather than the
absolute would fix the problem.

[YOCTO #6138]

Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agowatchdog: Provide and install initscript
Diego Rondini [Wed, 18 Mar 2015 15:50:45 +0000 (16:50 +0100)]
watchdog: Provide and install initscript

Provide and install an initscript for the watchdog package.
In particular:
- watchdog-init.patch adapts redhat initscript to be compatibile with
  OpenEmbedded;
- watchdog-conf.patch selects /dev/watchdog as default device;
- changes to the recipe install and configure the initscript.

Signed-off-by: Diego Rondini <diego.ml@zoho.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agomtd-utils: minor recipe formatting cleanup
Andre McCurdy [Wed, 18 Mar 2015 20:22:03 +0000 (13:22 -0700)]
mtd-utils: minor recipe formatting cleanup

Remove obsolete comment describing SRCREV and re-order
SECTION, DEPENDS and PV lines. No functional changes.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopostinst_intercept script: drop pipe
Matthieu Crapet [Wed, 18 Mar 2015 16:20:20 +0000 (17:20 +0100)]
postinst_intercept script: drop pipe

Avoid useless subshell.
There's no word splitting in variable assignment.

Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agorootfs.py: add log checking ability for deb and ipk
Chen Qi [Thu, 19 Mar 2015 05:17:52 +0000 (13:17 +0800)]
rootfs.py: add log checking ability for deb and ipk

Extract the common codes of log checking and add the ability of log
checking for deb and ipk package backend.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agorootfs.py: two changes regarding log checking
Chen Qi [Thu, 19 Mar 2015 05:17:51 +0000 (13:17 +0800)]
rootfs.py: two changes regarding log checking

This patch involves two changes.

1. Extend the regular expression to also catch '^WARNING:' in _log_check_warn.
   Warnings from bb.note or bbnote begin with 'WARNING:'. So if we decide to
   catch warnings at rootfs time, we should not ignore those produced by
   the build system itself.

2. Delay _log_check in rootfs process so that more warnings are likely to be
   catched. Note that we should at least delay the _log_check after the
   execution of ROOTFS_POSTPROCESS_COMMANDS, because we want to catch warnings
   there.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agooelint.bbclass: remove duplicated code
Robert Yang [Thu, 19 Mar 2015 05:33:01 +0000 (22:33 -0700)]
oelint.bbclass: remove duplicated code

The old code 'if not srcpath.find("{PN}") == -1:' looks strange, use
'if srcpath.find("{PN}") != -1:' and remove duplicated code.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agooelint.bbclass: adjust task order
Robert Yang [Thu, 19 Mar 2015 05:33:00 +0000 (22:33 -0700)]
oelint.bbclass: adjust task order

Addtask lint before do_build rather than do_fetch, otherwise it would
cause all the tasks after do_fetch run again every time since
do_lint[nostamp] = "1".

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoneard: fix the install path in init scripts
Cristian Iorga [Wed, 18 Mar 2015 15:38:39 +0000 (17:38 +0200)]
neard: fix the install path in init scripts

The neard make scripts will place the daemon executable
in /usr/lib/neard/nfc/neard. Change the path accordingly
in init scripts.

Fixes [YOCTO #7390].

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agonss: move /usr/bin/smime to nss-smime
Martin Jansa [Sat, 21 Mar 2015 01:40:38 +0000 (02:40 +0100)]
nss: move /usr/bin/smime to nss-smime

* remove perl runtime dependency from main package

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodirectfb: define DEPENDS and EXTRA_OECONF via directfb.inc only
Andre McCurdy [Fri, 20 Mar 2015 19:41:20 +0000 (12:41 -0700)]
directfb: define DEPENDS and EXTRA_OECONF via directfb.inc only

Remove duplicate EXTRA_OECONF definition from directfb_1.7.6.bb.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopython-pexpect: Adds this module to buildtools, since it is needed by some of the...
Alejandro Hernandez [Wed, 18 Mar 2015 22:25:55 +0000 (16:25 -0600)]
python-pexpect: Adds this module to buildtools, since it is needed by some of the automated runtime test code.

[YOCTO 7279]

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopython-pexpect: Creates a recipe for the pexpect python module
Alejandro Hernandez [Wed, 18 Mar 2015 22:25:54 +0000 (16:25 -0600)]
python-pexpect: Creates a recipe for the pexpect python module

Based on the recipe contained in http://layers.openembedded.org/layerindex/branch/master/layer/meta-python

[YOCTO #7279]

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolicense.bbclass: skip license checking if the package contains no file
Chen Qi [Thu, 19 Mar 2015 05:17:53 +0000 (13:17 +0800)]
license.bbclass: skip license checking if the package contains no file

If the package doesn't contain any file, then the license isn't relevant
as far as the final image is concerned. So we skip the license checking
in license_create_manifest if such case.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopython-distribute: Adds netclient, email and shell runtime dependencies necessary to
Alejandro Hernandez [Wed, 18 Mar 2015 23:57:27 +0000 (17:57 -0600)]
python-distribute: Adds netclient, email and shell runtime dependencies necessary to

run python-distribute out of the box

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosanity.bbclass: vmdk and live can't be built together
Robert Yang [Thu, 19 Mar 2015 02:14:49 +0000 (19:14 -0700)]
sanity.bbclass: vmdk and live can't be built together

Both vmdk and live use syslinux, but they have different/conflicted
configurations, the main conflictions are:

                    vmdk                live
SYSLINUX_ROOT       root=/dev/sda2      root=/dev/ram0
SYSLINUX_LABELS     boot                boot install
INITRD              No                  yes

So it would make the boot menu strange and vmdk can't be boot, we need
add a few extra vars to fix the problem such as SYSLINUX_ROOT_VMDK
SYSLINUX_ROOT_LIVE, but that needs a lot of changes in the code, so just
add a sanity checking for it.

[YOCTO #6889]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoos-release: add LIC_FILES_CHKSUM
Chen Qi [Thu, 19 Mar 2015 05:17:54 +0000 (13:17 +0800)]
os-release: add LIC_FILES_CHKSUM

Add LIC_FILES_CHKSUM to avoid the warning below at rootfs time.

    WARNING: The license listed MIT was not in the licenses collected for os-release

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agotzdata: fix HOMEPAGE
Robert Yang [Thu, 19 Mar 2015 05:33:04 +0000 (22:33 -0700)]
tzdata: fix HOMEPAGE

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogroff: fix HOMEPAGE
Robert Yang [Thu, 19 Mar 2015 05:33:03 +0000 (22:33 -0700)]
groff: fix HOMEPAGE

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogawk: fix HOMEPAGE
Robert Yang [Thu, 19 Mar 2015 05:33:02 +0000 (22:33 -0700)]
gawk: fix HOMEPAGE

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibav: add PACKAGECONFIG for VA-API
Ross Burton [Thu, 19 Mar 2015 15:18:24 +0000 (15:18 +0000)]
libav: add PACKAGECONFIG for VA-API

Intel BSPs want to enable VA-API support so add a PACKAGECONFIG statement to
enable it if required.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoe2fsprogs: Package resize2fs
Alex J Lennon [Thu, 19 Mar 2015 13:17:34 +0000 (13:17 +0000)]
e2fsprogs: Package resize2fs

Signed-off-by: Alex J Lennon <ajlennon@dynamicdevices.co.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoxserver-nodm-init: Change to vt1 when stop
Aníbal Limón [Thu, 19 Mar 2015 13:45:49 +0000 (13:45 +0000)]
xserver-nodm-init: Change to vt1 when stop

When X is stopped it remains in the same vt that was launched,
change to vt1 instead to avoid manual vt switch.

[YOCTO #5336]

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosysvinit-inittab: Fix no tty in runlevel 1.
Aníbal Limón [Thu, 19 Mar 2015 13:45:48 +0000 (13:45 +0000)]
sysvinit-inittab: Fix no tty in runlevel 1.

When switch to runlevel 1 (Single user mode), tty was not
re-spawn and appears to be a machine hang.

[YOCTO #5336]

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoutil-linux-native: Fixed conflicts with shadow-native and ncurses-native
Caner Altinbasak [Fri, 20 Mar 2015 14:16:36 +0000 (08:16 -0600)]
util-linux-native: Fixed conflicts with shadow-native and ncurses-native

    util-linux-native provides /bin/reset and /sbin/nologin. shadow-native
    provides /sbin/nologin and ncurses-native provides /bin/reset. This
    creates a conlict.

    [YOCTO #7484]

    This commit fixes the conflict by deleting the /bin/reset and
    /sbin/nologin from util-linux-native installation.

Signed-off-by: Caner Altinbasak <caner.altinbasak@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agooeqa/runtime: Added a new auto rpm test
Lucian Musat [Fri, 20 Mar 2015 12:39:36 +0000 (14:39 +0200)]
oeqa/runtime: Added a new auto rpm test

The test tries to query the rpm list with a non-root user

Signed-off-by: Lucian Musat <george.l.musat@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agooe-selftest: use spaces to indent python code, not tabs
Paul Eggleton [Fri, 20 Mar 2015 12:15:02 +0000 (12:15 +0000)]
oe-selftest: use spaces to indent python code, not tabs

Indenting-only change.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoscripts/combo-layer: Handle update with no repo/revision specified
Richard Purdie [Fri, 20 Mar 2015 16:28:03 +0000 (16:28 +0000)]
scripts/combo-layer: Handle update with no repo/revision specified

Running an update operation with no repo/revision specified was failing.
This fixes that code path which worked until the change from:

http://git.yoctoproject.org/cgit.cgi/poky/commit/scripts/combo-layer?id=3592507a149b668c0a925e176535f7f2002fa543

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoglibc: avoid configure stall by feeding prompt
Benjamin Esquivel [Wed, 18 Mar 2015 12:21:33 +0000 (12:21 +0000)]
glibc: avoid configure stall by feeding prompt

Addresses a stall (by prompt) condition of the run.do_configure at when
executed directly from the workdir, like when using the devshell.

[YOCTO 7369]

Signed-off-by: Benjamin Esquivel <benjamin.esquivel@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agogcc-cross-canadian: Enable stripping and packaging of binaries
Richard Purdie [Fri, 20 Mar 2015 10:38:37 +0000 (10:38 +0000)]
gcc-cross-canadian: Enable stripping and packaging of binaries

This seems to have been disabled since the dawn of time for no good reason.
Enable the .debug stripping and packaging allowing for a smaller SDK.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoltp: find all .debug directories
Joe Slater [Wed, 18 Mar 2015 22:34:02 +0000 (15:34 -0700)]
ltp: find all .debug directories

The list of directories for ltp-dbg is incomplete, so
we generalize it.

We also eliminate a non-fatal qa error that the file
test_arch_stripped is stripped.

Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agolsb: fix installed-vs-shipped when build with multilib
Robert Yang [Thu, 19 Mar 2015 09:05:21 +0000 (02:05 -0700)]
lsb: fix installed-vs-shipped when build with multilib

The init-functions had been installed to /lib/lsb/init-functions
according to lsb spec, then there is an installed-vs-shipped issue when
build with multilib:

ERROR: QA Issue: lsb: Files/directories were installed but not shipped
  /lib
  /lib/lsb
  /lib/lsb/init-functions [installed-vs-shipped]

Fix the issue and indent.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agogst-plugins-good: fix nondeterministic udev dependency
Andre McCurdy [Thu, 19 Mar 2015 06:29:18 +0000 (23:29 -0700)]
gst-plugins-good: fix nondeterministic udev dependency

Make the v4l PACKAGECONFIG option control building of the video4linux2
plug-in (not use of libv4l, as it did before) and enable by default.
Add a separate libv4l PACKAGECONFIG to control use of libv4l (disabled
by default since libv4l is not part of oe-core).

The default config for gst-plugins-good and gstreamer1.0-plugins-good
is now aligned with regards to v4l, ie:

  v4l support: enabled by default
  v4l use of libgudev: enabled by default
  v4l use of libv4l2: disabled by default

This commit fixes the following build-deps QA Warnings:

  WARNING: QA Issue: gst-plugins-good-video4linux2 rdepends on libudev, but it isn't a build dependency? [build-deps]
  WARNING: QA Issue: gst-plugins-good-video4linux2 rdepends on libgudev, but it isn't a build dependency? [build-deps]

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agopulseaudio: remove obsolete resampler patching
Tanu Kaskinen [Thu, 19 Mar 2015 08:17:33 +0000 (10:17 +0200)]
pulseaudio: remove obsolete resampler patching

This sed script hasn't worked since PulseAudio 0.9.8 (released in
2007), because the match condition refers to "sinc-fastest", while the
default resampler is nowadays speex-float-1.

The idea behind the sed script might be good, but it seems obvious
that nobody is actually depending on the script, so let's just delete
it.

Signed-off-by: Tanu Kaskinen <tanu.kaskinen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agopuzzles: Fix build in x32 ABI
Aníbal Limón [Sun, 15 Mar 2015 12:02:29 +0000 (12:02 +0000)]
puzzles: Fix build in x32 ABI

Add patch for make castings to time_t values that are long long int
in x32 ABI.

[YOCTO #7447]

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
10 years agosystemtap: Fix build in x32 ABI
Aníbal Limón [Sun, 15 Mar 2015 11:00:39 +0000 (11:00 +0000)]
systemtap: Fix build in x32 ABI

Add a patch for fix printing of time_t value that is long long int
in x32 ABI instead of long int.

[YOCTO #7423]

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
10 years agomdadm: Fix build in x32 ABI
Aníbal Limón [Sun, 15 Mar 2015 09:02:14 +0000 (09:02 +0000)]
mdadm: Fix build in x32 ABI

Add a patch for fix build in x32 ABI, the fail is cause by time_t
printf because time_t is long int in x64 and long long int in x32.

[YOCTO #7422]

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
10 years agosystemd: set the location of binaries used by service files
Jonathan Liu [Wed, 18 Mar 2015 02:37:21 +0000 (13:37 +1100)]
systemd: set the location of binaries used by service files

Otherwise systemd uses AC_PROG_PATH and finds it in the sysroot or host
system, which won't work on the target.

[YOCTO #7408]

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agobase.bbclass: clean up warning message for 'S'
Jonathan Liu [Wed, 18 Mar 2015 05:31:57 +0000 (16:31 +1100)]
base.bbclass: clean up warning message for 'S'

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agovalgrind: enable building on 4.x kernel
Martin Jansa [Tue, 17 Mar 2015 12:13:34 +0000 (13:13 +0100)]
valgrind: enable building on 4.x kernel

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agoudev: remove 'modprobe' local rule
Javier Viguera [Tue, 17 Mar 2015 13:06:50 +0000 (14:06 +0100)]
udev: remove 'modprobe' local rule

Since udev version 176 (udev commit 06316d9) udev switched modprobe
explicit rules by the builtin kmod support.

The rule using the builtin kmod support is in
'/lib/udev/rules.d/80-drivers.rules':

DRIVER!="?*", ENV{MODALIAS}=="?*", IMPORT{builtin}="kmod load $env{MODALIAS}"

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agoperf: add bash to RDEPENDS
Bruce Ashfield [Wed, 11 Mar 2015 13:14:54 +0000 (09:14 -0400)]
perf: add bash to RDEPENDS

perf has a dependency on bash in its utilities, which generate the
following warning:

  WARNING: QA Issue: perf requires /bin/bash, but no providers in its RDEPENDS [file-rdeps]

Since perf is not installed on extremely small systems, we just add
bash to the RDEPENDS, rather than modifying scripts or removing content.

[YOCTO: #7445]

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
10 years agolinux-yocto/3.19: integrate korg -stable update
Bruce Ashfield [Tue, 10 Mar 2015 13:35:01 +0000 (09:35 -0400)]
linux-yocto/3.19: integrate korg -stable update

Updating to the latest and greatest -stable release for the 3.19 series.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>