]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/log
thirdparty/openembedded/openembedded-core-contrib.git
10 years agofile: don't replace host file when built natively
Ross Burton [Fri, 16 Oct 2015 22:02:26 +0000 (23:02 +0100)] 
file: don't replace host file when built natively

To avoid races over the file binaries being replaced mid-build we made
file-native an assume-provided binary and check for it at startup, but target
file still needs a native file binary of the same version to compile the magic
data.

The least invasive way of doing this is to build a native file don't put it on
PATH, and tell the target build where to find the native binary.  We do however
want the native libmagic to be installed normally (as for example rpm and
subversion need it) so we can't use NATIVE_PACKAGE_PATH_SUFFIX as that change
libdir.

[ YOCTO #8144 ]

(From OE-Core rev: d48c0191871ce6b6fbf17d89b8f9d2750b64d671)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosanity: check that the host has file installed
Ross Burton [Fri, 16 Oct 2015 21:49:37 +0000 (22:49 +0100)] 
sanity: check that the host has file installed

Now that file-native is ASSUME_PROVIDED, check that it's actually present.

(From OE-Core rev: 5dad6758980233f976e39357b91b9cc673a574af)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: add file-native to ASSUME_PROVIDED
Ross Burton [Fri, 16 Oct 2015 21:49:26 +0000 (22:49 +0100)] 
bitbake: add file-native to ASSUME_PROVIDED

Various key parts of the core classes (for example, do_package and
do_populate_sysroot) currently require file.  As it's not possible to build a
file-native without invoking do_populate_sysroot mark file-native as
ASSUME_PROVIDED and expect to use the host's binary.

(From OE-Core rev: d92a29bf279d3e96aa6cebf88a8fd94b52fc59eb)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoRevert "runqemu-export-rootfs: update location of unfsd binary"
Ross Burton [Wed, 21 Oct 2015 21:14:49 +0000 (22:14 +0100)] 
Revert "runqemu-export-rootfs: update location of unfsd binary"

unfsd appears to be moving around and is in sbin for at least two different
users, so revert the change to expect it in bin.

This reverts commit e56bda210e216251c04d872211081a89ac06dde6.

(From OE-Core rev: 2e065b02a3e65c8db8a26788fdc4d7f65d5a2a8f)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopopulate_sdk_base: Ensure PKGDATA_DIR exists
Richard Purdie [Fri, 23 Oct 2015 03:30:36 +0000 (20:30 -0700)] 
populate_sdk_base: Ensure PKGDATA_DIR exists

The code assumes that PKG_DATADIR exists and will fail if an image has not been
generated which creates it. This occurs when something like buildtools-tarball
is built which doesn't have target packages, only nativesdk ones.

Since this shouldn't be fatal, workaround this by creating the missing
directory.

(From OE-Core rev: 319c5d55bb0c7e429766f46dd42a15e16a43c4dd)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoPerl: Use CC version not $Config(gccversion)
Jeremy Puhlman [Fri, 23 Oct 2015 17:18:07 +0000 (10:18 -0700)] 
Perl: Use CC version not $Config(gccversion)

Get version data from querying $CC rather then
$Config(gccversion) which comes from running version of
perl. Since perl-native is not likely compiled by gcc
5 at this point, it will never trigger the required
fixes for gcc 5.

[YOCTO #8367]

(From OE-Core rev: c616e05691ec143066df8f416cc0b6b464fabd02)

Signed-off-by: Jeremy Puhlman <jpuhlman@mvista.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agowic/utils/oe/misc.py: Preserve PATH when running native tools
Randy Witt [Fri, 23 Oct 2015 02:53:56 +0000 (19:53 -0700)] 
wic/utils/oe/misc.py: Preserve PATH when running native tools

Previously exec_native_cmd() would remove all items from PATH except for
the native sysroot. This can cause issues for the tools that are created
using create_wrapper().

Now instead of wiping out the PATH, run a sanity check to check if the
command is in the native sysroot.

(From OE-Core rev: ba127370e621b5b683d6f454596c3d0c60c13df7)

Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agomtools_4.0.18.bb: Use create_wrapper() for mcopy
Randy Witt [Fri, 23 Oct 2015 02:46:11 +0000 (19:46 -0700)] 
mtools_4.0.18.bb: Use create_wrapper() for mcopy

mcopy uses the IBM850 codepage from gconv. The default install location
for gconv will not match the actual install location since it can be
pulled from sstate. This patch overrides the default location when
running by adding GCONV_PATH to the environment for mcopy.

[YOCTO #7629]

(From OE-Core rev: ba3493c434ced719135082607e5f2e1d87559952)

Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoscripts/oe-pkgdata-util: Fix variable name in error handling
Richard Purdie [Mon, 19 Oct 2015 19:50:39 +0000 (19:50 +0000)] 
scripts/oe-pkgdata-util: Fix variable name in error handling

Fix:
    logger.error('Unable to find pkgdata directory %s' % pkgdata_dir)
NameError: global name 'pkgdata_dir' is not defined

(From OE-Core rev: a1202ed17e11400f08064c9065fdfa996554d4ad)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoAdd 850 codepage to uninative-tarball
Randy Witt [Mon, 19 Oct 2015 05:27:02 +0000 (22:27 -0700)] 
Add 850 codepage to uninative-tarball

(From OE-Core rev: 6211c8060d408134dfa6c00b23b517c439e4c1e7)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoe2fsprogs: backport a patch to fix filetype for hardlink
Robert Yang [Fri, 23 Oct 2015 11:22:04 +0000 (04:22 -0700)] 
e2fsprogs: backport a patch to fix filetype for hardlink

Backport a patch to fix hardlinks filetype:
IMAGE_INSTALL_append = " e2fsprogs"
$ ./tmp/sysroots/x86_64-linux/sbin/fsck.ext4 tmp/deploy/images/qemux86/core-image-minimal-qemux86.ext4 -f
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Setting filetype for entry 'fsck.ext2' in /sbin (80) to 1.
Setting filetype for entry 'mkfs.ext4' in /sbin (80) to 1.
Setting filetype for entry 'fsck.ext4' in /sbin (80) to 1.
Setting filetype for entry 'mkfs.ext4dev' in /sbin (80) to 1.
Setting filetype for entry 'fsck.ext3' in /sbin (80) to 1.
Setting filetype for entry 'mkfs.ext2' in /sbin (80) to 1.
Setting filetype for entry 'mkfs.ext3' in /sbin (80) to 1.
Setting filetype for entry 'e2fsck' in /sbin (80) to 1.
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information

test.img: ***** FILE SYSTEM WAS MODIFIED *****
test.img: 799/65536 files (0.1% non-contiguous), 14652/262144 blocks

Now when run it again, we may get:
[snip]
Pass 3A: Optimizing directories
[snip]
test.img: ***** FILE SYSTEM WAS MODIFIED *****
test.img: 799/65536 files (0.1% non-contiguous), 14652/262144 blocks

This is fine since it is optimizing, from "man e2fsck":
e2fsck may sometimes optimize a few directories --- for example, if
directory indexing is enabled and a directory is not indexed and would
benefit from being indexed, or if the index structures are corrupted
and need to be rebuilt.

[YOCTO #8544]

(From OE-Core rev: 02ad8e3c32656a74fa82284105706ae67e5108f3)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agooeqa/selftest: Added testcase decorators.
Daniel Istrate [Fri, 23 Oct 2015 12:07:51 +0000 (15:07 +0300)] 
oeqa/selftest: Added testcase decorators.

Added testcase decorators for testopia integration.

(From OE-Core rev: 9c7ffd397c8232d53c87017e58e03e3056863edf)

Signed-off-by: Daniel Istrate <daniel.alexandrux.istrate@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agorunqemu-ifup: Check if the tap interface is set up correctly
Mariano Lopez [Thu, 22 Oct 2015 13:39:20 +0000 (13:39 +0000)] 
runqemu-ifup: Check if the tap interface is set up correctly

The process to set up a tap interface is as follows:
    - tap interface is created
    - An IP address is assigned to the tap interface
    - The interface is bring up
    - A route is added to the target using the tap
      interface

Of all the previous steps, only the first one is
check if it was sucessful. The status of the others
are ignored and all of them are required to have
basic connectivity in the target.

This patch adds the checks for the rest of the stpes
needed to set up the tap interface.

[YOCTO #8550]

(From OE-Core rev: 52f6bacffc517198f0d1f24e5418ee4c9cb5442a)

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoqemurunner: Show the output of runqemu script
Mariano Lopez [Thu, 22 Oct 2015 13:39:19 +0000 (13:39 +0000)] 
qemurunner: Show the output of runqemu script

This change will show runqemu output in the logs
when running the runtime tests. This is helpful
for debugging testimage errors.

[YOCTO #8550]

(From OE-Core rev: 751a3fec83792037aff23c8cca1bc60664f7b581)

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agorunqemu-internal: Enable support for use virtio devices.
Aníbal Limón [Thu, 22 Oct 2015 15:18:39 +0000 (10:18 -0500)] 
runqemu-internal: Enable support for use virtio devices.

Enable virtio usage for default in runqemu also get rid
of duplicate configuration from now all qemu machines uses
virtio.

[YOCTO #8427]

(From OE-Core rev: 0611321c9d6663493b37c33dea51e05511db4fbe)

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolinux-yocto{, -rt}: Enable support for virtio drivers in qemu machines.
Aníbal Limón [Thu, 22 Oct 2015 15:18:38 +0000 (10:18 -0500)] 
linux-yocto{, -rt}: Enable support for virtio drivers in qemu machines.

In order to use virtio devices as default in runqemu script
because these drivers are designed to use in vrit providing
better performance.

[YOCTO #8427]

(From OE-Core rev: 16dad3a6ccba01639b3a711426599af49c30a088)

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agorunqemu: Enable support for kvm without vhost in x86 and x86_64
Aníbal Limón [Thu, 22 Oct 2015 15:18:37 +0000 (10:18 -0500)] 
runqemu: Enable support for kvm without vhost in x86 and x86_64

KVM can be used without vhost so add a new option to runqemu for
use kvm with vhost.

Example,
runqemu qemux86 core-image-minimal kvm # kvm without vhost
runqemu qemux86 core-image-minimal kvm-vhost # kvm with vhost

[YOCTO #7443]

(From OE-Core rev: 7f5f8f87a4180a2b05188047c6a05da5571f94e2)

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoprserv.bbclass: remove it since it is null
Robert Yang [Tue, 20 Oct 2015 09:25:50 +0000 (02:25 -0700)] 
prserv.bbclass: remove it since it is null

(From OE-Core rev: 48d78232299735da99137491ae4cbe8faaae3dfb)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoinitscripts/sysfs.sh: Mount devtmpfs on /dev/ if needed
Mike Looijmans [Tue, 20 Oct 2015 06:43:47 +0000 (08:43 +0200)] 
initscripts/sysfs.sh: Mount devtmpfs on /dev/ if needed

When booting from an initrd disk, or when the kernel config option
DEVTMPFS_MOUNT isn't provided, /dev/ will not be mounted at boot.

This small addition will check if /dev/ is "useful", and if not, will
mount devtmpfs if the kernel provides it.

With this change, it is possible to set an initscripts style image type
to "cpio.gz" and boot it as initrd. Without this change, the image won't
work properly because of the missing devices.

(From OE-Core rev: a1cfb8a2691ed36700c96cbc1a0e744494294d2b)

Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoimage-mklibs.bbclass: update i586 TARGET_ARCH test to i*86
Andre McCurdy [Wed, 21 Oct 2015 06:01:56 +0000 (23:01 -0700)] 
image-mklibs.bbclass: update i586 TARGET_ARCH test to i*86

(From OE-Core rev: 5ed4332eeb96beff53242942a1eb878ab4831847)

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobase.bbclass: considering multilib when setting LICENSE_EXCLUSION
Jian Liu [Thu, 8 Oct 2015 06:47:51 +0000 (14:47 +0800)] 
base.bbclass: considering multilib when setting LICENSE_EXCLUSION

The PACKAGES is not mapped with MLPREFIX when setting LICENSE_EXCLUSION
in base.bbclass. For example,
  For libgcc-dev,
    LICENSE_EXCLUSION-libgcc-dev=1
   but for lib32-libgcc-dev,
    LICENSE_EXCLUSION-libgcc-dev=1
Obviously it is wrong for lib32-libgcc-dev.

Add MLPREFIX before the package name during setting LICENSE_EXCLUSION

(From OE-Core rev: 6597130256a1609c3e05ec5891aceaf549c37985)

Signed-off-by: Jian Liu <jian.liu@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogcc-target.inc: Add support for executable thats may have a suffix
Mark Hatle [Tue, 20 Oct 2015 16:29:37 +0000 (11:29 -0500)] 
gcc-target.inc: Add support for executable thats may have a suffix

In the past GCC has used a wildcard to permit generating executables
that may have a suffix, such as .exe.  This wild card was lost in one
of the updates.  Adding the wild card back in fixes a number of issues
when generating a mingw gcc.

(From OE-Core rev: 1003e93a1b3359a98fb631eeeda3fda184832288)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocairo: backport fix for compatibility with OpenGL ES 2.0
Andre McCurdy [Wed, 21 Oct 2015 03:20:35 +0000 (20:20 -0700)] 
cairo: backport fix for compatibility with OpenGL ES 2.0

To maintain compatibility with OpenGL ES 2.0, the matrix in
_cairo_gl_shader_bind_matrix() should be manually transposed,
and GL_FALSE passed as the transpose argument to the
glUniformMatrix3fv() call as it is the only valid value for
that parameter in OpenGL ES 2.0.

  http://lists.cairographics.org/archives/cairo/2015-May/026253.html
  http://cgit.freedesktop.org/cairo/commit/?id=f52f0e2feb1ad0a4de23c475a8c020d41a1764a8

(From OE-Core rev: 18358a04930722ffec856cab359ed32f061ba555)

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agomesa-demos: fix deadlock in sharedtex_mt
Awais Belal [Thu, 8 Oct 2015 14:16:57 +0000 (19:16 +0500)] 
mesa-demos: fix deadlock in sharedtex_mt

This patch fixes a deadlock that occurs between the main
thread and rendering threads of the sharedtex_mt demo.

(From OE-Core rev: f3566af923a9559fa77c1fb0cd22557afb724835)

Signed-off-by: Awais Belal <awais_belal@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobzip2: fix bunzip2 -qt returns 0 for corrupt archives
Wenzong Fan [Wed, 14 Oct 2015 02:55:17 +0000 (22:55 -0400)] 
bzip2: fix bunzip2 -qt returns 0 for corrupt archives

"bzip2 -t FILE" returns 2 if FILE exists, but is not a valid bzip2 file.
"bzip2 -qt FILE" returns 0 when this happens, although it does print out
an error message as is does so.

This has been fix by Debian, just port changes from Debian patch file
"20-legacy.patch".

Debian defect:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=279025

Fix item from changelog:
http://archive.debian.net/changelogs/pool/main/b/bzip2/bzip2_1.0.2-7/changelog

  * Fixed "bunzip2 -qt returns 0 for corrupt archives" (Closes: #279025).

(From OE-Core rev: b983822b57f60c5c210c9f23b3541f450d04ae3d)

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agognome-desktop: add xkeyboard-config dependency
Pushpal Sidhu [Wed, 21 Oct 2015 15:44:47 +0000 (08:44 -0700)] 
gnome-desktop: add xkeyboard-config dependency

gnome-desktop will fail during do_configure if xkeyboard-config had not already
been built. Please see the following for the error:

| configure: error: Package requirements (gdk-pixbuf-2.0 >= 2.21.3
|                                  gtk+-3.0 >= 3.3.6
|                                  glib-2.0 >= 2.38.0
|                                  gio-2.0 >= 2.38.0
|                                  gsettings-desktop-schemas >= 3.5.91
|                                  xrandr >= 1.3
|                                  xext >= 1.1
|                                  xkeyboard-config
|                                  iso-codes) were not met:
|
| No package 'xkeyboard-config' found

Add dependency of xkeyboard-config to this to resolve this issue.

(From OE-Core rev: 48a596fe8564d8bbc3b84dcc47dec8476e7da0d2)

Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogtk+3: Do not try to initialize GL without libgl
Jussi Kukkonen [Wed, 21 Oct 2015 13:25:31 +0000 (16:25 +0300)] 
gtk+3: Do not try to initialize GL without libgl

Gdk initialization ends up calling epoxy GLX api, which calls exit()
if libGL.so.1 is not present. In practice this prevents all GTK+
applications from starting if GLX is not present.

If opengl and x11 distro features are set, make gtk+3 RDEPEND on libgl.
If opengl and x11 distro features are not set, use #ifdef to prevent
the GL initialization.

Remove libgl dependency from gtk3-demo: it can now run without
libgl (although trying to run the glarea demo will exit in that case).

[YOCTO #8529]

(From OE-Core rev: f9540f50ea661e260ec2b82436238cfb989e23c5)

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoclasses/insane: rename invalid-pkgconfig QA check to invalid-packageconfig
Paul Eggleton [Wed, 21 Oct 2015 13:18:50 +0000 (14:18 +0100)] 
classes/insane: rename invalid-pkgconfig QA check to invalid-packageconfig

We have enough confusing name clashes already, let's not precipitate
another one.

(From OE-Core rev: a40e69508e66268e0743502334797374dee31125)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agouclibc: Implement syncfs and AT_EMPTY_PATH for all and O_PATH for arm
Khem Raj [Fri, 16 Oct 2015 07:50:20 +0000 (00:50 -0700)] 
uclibc: Implement syncfs and AT_EMPTY_PATH for all and O_PATH for arm

needed for systemd 225 to compile with uclibc

Change-Id: Id5f990edf4a773de49742f9f9ea5139e55e21f69
(From OE-Core rev: 5c515a1c7a86c510b6ae4f99c5b2e20d52622543)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosystemd: Fix build with uclibc
Khem Raj [Fri, 16 Oct 2015 07:48:59 +0000 (00:48 -0700)] 
systemd: Fix build with uclibc

225 needs additional patches for cater for new APIs used
in systemd

Change-Id: Idb66c2c6bb65c94b52ba35b276ca12cc868b043e
(From OE-Core rev: a267cf21b8e7c79e53354bd645c205f617de816c)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibtirpc: Fix a bug exposed by uclibc
Khem Raj [Fri, 16 Oct 2015 07:47:17 +0000 (00:47 -0700)] 
libtirpc: Fix a bug exposed by uclibc

to have va_list we need to include stdarg.h no matter what
but it was latent since with glibc it was getting pull in silently
via other headers

Change-Id: Ie5f1af4c1374fa525647fcb3ae936ec525a99da1
(From OE-Core rev: b37b0f1ffd7e63484136b3715bfdf3a9c5e45f73)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibpam: Fix build with uclibc
Khem Raj [Fri, 16 Oct 2015 07:45:54 +0000 (00:45 -0700)] 
libpam: Fix build with uclibc

libpam needs to adjust for posix utmpx
uclibc now disables utmp

Change-Id: Ibcb7cb621527f318eb8b6e2741647ccb4c6bb39c
(From OE-Core rev: e4c8a15d36d05d2b17b1dcf1d4238616c5b814f5)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocoreutils: Do not use host paths in getloadavg.m4
Khem Raj [Tue, 13 Oct 2015 20:47:51 +0000 (20:47 +0000)] 
coreutils: Do not use host paths in getloadavg.m4

helps configure QA pass when building for uclibc

Change-Id: I42e9542829bc3678ee777d0a8768aecdf77eaead
(From OE-Core rev: 0071c0e474f5f5f9418b31efbdb7b8fcd41b2daf)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocoreutils-6.9: Add missing dependency on virtual/libiconv
Khem Raj [Tue, 13 Oct 2015 03:43:10 +0000 (03:43 +0000)] 
coreutils-6.9: Add missing dependency on virtual/libiconv

Surfaces on uclibc where libiconv is not coming from libc but from
separate package.

Change-Id: I8eef52a69d2b6830deff94531631ca098bce2a89
(From OE-Core rev: 2ffcba096125b904d83508368cec56b6224fc2e1)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agouclibc: Fix build with gcc5
Khem Raj [Thu, 15 Oct 2015 00:43:12 +0000 (17:43 -0700)] 
uclibc: Fix build with gcc5

An agressive optimization in gcc5 meant that we get linking errors
with uclibc build, this patch fixes the issue by letting gcc know
that these funcitons are used.

Change-Id: I8ecf3999a0855b3bbf4bc2df576be5351f9be5b0
(From OE-Core rev: 458bfefecdd2b5e2efa743f29d3dc8b3471e6df1)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibtirpc: Refresh uclibc patches
Khem Raj [Wed, 14 Oct 2015 05:00:11 +0000 (22:00 -0700)] 
libtirpc: Refresh uclibc patches

patch fails to apply otherwise

Change-Id: Ic16912e6e0e8ba75253a4aa0b357b91cabefbf5c
(From OE-Core rev: 27eaad52e9b5468e4065df36f70966539aabc525)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agorpcbind: Fix build with uclibc
Khem Raj [Tue, 13 Oct 2015 03:40:56 +0000 (03:40 +0000)] 
rpcbind: Fix build with uclibc

The 0001-uclibc-nss.patch has been applied upstream
in a bit different way but solves the issue at hand

Change-Id: I7312d109d01c08338d4673383e2eaccee219b7bd
(From OE-Core rev: 8b84e778fb481075d245e1d5cc1b3b81024681d5)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoscripts/oe-publish-sdk: create directory before making git repo
Costin Constantin [Thu, 22 Oct 2015 14:16:12 +0000 (17:16 +0300)] 
scripts/oe-publish-sdk: create directory before making git repo

This patch fixes a small bug that prevents seting a git repo in exported SDK
layers dir. Before setting a git repo, that directory needs to be created.

[ YOCTO #6659 ]

(From OE-Core rev: 47860e483d7a9b4440d1ed9bd96d724370887f58)

Signed-off-by: Costin Constantin <costin.c.constantin@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agorootfs.py: add more info to the warning message
Ed Bartosh [Wed, 21 Oct 2015 16:18:08 +0000 (16:18 +0000)] 
rootfs.py: add more info to the warning message

Since the log_check_regex can potentially be false positive it
makes sense to print the whole line where error is found.
This way user will be able to see the error and understand
if it's valid or not.

[YOCTO: #7789]

(From OE-Core rev: f9cf31525fc885e1a0f65bd55654631257f87078)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopackage signing: automatically export public keys
Markus Lehtonen [Fri, 16 Oct 2015 10:37:32 +0000 (13:37 +0300)] 
package signing: automatically export public keys

Automatically export public key(s) of the signing key(s) from the gpg
keyring. Adds a new simple recipe that does the actual task of exporting
the keys.  This patch makes the RPM_GPG_PUBKEY and PACKAGE_FEED_GPG
PUBKEY settings obsolete.

(From OE-Core rev: 23b30c34581948e1ea02c25cbf7b9194d7e49fb8)

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopackage_manager: fail if signed feeds are enabled for ipk or dpkg
Markus Lehtonen [Fri, 16 Oct 2015 10:33:00 +0000 (13:33 +0300)] 
package_manager: fail if signed feeds are enabled for ipk or dpkg

Signed package feeds are not yet implemented for these package formats.

(From OE-Core rev: 49a5c8700deddac744ccfa033bebf7971f92e14b)

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoAdd new bbclass for package feed signing
Markus Lehtonen [Fri, 16 Oct 2015 10:25:34 +0000 (13:25 +0300)] 
Add new bbclass for package feed signing

After this change signed package feeds should be enabled by adding
INERIT += "sign_package_feed"
instead of definining PACKAGE_FEED_SIGN="1".

(From OE-Core rev: 2ba901da9a07350cc8975fc951ef5054b32d421b)

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosign_rpm.bbclass: make RPM_GPG_NAME a mandatory setting
Markus Lehtonen [Thu, 15 Oct 2015 11:35:20 +0000 (14:35 +0300)] 
sign_rpm.bbclass: make RPM_GPG_NAME a mandatory setting

Simplifies the configuration. Makes way for the removal of
RPM_GPG_PUBKEY setting and possible future implementation of a separate
signing server support. Also, moves the configuration sanity checking
into a separate function.

(From OE-Core rev: 6ea062dffce3df59cc4ba88edd181dc1dac759f9)

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosign_rpm.bbclass: be more verbose in case of error
Markus Lehtonen [Thu, 15 Oct 2015 11:19:15 +0000 (14:19 +0300)] 
sign_rpm.bbclass: be more verbose in case of error

(From OE-Core rev: 3abdd2bf886e4b3bc7dd957c77a7745498386161)

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopackage_manager: support GPG_PATH variable
Markus Lehtonen [Wed, 14 Oct 2015 13:54:42 +0000 (16:54 +0300)] 
package_manager: support GPG_PATH variable

If defined, use GPG_PATH as the gpg home directory when signing package
feeds. This setting is only used by package_manager if package feed
singning has been enabled, i.e.  PACKAGE_FEED_SIGN="1".

(From OE-Core rev: 2c94853e4c8e92ac5fe4af7b25e2ce8853a4025b)

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosign_rpm.bbclass: introduce GPG_PATH variable
Markus Lehtonen [Wed, 14 Oct 2015 13:46:39 +0000 (16:46 +0300)] 
sign_rpm.bbclass: introduce GPG_PATH variable

This bitbake configuration variable can be used to define the gpg home
directory.

(From OE-Core rev: 7ea2f8aca832433f448a79d103c945a63ac6474b)

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoapr: remove conflict with ccache
Dmitry Eremin-Solenikov [Mon, 19 Oct 2015 14:19:15 +0000 (17:19 +0300)] 
apr: remove conflict with ccache

If ccache is enabled, compiling apr-utils fails with the following error
messages because libtool is confused by the "ccache gcc" appearing on
the command line. Disable ccache for apr, so that ccache don't get
enabled in all software using apr's rules.mk.

The error message from apr-utils-native:

(From OE-Core rev: 3533552050d0f91b669c6939755c5f6efefa9d58)

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolinux-yocto: nf_tables: Add nf_tables feature
Bruce Ashfield [Fri, 23 Oct 2015 20:18:30 +0000 (16:18 -0400)] 
linux-yocto: nf_tables: Add nf_tables feature

Updating the META SRCREVs to make the nf_tables feature available.

(From OE-Core rev: 43ed2494ae4f89cab6e018f289bb048289d478f5)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolinux-yocto/3.19: fix ARM boot with gcc5.x
Bruce Ashfield [Fri, 23 Oct 2015 20:18:33 +0000 (16:18 -0400)] 
linux-yocto/3.19: fix ARM boot with gcc5.x

Updating the SRCREVs to apply the same fix as 3.14 and 4.1 already
have to fix qemuarm boots with gcc5.x

[YOCTO: #8415]

(From OE-Core rev: fa9852d5d7383e6d03c756b8ad615668857b0b86)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolinux-yocto: skip kernel meta data branches when finding machine branch
Bruce Ashfield [Fri, 23 Oct 2015 20:18:32 +0000 (16:18 -0400)] 
linux-yocto: skip kernel meta data branches when finding machine branch

Before the fetcher validated the specified SRCREV was reachable on a
specified branch, linux-yocto style kernel's were comparing the value
of KBRANCH and branch on the SRC_URI and then allowing a SRC_URI
specified branch to override KBRANCH.

With the introduction of kernel meta data on the SRC_URI, this routine
is incorrectly picking up a kernel-cache repository and then attempting
to apply that branch information to the kernel repository.

The rationalization of the branch specification is largely no longer
required, and will may be removed in the future. But for now, to keep
changes minimal, we can simply not return branch information that comes
from kernel meta data by checking the 'type' parameter and skipping
if it is of type 'kmeta'.

(From OE-Core rev: 87363ec019e04b486dee5f07b7226465be7acd6c)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agokern-tools: avoid duplicate .scc file processing
Bruce Ashfield [Fri, 23 Oct 2015 20:18:31 +0000 (16:18 -0400)] 
kern-tools: avoid duplicate .scc file processing

With the recent changes to improve patch processing times, the ability
to skip already applied patches is not active by default.

The automatic detection and resume was hiding issues with the include
files generated by scripts like yocto-bsp.

If a .scc file that contains a patch is included twice, the patch is
applied twice, and the second appliation fails for obvious reasons.

We can partially fix this by ensuring that already included
configuration fragments are not forced into the meta-series.

.scc files that are explicitly listed twice will continue to fail, and
recipes must be modified to avoid this.

[YOCTO: #8486]

(From OE-Core rev: ed2da98bf3ac798009f58a53b91285b4dac69d5a)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolinux-yocto/4.1: drm/i915: Fix the VBT child device parsing for BSW
Bruce Ashfield [Fri, 23 Oct 2015 20:18:29 +0000 (16:18 -0400)] 
linux-yocto/4.1: drm/i915: Fix the VBT child device parsing for BSW

Updating the 4.1 SRCREVs to integrate the following fix:

[
    drm/i915: Fix the VBT child device parsing for BSW

    Recent BSW VBT has a VBT child device size 37 bytes instead of the 33
    bytes our code assumes. This means we fail to parse the VBT and thus
    fail to detect eDP ports properly and just register them as DP ports
    instead.

    Fix it up by using the reported child device size from the VBT instead
    of assuming it matches out struct defintions.

    The latest spec I have shows that the child device size should be 36
    bytes for rev >= 195, however on my BSW the size is actually 37 bytes.
    And our current struct definition is 33 bytes.

    Feels like the entire VBT parses would need to be rewritten to handle
    changes in the layout better, but for now I've decided to do just the
    bare minimum to get my eDP port back.

Cc: Vijay Purushothaman <vijay.a.purushothaman@linux.intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
    (cherry picked from commit 90e4f1592bb6e82f6690f0e05a8aadcf04d7bce7)
Signed-off-by: abdul arif abdul muttalib
    <abdul.arif.b.abdul.muttalib@intel.com>
Signed-off-by: Tan Jui Nee <jui.nee.tan@intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
]

(From OE-Core rev: 1f575df04f003c1e1fe9413f95023c20a2f30e19)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolinux-yocto: axxia configuration updates
Bruce Ashfield [Fri, 23 Oct 2015 20:18:28 +0000 (16:18 -0400)] 
linux-yocto: axxia configuration updates

Updating the configuration fragments for the Intel Axxia on the 3.14
and 4.1 kernels.

(From OE-Core rev: a4964955257a1ab2586fd5efeedc2e32b725895d)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobuild-appliance-image: Update to jethro head revision
Richard Purdie [Wed, 21 Oct 2015 22:13:03 +0000 (23:13 +0100)] 
build-appliance-image: Update to jethro head revision

(From OE-Core rev: 73f8a0bf3b99d480bf97e266da0fb048714b4caf)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoref-manual: Updated the allarch class description.
Andre Draszik [Wed, 21 Oct 2015 22:10:52 +0000 (23:10 +0100)] 
ref-manual: Updated the allarch class description.

Added a patch to include a note from Andre.

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoref-manual: Updated the MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS variable
California Sullivan [Wed, 21 Oct 2015 19:07:13 +0000 (12:07 -0700)] 
ref-manual: Updated the MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS variable

MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS won't always grab your
out-of-tree module recipe since the kernel recipe's
PACKAGES_DYNAMIC variable provides kernel-module-*.  This
patch documents that your out-of-tree module needs to explicitly
set its PACKAGES variable to avoid this behavior.

(From yocto-docs rev: 2c51eae23b634cdace5a119ee1a6c8e8ba76dc45)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoref-manual: Added the 1.8 to 2.0 migration section.
Scott Rifenbark [Wed, 21 Oct 2015 18:44:46 +0000 (11:44 -0700)] 
ref-manual: Added the 1.8 to 2.0 migration section.

(From yocto-docs rev: 494fc31bbaee6b0c1912d00d3249cc7044e43988)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodev-manual: Added notes to clarify use of pkg-config
Scott Rifenbark [Thu, 15 Oct 2015 17:32:40 +0000 (10:32 -0700)] 
dev-manual: Added notes to clarify use of pkg-config

Fixed [YOCTO #8168]

I placed a couple notes in the "Configuration" and "Compilation"
sections within the "Writing a New Recipe" section.  These notes
point out that the build system (as of release 1.7) now disables
several *-config scripts.  The user should be using "pkg-config"
to ensure proper pathname construction and location of these
types of scripts.

(From yocto-docs rev: a46fd0f7b4d5da7bf3b218441ec5b9a6ef552266)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoref-manual: Added correct class name as part of pkgconfig description
Scott Rifenbark [Thu, 15 Oct 2015 17:31:29 +0000 (10:31 -0700)] 
ref-manual: Added correct class name as part of pkgconfig description

I was refering to the class as "pkg-config".  This was incorrect.
I fixed it in the opening sentence to use "pkgconfig".

(From yocto-docs rev: c8400b362704093d4c2c891f521c11818eb506a8)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoref-manual: Fixed typo in 1.6 migration section for BitBake
Scott Rifenbark [Thu, 15 Oct 2015 15:31:14 +0000 (08:31 -0700)] 
ref-manual: Fixed typo in 1.6 migration section for BitBake

In Section 5.5.3.2 bb.fetch.encodeurl: Use bb.fetch.encodeurl

changed to

bb.encodeurl: Use bb.fetch.encodeurl

Reported-by: Olivier Dugas <dugaso@sonatest.com>
(From yocto-docs rev: bec0f98f2383b231a1d453932a14b07038febd36)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoref-manual, dev-manual: Applied feedback to edit several classes
Scott Rifenbark [Tue, 13 Oct 2015 17:00:54 +0000 (10:00 -0700)] 
ref-manual, dev-manual: Applied feedback to edit several classes

Fixes [YOCTO #8298]

Updated several classes with feedback from Jose Lamego of Intel.
The feedback fixed some class groupings so that previously isolated
classes could be bundled under common classes (e.g.
autotools*.bbclass).

I scrubbed the cross-references for cases where a particular
class became "undocumented."  The cross-references now point to
the bundled class entry in the ref-manual.

(From yocto-docs rev: 07a533cb41ad26d202f4e303f2dbc7d7bf26e076)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoref-manual: Added three PACKAGE_FEED_* variable descriptions
Scott Rifenbark [Tue, 6 Oct 2015 17:18:05 +0000 (10:18 -0700)] 
ref-manual: Added three PACKAGE_FEED_* variable descriptions

Fixes [YOCOT #8301]

Added descriptions for PACKAGE_FEED_ARCHS,
PACKAGE_FEED_BASE_PATHS, and PACKAGE_FEED_URIS variables.
The build system uses these three variables to construct a
set of final package feed URIs.

(From yocto-docs rev: 53447af460932caa5b2b7637894657eb9fd2e84d)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agotoaster-manual: Updated the json file example bits to be current
Scott Rifenbark [Tue, 6 Oct 2015 16:29:52 +0000 (09:29 -0700)] 
toaster-manual: Updated the json file example bits to be current

Fixes [YOCTO #8428]

(From yocto-docs rev: d719f76c6fb3d33b4633d2d64d448bf225af3298)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoref-manual: Updated the image-swab.bbclass description
John Maxin [Tue, 6 Oct 2015 16:06:43 +0000 (09:06 -0700)] 
ref-manual: Updated the image-swab.bbclass description

Fixes [YOCTO #8439]

The "image-swab" class depends on "strace" package being on
the build host.  I added that fact to the note where we say
the class is not maintained.

(From yocto-docs rev: 503f4199b3c0bcfcd333dbab025b40f9508a6820)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agotoaster-manual: New section on PREFERRED_VERSION
Scott Rifenbark [Tue, 6 Oct 2015 15:19:18 +0000 (08:19 -0700)] 
toaster-manual: New section on PREFERRED_VERSION

Added a new section in the interface use area that describes
how to build a version of a recipe that is not the default
version.  Four new figures were added to support the
description.

(From yocto-docs rev: 232a875fb8fff97ce0578cf50b2a102bdaed1758)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoref-manual: Added many new class descriptions.
Scott Rifenbark [Sat, 3 Oct 2015 16:25:51 +0000 (09:25 -0700)] 
ref-manual: Added many new class descriptions.

Fixes [YOCTO #8298]

(From yocto-docs rev: bff0119d2e13922cdd7b0772f6ed4ff74afe3c26)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agotoaster-manual: Added note for creating virtual environment
Scott Rifenbark [Fri, 2 Oct 2015 20:03:49 +0000 (13:03 -0700)] 
toaster-manual: Added note for creating virtual environment

Added a note strongly suggesting that the user should set up
this virtual environment even though it is not required.

(From yocto-docs rev: 1e5f5c7e36eb8541d0d0e2c7e5d37d65c84946bf)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agotoaster-manual: Updates to example toasterconf.json file
Scott Rifenbark [Fri, 2 Oct 2015 19:38:45 +0000 (12:38 -0700)] 
toaster-manual: Updates to example toasterconf.json file

Fixes [YOCTO #8428]

The changes to the .json file are now shown in the documentation.

(From yocto-docs rev: 5636632f0a2f0d79d632c72037c4306cfad3ec75)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodev-manual: Added CentOS packages to enable runtime tests on QEMU
Scott Rifenbark [Thu, 1 Oct 2015 15:51:47 +0000 (08:51 -0700)] 
dev-manual: Added CentOS packages to enable runtime tests on QEMU

Fixes [YOCTO #8412]

Forgot about CentOS.  I have added that item in.

(From yocto-docs rev: f298ef74d7366ef01b9b1efcf5b0824a6e1aa742)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoadt-manual: Fixed PMS typo
Scott Rifenbark [Thu, 1 Oct 2015 15:16:55 +0000 (08:16 -0700)] 
adt-manual: Fixed PMS typo

Fixes [YOCTO #8419]

There was a typo in the section that indicated the file extensions
for various Package Management Systems.  The one for RPM used a
file extension of ".rms".  I fixed it to ".rpm".

(From yocto-docs rev: 7b303a789d4f11aed6ebc83d734a27442a531b52)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoref-manual: Updates to clarify Fetcher URL directory parameters
Scott Rifenbark [Wed, 30 Sep 2015 19:55:13 +0000 (12:55 -0700)] 
ref-manual: Updates to clarify Fetcher URL directory parameters

Updated the SRC_URI variable description to cross-reference
the "Fetchers" section in the BitBake User Manual and added
some more Fetcher URL parameters specific to certain fetchers.
This was done to help clarify how to put fetched code into
specific directories.

Also updated the bin_packages.bbclass description to have a
better example.  Used a git:// fetcher example and provided

some specific URL parameters.

(From yocto-docs rev: 7133b49092096c253ffce99f39d4fa6db7810061)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agotoaster-manual: Updated the section for setting up virtual env.
Scott Rifenbark [Wed, 30 Sep 2015 16:20:12 +0000 (09:20 -0700)] 
toaster-manual: Updated the section for setting up virtual env.

The section for setting up a Python virtual environment has
gone from "optional" to "required".  I re-worded the section
as such.

(From yocto-docs rev: 3a20244c8b0b594723c0b35c8808bb96a210d63a)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodev-manual: Added package requirements for runtime QEMU testing
Scott Rifenbark [Wed, 30 Sep 2015 15:55:36 +0000 (08:55 -0700)] 
dev-manual: Added package requirements for runtime QEMU testing

Fixes [YOCTO #8412]

Added another bullet item that lists the required packages per
distributions needed to enable the runtime QEMU tests.

(From yocto-docs rev: f7e42f9b069e0fd3b419b571554669a89bc843e6)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoref-manual: Added linuxloader.bbclass reference description.
Scott Rifenbark [Tue, 29 Sep 2015 19:52:06 +0000 (12:52 -0700)] 
ref-manual: Added linuxloader.bbclass reference description.

(From yocto-docs rev: f33dbbd740ddd9dc88154373dc824e63d832ca0c)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoMakefile: Updated the make file to not create toaster-manual pdf
Scott Rifenbark [Sat, 26 Sep 2015 14:44:53 +0000 (07:44 -0700)] 
Makefile: Updated the make file to not create toaster-manual pdf

(From yocto-docs rev: a9babbc10603a2dd984fb633e85f3b3d93e43ac7)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodev-manual: Updated devtool build --help example
Maciej Borzecki [Fri, 25 Sep 2015 19:51:53 +0000 (12:51 -0700)] 
dev-manual: Updated devtool build --help example

The wrong command was in the help example in the note.

(From yocto-docs rev: a1ba70d1dcc680c2ddfb8fd5c544f57a29745cbc)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodocumentation: Updated files to support 2.0 release.
Scott Rifenbark [Fri, 25 Sep 2015 17:28:47 +0000 (10:28 -0700)] 
documentation: Updated files to support 2.0 release.

These updates included editing the poky.ent file so that
DISTRO and related variables are now 2.0.  Also updated all
the title pages to have the manual revision table correct.
Finally, used my email for the manuals.

(From yocto-docs rev: deae61bfbb528ea0ced82399a78260a7f34a7a11)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agotoaster-manual: Removed "dizzy" and replaced with "jethro"
Scott Rifenbark [Fri, 25 Sep 2015 17:14:03 +0000 (10:14 -0700)] 
toaster-manual: Removed "dizzy" and replaced with "jethro"

(From yocto-docs rev: 3cae958e49c091b2820631fc500171bb068eabf5)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoref-manual: Added descriptions for 5 new variables and 2 tasks.
Scott Rifenbark [Wed, 23 Sep 2015 19:50:11 +0000 (12:50 -0700)] 
ref-manual: Added descriptions for 5 new variables and 2 tasks.

Fixes [YOCTO #8019]

Added new descriptions for five kernel variables and two tasks.

(From yocto-docs rev: 834aebb75dce1c905b1e0f142d0d7de6bb44e7d4)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodev-manual: Updated the Marking Packages information.
Scott Rifenbark [Wed, 23 Sep 2015 16:34:28 +0000 (09:34 -0700)] 
dev-manual: Updated the Marking Packages information.

Fixes [YOCTO #8375]

Applied some suggested simpler wording for this bulleted item
of information.  Also, did some paragraph editing for better
organization.

(From yocto-docs rev: fd3e277b01ed6fd3580a1c008b1ac05bcfb98f38)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoref-manual: Added oe-seltest package requirements sections.
Scott Rifenbark [Wed, 23 Sep 2015 15:34:53 +0000 (08:34 -0700)] 
ref-manual: Added oe-seltest package requirements sections.

Running oe-selftest requires some Python packages for all
the supported distros.  I added new sections in there to cover
these requirements.

Fixes [YOCTO #8290]

(From yocto-docs rev: a8654267405df9ffb2f4d59d3de4a7eb3653893e)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoadt-manual: Updated the build toolchain section with more detail.
Scott Rifenbark [Tue, 22 Sep 2015 17:32:52 +0000 (10:32 -0700)] 
adt-manual: Updated the build toolchain section with more detail.

Fixes [YOCTO #8368]

Apparently there is confusion on how to build a cross-toolchain
using Eclipse and the Yocto plug-in.  Specifically on setting
the MACHINE variable, the bblayers.conf stuff, and the
preferences in Eclipse to find things.  I added a couple key
things to the section that describes using the OpenEmbedded
build system to build out the toolchain.

(From yocto-docs rev: 68c399e2560600cb3a5951c93d51e2cf1f610ff9)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoadt-manual: Updated some hard-coded distro values
Scott Rifenbark [Tue, 22 Sep 2015 16:49:43 +0000 (09:49 -0700)] 
adt-manual: Updated some hard-coded distro values

I found four occurances of "1.8" used in manual.  These needed
to be set to "&DISTRO;" so that they resolve to the latest
YP release.

(From yocto-docs rev: 9db8a2a04085623588e51740a45ee58c500649f6)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodev-manual: Updated the multilib example.
Scott Rifenbark [Tue, 22 Sep 2015 14:36:17 +0000 (07:36 -0700)] 
dev-manual: Updated the multilib example.

Fixes [YOCTO #8256]

Applied some review comments to the multilib example.  The
syntax was incorrect.

(From yocto-docs rev: 4e8abf17374535be3b168525ed2bec66fb1ce759)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoref-manual: Updated the EXCLUDE_FROM_SHLIBS description
Scott Rifenbark [Tue, 22 Sep 2015 14:34:36 +0000 (07:34 -0700)] 
ref-manual: Updated the EXCLUDE_FROM_SHLIBS description

Fixes [YOCTO #8066]

Applied some review comments to the variable's description.

(From yocto-docs rev: 35b28f3b86cdb76ae3dc431b5f538b4d078b694f)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoref-manual: Updated EXCLUDE_FROM_SHLIBS description.
Scott Rifenbark [Fri, 18 Sep 2015 14:57:45 +0000 (07:57 -0700)] 
ref-manual: Updated EXCLUDE_FROM_SHLIBS description.

Fixes [YOCTO #8066]

Applied some review edits to the variable's description in the
glossary.  Also, changed the name of the variable to be correct.

(From yocto-docs rev: f3ab503301db9d22cb85da0f7518d266f230bd3d)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoref-manual: Updated distrodata.bbclass example
Scott Rifenbark [Fri, 18 Sep 2015 14:30:17 +0000 (07:30 -0700)] 
ref-manual: Updated distrodata.bbclass example

Fixes [YOCTO #8237]

The use of this class no longer requires including the laundry
list of files that was provided in the section.  It just needs
the INHERIT statement now.  Removed the include statements.

(From yocto-docs rev: c31a5a3a78d265dea68c1c72c4eea6c2f80c839a)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoref-manual: Added new description for PACKAGE_EXCLUDE_COMPLEMENTARY
Scott Rifenbark [Thu, 17 Sep 2015 18:17:46 +0000 (11:17 -0700)] 
ref-manual: Added new description for PACKAGE_EXCLUDE_COMPLEMENTARY

Fixes [YOCTO #7906]

I added a new description for the variable.

(From yocto-docs rev: 2a99b80abeee05a11aba9ab339d989a7d616b597)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodev-manual: Fixed typo in path for wic plugins
Uwe Kleine-Konig [Thu, 17 Sep 2015 17:41:18 +0000 (10:41 -0700)] 
dev-manual: Fixed typo in path for wic plugins

Fixes [YOCTO #7910]

Three occurrances of this typo were fixed.

(From yocto-docs rev: f538137c93d4b34c6d5836d9b21b687fb79ae182)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoref-manual: Added new EXCLUDE_FROM_SHLIB variable
Scott Rifenbark [Thu, 17 Sep 2015 17:24:46 +0000 (10:24 -0700)] 
ref-manual: Added new EXCLUDE_FROM_SHLIB variable

Fixes [YOCTO #8066]

Added a new description to the variable glossary.

(From yocto-docs rev: ccb23c5a318f1640718ed41dc7ea2fd1bb8a43a1)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoref-manual: Added new variable description for SKIP_FILEDEPS
Scott Rifenbark [Wed, 16 Sep 2015 18:59:51 +0000 (11:59 -0700)] 
ref-manual: Added new variable description for SKIP_FILEDEPS

Fixes [YOCTO #8067]

Added a new file description.

(From yocto-docs rev: 9c60c6157660be6557732bbdc2398e2783ac68d2)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoyocto-project-qs, ref-manual: Replaced "yum" with "dnf"
Scott Rifenbark [Wed, 16 Sep 2015 18:09:54 +0000 (11:09 -0700)] 
yocto-project-qs, ref-manual: Replaced "yum" with "dnf"

Fixes [YOCTO #8159]

Fedora and CentOS have deprecated "yum" and have come up with
"dnf" as the package manager.  This happened at the end of
2014.  I have replaced the occurrences in the manual
appropritely.

(From yocto-docs rev: 14c80ecc8d6a4f9bf355dd84657d339782da83f0)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoref-manual: Added cross-reference phrase to some variables
Scott Rifenbark [Wed, 16 Sep 2015 17:14:45 +0000 (10:14 -0700)] 
ref-manual: Added cross-reference phrase to some variables

Fixes [YOCTO #8233]

The IMAGE_POSTPROCESS_COMMAND and IMAGE_PREPROCESS_COMMAND
variables were missing a linked cross-reference to the
IMAGE_ROOTFS variable.  I added the linked references.

(From yocto-docs rev: a36b447ca105b3d63b7cfd085c77b071275e0dab)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodev-manual: Changed multilib example
Scott Rifenbark [Wed, 16 Sep 2015 16:31:41 +0000 (09:31 -0700)] 
dev-manual: Changed multilib example

Fixes [YOCTO #8256]

The suggested multilib example in the "Using Multilib" section
was broken.  I replaced the lib32-connman library with the
lib32-glib-2.0 library.

(From yocto-docs rev: fa302dd1b7d71c880815fdc4b9a6764c095d476d)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodev-manual: Added note about building out Autotools projects
Scott Rifenbark [Wed, 16 Sep 2015 15:58:46 +0000 (08:58 -0700)] 
dev-manual: Added note about building out Autotools projects

Fixes [YOCTO #8261]

Errors are being generated to Eclipse users when building
an Autotools project.  I added a note with steps to avoid
the errors.

(From yocto-docs rev: 7b915bab1b8a321f81453ad00886945c294a1d60)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoarchiver.bbclass: Fixes and improves archiver class for kernel and gcc packages
Alejandro Hernandez [Tue, 6 Oct 2015 23:05:09 +0000 (23:05 +0000)] 
archiver.bbclass: Fixes and improves archiver class for kernel and gcc packages

gcc packages use a shared source directory, this causes an issue since the archiver will
try to patch the same source several times (one for each gcc package), producing an error,
the archiver class used stamp-base to check this, nonetheless our gcc packages no longer
use stamp-base, they use gcc-shared instead, which is what broke this functionality.
This patch adds a check to see whether or not the source should be patched,
avoiding patching the source when it shouldn't.

Also, we dont need to create multiple identical tarballs for all gcc packages,
this patch fixes this and creates a single source tarball for gcc.

When requesting patched sources, a race condition is created for linux-yocto tasks,
unpack_and_patch is executed along with kernel_configme, which most of the time
causes errors during configure, since kernel_configme task is specific to the kernel,
simply modifying the tasks order by creating a dependency to kernel_configme was impossible,
causing errors on all other packages that didnt use kernel_configme, this is fixed by
creating a special case for the kernel, adding tasks with correct dependencies,
avoiding the race condition and behaving the way it should for all other packages as well.

[YOCTO #8378]

(From OE-Core rev: aecaa0e8739db1c228a6db78225a717d9f348a5b)

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agooeqa/selftest: improve config writing and cleanup
Ross Burton [Mon, 19 Oct 2015 14:58:26 +0000 (15:58 +0100)] 
oeqa/selftest: improve config writing and cleanup

The selftest.inc configuration file is deleted in both tearDown() and setUp() so
there's no need to use addCleanup() to remove statements from it.

Use write_config instead of append_config if the intention is to start from an
empty config file, for clarity.

Finally remove some misleading comments that claim that append_config() writes
to local.conf when it doesn't.

(From OE-Core rev: ad33259b507914bfc8de92d1df12e0974157900e)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agooeqa/selftest/wic: remove numbers from test names
Ross Burton [Fri, 16 Oct 2015 10:43:06 +0000 (11:43 +0100)] 
oeqa/selftest/wic: remove numbers from test names

There isn't any required ordering of tests, and the numbers meant that the tests
didn't appear in oe-selftest --list-classes.

(From OE-Core rev: 2a4ecc88ca10ef6abe55dddb96842b579b73497c)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agooeqa/selftest: clean up selftest.inc in teardown
Ross Burton [Fri, 16 Oct 2015 10:44:49 +0000 (11:44 +0100)] 
oeqa/selftest: clean up selftest.inc in teardown

Test cases may want to do call bitbake in setUpClass() but at that point the
previous selftest.inc is still present which could change the build
configuration and result in any built artifacts being removed in the next
bitbake invocation as part of the sysroot clean up.

Resolve this by cleaning selftest.inc in the tearDown, the clean in setUp should
be considered a safety net.

(From OE-Core rev: 573bd03a7844a5ad762533f65f41214df31cd197)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agooeqa/selftest/wic: fix cleaning
Ross Burton [Thu, 15 Oct 2015 15:53:47 +0000 (16:53 +0100)] 
oeqa/selftest/wic: fix cleaning

In some situations the native tools built in setUpClass() are wiped from the
sysroot by the time the tests are executed, likely due to the cleanup performed
in the base setUp() method.

Avoid this by doing all of the preparatory building in setUpLocal.

(From OE-Core rev: 2285ff17a391fa22f2095da701bc6f2c9615ae7b)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>