scm/bb/tizen-distro.git
11 years agoapr: fix out-of-tree builds
Ross Burton [Fri, 14 Dec 2012 14:51:17 +0000 (14:51 +0000)]
apr: fix out-of-tree builds

(From OE-Core rev: ed4e991317ab11e8c0e6869f2be6426cc3d28ccb)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agocurl: fix out-of-tree builds
Ross Burton [Fri, 14 Dec 2012 14:51:16 +0000 (14:51 +0000)]
curl: fix out-of-tree builds

(From OE-Core rev: f09b09c96996a9bb30fbad50de957faf0b31389e)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoUpdate the SRC_URI in systemtap recipe
Maxin B. John [Fri, 14 Dec 2012 12:00:28 +0000 (13:00 +0100)]
Update the SRC_URI in systemtap recipe

The SRC_URI in systemtap recipe uses 'sources.redhat.com' which
redirects to 'sourceware.org'. This causes random fetch failures.
Updating the recipe to use the direct link.

(From OE-Core rev: 340841f8a5c8225ccb77b628f55a668c9d1097ec)

Signed-off-by: Maxin B. John <Maxin.John@enea.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: hob/bitbake: custom image is now using the base image
Cristiana Voicu [Wed, 12 Dec 2012 11:51:51 +0000 (13:51 +0200)]
bitbake: hob/bitbake: custom image is now using the base image

Till now, a custom image made in Hob was using only the packages from
the base image. Now it is using everything declared in the base image.
Also next to hob-image.bb, it creates another .bb file which is used
in building process. Those images are ignored by git.

