]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
10 years agoqemu: Update PACKAGECONFIG[xen] and add xen to defaults
Nathan Rossi [Tue, 10 Feb 2015 08:15:24 +0000 (18:15 +1000)]
qemu: Update PACKAGECONFIG[xen] and add xen to defaults

* Add build and runtime dependencies for PACKAGECONFIG[xen]
* Add xen as a default PACKAGECONFIG option when it is part of
  DISTRO_FEATURES

Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agokern-tools: fix patch application error (preempt-rt)
Bruce Ashfield [Mon, 9 Feb 2015 17:27:21 +0000 (12:27 -0500)]
kern-tools: fix patch application error (preempt-rt)

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

    kgit-meta: always clear series file on branch transitions

This was triggered by the patch optimization changes, that no longer
run do_patch if a leaf/final branch is not being processed.

Without this change, invalid patches, or already applied patches in
an existig series file will be re-used which leads to missing files,
or patch errors.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agorunqemu: Add option for BIOS binary filename
Ricardo Neri [Fri, 6 Feb 2015 20:59:58 +0000 (12:59 -0800)]
runqemu: Add option for BIOS binary filename

If we intend to use a custom BIOS binary file, it would be good to be
able to specify the name of the binary via the -bios option of qemu. The
name of the custom binary could be different from the default name used
by qemu. For instance, it was bios.bin in qemu 1.5.0 and changed to
bios-256k.bin for 2.1.0.

Signed-off-by: Ricardo Neri <ricardo.neri-calderon@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agobtrfs-tools: update to 3.18.2
Armin Kuster [Sat, 7 Feb 2015 06:09:28 +0000 (22:09 -0800)]
btrfs-tools: update to 3.18.2

Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agoqmake_base.bbclass: fix hardcoded paths in a generated qt.conf
Tomas Novotny [Mon, 9 Feb 2015 14:14:45 +0000 (15:14 +0100)]
qmake_base.bbclass: fix hardcoded paths in a generated qt.conf

The qmake_base class generates internal qt.conf for build with hardcoded
qt4 target paths. This is ok for qt4-x11 as this is the default
$QT_DIR_NAME, but it is wrong for qt4-embedded, because qtopia is its
default directory.

Signed-off-by: Tomas Novotny <tomas.novotny@tbs-biometrics.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agogst-fluendo-mpegdemux: update to 0.10.85
Marco Trillo [Mon, 9 Feb 2015 08:33:18 +0000 (09:33 +0100)]
gst-fluendo-mpegdemux: update to 0.10.85

* Update gst-fluendo-mpegdemux recipe from 0.10.72 to 0.10.85.
* Provide a more descriptive SUMMARY.
* Fix broken link in parent file gst-fluendo.inc.

Signed-off-by: Marco Trillo <martri@arantia.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agorootfs.py: ignore "NOTE:" when catching warnings
Ricardo Neri [Fri, 6 Feb 2015 20:59:57 +0000 (12:59 -0800)]
rootfs.py: ignore "NOTE:" when catching warnings

The script looks for any warn|Warn pattern in the log. However,
it may happen that the warn|Warn pattern appears as part of the name
of the objects described in the NOTE lines of the log. Thus, to avoid
false positives, ignore the line if it contains the word "NOTE:"

Signed-off-by: Ricardo Neri <ricardo.neri-calderon@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agodhcp-client: Ignore partial checksums
Rob Woolley [Fri, 30 Jan 2015 21:55:09 +0000 (16:55 -0500)]
dhcp-client: Ignore partial checksums

dhclient will fail to get an IP address if run inside a guest when traffic is
flowing over a virtual network interface.  The user will see the error
message:

  5 bad udp checksums in 5 packets
  No DHCPOFFERS received.
  Unable to obtain a lease on first try.  Exiting.
  Failed to bring up eth0.

This is because Linux only uses partial checksums for packets that go over
virtual network interfaces and dhclient does not like this.

  See linux kernel commit 78ea85f17b15390e30d8b47488ec7b6cf0790663
  ("net: skbuff: improve comment on checksumming")

An application can detect this behaviour by checking for the
TP_STATUS_CSUMNOTREADY flag in the tp_status field.

  See linux kernel commit 8dc4194474159660d7f37c495e3fc3f10d0db8cc
  ("Add optional checksum computation for recvmsg")

An extra parameter is added to decode_udp_ip_header() in dhclient to indicate
whether or not dhclient should ignore partial checksums.  This is used
when the TP_STATUS_CSUMNOTREADY bit is set by the guest kernel.

This fix has been included in Fedora and Ubuntu, however it has not yet been
accepted by ISC upstream.  Likely because it is specific to behaviour in Linux
and other UNIX variants do not seem to be affected.

The patch was imported from the dhcp source RPM in Fedora 21
  (http://pkgs.fedoraproject.org/cgit/dhcp.git/tree/dhcp-xen-checksum.patch?h=f21)

Originally contributed to fedora-cvs-commit by David Cantrell on Jan 30 2007
  (https://www.redhat.com/archives/fedora-cvs-commits/2007-January/msg01442.html)

Submitted to dhcp-bugs@isc.org - [ISC-Bugs #22806] - by Michael S. Tsirkin
  (http://comments.gmane.org/gmane.comp.emulators.kvm.devel/65236)
  (https://lists.isc.org/pipermail/dhcp-hackers/2010-April/001835.html)

Upstream-Status: Submitted [dhcp-bugs@isc.org]
Signed-off-by: Rob Woolley <rob.woolley@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agou-boot.inc: unbreak
Andreas Müller [Fri, 13 Feb 2015 17:02:11 +0000 (18:02 +0100)]
u-boot.inc: unbreak

fix multiple:

| run.do_deploy.7526: line 107: [: missing `]'

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogcc-target: Don't install target gcc libdir files
Richard Purdie [Fri, 13 Feb 2015 13:05:59 +0000 (13:05 +0000)]
gcc-target: Don't install target gcc libdir files

Installing /usr/lib/gcc/* means we'd have two copies, one from gcc-cross
and one from here. These can confuse gcc cross where includes use #include_next
and builds track file dependencies (e.g. perl and its makedepends code).
For determinism we don't install this to the sysroot, ever and rely on the
copy from gcc-cross.

[YOCTO #7287]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoautotools/siteinfo: Avoid races over siteinfo files
Richard Purdie [Thu, 12 Feb 2015 14:50:11 +0000 (14:50 +0000)]
autotools/siteinfo: Avoid races over siteinfo files

If a siteinfo enabled tasks re-executes at the wrong moment whilst something else is
in do_configure, the _config files can be removed which upsets autoconf and
causes build failures.

Use the same approach as we do for dealing with the aclocal files. We already
parse the manifests so look out any *_config files and if so, copy them, then
reference the copy from siteinfo instead. This has the advantage of also being
more deterministic.

[YOCTO #7101]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibtool: Fix option parsing performance regression
Richard Purdie [Tue, 10 Feb 2015 17:46:29 +0000 (17:46 +0000)]
libtool: Fix option parsing performance regression

Cut and paste the pieces of build-aux/options-parser inline into the main
ltmain.sh code. This removes a performance degradation caused by the
repeated calls to func_quote_for_eval, the mechanism funclib uses
to construct the functions used for option parsing.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolinux-yocto/3.14: fix qemumips build error
Bruce Ashfield [Fri, 6 Feb 2015 21:03:25 +0000 (16:03 -0500)]
linux-yocto/3.14: fix qemumips build error

The merge of the 3.14 -stable series triggered a build failure in the
32 bit mips builds.

Updating the SRCREVs to import the fix for the issue.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
10 years agokern-tools: import patch performance improvements
Bruce Ashfield [Mon, 2 Feb 2015 19:14:16 +0000 (14:14 -0500)]
kern-tools: import patch performance improvements

Updating the SRCREV for the following commits:

  4822d22b65c2 kgit-meta: dont run kgit-s2q for non-leaf nodes
  3e3de1b9cdec createme: remove meta branch checks

With these, we save 10 seconds on the average patch phase, and
significantly more if very long patch queues are used.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
10 years agolinux-yocto-dev: update to v3.19+
Bruce Ashfield [Fri, 30 Jan 2015 19:21:59 +0000 (14:21 -0500)]
linux-yocto-dev: update to v3.19+

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
10 years agolttng: update to 2.6.0-stable
Bruce Ashfield [Fri, 30 Jan 2015 19:20:49 +0000 (14:20 -0500)]
lttng: update to 2.6.0-stable

To fix build issues against the v3.19 kernel, we can safely update to
the lttng 2.6 stable branches.

This allows us to drop two backported patches that are already part of
this update.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
10 years agolinux-yocto: basic octeon III support
Bruce Ashfield [Mon, 26 Jan 2015 18:19:10 +0000 (13:19 -0500)]
linux-yocto: basic octeon III support

Importing the following commits to add basic octeon III support to the
3.14 linux-yocto kernel:

   1e0bbd1dd68e MIPS:OCTEON: More OCTEONIII support
   f51a5843ee2d MIPS: Octeon: CVMSEG LM loads may cause dcache parity errors
   58bcba842781 MIPS: Octeon: Implement the core-16057 workaround
   ba5a219685e8 MIPS Override assembler ISA for kernel FPU instruction.
   7759a0511965 MIPS donot build fast TLB refill handler with 32-bit kernels.
   3f51e46ff641 MIPS Add minimal support for OCTEON3 to c-r4k.c
   bbde024d903a MIPS Add function get ebase cpunum
   9f18310679cb MIPS OCTEON Enable use of FPU
   d24496ee8fc8 MIPS OCTEON Add OCTEON3 to get cpu type

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
10 years agolinux-yocto/3.17: update to v3.17.8
Bruce Ashfield [Wed, 21 Jan 2015 20:53:23 +0000 (15:53 -0500)]
linux-yocto/3.17: update to v3.17.8

Updating to the latest korg stable version.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
10 years agolinux-yocto/3.10: update to v3.10.65
Bruce Ashfield [Wed, 21 Jan 2015 20:47:37 +0000 (15:47 -0500)]
linux-yocto/3.10: update to v3.10.65

Integrating the latest korg -stable updates for 3.10 LTSI.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
10 years agolinux-yocto/3.14: update to 3.14.29
Bruce Ashfield [Wed, 21 Jan 2015 18:33:28 +0000 (13:33 -0500)]
linux-yocto/3.14: update to 3.14.29

Updating to the latest korg -stable release for 3.14.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
10 years agokernel-dev: install all modules by default
Bruce Ashfield [Mon, 19 Jan 2015 14:33:42 +0000 (09:33 -0500)]
kernel-dev: install all modules by default

When doing kernel development testing, we want all the modules that were
built to be installed on the target.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
10 years agolibdrm: upgrade to 2.4.59
Nicolas Dechesne [Thu, 29 Jan 2015 15:21:35 +0000 (15:21 +0000)]
libdrm: upgrade to 2.4.59

* Refreshed installtests.patch
* Removed --enable-freedreno-experimental-api, since it is now enabled by
  default upstream

Tested on Snapdragon 600 with freedreno and X11.

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agoflac: upgrade to 1.3.1
Cristian Iorga [Thu, 5 Feb 2015 18:24:52 +0000 (20:24 +0200)]
flac: upgrade to 1.3.1

- 0001-Fix-Makefile.am-altivec-logic.patch patch removed,
included upstream.
- Copyright years updated, triggered new checksums for copyright files.

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agoneard: upgrade to 0.15
Cristian Iorga [Thu, 5 Feb 2015 18:24:53 +0000 (20:24 +0200)]
neard: upgrade to 0.15

- parallel-build.patch patch removed,
included upstream;
- systemd unit files provided by neard,
YP-provided removed;
- improved systemd support.

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agom4-native 1.4.9: remove it
Robert Yang [Tue, 27 Jan 2015 06:53:55 +0000 (22:53 -0800)]
m4-native 1.4.9: remove it

Its do_compile would be failed once our autoconf-naitve is built:
| /path/to/m4-native/1.4.9-r2/m4-1.4.9/missing: line 54: aclocal-1.10: command not found
| WARNING: `aclocal-1.10' is missing on your system.  You should only need it if
|          you modified `acinclude.m4' or `configure.ac'.  You might want
|          to install the `Automake' and `Perl' packages.  Grab them from

Also:
| /path/to/m4-native/1.4.9-r2/m4-1.4.9/missing: line 54: automake-1.10: command not found

We don't need keep a native GPLv2 recipe, so remove it.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
10 years agobison 2.3: disable native
Robert Yang [Sat, 31 Jan 2015 14:38:35 +0000 (06:38 -0800)]
bison 2.3: disable native

The following packages will fail to build once we build bion-native 2.3:
libnl
iproute2
libxkbcommon
lttng-tools
gstreamer1.0
babeltrace

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
10 years agocoreutils 6.9: disable native
Robert Yang [Sat, 31 Jan 2015 08:54:07 +0000 (00:54 -0800)]
coreutils 6.9: disable native

ERROR: The recipe coreutils-native is trying to install files into a shared area when those files already exist. Those files and their manifest location are:
   tmp/sysroots/x86_64-linux/bin/kill
 Matched in manifest-x86_64-util-linux-native.populate_sysroot

We have 8.23, so disable it rather than fix.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
10 years agoelfutils 0.148: use BPN in SRC_URI
Robert Yang [Mon, 2 Feb 2015 08:59:13 +0000 (00:59 -0800)]
elfutils 0.148: use BPN in SRC_URI

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
10 years agosubversion 1.6.15: fix unknown-configure-option
Robert Yang [Wed, 28 Jan 2015 01:10:37 +0000 (17:10 -0800)]
subversion 1.6.15: fix unknown-configure-option

WARNING: QA Issue: subversion: configure was passed unrecognised options: --without-apache [unknown-configure-option]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
10 years agorxvt-unicode: fix for 9.20 and 9.21
Robert Yang [Tue, 27 Jan 2015 09:00:23 +0000 (01:00 -0800)]
rxvt-unicode: fix for 9.20 and 9.21

* Add a rxvt-unicode.inc for rxvt-unicode_9.20.bb and rxvt-unicode_9.21.bb
* Fix unknown-configure-option:
  WARNING: QA Issue: rxvt-unicode: configure was passed unrecognised options: --enable-menubar --enable-cursor-blink --enable-shared --disable-strings --enable-xgetdefault [unknown-configure-option]
* Fix build-deps: (add a PACKAGECONFIG)
  WARNING: QA Issue: rxvt-unicode rdepends on startup-notification, but it isn't a build dependency? [build-deps]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
10 years agotar 1.17: fix unknown-configure-option
Robert Yang [Tue, 27 Jan 2015 08:31:21 +0000 (00:31 -0800)]
tar 1.17: fix unknown-configure-option

WARNING: QA Issue: tar: configure was passed unrecognised options: --without-posix-acls [unknown-configure-option]

tar 1.17 doesn't support --without-posix-acls, move it from tar.inc to
tar_1.28.bb to fix the problem.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
10 years agogrep 2.5.1a: fix unknown-configure-option
Robert Yang [Tue, 27 Jan 2015 08:24:36 +0000 (00:24 -0800)]
grep 2.5.1a: fix unknown-configure-option

Fixed:
WARNING: QA Issue: grep: configure was passed unrecognised options: --disable-ncurses [unknown-configure-option]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
10 years agogzip 1.3.12: a few fixes
Robert Yang [Tue, 27 Jan 2015 08:18:55 +0000 (00:18 -0800)]
gzip 1.3.12: a few fixes

* Let gzip_1.3.12.bb and gzip_1.6.bb use gzip.inc to remove duplicated
  code.
* Fixed for gzip_1.3.12.bb:
  WARNING: QA Issue: gzip requires /bin/bash, but no providers in its RDEPENDS [file-rdeps]
* Remove native extend from gzip_1.3.12.bb, keep gzip_1.6.bb's.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
10 years agopatch 2.5.9: fix unknown-configure-option
Robert Yang [Tue, 27 Jan 2015 08:06:32 +0000 (00:06 -0800)]
patch 2.5.9: fix unknown-configure-option

Fixed:
WARNING: QA Issue: patch: configure was passed unrecognised options: --disable-xattr [unknown-configure-option]

The patch 2.5.9 doesn't support --disable-xattr, there are already
PACKAGECONFIG and PACKAGECONFIG[attr] in patch_2.7.1.bb, so remove them from
patch.inc to fix the problem.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
10 years agom4 1.4.9: fix unknown-configure-option
Robert Yang [Tue, 27 Jan 2015 08:02:13 +0000 (00:02 -0800)]
m4 1.4.9: fix unknown-configure-option

Fixed:
WARNING: QA Issue: m4: configure was passed unrecognised options: --without-libsigsegv-prefix [unknown-configure-option]

The m4 1.4.9 doesn't support --without-libsigsegv-prefix, so move it from m4.inc
to m4-1.4.17.inc.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
10 years agofindutils 4.2.31: fix SRC_URI
Robert Yang [Tue, 27 Jan 2015 07:38:23 +0000 (23:38 -0800)]
findutils 4.2.31: fix SRC_URI

The findutils_4.2.31.bb can't use the SRC_URI in findutils.inc (but
findutils_4.5.14.bb can use it), use the right SRC_URI to fix it.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
10 years agogroff 1.18.1.4: fix HOMEPAGE and SRC_URI
Robert Yang [Tue, 27 Jan 2015 07:03:55 +0000 (23:03 -0800)]
groff 1.18.1.4: fix HOMEPAGE and SRC_URI

The upstream has moved tarball to "old" dir.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
10 years agoxf86-video-intel 2.21.15: remove it
Robert Yang [Tue, 27 Jan 2015 06:41:15 +0000 (22:41 -0800)]
xf86-video-intel 2.21.15: remove it

It doesn't work:
| checking whether to include DRI1 support... no
| configure: error: DRI1 requested but prerequisites not found

And there is a xf86-video-intel_2.99.917.bb which is MIT-X.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
10 years agomatchbox-desktop: remove 0.9.1 and 2.0 version
Robert Yang [Tue, 27 Jan 2015 06:19:33 +0000 (22:19 -0800)]
matchbox-desktop: remove 0.9.1 and 2.0 version

For 0.9.1:
ERROR: matchbox-wm: Recipe file does not have license file information (LIC_FILES_CHKSUM)
ERROR: Licensing Error: LIC_FILES_CHKSUM does not match, please fix

For 2.0:
| /path/to/matchbox-desktop-2.0/configure: line 2488: syntax error near unexpected token `build_old_libs,'
| /path/to/matchbox-desktop-2.0/configure: line 2488: `    _LT_DECL(build_old_libs, enable_static, 0,'

And there is a matchbox-desktop_git.bb which is "GPLv2+ & LGPLv2+", so remove them.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
10 years agomatchbox-wm 1.2: remove it
Robert Yang [Tue, 27 Jan 2015 06:05:43 +0000 (22:05 -0800)]
matchbox-wm 1.2: remove it

It doesn't work:
ERROR: matchbox-wm: Recipe file does not have license file information (LIC_FILES_CHKSUM)
ERROR: Licensing Error: LIC_FILES_CHKSUM does not match, please fix

And there is a matchbox-wm_git.bb, they have the same GPLv2+ license.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
10 years agowhich 2.18: fix SRC_URI
Robert Yang [Tue, 27 Jan 2015 05:57:38 +0000 (21:57 -0800)]
which 2.18: fix SRC_URI

It is the GPLv2+ version, the old SRC_URI is down, use fedoraproject's
repo. Its homepage is also down, but I can't find a new one for it.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
10 years agobusybox: Include 'mesg' utility
Ash Charles [Thu, 29 Jan 2015 21:34:40 +0000 (13:34 -0800)]
busybox: Include 'mesg' utility

The 'dot.profile' supplied by base-files calls 'mesg'.  For simple
images using busybox e.g. core-image-minimal, this utility should be
available to avoid errors on login:

 -sh: mesg: command not found

Provide mesg with busybox.

Signed-off-by: Ash Charles <ashcharles@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agorecipetool: improve command-line help
Paul Eggleton [Thu, 5 Feb 2015 14:04:00 +0000 (14:04 +0000)]
recipetool: improve command-line help

Based on feedback from Scott Rifenbark <scott.m.rifenbark@intel.com>

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agodevtool: improve command-line help
Paul Eggleton [Thu, 5 Feb 2015 14:03:59 +0000 (14:03 +0000)]
devtool: improve command-line help

Based on feedback from Scott Rifenbark <scott.m.rifenbark@intel.com>

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agoscripts/oe-selftest: add command line option to list test classes
Alexandru DAMIAN [Wed, 4 Feb 2015 14:13:57 +0000 (14:13 +0000)]
scripts/oe-selftest: add command line option to list test classes

While trying to discover what tests are available, I felt the
need to be able to list all individual tests so I can run specific
tests.

This patch adds the "--list-classes" command line option that
lists the unit test classes and methods available.

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agoscripts/oe-selftest: fix startup backtrace
Alexandru DAMIAN [Wed, 4 Feb 2015 14:13:56 +0000 (14:13 +0000)]
scripts/oe-selftest: fix startup backtrace

Fixing a backtrace dump that happens if the script is started
without sourcing the oe-init-build-env first.

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agowic: bootimg-partition: Stop removing whole workdir
Alexandre Belloni [Wed, 4 Feb 2015 22:49:15 +0000 (23:49 +0100)]
wic: bootimg-partition: Stop removing whole workdir

Stop removing the whole working directory as this is also removing
eventual previously created partition images, leading to image creation
failures.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agowic: print partition alignment when available
Alexandre Belloni [Wed, 4 Feb 2015 22:48:38 +0000 (23:48 +0100)]
wic: print partition alignment when available

When printing a partition, the --align parameter was shown when present
but not its value.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agowic: use kB for the partitions size
Alexandre Belloni [Wed, 4 Feb 2015 22:45:02 +0000 (23:45 +0100)]
wic: use kB for the partitions size

Use kB instead of MB for the partition size to get a better granularity.

This is needed on some SoC (i.mx, omap) where it is necessary to create
partitions as small as 64kB.

Keep the backward compatibility by assuming MB when no unit is provided.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Tested-by: Maciej Borzecki <maciej.borzecki@open-rnd.pl>
Acked-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Tested-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agoterminal.py: add tmux new window option
Dan McGregor [Wed, 4 Feb 2015 16:09:12 +0000 (10:09 -0600)]
terminal.py: add tmux new window option

Add a new terminal type that makes a new window in the running tmux
session instead of splitting the window. 80x25 is not enough to run
menuconfig inside a split window, so add the option to create a new
window instead.

Use the new window option by default when the split window would be
less than 19 lines high.

Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agoopenssh: Fix non-deterministic build behaviour
Dan McGregor [Wed, 4 Feb 2015 16:09:13 +0000 (10:09 -0600)]
openssh: Fix non-deterministic build behaviour

If maillock.h is found, a dependency on liblockfile will be created.
liblockfile is in meta-oe, so we don't want that in an oe-core recipe.

Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agolinux-yocto-tiny_3.17: Update to actually use 3.17 git repo
Saul Wold [Wed, 4 Feb 2015 16:22:53 +0000 (08:22 -0800)]
linux-yocto-tiny_3.17: Update to actually use 3.17 git repo

The named release was still using the -dev git repo which did not contain
the SRCREV referenced in the numbered/named version.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agoRevert "bitbake.conf: don't remove WARN_QA and ERROR_QA from hashes"
Ross Burton [Wed, 4 Feb 2015 21:31:28 +0000 (21:31 +0000)]
Revert "bitbake.conf: don't remove WARN_QA and ERROR_QA from hashes"

It turns out that changing WARN_QA and ERROR_QA results in do_configure's QA
postfunc re-executing, so changing a QA test results in a complete rebuild.

This is just too much and the lesser evil of needing to do a full rebuild to
verify changed QA flags is preferable to an enforced full rebuild.

This reverts commit daecfc3438122b5d146a59a5053e57006d55ccc4.

Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agoinsane.bbclass: Added QA test for expanded ${D}
Alejandro Hernandez [Tue, 13 Jan 2015 23:00:40 +0000 (17:00 -0600)]
insane.bbclass: Added QA test for expanded ${D}

Checks in FILES and pkg_* variables, solves common mistake of

using ${D} instead of $D and warns the user accordingly.

[YOCTO #6642]

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agofiles/toolchain-shar-template.sh: fix replace target_sdk_dir twice in environment...
Aníbal Limón [Wed, 4 Feb 2015 14:54:58 +0000 (08:54 -0600)]
files/toolchain-shar-template.sh: fix replace target_sdk_dir twice in environment setup file

When specify a target sdk dir that contains default install dir as
subdir,

target_sdk_dir=/opt/poky/$version/
custom_target_sdk_dir=/opt/poky/$version/some

The target_sdk_dir variable in environment-setup file is replaced twice
causes to point to wrong PATH.

In order to fix filter environment-setup file in second replacement.

[YOCTO #7032]

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agomesa: Upgrade to 10.4.3
Pengyu Ma [Tue, 3 Feb 2015 02:11:08 +0000 (10:11 +0800)]
mesa: Upgrade to 10.4.3

flags for EGL and GBM Gallium had been removed in 10.4,
so remove these flags, files or packages.

Signed-off-by: Pengyu Ma <pengyu.ma@windriver.com>
Tested-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agowic: bail out on kickstart parse errors
Maciej Borzecki [Wed, 4 Feb 2015 10:53:07 +0000 (11:53 +0100)]
wic: bail out on kickstart parse errors

Kickstart file errors are not emitted by the parser. In case errors, the
current code will continue to execute possibly creating a faulty or
incomplete image. The patch enables the parser to emit all encountered
errors. The error message is shown for the user and further execution is
ceased.

Signed-off-by: Maciej Borzecki <maciej.borzecki@open-rnd.pl>
Signed-off-by: Maciek Borzecki <maciek.borzecki@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agoglibc: Re-enable upstream __USE_KERNEL_XATTR_DEFS patch
Khem Raj [Mon, 2 Feb 2015 04:19:16 +0000 (20:19 -0800)]
glibc: Re-enable upstream __USE_KERNEL_XATTR_DEFS patch

Re-introduce

https://sourceware.org/git/?p=glibc.git;a=commit;h=fdbe8eae2b9aed74dabba1b0a189c5d7d61bf032

This patch was overzealously removed during option groups forward port

Change-Id: I8dd01902ae8e5ee8b5c6fc9dc39c7216952dca51
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agoimage.bbclass: don't let do_rootfs depend on BUILDNAME
Chen Qi [Wed, 4 Feb 2015 07:11:32 +0000 (15:11 +0800)]
image.bbclass: don't let do_rootfs depend on BUILDNAME

BUILDNAME is set by cooker as a string of current time. Letting do_rootfs
task depend on this variable gets us no benefit. Besides, letting do_rootfs
task depend on this variable will cause us trouble when executing
`bitbake -S none core-image-minimal'. With current code, this command
gives us error complaining about the different bashhash of do_rootfs task.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agocore-image: split debug-tweaks into individual features
Saul Wold [Mon, 2 Feb 2015 22:07:47 +0000 (14:07 -0800)]
core-image: split debug-tweaks into individual features

Split the debug-tweaks into a more fine tunable set of IMAGE_FEATURES
which activate the component functions.

Clean-up image-core and image bbclass by having the ROOTFS_POSTPROCESS_COMMANDs
in in one place for the debug-tweaks related functions

[YOCTO #5344]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
10 years agocreate-pull-request: Fix git request-pull
Saul Wold [Tue, 3 Feb 2015 17:08:29 +0000 (09:08 -0800)]
create-pull-request: Fix git request-pull

Signed-off-by: Saul Wold <sgw@linux.intel.com>
10 years agoca-certificates: Upgrade to 20141019 (git based)
Saul Wold [Mon, 2 Feb 2015 18:09:40 +0000 (10:09 -0800)]
ca-certificates: Upgrade to 20141019 (git based)

Rebase default-sysroot patch
Remove backported Mozilla certdata patch
License has not changed, just wording.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
10 years agolsbinitscripts: Upgrade to 9.61
Saul Wold [Mon, 2 Feb 2015 18:05:36 +0000 (10:05 -0800)]
lsbinitscripts: Upgrade to 9.61

Signed-off-by: Saul Wold <sgw@linux.intel.com>
10 years agonspr: Upgrade to 4.10.8
Saul Wold [Mon, 2 Feb 2015 18:05:06 +0000 (10:05 -0800)]
nspr: Upgrade to 4.10.8

Signed-off-by: Saul Wold <sgw@linux.intel.com>
10 years agoglew: Upgrade to 1.12
Saul Wold [Mon, 2 Feb 2015 18:04:37 +0000 (10:04 -0800)]
glew: Upgrade to 1.12

Signed-off-by: Saul Wold <sgw@linux.intel.com>
10 years agoclasses/license: tweak license format messages
Paul Eggleton [Tue, 3 Feb 2015 15:28:52 +0000 (15:28 +0000)]
classes/license: tweak license format messages

Strictly speaking not all of these characters are operators, so reword
the message to describe them as separators. Also use the standard
"recipename: message" format.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agobinconfig-disabled.bbclass: fix echo command
Robert Yang [Sun, 1 Feb 2015 02:04:55 +0000 (18:04 -0800)]
binconfig-disabled.bbclass: fix echo command

The ">" should be ">>".

We had got something like the following in pcap-config:
echo '--should-not-have-used-/usr/bin/pcap-config'
exit 1

(Lacks of #!/bin/sh)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
10 years agogcc-configure-common.inc: remove ac_cv_path_SED
Robert Yang [Tue, 27 Jan 2015 02:45:32 +0000 (18:45 -0800)]
gcc-configure-common.inc: remove ac_cv_path_SED

It is not needed any more since sed-native had been dropped.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
10 years agovalgrind: depends on boost when ptest
Robert Yang [Sun, 1 Feb 2015 01:10:02 +0000 (17:10 -0800)]
valgrind: depends on boost when ptest

Fixed:
drd/tests/boost_thread.cpp:5:38: fatal error: boost/thread/condition.hpp: No such file or directory
 #include <boost/thread/condition.hpp>

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
10 years agoapr-util: Allow use in SDK
Timo Mueller [Tue, 3 Feb 2015 12:21:28 +0000 (13:21 +0100)]
apr-util: Allow use in SDK

This adds 'nativesdk' in the BBCLASSEXTEND.

Building apr-util for the SDK requires that some paths in the rules.mk
file are fixed to point to the actual enviroment. These include pointing
the apr configuration variables to the actual apr builddir and
correcting the name of the libtool.

Signed-off-by: Timo Mueller <timo.mueller@bmw-carit.de>
Signed-off-by: Lukas Bulwahn <lukas.bulwahn@oss.bmw-carit.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agowic: fix extended/logical partition layout
Maciej Borzecki [Fri, 9 Jan 2015 13:24:02 +0000 (14:24 +0100)]
wic: fix extended/logical partition layout

The patch fixes an issue in laying out extended and logical partitions
by wic. The original code produced disk images in which the size 3rd
partition as described in MBR was incorrect. Depending on the type of
file system used for that partition and size of the partition, it would
be impossible to mount the partition correctly. For instance, kickstart
file in which the 3rd partition had size of 1GB and used ext4 fs, would
result in an image with an umountable partition. The root cause is
reservation of sectors for EBR through stealing of last sector from the
last primary partition.

Signed-off-by: Maciej Borzecki <maciej.borzecki@open-rnd.pl>
Signed-off-by: Maciek Borzecki <maciek.borzecki@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agou-boot.inc : add compile multiple u-boot feature
Chunrong Guo [Thu, 22 Jan 2015 06:27:50 +0000 (14:27 +0800)]
u-boot.inc : add compile multiple u-boot feature

Signed-off-by: Chunrong Guo <B40290@freescale.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agouboot-config.bbclass: Allow multiple U-Boot config for machine
Chunrong Guo [Thu, 22 Jan 2015 06:27:49 +0000 (14:27 +0800)]
uboot-config.bbclass: Allow multiple U-Boot config for machine

  This adds support to build multiple U-Boot configs for a machine; this
  is useful when we have support for different media boots which require
  different U-Boot configuration (e.g: eMMC and NAND).

  Below there's an usage example:
  ,----[ i.MX6Q SABRE AUTO based example ]
  | UBOOT_CONFIG ??= "sd eimnor nand spinor"
  | UBOOT_CONFIG[sd] = "mx6qsabreauto_config,sdcard"
  | UBOOT_CONFIG[eimnor] = "mx6qsabreauto_eimnor_config"
  | UBOOT_CONFIG[nand] = "mx6qsabreauto_nand_config,ubifs"
  | UBOOT_CONFIG[spinor] = "mx6qsabreauto_spinor_config"
  `----

Signed-off-by: Chunrong Guo <B40290@freescale.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agolibtool: avoid running automake/autoconf --version
Robert Yang [Thu, 5 Feb 2015 09:31:28 +0000 (01:31 -0800)]
libtool: avoid running automake/autoconf --version

The libtool would be very slow if run "automake/autoconf --version", for
example, when compile xz-native (make -j1, only compile, no confiure or
install):

before patched: 19s
after patched:  11s

Use plain text to instead of running them.

NOTE: it is still a little slower than libtool 2.4.2 when compile
xz-native because of other parts:
make -j1: about 2s slower
make -j32: about 0.4s slower

If we run to do_install:
(PARALLEL_MAKE = "-j32")
libtool 2.4.2:
$ bitbake xz-native -cinstall && bitbake xz-native -ccleansstate && time bitbake xz-native -cinstall
real    0m21.092s
user    0m28.292s
sys     0m3.932s

libtool 2.4.5:
$ bitbake xz-native -cinstall && bitbake xz-native -ccleansstate && time bitbake xz-native -cinstall
real    0m21.380s
user    0m31.140s
sys     0m4.068s

About 0.3s, slightly different.

But when using /bin/bash as CONFIG_SHELL, the new libtool would be much slower:
real    0m23.106s
user    0m44.044s
sys     0m4.280s

About 2s slower, for the big package like cairo, it is more slower (about 6s),
unfortunately, /bin/bash is most default CONFIG_SHELL for the recipes since
configure checks first check bash.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoopkg-keyrings: New recipe
Paul Barker [Sun, 21 Dec 2014 13:26:27 +0000 (13:26 +0000)]
opkg-keyrings: New recipe

This recipe wraps package and package feed verification keys into a package,
making the management and deployment of verification keys much easier. Comments
on how to select keys for inclusion in this package are provided in the recipe
file.

Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
10 years agoopkg: Backport improvements to opkg-key
Paul Barker [Sun, 21 Dec 2014 13:06:12 +0000 (13:06 +0000)]
opkg: Backport improvements to opkg-key

The improvements to opkg-key made for v0.3.0 are backported. The rest of v0.3.0
needs further testing and bugfixing prior to release, but the improvements to
opkg-key have been tested and work well.

Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
10 years agopoky-feed-config-opkg: Remove
Paul Barker [Fri, 19 Dec 2014 18:01:03 +0000 (18:01 +0000)]
poky-feed-config-opkg: Remove

This recipe was not usable as-is. A much better way of configuring package feeds
for opkg is provided by the distro-feed-config recipe in meta-oe.

Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
10 years agoopkg: Merge in opkg-collateral
Paul Barker [Fri, 19 Dec 2014 17:50:12 +0000 (17:50 +0000)]
opkg: Merge in opkg-collateral

All non-arch-specific and non-distro-specific configuration is now kept in the
main 'opkg' recipe and package.

Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
10 years agoopkg: Merge opkg.inc into recipe and tidy up
Paul Barker [Fri, 19 Dec 2014 17:57:16 +0000 (17:57 +0000)]
opkg: Merge opkg.inc into recipe and tidy up

There is no benefit to having a separate .inc file when we only support one
version of opkg.

The .inc file had multiple do_install_append functions and several variables
were defined out of the usual order. This arrangement should be better.

Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
10 years agoopkg-collateral: Simplify source files
Paul Barker [Fri, 19 Dec 2014 17:35:29 +0000 (17:35 +0000)]
opkg-collateral: Simplify source files

Instead of having the source files 'opkg.conf.comments', 'dest' and 'src', we
simply have one 'opkg.conf' file containing all the necessary configuration.

This does mean that replacing 'src' in a bbappend to define distro-specific
package feeds is no longer supported, but these feed configurations should be
packaged separately from the rest of the opkg configuration anyway so that
things can be updated independently. The best recipe to use for managing feed
configs is currently distro-feed-config in the meta-oe layer.

Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
10 years agoopkg-arch-config: Renamed from opkg-config-base
Paul Barker [Fri, 19 Dec 2014 17:31:16 +0000 (17:31 +0000)]
opkg-arch-config: Renamed from opkg-config-base

The name 'opkg-arch-config' is much more descriptive.

Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
10 years agoapr: Allow use in SDK
Timo Mueller [Mon, 2 Feb 2015 14:03:07 +0000 (15:03 +0100)]
apr: Allow use in SDK

This adds 'nativesdk' in the BBCLASSEXTEND.

Signed-off-by: Timo Mueller <timo.mueller@bmw-carit.de>
Signed-off-by: Lukas Bulwahn <lukas.bulwahn@oss.bmw-carit.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agoinsane: add unknown-configure-option to default WARN_QA
Ross Burton [Wed, 21 Jan 2015 17:54:12 +0000 (17:54 +0000)]
insane: add unknown-configure-option to default WARN_QA

The unknown-configure-option check is generally useful and should be enabled by
default.

Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agobitbake.conf: don't remove WARN_QA and ERROR_QA from hashes
Ross Burton [Wed, 21 Jan 2015 17:53:31 +0000 (17:53 +0000)]
bitbake.conf: don't remove WARN_QA and ERROR_QA from hashes

Changing WARN_QA and ERROR_QA should cause do_package_qa to re-execute, so
removing them from the sstate hashes is harmful.

They were added back when sanity testing was part of packaging and this was the
lesser evil, compared to changing sanity tests causing a re-package of
everything.

Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agowayland: remove explicit class-native DEPENDS
Ross Burton [Mon, 2 Feb 2015 11:10:26 +0000 (11:10 +0000)]
wayland: remove explicit class-native DEPENDS

Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agonative: remove PN from DEPENDS automatically
Ross Burton [Mon, 2 Feb 2015 11:03:28 +0000 (11:03 +0000)]
native: remove PN from DEPENDS automatically

If a recipe (say, wayland) has DEPENDS=wayland-native and BBCLASSEXTEND=native,
when built as wayland-native it has DEPENDS=wayland-native which results in a
circular dependency.

Typically this is resolved by having explicit DEPENDS_class-native statements
but as this is duplication which can lead to inconsistent dependencies,
automatically remove the circular dependency.

Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agosystemd: Backports fixes to 216
Khem Raj [Thu, 29 Jan 2015 20:44:20 +0000 (12:44 -0800)]
systemd: Backports fixes to 216

Fix systemd-timesyncd assertion

when networkd is disabled then we now do not
create /run/systemd/netif/links but timesyncd needs it. So lets
manually create this file when networkd is disabled so timesyncd
can still function

When enabling systemd-timesyncd we need systemd-timesync user

Backport patches to enable timesyncd when resolved and networkd
are disabled

replace the resolv.conf symlinink patch with a proper backport

Change-Id: I53f1a53eec4e4a4dbdfb7e8cd155d544ee5d81ec
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agolsbinitscripts: fix the path for mountpoint
Jackie Huang [Fri, 30 Jan 2015 02:03:55 +0000 (10:03 +0800)]
lsbinitscripts: fix the path for mountpoint

mountpoint is installed in ${bindir}

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agolib/oe/terminal: add support for Terminology terminal emulator
Rodrigo Chiossi [Tue, 6 Jan 2015 14:18:54 +0000 (12:18 -0200)]
lib/oe/terminal: add support for Terminology terminal emulator

Terminology is the default Enlightenment terminal emulator

Signed-off-by: Rodrigo Chiossi <rodrigo.chiossi@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agopiglit: add x11 to required DISTRO_FEATURES
Martin Jansa [Wed, 28 Jan 2015 14:52:11 +0000 (15:52 +0100)]
piglit: add x11 to required DISTRO_FEATURES

* there is some pending work to resolve this unnecessary x11
  dependency, this can be reverted together with x11 dependency
  removal

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agoxmlto-native: fixes slow creation of yocto docs
Alejandro Hernandez [Tue, 27 Jan 2015 23:26:31 +0000 (17:26 -0600)]
xmlto-native: fixes slow creation of yocto docs

Forces native RDEPENDS of xmlto-native to be built and installed
since those files are required when creating yocto-docs
if not found, they are downloaded from upstream everytime
significant time difference is achieved.

[YOCTO #7148]

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agoxorg-driver: add x11 to required DISTRO_FEATURES
Martin Jansa [Wed, 28 Jan 2015 14:52:09 +0000 (15:52 +0100)]
xorg-driver: add x11 to required DISTRO_FEATURES

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agopackage_manager.py: fix rootfs failure with multilib enabled
Chen Qi [Thu, 29 Jan 2015 02:22:14 +0000 (10:22 +0800)]
package_manager.py: fix rootfs failure with multilib enabled

With the current code, if we use debian package backend and enable
multilib support, the do_rootfs process would always fail with error
messages like below.

    E: Unable to locate package packagegroup-core-boot

This patch fixes the above problem.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agoopenssh: configuration updates
Dan McGregor [Thu, 15 Jan 2015 21:11:00 +0000 (15:11 -0600)]
openssh: configuration updates

Rebase sshd_config and ssh_config with openssh upstream.
Check for the ed25519 key in the systemd keygen service.

Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agopigz: Upgrade to 2.3.3
Khem Raj [Wed, 28 Jan 2015 17:20:38 +0000 (09:20 -0800)]
pigz: Upgrade to 2.3.3

Fix build issues due to libz being required but
is specified before use.

Change-Id: I1f26c8e656b330a4b5f1eeffee7ac13500fa98d0
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agoterminal.py: fixes launching multiple windows of gnome-terminal
Alejandro Hernandez [Tue, 27 Jan 2015 23:36:59 +0000 (17:36 -0600)]
terminal.py: fixes launching multiple windows of gnome-terminal

When resolving a patch, a new process of gnome-terminal
is created for every patch to be resolved, it "waits"
for the previous one to end, instead of launching
multiple windows at the same time.

[YOCTO #7254]

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agorunqemu-internal: get rid of annoying but harmless error message
Chen Qi [Thu, 29 Jan 2015 05:44:18 +0000 (13:44 +0800)]
runqemu-internal: get rid of annoying but harmless error message

If tap0 interface has been created by other users on the system, we would
get error messages when using runqemu. Error messages are like below.
     Acquiring lockfile for tap0...
     touch: cannot touch ‘/tmp/qemu-tap-locks/tap0.lock’: Permission denied
     /buildarea2/chenqi/poky/scripts/runqemu-internal: line 139: /tmp/qemu-tap-locks/tap0.lock: Permission denied
     flock: 8: Bad file descriptor

The system can still boot up because runqemu would try to create a new tap
interface. So the error message above is harmless, yet somewhat annoying.

This patch fixes the above problem. With this patch, the output would be as
follows.

Acquiring lockfile for tap0...
Acquiring lockfile for /tmp/qemu-tap-locks/tap0.lock failed
Setting up tap interface under sudo
Acquiring lockfile for tap1...
Running qemu-system-arm...

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agoimage.bbclass: make kernel depmod data optional
Dan McGregor [Tue, 27 Jan 2015 17:21:12 +0000 (11:21 -0600)]
image.bbclass: make kernel depmod data optional

This allows an image to skip the creation of kernel depmod
data. It is useful for creating an image that will run as a
container image inside a host with no knowledge of the parent's
kernel.

Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agobusybox: cve-2014-9645
Armin Kuster [Wed, 28 Jan 2015 01:19:28 +0000 (17:19 -0800)]
busybox: cve-2014-9645

modprobe,rmmod: reject module names with slashes

Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agognutls: update to 3.3.12
Bian Naimeng [Wed, 28 Jan 2015 04:04:22 +0000 (12:04 +0800)]
gnutls: update to 3.3.12

update to 3.3.12 to fix some bugs.

http://article.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/7967

Signed-off-by: Bian Naimeng <biannm@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>