[YOCTO #2601]
(Bitbake rev: 22007cf71a00fbb03b40f97201a6eb06c9aebd16)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: knotty: use bb.error instead of print
Mihai Lindner [Thu, 13 Dec 2012 10:55:25 +0000 (12:55 +0200)]
bitbake: knotty: use bb.error instead of print

Change to use bb.error instead of print, or maybe that was desired (?)
Also remove a tab, while in the neighborhood.

(Bitbake rev: 4a36a1af71530afc8fa896271fa94362ead176bd)

Signed-off-by: Mihai Lindner <mihaix.lindner@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: git.py: A bit of tidying up regarding grammar and supported protocols.
Robert P. J. Day [Thu, 13 Dec 2012 16:06:29 +0000 (11:06 -0500)]
bitbake: git.py: A bit of tidying up regarding grammar and supported protocols.

Doc cleanup, no functional change.

(Bitbake rev: 5161a84f5dcfe748382a5073349bf10ed21641f9)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: bitbake.vim: detect *.bbappend files in ftdetect automatically
Eren Türkay [Wed, 12 Dec 2012 20:35:50 +0000 (22:35 +0200)]
bitbake: bitbake.vim: detect *.bbappend files in ftdetect automatically

Currently, *.bb and *.bbclass files are automatically highlighted and
detected as a bitbake file. Since *.bbappend files are also bitbake
files, vim plugin should automatically detect and highlight it as well.

(Bitbake rev: 0668a0ea968baf930f05806a5452c8dbe4ec35ce)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogitignore: Add hob-image-*.bb
Richard Purdie [Fri, 14 Dec 2012 13:08:39 +0000 (13:08 +0000)]
gitignore: Add hob-image-*.bb

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: data_smart/BBHandler: Fix SkipParse exception handling
Richard Purdie [Fri, 14 Dec 2012 12:33:01 +0000 (12:33 +0000)]
bitbake: data_smart/BBHandler: Fix SkipParse exception handling

If SkipParse is raised from something which isn't anonymous python, it wasn't
being handled correctly. This improves the handling for example from within inline
python.

(Bitbake rev: 7467d7d66b24cc8f43ab168e65895e7c4aee6092)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: bin/bitbake, bb/__init__: Move BBDEBUG handling to bin/bitbake
Richard Purdie [Fri, 14 Dec 2012 12:30:27 +0000 (12:30 +0000)]
bitbake: bin/bitbake, bb/__init__: Move BBDEBUG handling to bin/bitbake

The method this older code was accessing doesn't exist. A library shouldn't
be changing behaviour based on the environment anyway when sepcific function
calls exist to correctly setup the logging. Fix the crash if BBDEBUG was used
by moving the code to bin/bitbake.

[YOCTO #3319]

(Bitbake rev: 3a1b75037fe1e5282ffd40b037e93353405faa45)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: command: Fix getCmdLineAction bugs
Richard Purdie [Fri, 14 Dec 2012 12:27:33 +0000 (12:27 +0000)]
bitbake: command: Fix getCmdLineAction bugs

Executing "bitbake" doesn't get a sane message since the None return value
wasn't being handled correctly. Also fix msg -> cmd_action['msg'] as
otherwise an invalid variable is accessed which then crashes the server
due to the previous bug.

(Bitbake rev: c6211291ae07410832031a5274690437cc2b09a6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: command: Add missing import traceback
Richard Purdie [Fri, 14 Dec 2012 12:26:19 +0000 (12:26 +0000)]
bitbake: command: Add missing import traceback

Without this, if an exception occurs the server will silently crash
with no feedback to the user about why (since traceback isn't imported).

(Bitbake rev: e637a635bf7b5a9a2e9dc20afc18aceec98d578f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoDisabling audio on when running runqemu qemuarm
Andrei Dinu [Thu, 13 Dec 2012 16:08:08 +0000 (18:08 +0200)]
Disabling audio on when running runqemu qemuarm

Added the change that prevented runqemu to throw
sound errors.

[YOCTO #3528]

(From OE-Core rev: 0ddcd2ce24f0cc65561e2d26c9d63048beedc40e)

Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agomodule.bbclass: make sure do_make_scripts() executes after do_patch()
Tom Zanussi [Fri, 14 Dec 2012 05:27:09 +0000 (23:27 -0600)]
module.bbclass: make sure do_make_scripts() executes after do_patch()

If do_make_scripts() executes before do_unpack()/do_patch(), the build
fails because it can't cd into the workdir of a recipe using this
class, so make sure do_make_scripts() doesn't run before the package
has been unpacked and patched.

Fixes [YOCTO #3589].

(From OE-Core rev: 824cf145bcb55bb99a717a2dfd73e43e6b3feea4)

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agochrpath.bbclass: Normalize rpath only of it doesn't contain ORIGIN variable
Andrei Gherzan [Fri, 14 Dec 2012 02:15:03 +0000 (04:15 +0200)]
chrpath.bbclass: Normalize rpath only of it doesn't contain ORIGIN variable

If we normalize a rpath which contains ORIGIN variable, the binary will end
up without those rpaths at all. So check first if rpath contains ORIGIN variable
and if not, move on and normalize it.

(From OE-Core rev: 46dc514ff5a3d2693546cf95c5481e0539c43580)

Signed-off-by: Andrei Gherzan <andrei.gherzan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agomesa-dri-git: remove patch that doesn't apply to 9.x
Ross Burton [Thu, 13 Dec 2012 17:36:08 +0000 (17:36 +0000)]
mesa-dri-git: remove patch that doesn't apply to 9.x

(From OE-Core rev: 7d7f199806bee016553d1046a53bd55ab3a9e609)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoeglibc: fix checksums of fetched patches
Marko Lindqvist [Thu, 13 Dec 2012 16:39:22 +0000 (18:39 +0200)]
eglibc: fix checksums of fetched patches

As downloaded files are not named, tarball checksum is used also
for downloaded patches, causing checksum check for them to fail.
Added correct checksums of their own for all downloaded files.

(From OE-Core rev: 2fbbd406e906df36cf1840b8b5f7f51a25d92a35)

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoyocto-kernel: add support for PRs of the form rN to pr_inc()
Tom Zanussi [Thu, 13 Dec 2012 04:56:41 +0000 (22:56 -0600)]
yocto-kernel: add support for PRs of the form rN to pr_inc()

With the addition of custom kernel support, we also need to handle the
normal PR format found in .bb files.

(From meta-yocto rev: e17570b6bbd36a731f546f800ef5f271ed5c3697)

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoyocto-bsp: remove patch-related SRC_URI processing
Tom Zanussi [Thu, 13 Dec 2012 04:56:40 +0000 (22:56 -0600)]
yocto-bsp: remove patch-related SRC_URI processing

We no longer have to include patches in the SRC_URI, since things now
work using only patch in the .scc file, so remove anything to do with
maintaining patches in the SRC_URI and fix up all previous users of
that code.

(From meta-yocto rev: 8f3cd1f80f898d963797bc96b3fe599f7f8ea343)

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoyocto-kernel: handle SRC_URIs in .bb files
Tom Zanussi [Thu, 13 Dec 2012 04:56:39 +0000 (22:56 -0600)]
yocto-kernel: handle SRC_URIs in .bb files

Previously we assumed we were always dealing with .bbappends.  With
custom kernels, we now have SRC_URIs in .bb files, so add .bb files to
the list of file types we examine and modify.

(From meta-yocto rev: 4200c5c99b7d61e05b0d9d1580e267e7d6d49760)

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoyocto-kernel: remove assumption that kernel has a version
Tom Zanussi [Thu, 13 Dec 2012 04:56:38 +0000 (22:56 -0600)]
yocto-kernel: remove assumption that kernel has a version

Kernels don't need to have a PREFERRED_VERSION, so remove that
assumption from the code that looks for the kernel definition.

(From meta-yocto rev: 2ea9d54ac5ebd80b5306851d62411960f3293ede)

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoyocto-kernel: don't list comments in config and patch listings
Tom Zanussi [Thu, 13 Dec 2012 04:56:37 +0000 (22:56 -0600)]
yocto-kernel: don't list comments in config and patch listings

After adding comments to the config and patch templates, I noticed
they were displayed as items, which they shouldn't be.  This prevents
them from being displayed.

(From meta-yocto rev: 4cd0bde48cd17468923bba80b88d187014cda1a3)

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoyocto-kernel: create open_user_file() wrapper function
Tom Zanussi [Thu, 13 Dec 2012 04:56:36 +0000 (22:56 -0600)]
yocto-kernel: create open_user_file() wrapper function

With the addition of custom kernels, we can no longer rely on a
hard-coded /files directory for BSPs - we need to be able to find the
user_config/patches files in a number of different directories.

We now hide the search inside a new open_user_file() function that
accomplishes the same thing as before but with a more flexible scope.

(From meta-yocto rev: 26a7032553e8d8691239368f0f994f948db06eed)

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoyocto-bsp: add replace_file()
Tom Zanussi [Thu, 13 Dec 2012 04:56:35 +0000 (22:56 -0600)]
yocto-bsp: add replace_file()

Add a function that can be used to replace a template file by a
user-specified file.  The initial use of this capability is to allow
users-specified defconfigs.

(From meta-yocto rev: b52a22d40d4701a9515490bdd31c8d0341fb12bc)

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoyocto-bsp: add 'edit-file' input line
Tom Zanussi [Thu, 13 Dec 2012 04:56:34 +0000 (22:56 -0600)]
yocto-bsp: add 'edit-file' input line

Add a subclassed edit box that verifies the existence of a
user-specified file.

(From meta-yocto rev: 8ca7f688a6a0e41dd6527b1c13ebaa77bbfeba69)

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoyocto-bsp: add 'edit-git-repo' input line
Tom Zanussi [Thu, 13 Dec 2012 04:56:33 +0000 (22:56 -0600)]
yocto-bsp: add 'edit-git-repo' input line

Add a subclassed edit box that verifies the existence of a
user-specified git repo.

Also adds a verify_git_repo() function that can be used as a basic
sanity check for local git setup.

(From meta-yocto rev: 64f1176d62ed02d7c61d32fdae11dc8b7d365603)

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoyocto-bsp: update existing templates for linux-yocto-custom
Tom Zanussi [Thu, 13 Dec 2012 04:56:32 +0000 (22:56 -0600)]
yocto-bsp: update existing templates for linux-yocto-custom

Update existing templates to integrate with linux-yocto-custom.

(From meta-yocto rev: 7a8b55bdf499d001b77bb87345eb4eeab6013b2e)

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoyocto-bsp: add 'custom' choice to kernels()
Tom Zanussi [Thu, 13 Dec 2012 04:56:31 +0000 (22:56 -0600)]
yocto-bsp: add 'custom' choice to kernels()

Add a synthetic choice for linux-yocto-custom to the list of available
kernels.  Choosing this will lead the user down the path of options
needed to specify a custom kernel.

(From meta-yocto rev: 220ad83b5ccc241d7b5b2c3321f2a6a59813e3d6)

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoyocto-bsp: add custom kernel support
Tom Zanussi [Thu, 13 Dec 2012 04:56:30 +0000 (22:56 -0600)]
yocto-bsp: add custom kernel support

Add a template to support custom kernels via a custom kernel recipe
derived from linux-yocto-custom.bb.

(From meta-yocto rev: 98c7861ebdd40b1fc4d803701ad9fb979be54273)

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agochrpath: normalize the paths
Saul Wold [Wed, 12 Dec 2012 01:40:57 +0000 (17:40 -0800)]
chrpath: normalize the paths

By normalizing the paths the path comparing code works correct
to generate the right RPATH even when there is a A/../A in TMPDIR

[YOCTO #3408]

(From OE-Core rev: 50327f2bba9f479dd209cdc54646b9d551e84c59)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibacpi: Remove QA warning: No GNU_HASH in the elf binary
Muhammad Shakeel [Wed, 12 Dec 2012 11:35:41 +0000 (16:35 +0500)]
libacpi: Remove QA warning: No GNU_HASH in the elf binary

Handle LDFLAGS properly in the Makefile to remove warning:
QA Issue: No GNU_HASH in the elf binary

(From OE-Core rev: a24a5e5c9ede4275f7188935a9410b84d406ed19)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Muhammad Shakeel <muhammad_shakeel@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agomesa: package osmesa.pc
Ross Burton [Wed, 12 Dec 2012 10:38:42 +0000 (10:38 +0000)]
mesa: package osmesa.pc

(From OE-Core rev: 3281e272dd6687575d1d1ccc7f6d0ae844369dd6)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agocoreutils_6.9: Update the older coreutils to no longer provide 'su'
Mark Hatle [Wed, 12 Dec 2012 18:31:36 +0000 (18:31 +0000)]
coreutils_6.9: Update the older coreutils to no longer provide 'su'

'su' was removed from newer versions of coreutils, and in OE-Core
we pick up 'su' from shadow instead. So simply remove the binary
from the install image to match expected behavior and avoid failures
due to conflicting 'su' binaries during do_rootfs when building
non-GPLv3 images.

(From OE-Core rev: b4c5fc7c025ff864280be9678e6dd856971c71d7)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agorootfs_rpm.bbclass: Revert to default shell logging behavior
Mark Hatle [Wed, 12 Dec 2012 18:31:25 +0000 (18:31 +0000)]
rootfs_rpm.bbclass: Revert to default shell logging behavior

Remove the set +x, and revert to the normal logging behavior.

(From OE-Core rev: e799d771c9ed9e41a900e2e96c23d4ae35d5fe08)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobootimg: Use FAT 32 for images larger than 512MB
Darren Hart [Wed, 12 Dec 2012 22:39:15 +0000 (14:39 -0800)]
bootimg: Use FAT 32 for images larger than 512MB

Fixes [YOCTO #2138]

Commit 217584211625b1c496fe5b78aa4765ccf605d2b9 dropped the forced use
of FAT32 for the hddimg generation as it broke with very small images
(< 32MB). Unfortunately, left to its own devices, mkdosfs appears to select
FAT16 even for very large images, resulting in 2.2GB images being
generated as FAT16:

$ ls -lah core-image-lsb-sdk-atom-pc-20121010233936.hddimg
-rw-rw-r-- 1 dvhart dvhart 2.2G 2012-10-17 08:00 core-image-lsb-sdk-atom-pc-20121010233936.hddimg

$ file !$
file core-image-lsb-sdk-atom-pc-20121010233936.hddimg
core-image-lsb-sdk-atom-pc-20121010233936.hddimg: x86 boot sector, code offset 0x58, OEM-ID "SYSLINUX", sectors/cluster 128, root entries 512, Media descriptor 0xf8, sectors/FAT 138, heads 64, sectors 4502496 (volumes > 32 MB) , serial number 0x50761926, label: "boot       ", FAT (16 bit)

The result was a runtime boot error from SYSLINUX and a failure to boot
live images greater than 1GB in size.

While strictly speaking it is the cluster count that determines which
FAT size is used, that calculation requires more information than we
have readily available (such as sectors per cluster). If we let mkdosfs
determine sectors per cluster and just set a sane threshold above which
FAT32 is used, we get correct bootable images. With this patch the 2.2GB
core-image-lsb-sdk uses FAT32 and the 21 MB core-image-minimal uses
FAT16, and both boot in qemu successfully:

$ ls -lah tmp/deploy/images/core-image-lsb-sdk-atom-pc-20121212220835.hddimg
-rw-r--r-- 1 dvhart dvhart 2.2G 2012-12-12 14:18 tmp/deploy/images/core-image-lsb-sdk-atom-pc-20121212220835.hddimg

$ file !$
file tmp/deploy/images/core-image-lsb-sdk-atom-pc-20121212220835.hddimg
tmp/deploy/images/core-image-lsb-sdk-atom-pc-20121212220835.hddimg: x86 boot sector, code offset 0x58, OEM-ID "SYSLINUX", sectors/cluster 8, Media descriptor 0xf8, heads 64, sectors 4470304 (volumes > 32 MB) , FAT (32 bit), sectors/FAT 4357, reserved3 0x800000, serial number 0x50c902b7, label: "boot       "

$ ls -lah tmp/deploy/images/core-image-minimal-atom-pc-20121212220600.hddimg
-rw-r--r-- 1 dvhart dvhart 21M 2012-12-12 14:06 tmp/deploy/images/core-image-minimal-atom-pc-20121212220600.hddimg

$ file !$
file tmp/deploy/images/core-image-minimal-atom-pc-20121212220600.hddimg
tmp/deploy/images/core-image-minimal-atom-pc-20121212220600.hddimg: x86 boot sector, code offset 0x58, OEM-ID "SYSLINUX", sectors/cluster 4, root entries 512, sectors 41408 (volumes <=32 MB) , Media descriptor 0xf8, sectors/FAT 41, heads 64, serial number 0x50c8ffec, label: "boot       ", FAT (16 bit)

I have tested and booted core-image-minimal and core-image-lsb-sdk for
atom-pc with qemu-system-i386 using this patch.

(From OE-Core rev: de808c552d445502bd99f78bb8159d21149f87c1)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Cc: Steve Sakoman <steve@sakoman.com>
Cc: Joshua Immanuel <josh@hipro.co.in>
Cc: Przemek Czesnowicz <przemyslawx.czesnowicz@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoeglibc: remove dependency of eglibc-utils on bash
Paul Eggleton [Wed, 12 Dec 2012 14:15:25 +0000 (14:15 +0000)]
eglibc: remove dependency of eglibc-utils on bash

Adapt a patch from Peter Seebach <peter.seebach@windriver.com> to remove
the non-POSIX elements from the tzselect script, and add a separate
patch to work around a bug in the current version of busybox's awk
command. This replaces the /bin/bash reference in the script header with
/bin/sh and thus eliminates the dependency on bash picked up during
packaging.

Fixes [YOCTO #3551].

(From OE-Core rev: fe19d0e01cb1563cf4735ef250f80af20059103b)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agotar: apply fedora patch for fortify sources sigabort
Fahad Usman [Wed, 12 Dec 2012 13:01:32 +0000 (18:01 +0500)]
tar: apply fedora patch for fortify sources sigabort

See https://qa.mandriva.com/show_bug.cgi?id=61419 for details.

(From OE-Core rev: 648cda68def82fa12b3af599c06caecdc7568668)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
the patch was imported from meta-mentor layer on yoctoproject git server
http://git.yoctoproject.org/cgit/cgit.cgi/meta-mentor as of commit id
333d2e0510a1e052cb83a6f8beed6d8bcea59b2c

Signed-off-by: Fahad Usman <fahad_usman@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agomatchbox-keyboard: fix the build with libpng15
Ross Burton [Wed, 12 Dec 2012 11:53:57 +0000 (11:53 +0000)]
matchbox-keyboard: fix the build with libpng15

(From OE-Core rev: d49facde4fffc95cd153195fc0114dfbc1bf512c)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibmatchbox: upgrade to 1.10, drop git
Ross Burton [Tue, 11 Dec 2012 21:54:29 +0000 (21:54 +0000)]
libmatchbox: upgrade to 1.10, drop git

All patches have been upstreamed so drop them, and as upstream isn't heavily
developed drop the git recipe.

(From OE-Core rev: 3465570601480d2e476e82b8b7254e94f87d2682)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibpng: enable nativesdk variant
Constantin Musca [Mon, 10 Dec 2012 08:08:11 +0000 (08:08 +0000)]
libpng: enable nativesdk variant

(From OE-Core rev: bdc9e932869cc5d08761c762c003b42de21e5c1f)

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agocreate-pull-request: detect trailing white space
Nitin A Kamble [Tue, 11 Dec 2012 17:28:03 +0000 (09:28 -0800)]
create-pull-request: detect trailing white space

Add logic in the create-pull-request to detect and warn about the
trailing white space inserted by patches.

(From OE-Core rev: 3e35310db3cd6d265092724a0e542b9616aca9c5)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoeglibc: add AArch64 support
Marcin Juszkiewicz [Mon, 10 Dec 2012 17:20:58 +0000 (18:20 +0100)]
eglibc: add AArch64 support

(From OE-Core rev: 72087d2cbdcc0da66b38720769d8ad52dbfb4abc)

Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogdk-pixbuf: handle postinstall errors differently
Laurentiu Palcu [Mon, 10 Dec 2012 14:31:21 +0000 (16:31 +0200)]
gdk-pixbuf: handle postinstall errors differently

Apparently gdk-pixbuf-query-loaders always returns 0 but writes any
errors to stderr. So, the conditional exit at the end of the command was
useless. Write the errors to a file and exit only if the file size is
greater than 0.

(From OE-Core rev: 901fbfac48918db7bf809ded3df533504141c5ca)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopopulate_sdk_(deb|ipk|rpm): export NATIVE_ROOT and INTERCEPT_DIR variables
Laurentiu Palcu [Mon, 10 Dec 2012 14:30:03 +0000 (16:30 +0200)]
populate_sdk_(deb|ipk|rpm): export NATIVE_ROOT and INTERCEPT_DIR variables

In order for the postinstall scripts to have access to the recent
improvements when generating the target SDK sysroot, export these
variables in populate_sdk.

(From OE-Core rev: 06151c34f4f4cb669b2f93ebb2f78cfecf698355)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agotelepathy-glib: remove pkgconfig dependency in pkgconfig
Ross Burton [Mon, 10 Dec 2012 15:23:07 +0000 (15:23 +0000)]
telepathy-glib: remove pkgconfig dependency in pkgconfig

A pkg-config file depending on pkg-config doesn't really make sense, and this is
causing unexpected dependencies on pkg-config at image contruction time (see

(From OE-Core rev: 1024f59c78ebdec132fde6a2d7eccde4b03ba468)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibpcre: Improve the recipe
Fahad Usman [Mon, 10 Dec 2012 14:51:21 +0000 (19:51 +0500)]
libpcre: Improve the recipe

- Improve the cross patch to determine *_FOR_BUILD in configure

- Leverage the fact that autotools.bbclass handles *_FOR_BUILD now

- Drop the now unnecessary do_compile override

- Drop the do_split_packages

- Split out packages for pcregrep, pcretest, in addition to libpcrecpp and
libpcreposix

- add nativesdk to BBCLASSEXTEND as well as native

(From OE-Core rev: 9867a9ad7a80a26654326650752dbbe89c8de3c5)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
- the patch was imported from meta-mentor layer on yoctoproject git server
http://git.yoctoproject.org/cgit/cgit.cgi/meta-mentor as of commit id
62f819b97e356c1d7468fbccbf3a3ceed78b09a8

- broken up the original patch in two parts, this part contains some
improvements to the recipe and the cross patch

Signed-off-by: Fahad Usman <fahad_usman@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibpcre: upgrade to 8.32
Fahad Usman [Mon, 10 Dec 2012 14:51:20 +0000 (19:51 +0500)]
libpcre: upgrade to 8.32

- Also improve description
- Add summary and homepage

(From OE-Core rev: 57907458fe4b6c7037f35862adabf29b8ac1f029)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
- the patch was imported from meta-mentor layer on yoctoproject git server
http://git.yoctoproject.org/cgit/cgit.cgi/meta-mentor as of commit id
62f819b97e356c1d7468fbccbf3a3ceed78b09a8

- broken up the original patch in two parts, this first part upgrades the
version to 8.32

Signed-off-by: Fahad Usman <fahad_usman@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibuser: enable python support
Kang Kai [Mon, 10 Dec 2012 09:37:15 +0000 (17:37 +0800)]
libuser: enable python support

Compile libuser with python support and add python to DEPENDS.

(From OE-Core rev: 57114b3f631b66edf136bcc7ba23eec7c7bc9970)

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoqemu: upgrade to 1.3.0
Constantin Musca [Mon, 10 Dec 2012 08:08:13 +0000 (10:08 +0200)]
qemu: upgrade to 1.3.0

remove-hardcoded-libexec.patch: removed
    - included in the new version

qemu-vmware-vga-depth.patch: removed
    - doesn't apply anymore
    - the problem addressed by the patch is fixed by
reverting commit 1f202568e0553b416483e5993f1bde219c22cf72

Revert-vmware_vga-Add-back-some-info-in-local-state-.patch:
    - VMware VGA requires that the depth presented to the guest
to be the same as the Display Surface depth in order to do not
corrupt the display
    - do not cache the DS depth (the depth might change)
    - revert commit 1f202568

- QEMU now uses pixman (DEPENDS += "pixman")
- rearrange the recipe in order to mimic the bitbake flow
- update both variants (.tar.bz2, git)

(From OE-Core rev: 7622c4f6c050f26f252066a0fcaacdbf340dcefa)

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopixman: upgrade to 0.28.0
Constantin Musca [Mon, 10 Dec 2012 08:08:12 +0000 (10:08 +0200)]
pixman: upgrade to 0.28.0

* Generic-C-implementation-of-pixman_blt-with-overlapp.patch:
    - adapted to the new version
* enable nativesdk variant

(From OE-Core rev: b41e55a7ee226a0ae4efdd633cab94e1cc846525)

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agodocumentation-audit.sh: Add/fix checks for skipped lines.
Robert P. J. Day [Sun, 9 Dec 2012 12:39:21 +0000 (07:39 -0500)]
documentation-audit.sh: Add/fix checks for skipped lines.

Have the script skip:

  * "Recipe" lines.
  * Lines with 11 "=", not 12.

(From OE-Core rev: b9f14425a3f975a40a881b868b7bddcbd3c22580)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: BBhandler/data: Fix __inherit_cache duplication
Richard Purdie [Tue, 11 Dec 2012 00:02:50 +0000 (00:02 +0000)]
bitbake: BBhandler/data: Fix __inherit_cache duplication

The inherits cache contains duplicate entries, some with the full patch, some
just starting classes/xxx. This is a waste of parse time and potentially
error prone. This patch fixes various pieces of code so the absolute paths are
always preferred and work correctly. The inherits_class function did not work
with full paths so the patch fixes this.

(Bitbake rev: f3a71e509af196391ec126d079cf1bd178e62ad5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: BBHandler/ast: Simplify/fix EXPORT_FUNCTIONS usage
Richard Purdie [Tue, 11 Dec 2012 00:01:56 +0000 (00:01 +0000)]
bitbake: BBHandler/ast: Simplify/fix EXPORT_FUNCTIONS usage

The current usage of EXPORT_FUNCTIONS is rather problematic since a class
list (classes) is passed into the ast statement and cached as it was
when first parsed. This class list may be different in other cases but
is locked once in the cache.

Worse, the construction of classes can be broken by exceptions during parsing
at the wrong moments since the state of the parser is not always reset
correctly. This can lead to leakage of other classes into the classes list.

The current EXPORT_FUNCTIONS implementation looks at the last two currently
inherited classes and sets up an indirect function call view the second last
class inherited, e.g.:

 do_configure calls gnomebase_do_configure
 gnomebase_do_configure calls autotools_do_configure

This intermediary doesn't seem to serve a useful purpose.

This patch therefore makes builds deterministic and fixes various cache problems
and indirection by removing the intermediaries and simply performing
directly mapping for the cases where its needed.

(Bitbake rev: 9fc98f96f0e0320beda0ce9546275a99336732c1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake.conf/utils: Drop some OVERRIDES from FILESPATH
Richard Purdie [Fri, 7 Dec 2012 17:38:23 +0000 (17:38 +0000)]
bitbake.conf/utils: Drop some OVERRIDES from FILESPATH

There are several overrides that don't make sense as part of FILESPATH. This
introduces FILESOVERRIDES and allows us to drop some of the pointless ones,
simplifying the files search path further and improving the user experience.

If needed by specific recipes, other overrides can be added back in for
specific cases.

(From OE-Core rev: b8b1b39961332c99d62ee466f7859bd62a0f806f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agox11vnc: bind vnc server to port 5900
Laurentiu Palcu [Tue, 11 Dec 2012 12:41:49 +0000 (14:41 +0200)]
x11vnc: bind vnc server to port 5900

At the moment, if one clicks on X11VNC Server icon, a new vnc server is
started on an automatically assigned port (starting with 5900). The
problem is that the user can click multiple times on the icon and a new
vnc server is started on another port. So, we'll end up with multiple
vnc servers, wasting memory.

This patch will restrict the x11vnc server port to 5900 (default VNC
port) and another process will not be started (because the port is
already used), unless the user chooses to start the server manually,
from the command line, in which case the port can be changed as the
user wishes.

[YOCTO #3369]

(From OE-Core rev: 8f7bd81f4769984a5acdb40f3a76e290615c3020)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopackage.bbclass: prepend MLPREFIX to LOCALEBASEPN
Constantin Musca [Tue, 11 Dec 2012 15:29:42 +0000 (17:29 +0200)]
package.bbclass: prepend MLPREFIX to LOCALEBASEPN

We need to prepend MLPREFIX to LOCALEBASEPN in order to
fully enable multilib

[YOCTO #3440]

(From OE-Core rev: 91fe09a9a8b317d27145efff4201f1138d6a45d4)

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agomultilib.bbclass: fix do_package_qa_multilib
Constantin Musca [Tue, 11 Dec 2012 15:29:41 +0000 (17:29 +0200)]
multilib.bbclass: fix do_package_qa_multilib

The packages which start with "rtld" are ok

[YOCTO #3440]

(From OE-Core rev: 1bb3f44065d0470dd2f6950e267ef991c2ce6fd5)

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobuild-appliance: Updated to include bblayers.conf.sample fix
Cristian Iorga [Tue, 11 Dec 2012 13:48:18 +0000 (15:48 +0200)]
build-appliance: Updated to include bblayers.conf.sample fix

In Build Appliance, Hob didn't start because it crashed
checking bblayers.conf

(From OE-Core rev: fb04d8e6404c7ee35b636cf2cb886acfba22b8d7)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobuild-appliance: provides git proxified acces
Cristian Iorga [Tue, 11 Dec 2012 13:55:54 +0000 (15:55 +0200)]
build-appliance: provides git proxified acces

Inside Build Appliance, external repos can be
accesed using the git protocol through a proxy

Fixes [YOCTO #3175]

(From OE-Core rev: 938bfe375b6fca3c9281f3c906fba1aca6677aca)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agomesa-dri: upgrade -git version to current master
Ross Burton [Thu, 6 Dec 2012 12:23:33 +0000 (12:23 +0000)]
mesa-dri: upgrade -git version to current master

license.html was reformated so the checksum changed.

The GLSL compiler can be built using CC_FOR_BUILD, so we don't need
mesa-dri-glsl-native.

Update common packaging to include libdricore and the skeleton libgles3, and
remove the driver .la files.

mesa-git/uclibc.patch isn't applied, remove.

x32 support is integrated into mklib, drop 0003-fix-for-x32.patch.

uclibc is checked for upstream, drop 0001-Compile-with-uclibc.patch.

(From OE-Core rev: 8060a24c679ba17aea48bdeb4b8cfd460885f65f)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agomesa: upgrade to 8.0.5
Ross Burton [Thu, 6 Dec 2012 12:23:32 +0000 (12:23 +0000)]
mesa: upgrade to 8.0.5

Licence checksum change, use an upstream source file instead of a generated
file: we were previously checksumming the Bison license.

(From OE-Core rev: b85388ad0b6c3e7176295949d88c504abf0ba5cc)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agomesa: common packaging cleanup
Ross Burton [Thu, 6 Dec 2012 12:23:31 +0000 (12:23 +0000)]
mesa: common packaging cleanup

mesa-dri ships the configuration file in mesa 9, so ship that and don't claim
it's empty.   Clean up libegl and libgbm packaging.

(From OE-Core rev: 22549ed65f0e413d7f4375e5eba7c86302a46acd)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agomtd-utils:fix corrupt cleanmarker with flash_erase -j command
Chunrong Guo [Thu, 6 Dec 2012 06:27:37 +0000 (00:27 -0600)]
mtd-utils:fix corrupt cleanmarker with flash_erase -j command

     *Flash_erase -j should fill discrete freeoob areas with required bytes
     of JFFS2 cleanmarker in jffs2_check_nand_cleanmarker(). Not just fill
     the first freeoob area.

(From OE-Core rev: c8e3fe46df84e782cc1becc4c5a8cd954ef85f34)

Signed-off-by: Chunrong Guo <b40290@freescale.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agonativesdk-qt4-tools: fix do_configure to be reentrant
Martin Jansa [Wed, 5 Dec 2012 21:59:02 +0000 (22:59 +0100)]
nativesdk-qt4-tools: fix do_configure to be reentrant

* without = it can add g++ prefix multiple time when you reexecute do_configure (e.g. after failure)

(From OE-Core rev: 4f891901bcf7be95cebca1a7296e7ea656adee74)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoqt4: upgrade to 4.8.4
Martin Jansa [Wed, 5 Dec 2012 21:59:01 +0000 (22:59 +0100)]
qt4: upgrade to 4.8.4

* changes in licenses are only s/Nokia/Digia/

(From OE-Core rev: 5d898695ab3ce368a1d1f2066bb980ee829ae077)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopackage.bbclass: make do_split_packages handle non-existent root directories
Ross Burton [Thu, 6 Dec 2012 12:53:14 +0000 (12:53 +0000)]
package.bbclass: make do_split_packages handle non-existent root directories

This function has different behaviour if the split directory doesn't exist
depending on the recursive argument: non-recursive uses os.listdirs which throws
an exception, recursive uses os.walk which doesn't.

do_split_packages should silently handle non-existent directories because it's
mainly used for plugin directories, which may end up being empty though changing
the distro configuration (for example, connman without wifi distro feature).

So, add an early exit if the split root doesn't exist.

(From OE-Core rev: 937101e3fdd6afd00f6f8a8be411a67110c4ae78)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobase/license.bbclass: handle multiple INCOMPATIBLE_LICENSEs
Andy Ross [Thu, 29 Nov 2012 19:08:47 +0000 (11:08 -0800)]
base/license.bbclass: handle multiple INCOMPATIBLE_LICENSEs

Allow INCOMPATIBLE_LICENSE to be a whitespace-separated list of
incompatible license strings and/or glob patterns.

Also fix wildcarding: the string in INCOMPATIBLE_LICENSE was clearly
intended to match with wildcards (e.g. "*GPLv3" to match both GPLv3
and LGPLv3), but this was broken because of a bug in return_spdx()
which would die with a runtime error when there was no SPDXLICENSEMAP
entry for the string.

(From OE-Core rev: 8a8d00f4c9f7fe5f9f173b43b86cd18a6c75435c)

Signed-off-by: Andy Ross <andy.ross@windriver.com>
Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopopulate_sdk_deb.bbclass: put back INSTALL_PACKAGES_NORMAL_DEB
Laurentiu Palcu [Thu, 6 Dec 2012 09:52:40 +0000 (11:52 +0200)]
populate_sdk_deb.bbclass: put back INSTALL_PACKAGES_NORMAL_DEB

This commit (0b0674ebcd8a51783e4bb38e3ead3e419dbba376) was also changing
the populate_sdk_deb.bbclass but the deb backend does not support
multilib just yet. So, when compiling the standalone toolchain tarball,
we ended up with an empty tarball if the deb package manager was chosen.

Reverting the deb part until the multilib support is added to deb.

[YOCTO #3532]

(From OE-Core rev: 34baee37caccced13fb26f446b865c9f25edf339)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agohob-toolchain: Update for removal of dummy classes
Richard Purdie [Tue, 11 Dec 2012 12:35:48 +0000 (12:35 +0000)]
hob-toolchain: Update for removal of dummy classes

Without this hob will fail to parse.

(From OE-Core rev: b63ba9104584c5aa15792fcfe706d59d39235ad0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: Revert "BBHandler: Ensure parser state engine is correctly reset for new...
Richard Purdie [Fri, 7 Dec 2012 18:08:42 +0000 (18:08 +0000)]
bitbake: Revert "BBHandler: Ensure parser state engine is correctly reset for new parsing"

This reverts commit 3dc5e896a97154914cee6c47900e3bb2a2627cdb.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobase.bbclass: Remove implicit dependency on license.bbclass
Richard Purdie [Thu, 6 Dec 2012 11:55:20 +0000 (11:55 +0000)]
base.bbclass: Remove implicit dependency on license.bbclass

(From OE-Core rev: 28c06a32201351894546b3095f80daa84acf7b39)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agort-tests: added missing dependencies in Makefile
Jackie Huang [Fri, 7 Dec 2012 05:54:13 +0000 (13:54 +0800)]
rt-tests: added missing dependencies in Makefile

The following targets missed dependency on librttest.a:
pi_stress
rt-migrate-test
hackbench

[YOCTO #3549]

(From OE-Core rev: 44bdd58494aeb7cef14b7931ba6f6628849f2c19)

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: BBHandler: Ensure parser state engine is correctly reset for new parsing
Richard Purdie [Fri, 7 Dec 2012 13:10:51 +0000 (13:10 +0000)]
bitbake: BBHandler: Ensure parser state engine is correctly reset for new parsing

The classes variable in particular could be in an odd state if parsing of a
previous recipe had abruptly ended.

(Bitbake rev: 3dc5e896a97154914cee6c47900e3bb2a2627cdb)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agorootfs_ipk/package_ipk: Simplify opkg commandline option variables
Richard Purdie [Thu, 6 Dec 2012 11:38:59 +0000 (11:38 +0000)]
rootfs_ipk/package_ipk: Simplify opkg commandline option variables

The current maze of IPKG_ARGS variables is hard to understand and worse,
not even used in some places. This simplifies the code and specifies the
options in one place.

(From OE-Core rev: 5e482b278c3775b0acecc621cf2d3b90ee516f26)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoimage/populate_sdk: Simplify imagetest inclusion and drop dummy class file
Richard Purdie [Thu, 6 Dec 2012 11:37:49 +0000 (11:37 +0000)]
image/populate_sdk: Simplify imagetest inclusion and drop dummy class file

Having to include some dummy class is suboptimal and we no longer need to
do this. Also move this check to populate_sdk_base since we then don't
need to include it in toolchains specifically.

(From OE-Core rev: 2ee979ff71d31e497be856ea1443667c6d799d34)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobootimg: Remove now unnecessary dummy inherit usage
Richard Purdie [Thu, 6 Dec 2012 11:36:39 +0000 (11:36 +0000)]
bootimg: Remove now unnecessary dummy inherit usage

bitbake now supports empty expansions for inherit usage so we can simplify
these statements.

(From OE-Core rev: 77cd2ef06bdf701b047c4f8c817b364b8b4b8837)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolicense.bbclass: Including locale packages
Elizabeth Flanagan [Thu, 6 Dec 2012 20:01:10 +0000 (12:01 -0800)]
license.bbclass: Including locale packages

As locale packages are installed on the image, we should
be including them in the package/license manifest.

This ensures that the manifests are accurate and complete.

[ YOCTO #2461 ]

(From OE-Core rev: 4578b708ada1ffb99ab542da793977ffb90a9b50)

Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoupdate-alternatives.bbclass: Add missing runtime dependency
Mark Hatle [Thu, 6 Dec 2012 20:51:13 +0000 (14:51 -0600)]
update-alternatives.bbclass: Add missing runtime dependency

When using update-alternatives, there should be a runtime dependency on
${VIRTUAL-RUNTIME_update-alternatives}.  Without this, it's possible to
get into a situation where the package is not installable.

(If VIRTUAL-RUNTIME_update-alternatives is not defined, no requirement
is added.)

(From OE-Core rev: 8a4c5765fb56d17c3d82ff6db47863e934c9fcbe)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosstate: fix typo
Saul Wold [Thu, 6 Dec 2012 19:48:16 +0000 (19:48 +0000)]
sstate: fix typo

(From OE-Core rev: 17d27fd6e2750e6455f656159da56c3350c4b3cd)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosstate: fix typo
Richard Purdie [Thu, 6 Dec 2012 16:09:12 +0000 (16:09 +0000)]
sstate: fix typo

(From OE-Core rev: 10cceb3854acd5c619d81011bac02da11ed580d2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogit: fix unpackaged python files
Martin Jansa [Wed, 5 Dec 2012 19:59:51 +0000 (20:59 +0100)]
git: fix unpackaged python files

* EXTRA_OEMAKE is needed after inheriting autotools which sets it to empty
* fixes:
git-1.7.7: git: Files/directories were installed but not shipped
  /usr/lib64
  /usr/lib64/python2.7
  /usr/lib64/python2.7/site-packages
  /usr/lib64/python2.7/site-packages/git_remote_helpers-0.1.0-py2.7.egg-info
  /usr/lib64/python2.7/site-packages/git_remote_helpers
  /usr/lib64/python2.7/site-packages/git_remote_helpers/__init__.py
  /usr/lib64/python2.7/site-packages/git_remote_helpers/util.pyc
  /usr/lib64/python2.7/site-packages/git_remote_helpers/__init__.pyc
  /usr/lib64/python2.7/site-packages/git_remote_helpers/util.py
  /usr/lib64/python2.7/site-packages/git_remote_helpers/git
  /usr/lib64/python2.7/site-packages/git_remote_helpers/git/__init__.py
  /usr/lib64/python2.7/site-packages/git_remote_helpers/git/importer.pyc
  /usr/lib64/python2.7/site-packages/git_remote_helpers/git/non_local.pyc
  /usr/lib64/python2.7/site-packages/git_remote_helpers/git/exporter.py
  /usr/lib64/python2.7/site-packages/git_remote_helpers/git/git.py
  /usr/lib64/python2.7/site-packages/git_remote_helpers/git/repo.py
  /usr/lib64/python2.7/site-packages/git_remote_helpers/git/__init__.pyc
  /usr/lib64/python2.7/site-packages/git_remote_helpers/git/importer.py
  /usr/lib64/python2.7/site-packages/git_remote_helpers/git/exporter.pyc
  /usr/lib64/python2.7/site-packages/git_remote_helpers/git/repo.pyc
  /usr/lib64/python2.7/site-packages/git_remote_helpers/git/git.pyc
  /usr/lib64/python2.7/site-packages/git_remote_helpers/git/non_local.py

* fixes [YOCTO #3344]

(From OE-Core rev: 8231e9d455c71fe1bd3c4776985ff775c6af3f6d)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopopulate_sdk_base, adt_installer_internal: fix issue on older distributions
Laurentiu Palcu [Thu, 6 Dec 2012 13:16:32 +0000 (15:16 +0200)]
populate_sdk_base, adt_installer_internal: fix issue on older distributions

This patch addresses an SDK installer issue on older distributions if
the installation takes place in another directory than the default one. In
fact, is all about the 'file' utility version used for determining if a
file is a text file. For example, for a perl script, newer 'file' versions
return:
"...script, ASCII text executable"
while older versions return:
"...script text executable"
Hence the regex pattern didn't match the scripts.

Also the patch contains two unrelated minor fixes:
 * return an exit code of 1 instead of -1 when installation machine is
   not supported. That because on an older distribution we also get this
   error message: "exit: 9: Illegal number: -1";
 * remove unnecessary $SUDO_EXEC prefix to grep;

[YOCTO #3538]

(From OE-Core rev: e7e23a1e5aae4028e21e37ec09e9d431a9adfbcb)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobuildhistory_analysis: fix broken list length checks
Paul Eggleton [Thu, 6 Dec 2012 11:11:51 +0000 (11:11 +0000)]
buildhistory_analysis: fix broken list length checks

Fix erroneous use of .count instead of len(), which unfortunately is not
reported by Python as an error in a numeric comparison.

(From OE-Core rev: 63fd76190f503660119dcc8efdcfc6fbff406c26)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosstate: fetch .siginfo files from SSTATE_MIRROR
Saul Wold [Tue, 4 Dec 2012 00:32:44 +0000 (00:32 +0000)]
sstate: fetch .siginfo files from SSTATE_MIRROR

This would be useful for doing siginfo compares to understand why a build
is not reusing something when using SSTATE_MIRROR. No error will be reported
if it fails to find the .siginfo file

[YOCTO #2898]

[RP: Small tweaks]
(From OE-Core rev: 6d86690330f0d43839b904fced4b4b02cb27b8c6)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoutil-linux: Package systemd files correctly
Khem Raj [Mon, 24 Sep 2012 02:38:32 +0000 (02:38 +0000)]
util-linux: Package systemd files correctly

2.21 has some linking issues with gold on uclibc where mount
program does not work. Its some sort of underlinking.

2.22 did not solve that problem completely either

(From OE-Core rev: 61e7de12a8e735c36ca3285f6a77d7b7cb863207)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoAdded regex functionality to distrodata.bbclass
Andrei Dinu [Wed, 5 Dec 2012 14:08:11 +0000 (14:08 +0000)]
Added regex functionality to distrodata.bbclass

In order to make the PRS use regexes for the versioning
of packages who have the distros on sourceforge and
for those who have faulty reports.

(From OE-Core rev: 2fe52b23c643d2125867dc9fcc9c01a184a9e238)

Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoutil-linux: rebase remove-lscpu patch
Saul Wold [Wed, 5 Dec 2012 22:43:53 +0000 (14:43 -0800)]
util-linux: rebase remove-lscpu patch

(From OE-Core rev: b7c343fc4ae8c65cdc3e12e5b75257e3780bd2a0)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoqt4-native & ghostscript: update upstream status for their patches
Chen Qi [Wed, 5 Dec 2012 02:19:04 +0000 (10:19 +0800)]
qt4-native & ghostscript: update upstream status for their patches

Update the upstream status for patches of long building path.

(From OE-Core rev: 58b83f7dad8f0d252f8028349d734987081b7507)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agozip: Remove QA warnings: No GNU_HASH in the elf binary
Muhammad Shakeel [Wed, 5 Dec 2012 15:02:10 +0000 (20:02 +0500)]
zip: Remove QA warnings: No GNU_HASH in the elf binary

Update the LFLAGS1 in the Makefile to remove warnings:
QA Issue: No GNU_HASH in the elf binary

(From OE-Core rev: 3b41513a63df6636b617eff09ff1ea9574c5e6f0)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Muhammad Shakeel <muhammad_shakeel@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobabeltrace: upgrade to 1.0.0
Constantin Musca [Wed, 5 Dec 2012 12:57:35 +0000 (14:57 +0200)]
babeltrace: upgrade to 1.0.0

License checksum change due to diff:
15a16,22
>
> * LGPLv2.1
>
> The file include/babeltrace/list.h is licensed under LGPLv2.1. It only
> contains trivial static inline functions and macros, and, therefore,
> including it does not make babeltrace a derivative work on this header.
> Please refer to the LGPLv2.1 license for details.

(From OE-Core rev: 275ea500809e70ba2e432b950311678b2ff4aef6)

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Radu Moisan <radu.moisan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoliburcu: upgrade to 0.7.4
Constantin Musca [Wed, 5 Dec 2012 12:57:36 +0000 (14:57 +0200)]
liburcu: upgrade to 0.7.4

License checksum change due to diff:
3c3
< May 10, 2009
> May 15, 2012
59a60,65
>
> * GPLv3 (or later)
>
> The following build-related macro is under GPLv3 (or later):
>
> m4/ax_tls.m4

(From OE-Core rev: dfff77b22880a5078dd1b7fe0d3b4d0145f28545)

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Radu Moisan <radu.moisan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoprs: use the PRServer to replace the BB_URI_LOCALCOUNT functionality
Constantin Musca [Wed, 5 Dec 2012 08:58:58 +0000 (10:58 +0200)]
prs: use the PRServer to replace the BB_URI_LOCALCOUNT functionality

- adapt the PRServer to generate an incremental number for every revision set
associated with a (PN, PV)
- use one incrementing value rather than several
- PV becomes 0.1+gitAUTOINC+deadbeefdecafbad_decafbaddeadbeef
- if PV contains 'AUTOINC' set PKGV to the same thing with AUTOINC replaced
with the "auto PR" value
- if the PRServer isn't running replace AUTOINC with 0 (no package feeds, but usual
image creation would work)
- use the PR table with "AUTOINC-${PV-without-SRCREVs}" as key
- modify prexport/primport to address the generated srcrev entries
- this patch addresses the following proposal:
http://lists.linuxtogo.org/pipermail/bitbake-devel/2012-November/003878.html

(From OE-Core rev: b27b438221e16ac3df6ac66d761b77e3bd43db67)

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agonasm: upgrade to 2.10.05
Constantin Musca [Wed, 5 Dec 2012 10:40:19 +0000 (12:40 +0200)]
nasm: upgrade to 2.10.05

(From OE-Core rev: eebd134989b32577cb1e59897de25c320e61f03c)

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibconvert-asn1-perl: upgrade to 0.26
Constantin Musca [Wed, 5 Dec 2012 10:40:37 +0000 (12:40 +0200)]
libconvert-asn1-perl: upgrade to 0.26

License md5sum change due to:
- README is removed
- README.md contains license info

(From OE-Core rev: 3c93065cfb53edea920469c8bdfde1dcbf61ff2e)

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibaio: Remove QA warning: No GNU_HASH in the elf binary
Muhammad Shakeel [Wed, 5 Dec 2012 11:40:06 +0000 (16:40 +0500)]
libaio: Remove QA warning: No GNU_HASH in the elf binary

Update the LINK_FLAGS in the Makefile to remove warning:
QA Issue: No GNU_HASH in the elf binary

(From OE-Core rev: 07501f14121a1882f26de66b4ca991392ab45dff)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Muhammad Shakeel <muhammad_shakeel@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoquicky: tidy up inherit
Paul Eggleton [Wed, 5 Dec 2012 13:28:33 +0000 (13:28 +0000)]
quicky: tidy up inherit

* inherit qt4x11 which inherits qmake2 and sets DEPENDS already.
* Remove pkgconfig from inherit since quicky doesn't actually use
  pkg-config nor does it produce a .pc file

(From OE-Core rev: 62db8745c1b907ebec222751cd9cb174dd5f2f96)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopython-smartpm: don't try to remove /usr/share/share twice
Martin Jansa [Wed, 5 Dec 2012 16:07:26 +0000 (17:07 +0100)]
python-smartpm: don't try to remove /usr/share/share twice

* distutils.bbclass now removes that directory

(From OE-Core rev: 5990bda7e0c21629ac5ecaa2ba9783af5a77a125)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Conflicts:
meta/recipes-devtools/python/python-smartpm_1.4.1.bb
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoat: change initscript dependency from build time to runtime
Martin Jansa [Sat, 1 Dec 2012 23:29:05 +0000 (00:29 +0100)]
at: change initscript dependency from build time to runtime

* doesn't look like build dependency

(From OE-Core rev: de02e36ff17a44ce8cf33c59a78360cb2313f016)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoclasses/binconfig.bbclass: Allow packages to add sed expressions
Holger Freyther [Thu, 27 Dec 2007 11:46:52 +0000 (11:46 +0000)]
classes/binconfig.bbclass: Allow packages to add sed expressions

packages/apr/apr-util,apr use this, but it not been in the class

patch the config files to be 'installed' and not point to the build
and source-directory.

From OE-Classic:
http://git.openembedded.org/openembedded/commit/?id=030992bdd415c8892cf2925cf6fbe888226be046

[YOCTO #3267]

Orignal Author: Holger Freyther <zecke@selfish.org>
(From OE-Core rev: ab56f1063a666df5faddd97f44758c8ae378e51c)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibpcap: PR bump because of PU for libnl
Mihai Prica [Tue, 4 Dec 2012 16:50:31 +0000 (18:50 +0200)]
libpcap: PR bump because of PU for libnl

(From OE-Core rev: ebcd909451ae6a2d00b83f6aa7f28794355a6935)

Signed-off-by: Mihai Prica <mihai.prica@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>