scm/bb/tizen-distro.git
10 years agopython3: sync module dependencies from 2.7
Paul Eggleton [Thu, 20 Mar 2014 17:41:39 +0000 (17:41 +0000)]
python3: sync module dependencies from 2.7

These have been added recently to 2.7 but were missing in the 3.3
script/inc file.

(From OE-Core rev: 4669afac1004a89e6b87ec46136ca3e7448700d4)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogenerate-manifest-3.3.py: sync descriptions with 2.7 version
Paul Eggleton [Thu, 20 Mar 2014 17:23:08 +0000 (17:23 +0000)]
generate-manifest-3.3.py: sync descriptions with 2.7 version

(From OE-Core rev: 081bc11c347d11d285f2948127bca81a285ada84)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibsdl: add missing libglu dependency for openGL
Koen Kooi [Fri, 14 Mar 2014 14:31:27 +0000 (15:31 +0100)]
libsdl: add missing libglu dependency for openGL

Configure checks for glu.h to determine if openGL is available.

(From OE-Core rev: a7641a2bc3f3f7e661f71b17f91382fb9a1cde55)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agokernel-arch.bbclass: add arm64 support to U-Boot architecture map
Fathi Boudra [Thu, 20 Mar 2014 17:49:35 +0000 (19:49 +0200)]
kernel-arch.bbclass: add arm64 support to U-Boot architecture map

to define UBOOT_ARCH, we map kernel architectures to U-Boot architectures.
In the case of arm64 kernel, we should map to arm U-boot architecture.

This patch add the exception rule to the map_uboot_arch function.

(From OE-Core rev: 0b891265716c414ade29d587fc1a3c4ea7beadbe)

Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agorunqemu: Add option for custom BIOS directory
Ricardo Neri [Thu, 20 Mar 2014 19:35:33 +0000 (12:35 -0700)]
runqemu: Add option for custom BIOS directory

Add support to specify a directory for custom BIOS, VGA BIOS and
keymaps as supported by qemu (-L option). Even though this can be
done through qemuparams, having this option provides better user
experience by not having to specify a long and cluttered path along
with other qemuparams that the user might want to specify.

This new options assumes first that the path provided is relative to
OECORE_NATIVE_SYSROOT and will check whether it exists before proceeding.
If not, it will treat the provided path as absolute. This provides
the user flexibility to use BIOS binaries generated inside or outside
the OE build environment.

(From OE-Core rev: d302f5683dd736ac4cd4b601a046d22000d41e68)

Signed-off-by: Ricardo Neri <ricardo.neri-calderon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobase-files: use /dev/root in /etc/fstab for systemd support
Jonathan Liu [Wed, 19 Mar 2014 23:05:04 +0000 (10:05 +1100)]
base-files: use /dev/root in /etc/fstab for systemd support

systemd does not recognize "rootfs" in /etc/fstab so the root
filesystem is not checked. As a result, the following message
is logged by journalctl:
systemd-fstab-generator[68]: Checking was requested for "rootfs", but it
is not a device

Changing "rootfs" to "/dev/root" in /etc/fstab allows systemd to
check the root filesystem when the kernel is booted with the root
filesystem mounted read-only.

[YOCTO #5950]

(From OE-Core rev: c509f948d9c575c45af8c5ed1cb1692c0ca5dade)

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agotclibc-uclibc: Changing assignment to conditional variable assignment
Andrey Belous [Wed, 12 Mar 2014 18:57:03 +0000 (14:57 -0400)]
tclibc-uclibc: Changing assignment to conditional variable assignment

Setting of a variable PREFERRED_PROVIDER_virtual/libc only if it doesn't have a value

(From OE-Core rev: d0e9f74e3f1322b58b78a9bc82f299d6b9da036f)

Signed-off-by: Andrey Belous <abelous@broadcom.com>
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopulseaudio: Upgrade 4.0 -> 5.0
Khem Raj [Tue, 18 Mar 2014 17:04:44 +0000 (10:04 -0700)]
pulseaudio: Upgrade 4.0 -> 5.0

bluetooth-proximity has been removed in 5.0

pulseaudio now differentiates between bluez4 and bluez5

(From OE-Core rev: c53d3a4f1f2d42437dc2985fe109039c843aa4dc)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosstate: list missing files for toaster
Alexandru DAMIAN [Mon, 17 Mar 2014 15:04:09 +0000 (15:04 +0000)]
sstate: list missing files for toaster

Toaster needs to record the attempts to restore
setscene tasks that don't have a sstate file.

We build a list of tasks for which we can't find an
sstate file, and if we're running under Toaster data
collection, we send it off with a MetadataEvent.

(From OE-Core rev: 109ae6c5c981610ab0d63d2c83dcd50b2e93276b)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agotoaster.bbclass: read the data needed for license manifest path
Cristiana Voicu [Mon, 17 Mar 2014 15:04:08 +0000 (15:04 +0000)]
toaster.bbclass: read the data needed for license manifest path

The license.manifest file is located in DEPLOY_DIR_IMAGE/licenses/
IMAGE_NAME dir. The data needed is collected after rootfs task.

[YOCTO #5649]
(From OE-Core rev: ff52c5ba15433f2b1e9723bf845e39da918ad59b)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogcc-runtime: Build libatomic
Cosmin Paraschiv [Fri, 7 Mar 2014 13:39:04 +0000 (15:39 +0200)]
gcc-runtime: Build libatomic

GCC 4.8 includes a new runtime library, libatomic, which supports
atomic operations not supported by hardware or the OS. Build it,
so other packages can link against it, if needed.

(From OE-Core rev: a4dd6dfccee0be50d3addce3dd1bf903e051ad5a)

Signed-off-by: Cosmin Paraschiv <cosmin.paraschiv@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoimage_types.bbclass: use 4096 instead of 8192 bytes-per-inode
Robert Yang [Wed, 19 Mar 2014 09:23:53 +0000 (17:23 +0800)]
image_types.bbclass: use 4096 instead of 8192 bytes-per-inode

The image not correctly created if 'ptest-pkgs' is in IMAGE_FEATURES,
this is because there is no free inode left. We can use 4096 instead of
8192 bytes-per-inode to fix the problem, and most of the distributions
us 4096, such as Ubuntu, Suse, Fedora and CentOS.

There are another problems:
* There are error message when there is no free inode left if we run the
  mke2fs command manually, but they are not in log.do_rootfs.

* The image generation doesn't stop when error happens because mke2fs
  doesn't return failed for this case.

Will fix them in other threads.

[YOCTO #5957]

(From OE-Core rev: 09ab3a00598d06e3a1bf871811c2ac37359c74da)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobuildhistory.bbclass: create proper dependency files for SDK
Laurentiu Palcu [Tue, 18 Mar 2014 11:19:20 +0000 (11:19 +0000)]
buildhistory.bbclass: create proper dependency files for SDK

The old functions were calling the list_installed_packages() wrapper
function that only listed the packages in an image rootfs. Even for
target/host SDK. Also, a python crash was possible if 'bitbake -c
populate_sdk core-image-*' was called without calling 'bitbake
core-image-*' first. That's because the wrapper was always looking into
the image rootfs...

This commit fixes the problem and calls the right wrapper for image/sdk.

(From OE-Core rev: c1b1a6eb448aa1548e2ec669a9304b5a25bd8ba5)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoimage.bbclass, license.bbclass: adjust the name of list_installed_packages()
Laurentiu Palcu [Tue, 18 Mar 2014 11:17:09 +0000 (11:17 +0000)]
image.bbclass, license.bbclass: adjust the name of list_installed_packages()

The old wrapper got renamed to image_list_installed_packages().

(From OE-Core rev: 118a2a44bbe5ed2e9bbd0012970686be454e5d4c)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agorootfs.py, sdk.py: adjust/create the wrappers for creating installed packages list
Laurentiu Palcu [Tue, 18 Mar 2014 11:09:56 +0000 (11:09 +0000)]
rootfs.py, sdk.py: adjust/create the wrappers for creating installed packages list

Since we created a new PkgsList object that will deal with listing the
installed packages in a rootfs, use the new class both for images and
SDKs in the wrapper functions.

The old list_installed_packages() wrapper listed only the packages inside
an image rootfs. It didn't deal with target/host SDK rootfs's.

(From OE-Core rev: 8fc18e67504db5b6df3fdd239c6187a71af52656)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopackage_manager.py: create separate class for installed packages listing
Laurentiu Palcu [Tue, 18 Mar 2014 11:03:51 +0000 (11:03 +0000)]
package_manager.py: create separate class for installed packages listing

This commit creates a new class that has the only purpose to generate
various listings of installed packages in the rootfs.

Basically, the methods involved in listing the installed packages, that
were part of each backend PM class implementation, were moved to this
new class.

This change avoids instantiating a new PM object just to get the list of
installed packages in a certain rootfs.

(From OE-Core rev: a7290ed13378826723d1edc7e828eab848eaad10)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolinux-dummy: provide kernel-modules (empty) package
Matthieu Crapet [Wed, 19 Mar 2014 15:46:09 +0000 (16:46 +0100)]
linux-dummy: provide kernel-modules (empty) package

Like it is done in kernel.bbclass

(From OE-Core rev: 5df4e63e747028c3ce89f1f9ae01a766ae34dc3d)

Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocogl-1.0 : Update to 1.16.2 release
Prabhu Sundararaj [Wed, 19 Mar 2014 16:24:42 +0000 (13:24 -0300)]
cogl-1.0 : Update to 1.16.2 release

(From OE-Core rev: 3eb2435a7c7c8108cb73945d5003a9fc7455befd)

Signed-off-by: Prabhu Sundararaj <prabhu.sundararaj@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogsettings-desktop-schemas: Updated to 3.10.1.bb
Prabhu Sundararaj [Wed, 19 Mar 2014 16:24:40 +0000 (13:24 -0300)]
gsettings-desktop-schemas: Updated to 3.10.1.bb

(From OE-Core rev: 0bbea90252b93d7e36527dd0db63597a3d4c0aa1)

Signed-off-by: Prabhu Sundararaj <prabhu.sundararaj@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocairo: Add 'egl' and 'glesv2' PACKAGECONFIG options
Otavio Salvador [Wed, 19 Mar 2014 16:24:41 +0000 (13:24 -0300)]
cairo: Add 'egl' and 'glesv2' PACKAGECONFIG options

(From OE-Core rev: f405f6983b4f36db4ec1b89c30b1082aec2545f8)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoscripts/cleanup-workdir: Fix a comment typo
Otavio Salvador [Wed, 19 Mar 2014 16:24:39 +0000 (13:24 -0300)]
scripts/cleanup-workdir: Fix a comment typo

 s/Romve/Remove/

(From OE-Core rev: 5f8924a8f76f314e3741dad6ab567452ae117114)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoe2fsprogs: return error when failed to populate fs
Robert Yang [Thu, 20 Mar 2014 06:08:43 +0000 (14:08 +0800)]
e2fsprogs: return error when failed to populate fs

We need return retval when "mke2fs -d" failed, otherwise the "$?" would
be 0 which is misleading.

[YOCTO #6011]

(From OE-Core rev: 46896b601c1c93e276954b674aa30b8b4dc4f611)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoalsa-tools: fix build when x11 and gtk+ not available
Simone Agresta [Tue, 18 Mar 2014 15:27:30 +0000 (15:27 +0000)]
alsa-tools: fix build when x11 and gtk+ not available

 Updated patch to work with alsa-tools version 1.0.27

(From OE-Core rev: baada8ef412478450fa0ab234b1a3151bdfe7ac4)

Signed-off-by: Simone Agresta <simone.agresta@bticino.it>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoperf: add libexec and traceevent to packages
Bruce Ashfield [Wed, 12 Mar 2014 20:30:40 +0000 (20:30 +0000)]
perf: add libexec and traceevent to packages

Recent versions of perf may install files into /usr/libexec/perf-core and in
/usr/lib/traceevent. To avoid packaging QA errors, we add these two
directories to the FILES variables.

We also add: INHIBIT_PACKAGE_DEBUG_SPLIT="1" to avoid the following issue
(due to a trailing / being removed):

   ERROR: debugedit failed with exit code 256
   ...
   debugedit: canonicalization unexpectedly shrank by one character

And finally, we must ensure that the traceevent libraries are installed to
the proper multilib library path. If building some multlibs, the incorrect
library path will be selected by perf, since it triggers via: ifeq
($(ARCH),x86_64) (or similiar mechanism per arch).

In a 32 bit build, with a 64 bit multilib, the arch won't match and the
detection of a 64 bit build (and library) are not exected. To ensure that
libraries are installed to the correct location, we can make the substitution
in the config/Makefile. For non multilib builds, this has no impact.

(From OE-Core rev: c1b5a262c0201faf2c6bf545d6acb32dfe383ba3)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agofontcache.bbclass: add fontconfig-utils runtime dependency
Matthieu Crapet [Thu, 20 Mar 2014 09:18:38 +0000 (10:18 +0100)]
fontcache.bbclass: add fontconfig-utils runtime dependency

In an image recipe, you can get a warning, for example:
WARNING: The postinstall intercept hook 'update_font_cache' failed (exit code: 1)! See log for details!
WARNING: The postinstalls for the following packages will be postponed for first boot: ttf-dejavu-sans-mono

(because /usr/bin/fc-cache is missing)

In OE-core, rdepend is correctly done in each recipe:
- ttf-fonts/liberation-fonts
- ttf-fonts/ttf-bitstream-vera

In meta-OE, rdepend is not done but packagegroup-fonts-truetype.bb includes fontconfig-utils:
- ttf-fonts/ttf-arphic-uming
- ttf-fonts/ttf-dejavu
- ttf-fonts/ttf-droid
- ttf-fonts/ttf-gentium
- ttf-fonts/ttf-hunkyfonts
- ttf-fonts/ttf-inconsolata
- ttf-fonts/ttf-liberation
- ttf-fonts/ttf-mplus
- ttf-fonts/ttf-sazanami
- ttf-fonts/ttf-ubuntu-font-family
- ttf-fonts/ttf-wqy-zenhei

(From OE-Core rev: 306335b13fedc18cf03da1c2a68e97c01eb59075)

Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogenext2fs: remove it
Robert Yang [Thu, 20 Mar 2014 09:37:41 +0000 (17:37 +0800)]
genext2fs: remove it

Remove genext2fs since we don't use it anymore, it can't support
ext4 well, either. We have used "mke2fs -d" to instead of it.

[YOCTO #6013]

(From OE-Core rev: ff5666bc460520aef6105e117d5431c05fd9f55b)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogenerate-manifest-2.7.py: sync with python-2.7-manifest.inc
Paul Eggleton [Thu, 20 Mar 2014 19:24:35 +0000 (19:24 +0000)]
generate-manifest-2.7.py: sync with python-2.7-manifest.inc

Some changes were made earlier by me to SUMMARY values in
python-2.7-manifest.inc without changing the manifest script.

(From OE-Core rev: 45779941cec4f53a8ca7f8350402e5d9e866c916)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogenerate-manifest-*.py: set SUMMARY instead of DESCRIPTION
Paul Eggleton [Thu, 20 Mar 2014 19:24:34 +0000 (19:24 +0000)]
generate-manifest-*.py: set SUMMARY instead of DESCRIPTION

Typically what's being set here is a short description, so it makes much
more sense to set SUMMARY.

(From OE-Core rev: d3941c88e2639637a8bc0b2c31c1d892d2ae40e3)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopython: add python-mmap to python-multiprocessing RDEPENDS
Paul Eggleton [Thu, 20 Mar 2014 19:24:33 +0000 (19:24 +0000)]
python: add python-mmap to python-multiprocessing RDEPENDS

The multiprocessing module needs the mmap module. We got away with not
having this for the build appliance because python-mmap was added to
packagegroup-self-hosted, but this is the proper place to have it.

(From OE-Core rev: 1c031c627a362b3f18ffa2e9caeb6cfb299b9948)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agox264: add perlnative to inherit
Paul Eggleton [Thu, 20 Mar 2014 19:19:39 +0000 (19:19 +0000)]
x264: add perlnative to inherit

perl is run as part of the configure process, so we should ensure that
it's available.

Should fix [YOCTO #5768].

(From OE-Core rev: ff7071418217c343276c22c7e1a053672f92639b)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agouseradd{-static}: Ignore useradds on nativesdk
Mark Hatle [Thu, 20 Mar 2014 19:19:02 +0000 (14:19 -0500)]
useradd{-static}: Ignore useradds on nativesdk

The code was supposed to ignore both native and nativesdk operations when
using the useradd and useradd-static code.  However, somewhere along the way
the code was dropped.  This didn't cause any issues until someone enabled the
enforcing mode in the new useradd-static and various nativesdk packages
started to fail.

(From OE-Core rev: 6b9705892400a1da1fcd973c64d1911c7c4463f6)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: runqueue: Remove use of waitpid on worker processes
Richard Purdie [Wed, 19 Mar 2014 17:44:39 +0000 (17:44 +0000)]
bitbake: runqueue: Remove use of waitpid on worker processes

Use of waitpid on the worker processes is a bad idea since it conflicts
directly with subprocess internals. Instead use the poll() method
and returncode to determine if the process has exitted, if it has,
we can shut down the system.

This should resolve the hangs once and for all, famous last words.

(Bitbake rev: 60969cd62e21e7d4af161bf8504b7643a879c73f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoalsa-tools: fix build when x11 and gtk+ not available
Simone Agresta [Tue, 18 Mar 2014 11:25:38 +0000 (12:25 +0100)]
alsa-tools: fix build when x11 and gtk+ not available

 Updated patch to work with alsa-tools version 1.0.27

(From OE-Core rev: ef196434620522affc11b5b1b867386b5d14a4c3)

Signed-off-by: Simone Agresta <simone.agresta@bticino.it>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosgml-common-native: fix the generation of sgml-docbook.cat
Robert Yang [Tue, 18 Mar 2014 07:54:34 +0000 (15:54 +0800)]
sgml-common-native: fix the generation of sgml-docbook.cat

There would be build errors if multiple builds use the same SSTATE_DIR,
and the builds use the different versions' docbook-sgml-dtd-native, the
problems are: we have multiple versions docbook-sgml-dtd-native:

docbook-sgml-dtd-3.1-native
docbook-sgml-dtd-4.1-native
docbook-sgml-dtd-4.5-native

And they depend on sgml-common-native which installs the file
sysroot/etc/sgml/sgml-docbook.cat, this file is also included in the
sstate cache file (.tar.gz), but both the 3 versions
docbook-sgml-dtd-native may update the
sysroot/ect/sgml/sgml-docbook.cat, and it is a hardlink to
SYSROOT_DESTDIR/etc/sgml/sgml-docbook.cat, so the sgml-docbook.cat in
the sstate cache file may contain the
docbook-sgml-dtd-<version>-native's info, and there would be errors when
we mirror the sstate-cache to another build which uses a different
version.

Now we exclude the sgml-docbook.cat from the ${D}, and generate
sysroot/ect/sgml/sgml-docbook.cat dynamically will fix the problem, both
the sgml-common-native and docbook-sgml-dtd-<version>-native can update
it it correctly.

The similar to docbook-dsssl-stylesheets-native and openjade-native.

[YOCTO #5994]

(From OE-Core rev: 50683df81e1605ad7c03bc633aa55da7e97cfe62)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoexpect: fix do_install failure on SLED 11.2
Chen Qi [Tue, 18 Mar 2014 07:12:08 +0000 (15:12 +0800)]
expect: fix do_install failure on SLED 11.2

Previously we were encountering do_install failures on older machines
like SLED 11.2. These machines have relatively lower versions of glibc.

     tclsh8.6: /lib64/libc.so.6: version `GLIBC_2.14' not found

The above failure is due to that fact that we are using the fixline1
tcl script to install commands under the example directory. The purpose
of fixline1 is to ensure that the installed scripts begin with '#!/bin/sh'.
However, the scripts under the example directory have already got
the correct first line. That's why we don't need to modify anything and could
just copy them.

(From OE-Core rev: a8fe5fd62fd98e33180f3de700ed01f9efb74a50)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopackage_manager: Use apt-ftparchive for deb packages
Ricardo Ribalda Delgado [Mon, 17 Mar 2014 09:30:37 +0000 (09:30 +0000)]
package_manager: Use apt-ftparchive for deb packages

Use apt-ftparchive to create a Release file compatible with SecureApt.

apt-ftparchive is also a more efficient replacement of
dpkg-scanpackages:

root@neopili:~/curro/qtec/qt5022/build-qt5022-cesium/build/tmp/deploy/deb/bobcat
_64# time PSEUDO_UNLOAD=1 apt-ftparchive packages . >/tmp/kkk
real 0m26.873s
user 0m20.968s
sys 0m1.212s

root@neopili:~/curro/qtec/qt5022/build-qt5022-cesium/build/tmp/deploy/deb/bobcat
_64# time PSEUDO_UNLOAD=1 dpkg-scanpackages . >/tmp/kkk
dpkg-scanpackages: info: Wrote 6022 entries to output Packages file.
real 0m59.721s
user 0m16.668s
sys 0m11.164s

apt-ftparchive is not compatible with libpseudo. The calls to ftw()
returns the path in absolute format instead of relative. This
produces
wrong Packages and Release files.

ie:
MD5Sum:
d20227a958f6870137ce0e41b7b84307             1453
/home/ricardo/curro/qtec/qt5022/build-qt5022-cesium/build/tmp/deploy/deb/all/Release

This is why it is called with PSEUDO_UNLOAD.

(From OE-Core rev: c9899a7605f15f7f1ae30c4624d53c7da825b00a)

Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoopenssh: Update init file to add ED25519 Key generation
Saul Wold [Mon, 17 Mar 2014 18:32:18 +0000 (18:32 +0000)]
openssh: Update init file to add ED25519 Key generation

[YOCTO #5983]

(From OE-Core rev: c859f9a9f765654a292d57a2bfcea8b4f4c65087)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agotar: add knob whether acl.h are checked
Chong Lu [Mon, 17 Mar 2014 06:41:58 +0000 (06:41 +0000)]
tar: add knob whether acl.h are checked

Previously, it still was checked when there was no sys/acl.h in sysroots directory.
Add knob to decide whether acl.h are checked or not.

Fixed by using PACKAGECONFIG to check acl, with default disabled set.

(From OE-Core rev: ab0bbeeb0b0f6c3c5c7298929cfee757d7bbb111)

Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogettext-0.16.1: kill target m4 macros from sysroot
Christopher Larson [Mon, 17 Mar 2014 18:10:54 +0000 (18:10 +0000)]
gettext-0.16.1: kill target m4 macros from sysroot

Ever since the change to how aclocal files are copied (based on dependencies),
target m4 macros seem to more reliably be used in preference to native (which
they should), but in a non-gplv3 build, gettext is 0.16 while gettext-native is
0.18, causing a 0.16 po.m4 to be used with our 0.18 po/Makefile.in.in files,
causing at least some failed builds, including e2fsprogs.

Anyone inheriting gettext will have both gettext-native and gettext available,
and we don't want to use older macros from the target gettext in a non-gplv3
build, so kill them and let dependent recipes rely on gettext-native.

[YOCTO #5964]

(From OE-Core rev: f43139adceaf8039d5347dea0a116dc5923b24c1)

Signed-off-by: Christopher Larson <kergoth@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopulseaudio: Make it compatible with systemd-209
Martin Jansa [Sat, 22 Feb 2014 17:29:10 +0000 (18:29 +0100)]
pulseaudio: Make it compatible with systemd-209

(From OE-Core rev: 662ff5986370e59cf8638aab66f095f284a7238d)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoUpgrade to systemd 211+
Khem Raj [Sun, 16 Mar 2014 05:42:32 +0000 (22:42 -0700)]
Upgrade to systemd 211+

Fixes [YOCTO #5940]

Fix checks for %ms format to be a link time check
runtime checks wont work in cross compiling

Add a patch to workaround missing _SC_PHYS_PAGES
in uclibc

(From OE-Core rev: 0f5256d4ae5ed88c62e737e3c31587d7635b5dd6)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: runqueue: Revert child signal handler for now
Richard Purdie [Wed, 19 Mar 2014 12:53:05 +0000 (12:53 +0000)]
bitbake: runqueue: Revert child signal handler for now

We're running into processes using 100% cpu. It appears theses are locked in
a subprocess.poll() type loop where the process has exited but the code is
looping as its not handling the ECHILD error.

http://bugs.python.org/issue14396
http://bugs.python.org/issue15756

This is likely due to one or both of the above bugs. The question is what actually
grabbed the child exit code as it wasn't this code. Its likely there is therefore
some other code racing and taking that code, it may be some kind of race like:

http://hg.python.org/cpython/rev/767420808a62/

where the fix effectively catches the childs codes in a different part of the system.

We could try and get everyone onto python 2.7.4 where the above bugs are fixed however
for now its safer to admit defeat and go back to polling explictly for our worker exit
codes.

(Bitbake rev: 5b9a099ec2a1dc954b614e12a306595f55b6a99e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: runqueue: Don't catch all child return codes
Richard Purdie [Wed, 19 Mar 2014 11:29:12 +0000 (11:29 +0000)]
bitbake: runqueue: Don't catch all child return codes

Catching all child exit status values is a bad idea. Setting an http sstate mirror
is a great way to view that spectacularly break things. The previous change did
have good code changes so don't revert those parts.

(Bitbake rev: fa7ffb62d510ac1124ae7e08fa4d190a710f5b54)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: runqueue: Really fix sigchld handling
Richard Purdie [Tue, 18 Mar 2014 22:58:52 +0000 (22:58 +0000)]
bitbake: runqueue: Really fix sigchld handling

There are several problems. Firstly, a return value of "None" can mean
there is a C signal handler installed so we need to better handle that
case. signal.SIG_DFL is 0 which equates to false so we also need to
handle that by testing explicitly for None.

Finally, the signal handler *must* call waitpid on all child processes
else it will just get called repeatedly, leading to the hanging behaviour
we've been seeing. The solution is to only error for the worker children,
we warn about any other stray children which we'll have to figure out the
sources of in due course.

Hopefully this patch gets things working again properly though.

(Bitbake rev: 973876c706f08735c1b68c791a5a137e5f083dd2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopixbufcache: Fix librsvg-native build
Richard Purdie [Tue, 18 Mar 2014 13:35:10 +0000 (13:35 +0000)]
pixbufcache: Fix librsvg-native build

bitbake librsvg-native would fail with an error about missing icu-native.
The reason is that bitbake doesn't directly parse setscene dependencies. This
change ensures bitbake does see the dependencies and avoids the error.

Ideally we'd teach bitbake about those but that is a significant and complex
change so this resolves the problem for now.

[YOCTO #5926]

(From OE-Core rev: 33fa7c8f28d343ecec354a551d45f23643becd59)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoautotools: Exclude variables from autotools_copy_aclocals
Richard Purdie [Tue, 18 Mar 2014 13:31:56 +0000 (13:31 +0000)]
autotools: Exclude variables from autotools_copy_aclocals

The autotools aclocal copy function should not depend on various variables, these
are accounted for in other parts of the system. Therefore exclude them.

This was causing differences in sstate checksums between different systems and meaning
the sstate cache wasn't being reused as much as it should.

(From OE-Core rev: b7193fadb1a53c86ffe4982a2fa9c1179a74de46)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: runqueue: Ensure handler does not recurse
Richard Purdie [Tue, 18 Mar 2014 11:31:14 +0000 (11:31 +0000)]
bitbake: runqueue: Ensure handler does not recurse

Failures on the autobuilder look like this handler is recursing. That
shouldn't be possible but it doesn't hurt to code as such.

(Bitbake rev: e39e85803cbe1ef9413a118868c19087c0546d01)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: runqueue: More carefully handle the sigchld handler
Richard Purdie [Tue, 18 Mar 2014 10:21:34 +0000 (10:21 +0000)]
bitbake: runqueue: More carefully handle the sigchld handler

We've noticed hanging processes which appear to be looping around
waitpid. Its possible multiple calls to teardown are causing problem
or in theory multiple registrations (although the code should not
allow that). Regardless, put better guards around signal handler
registration.

(Bitbake rev: 79acfb0853aa3215215cee89a945f8e97b0a8fae)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: hob: sync after image deploy
Valentin Popa [Mon, 17 Mar 2014 15:53:38 +0000 (17:53 +0200)]
bitbake: hob: sync after image deploy

Showing "Deploy image successful" after 'dd' returns
may determine the user to disconnect the usb stick even
though the writing operations are not finished.
This patch makes sure that the entire image is deployed
on the usb stick before the user is informed about any result.

[YOCTO #5892]

(Bitbake rev: cc98b19112ab875ebc7cb604cd96acadac4cbf21)

Signed-off-by: Valentin Popa <valentin.popa@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: runqueue: Don't error if we never setup workers
Richard Purdie [Mon, 17 Mar 2014 15:03:51 +0000 (15:03 +0000)]
bitbake: runqueue: Don't error if we never setup workers

If we didn't setup any workers (such as bitbake -S), this would error
since we're trying to set a signal handler to None. This patch
avoids that problem.

(Bitbake rev: ce17478c8197abf178c00774f5bbe23fd4375ee2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogettext: upgrade from 0.18.3.1 to 0.18.3.2
Chen Qi [Wed, 12 Mar 2014 01:57:48 +0000 (09:57 +0800)]
gettext: upgrade from 0.18.3.1 to 0.18.3.2

Upgrade gettext from 0.18.3.1 to 0.18.3.2.

(From OE-Core rev: b681d264ab2f721c537bfa87cc2ddbbbf3f8c1a2)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogrep: upgrade from 2.16 to 2.18
Chen Qi [Wed, 12 Mar 2014 01:57:47 +0000 (09:57 +0800)]
grep: upgrade from 2.16 to 2.18

Upgrade grep from 2.16 to 2.18.

(From OE-Core rev: ac53ef459e1f0e734bdf0a12546675e16631fae8)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosudo: upgrade to 1.8.9p5
Chen Qi [Wed, 12 Mar 2014 01:57:46 +0000 (09:57 +0800)]
sudo: upgrade to 1.8.9p5

Upgrade sudo from 1.8.9p1 to 1.8.9p5.

(From OE-Core rev: afc9e06c4cd9fdb52a751c480d7575a6d611ae34)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoalsa-tools: update to version 1.0.27
Kai Kang [Wed, 12 Mar 2014 07:47:00 +0000 (15:47 +0800)]
alsa-tools: update to version 1.0.27

Update alsa-tools to latest version 1.0.27:

* remove PR
* update autotools.patch
* add build dependency gkt+3 that hdajackretask requires it.

(From OE-Core rev: 6c699b513c8defe6d4b01ec760185865a29d4582)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodirectfb-examples: update to 1.7.0
Kai Kang [Wed, 12 Mar 2014 07:46:59 +0000 (15:46 +0800)]
directfb-examples: update to 1.7.0

Update directfb-examples to latest version 1.7.0.

(From OE-Core rev: ba5e58e2013bfdce7a22e4a56c58fd7c7151cfc6)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodirectfb: update to 1.7.1
Kai Kang [Wed, 12 Mar 2014 07:46:58 +0000 (15:46 +0800)]
directfb: update to 1.7.1

Update directfb to 1.7.1:
* remove PR
* remove rename-no-instrument-function-macro.patch which is merged

(From OE-Core rev: 6188b43cdbe4ef0f1a8e9b4345e37058c3f35ead)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoqmmp: update to 0.7.5
Kai Kang [Wed, 12 Mar 2014 07:46:57 +0000 (15:46 +0800)]
qmmp: update to 0.7.5

Update qmmp to 0.7.5 version

* update no-host-paths.patch
* remove no-sessionmanager.patch which is merged

(From OE-Core rev: fa10bd5aed84768ded25cdba348ce197a5fdbf2a)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodocbook-sgml-dtd-native: remove catalog file when do_clean
Robert Yang [Wed, 12 Mar 2014 05:58:47 +0000 (05:58 +0000)]
docbook-sgml-dtd-native: remove catalog file when do_clean

The docbook_sgml_dtd_sstate_postinst adds catalog file to
/etc/sgml/sgml-docbook.cat and sgml-docbook.bak, but the do_clean would not
remove the file, which would cause unexpected errors since we have multiple
versions of docbook-sgml-dtd:

docbook-sgml-dtd-3.1-native_3.1.bb
docbook-sgml-dtd-4.1-native_4.1.bb
docbook-sgml-dtd-4.5-native.bb

If we run:

$ bitbake docbook-sgml-dtd-4.1-native
$ bitbake docbook-sgml-dtd-4.1-native -ccleansstate && bitbake docbook-sgml-dtd-3.1-native
$ bitbake docbook-utils-native

We would get this error:

jade: cannot open "/path/to/etc/sgml/sgml-docbook-dtd-4.1.cat" (No such file or directory)
make[2]: *** [sgmldiff.html] Error 1

Remove the catalog entry when do_clean will fix the problem.

[YOCTO #5949]

(From OE-Core rev: 87df114982db7a94fce8622b15458bbe2d2ddacc)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoboost: Pass CFLAGS, CXXFLAGS and LDFLAGS correctly into boost.build
Mike Crowe [Thu, 13 Mar 2014 10:01:54 +0000 (10:01 +0000)]
boost: Pass CFLAGS, CXXFLAGS and LDFLAGS correctly into boost.build

The compileflags and linkflags do_boostconfig puts into user-config.jam are
having no effect. According to
http://www.boost.org/boost-build2/doc/html/bbv2/reference/tools.html the
correct syntax would be <compileflags>"the flags" <linkflags>"the flags".

Since the flags specified were having no effect they can't be necessary and
can be safely removed. We should be passing ${CFLAGS}, ${CXXFLAGS} and
${LDFLAGS} instead so that users of the recipe can pass arbitrary flags as
they choose.

(From OE-Core rev: f09d2583894be0a4069600381046bec5e7f0277b)

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopackagegroup-core-tools-testapps: added connman tools and tests
Cristian Iorga [Thu, 13 Mar 2014 11:12:41 +0000 (13:12 +0200)]
packagegroup-core-tools-testapps: added connman tools and tests

Added connman-tools and connman-tests packages.

(From OE-Core rev: 55f596fdfdacd3f5eeabdcabd62545b2d583cc2e)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopackagegroup-core-tools-testapp: added 3G tools
Cristian Iorga [Thu, 13 Mar 2014 11:12:40 +0000 (13:12 +0200)]
packagegroup-core-tools-testapp: added 3G tools

Added ofono tests package.

(From OE-Core rev: c6180c9dc6466f42b87c2a465c14be3d2e2239cb)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoapt-native: Install apt-ftparchive
Ricardo Ribalda Delgado [Thu, 13 Mar 2014 13:27:03 +0000 (14:27 +0100)]
apt-native: Install apt-ftparchive

apt-ftparchive is needed to create a Release file compatible with
SecureApt.

It is also a more efficient replacement of dpkg-scanpackages.

(From OE-Core rev: 383e6c7d5fa1f6f02b50155a77d7c82237c11ba9)

Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agomips64-linux: set ac_cv_sizeof_ssize_t
Valentin Popa [Fri, 14 Mar 2014 11:12:25 +0000 (13:12 +0200)]
mips64-linux: set ac_cv_sizeof_ssize_t

Set ac_cv_sizeof_ssize_t for mips64;
mips-common will not overwrite it.

"ssize_t is a posix define which is architecture specific whose value
is signed size_t, glibc/uclibc for mips64/n64 linux platform defines
it to be equivalent of 'long' and long here is 8bytes because
mips64/n64 follows LP64 model. In OpenEmbedded our default ABI for
mips64 platforms is N64, having said that autoconf decides to poke at
the platform for finding these kind of sizes which fails when you are
doing cross compiling hence we have to cache it." - Khem Raj

[YOCTO #5935]

(From OE-Core rev: 7a5b6b968c5adf06982ff0f53871f87aaed41580)

Signed-off-by: Valentin Popa <valentin.popa@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agomake: add 'inherit pkgconfig'
Valentin Popa [Fri, 14 Mar 2014 15:11:12 +0000 (17:11 +0200)]
make: add 'inherit pkgconfig'

Bitbaking make-native generates syntax error during
configure: 'PKG_PROG_PKG_CONFIG: command not found'.
Add 'inherit pkgconfig' to solve this issue.

(From OE-Core rev: 841565db49b113da0eec3bfbad934c36bf28ee4b)

Signed-off-by: Valentin Popa <valentin.popa@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolinux-yocto-custom: Use SRCREV_machine
Darren Hart [Fri, 14 Mar 2014 21:15:20 +0000 (14:15 -0700)]
linux-yocto-custom: Use SRCREV_machine

The Yocto kernel tools look for SRCREV_machine in do_validate_branches,
if it's empty, it just returns and silently continues. This likely needs
at least a warning. However, this recipe should be using SRCREV_machine,
and not just SRCREV.

(From OE-Core rev: f36de92551c8c44a15f1997e65cd8ee957143d95)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Reported-by: Saul Wold <sgw@linux.intel.com>
Cc: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolib/oe: turn oe into a namespace package
Christopher Larson [Sat, 15 Mar 2014 02:06:26 +0000 (19:06 -0700)]
lib/oe: turn oe into a namespace package

This will let folks extend the oe package with modules from other layers.
Given openembedded consists of more than just oe-core, I think this makes
sense, and adds some useful flexibility.

(From OE-Core rev: 8dfd28925fc47d8a4a1f10ec65df665c8326edc4)

Signed-off-by: Christopher Larson <kergoth@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agointltool: Define DATADIRNAME=share for uclibc based systems
Khem Raj [Sun, 16 Mar 2014 05:42:31 +0000 (22:42 -0700)]
intltool: Define DATADIRNAME=share for uclibc based systems

This otherwise makes localedir to point to prefix/lib
which is wrong location for locale splitting and we end
with unpackaged locale files e.g. systemd throws this

WARNING: QA Issue: systemd: Files/directories were installed but not
shipped
  /usr/lib/locale
  /usr/lib/locale/fr
  /usr/lib/locale/pl
  /usr/lib/locale/ru
  /usr/lib/locale/it
  /usr/lib/locale/fr/LC_MESSAGES
  /usr/lib/locale/fr/LC_MESSAGES/systemd.mo
  /usr/lib/locale/pl/LC_MESSAGES
  /usr/lib/locale/pl/LC_MESSAGES/systemd.mo
  /usr/lib/locale/ru/LC_MESSAGES
  /usr/lib/locale/ru/LC_MESSAGES/systemd.mo
  /usr/lib/locale/it/LC_MESSAGES
  /usr/lib/locale/it/LC_MESSAGES/systemd.mo

(From OE-Core rev: 511121dc1867279f2483ddf236e4c64c90bc8acb)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoutil-linux: scanf_cv_alloc_modifier changed from 'as' -> 'ms'
Khem Raj [Sun, 16 Mar 2014 05:42:30 +0000 (22:42 -0700)]
util-linux: scanf_cv_alloc_modifier changed from 'as' -> 'ms'

This patch actually makes sense for uclibc more than glibc
since if we did not cache scanf_cv_alloc_modifier configure
test will determine it correctly for glibc but the test does
not do proper job when uclibc is involved the reason is it
depends on define __GLIBC_ and uclibc unfortunately poses as
glibc and defines this variable.

%m is implemented in uclibc as well and we enable it so caching value of
'ms' specifier is going to work across all libcs

This fixes mounting errors we see with util-linux/mount on
uclibc/systemd

Mar 16 01:46:40 qemux86 systemd-remount-fs[124]: /bin/mount: /proc/self/mountinfo: parse error: ignore entry at line 21.
Mar 16 01:46:40 qemux86 systemd-remount-fs[124]: /bin/mount: /proc/self/mountinfo: parse error: ignore entry at line 22.
Mar 16 01:46:40 qemux86 systemd-remount-fs[124]: /bin/mount: can't find / in /etc/fstab

(From OE-Core rev: 0e5a1a23089c732da5c1900886360199cfe23cf9)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoglib-2.0: Fix localedir expectations for uclibc
Khem Raj [Sun, 16 Mar 2014 05:42:29 +0000 (22:42 -0700)]
glib-2.0: Fix localedir expectations for uclibc

DATADIRNAME is used by many applications using autotools
to install locale data, we get a wrong value for uclibc
systems since it does not recognise it as proper linux
systems and start putting locale info in /usr/lib instead
of /usr/share

(From OE-Core rev: 7897ab5f54d2dc21795b2a53b82b9c911157f0ca)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agognutls: Link in pthread explicitly for uclibc
Khem Raj [Sun, 16 Mar 2014 05:42:28 +0000 (22:42 -0700)]
gnutls: Link in pthread explicitly for uclibc

Otherwise we end up with missing symbols from libpthread

(From OE-Core rev: 9f09353a1548d392a3f71e800be8e1b849960584)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agouclibc: Remove iconv.h
Khem Raj [Sun, 16 Mar 2014 05:42:27 +0000 (22:42 -0700)]
uclibc: Remove iconv.h

We get it from libiconv on uclibc anyway no need to
transplant uclibc one

(From OE-Core rev: 9da1e04b1543d0a08fdd679a72c9cf6455811ab9)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agouclibc: Implement clock_adjtime()
Khem Raj [Sun, 16 Mar 2014 05:42:26 +0000 (22:42 -0700)]
uclibc: Implement clock_adjtime()

systemd needs it
Also update to latest master

(From OE-Core rev: ced5bc5537ccff89145dae1220a40ab8fd4783f5)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: added file types to the Outputs column in the build page
Farrell Wymore [Tue, 11 Mar 2014 21:48:52 +0000 (14:48 -0700)]
bitbake: toaster: added file types to the Outputs column in the build page

The file types are displayed in the Outputs column in the build page.
The file types are derived from the target image filenames.

[YOCTO #5947]

(Bitbake rev: 37ae4e94d6991d4f05b0236b525e29797ed6e49c)

Signed-off-by: Farrell Wymore <farrell.wymore@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: Sort layers in alphabetical order
Belen Barros Pena [Fri, 21 Feb 2014 14:00:11 +0000 (14:00 +0000)]
bitbake: toaster: Sort layers in alphabetical order

In the Summary tab of the Configuration page, make
sure that the table of layers is sorted by layer name
in ascending alphabetical order.

(Bitbake rev: f339555df40307420ce80a4ef8cba1a4d284d380)

Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: Remove the data-toggle attribute
Belen Barros Pena [Fri, 21 Feb 2014 13:48:13 +0000 (13:48 +0000)]
bitbake: toaster: Remove the data-toggle attribute

Help icons with the .get-help class do not need the
data-toggle attribute. That attribute initialises the
Bootstrap tooltips, but they are already initialised
in main.js for any element with the .get-help class.

(Bitbake rev: 886a87de2d36382f40830c0d28fd2f55871d0993)

Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: Don't show clear search button if text input field is empty
Belen Barros Pena [Fri, 21 Feb 2014 11:57:57 +0000 (11:57 +0000)]
bitbake: toaster: Don't show clear search button if text input field is empty

The clear search button should only show when the search text input
field is populated. If it is empty (as it happens when a filter
returns no results) the clear search button should not display.

(Bitbake rev: 6cc4aaf08b51bb6cd8d1813c33989a788bd06990)

Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: Fix Recipe sorting in tasks table
Belen Barros Pena [Fri, 21 Feb 2014 07:35:58 +0000 (07:35 +0000)]
bitbake: toaster: Fix Recipe sorting in tasks table

In the tasks table and the other tables derived from it
(Time, CPU usage and Disk I/O) sorting by Recipe was not
working correctly. This change fixes the problem by
specifying use of the recipe name to sort.

(Bitbake rev: fa24c857e6f5b3c56f89a2a85dea6ad271f82c01)

Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: Not using task_color tag for execution heading
Belen Barros Pena [Thu, 20 Feb 2014 08:13:17 +0000 (08:13 +0000)]
bitbake: toaster: Not using task_color tag for execution heading

The modifications to the task_color tag in commit
23a7c338d387ac2ba13a7a1114a4abc75228c960 broke the styling
of failed tasks in the tasks.html template. Undo the
changes to the task_color tag and use an if statement
instead to set the .muted class when the execution
heading says "Not executed".

(Bitbake rev: e3b3205674f606b927f1bf568202a592ca6453c9)

Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: Presentation fixes for task.html
Belen Barros Pena [Thu, 20 Feb 2014 07:06:51 +0000 (07:06 +0000)]
bitbake: toaster: Presentation fixes for task.html

Tidying up the presentation in the task.html template.
The changes include:

* Correct the markup for the help tooltips
* Fix the help content for the outcome heading
* Make sure <dt> tags do not show for empty log
file, time, cpu and disk I/O values
* Eliminate an extra <dl> for tasks with sstate attempts
* Add <strong> tag to the sstate restored alert
* Replace the .alert-info class with the .muted class
for the no dependencies messages
* Make sure the Executed heading does not inherit
the .red class for failed tasks
* Format time and cpu values to make sure they only
show 2 decimal digits

(Bitbake rev: bbc22958ab37dcd44c03420a7b8f842a1f4e51b1)

Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: Shorten dependency labels
Belen Barros Pena [Thu, 20 Feb 2014 15:00:59 +0000 (15:00 +0000)]
bitbake: toaster: Shorten dependency labels

Changing "Task depends on" to "Dependencies" and
"Task reverse dependencies" to "Reverse dependencies".
This matches the labeling to recipe and package
information, with the additional advantage of
making the labels shorter.

(Bitbake rev: 6147339ac2f93a9e60eed8975ac1784caa06bb0b)

Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: Give an extra space to the caret
Belen Barros Pena [Thu, 20 Feb 2014 14:58:49 +0000 (14:58 +0000)]
bitbake: toaster: Give an extra space to the caret

In the "Collapse variable value" button in configvars.html,
the caret was too close to the button label. Giving it
a bit of extra space.

(Bitbake rev: 5e45f2bb4b0d9b56b5f4734cf40d3a267654ccb9)

Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: Add no search results page
Belen Barros Pena [Thu, 20 Feb 2014 14:32:32 +0000 (14:32 +0000)]
bitbake: toaster: Add no search results page

Adding the no search results page to the built packages
(bpackage.html), variables (configvars.html), recipes
(recipes.html) and tasks (tasks.html) tables.

The change copies the code from the build.html template
into the other 4 templates. There is probably a smarter way
of doing this, though.

(Bitbake rev: 3feff77091b3926c10ca8f30890c9049633ccb66)

Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: Fixing "Show all builds" link
Belen Barros Pena [Thu, 20 Feb 2014 13:11:00 +0000 (13:11 +0000)]
bitbake: toaster: Fixing "Show all builds" link

Replacing the placeholder attribute with the value attribute
in the no search results page broke the "Show all builds" link.
This change applies the inline javacript used for the clear search
button for the "Show all builds" link, which fixes the problem.

(Bitbake rev: a58b88aebfde54ea97740f27335582fac195dfdc)

Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: Amend help text in package_built_detail.html
Belen Barros Pena [Thu, 20 Feb 2014 12:43:37 +0000 (12:43 +0000)]
bitbake: toaster: Amend help text in package_built_detail.html

Matching the help text in the tabs to the design specification.

(Bitbake rev: cc478b3b0befc0c8fce93d896074f8d07eaac362)

Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: Small tweaks to the no results page
Belen Barros Pena [Thu, 20 Feb 2014 11:36:13 +0000 (11:36 +0000)]
bitbake: toaster: Small tweaks to the no results page

Correctly align the Search button to the text input field,
add .btn class to the clear search button, replace the
placeholder attribute with the value attribute so that you
can edit your search query, remove the clear search button
from the tab index so that you don't clear the search by
mistake and edit the margins of the .no-results class.

(Bitbake rev: 4ada4307623c1e27b589831d359dc6351e6e3ad5)

Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
Conflicts:
bitbake/lib/toaster/toastergui/templates/build.html
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: Replace hyphens with underscores in package name
Belen Barros Pena [Thu, 20 Feb 2014 10:14:41 +0000 (10:14 +0000)]
bitbake: toaster: Replace hyphens with underscores in package name

Package details pages were using hyphens to separate package
name from package version. Changing them to underscores.

(Bitbake rev: c0820f93e0387d2b6ead9e2fa7205d49001d27e6)

Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: Format package size in recipe.html
Belen Barros Pena [Thu, 20 Feb 2014 09:46:22 +0000 (09:46 +0000)]
bitbake: toaster: Format package size in recipe.html

Package sizes in the recipe details page (recipe.html)
were displaying in bytes. Apply the filtered_filesizeformat
project tag to show the package size in a more human
readable format.

(Bitbake rev: 018db5cf683755a7a41b0ef491e130809e1ff003)

Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: Make Order column part of the minimum table
Belen Barros Pena [Thu, 20 Feb 2014 02:46:25 +0000 (02:46 +0000)]
bitbake: toaster: Make Order column part of the minimum table

The Order column in the tasks table should be always shown and
be part of the minimum table (i.e. its checkbox should be
disabled in the Edit columns menu). Changing views.py to
make sure this is the case.

(Bitbake rev: a928e0cfb82dac0eb920913e3f9c5b45e3dcdf2f)

Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: Move <tbody> outside for statement
Belen Barros Pena [Thu, 20 Feb 2014 01:20:47 +0000 (01:20 +0000)]
bitbake: toaster: Move <tbody> outside for statement

In the package details pages, the <tbody> tags where inside
the for statements, which caused multiple <tbody> tags to
be generated inside a single table.

To make sure only one <tbody> tag exists per table, moving
the <tbody> tag outside the for statement.

(Bitbake rev: 0c111b24e9f86130bc43c1327a6d12026e92cdf2)

Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: improve recipe matching for native tasks
Alexandru DAMIAN [Fri, 14 Mar 2014 16:59:27 +0000 (16:59 +0000)]
bitbake: toaster: improve recipe matching for native tasks

This patch improves the recipe matching algorithm for
for matching recipes for native tasks.

(Bitbake rev: c350e4924abab8688c539608fd7f3af687d7265a)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: fix target file inode type information
Alexandru DAMIAN [Thu, 13 Mar 2014 15:15:38 +0000 (15:15 +0000)]
bitbake: toaster: fix target file inode type information

This patches fixes the inode type saved when writing the
target file list information.

(Bitbake rev: 9f34a1c5e94d73cdba1def7059c60211514e054c)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: bitbake: cooker: some IMAGE_FEATURES not recognized
Marius Avram [Wed, 12 Mar 2014 12:03:49 +0000 (14:03 +0200)]
bitbake: bitbake: cooker: some IMAGE_FEATURES not recognized

Fixes an issue in hob which happened when the local.conf file was
modified externally by appending "eclipse-debug" to the IMAGE_FEATURES
variable. The reason of the problem is that some IMAGE_FEATURES are
not available in the image.bbclass file and they are declared in the
core-image.bbclass. Now a default hob image will inherit core-image.

[YOCTO #5711]

(Bitbake rev: 81413d94f40f58d790d7a7dc4259108f9c5d4fc0)

Signed-off-by: Marius Avram <marius.avram@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: add errors and warnings listing
Amit Kumar Chaudhary [Wed, 12 Mar 2014 18:47:42 +0000 (18:47 +0000)]
bitbake: toaster: add errors and warnings listing

Add the errors and warnings listing to the build
dashboard page.

(Bitbake rev: 2004c0fd1dd049d26279ee10a18e69e6852247fa)

Signed-off-by: Amit Kumar Chaudhary <amit@floatingpondtech.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: Add counters to filters
Ravi Chintakunta [Wed, 12 Mar 2014 18:47:41 +0000 (18:47 +0000)]
bitbake: toaster: Add counters to filters

Added count to filters in Build, Tasks and Config variables.

[YOCTO #5821]

(Bitbake rev: afd73f8ee47d0fcf600fa919f2d2bc1b7d2eeadf)

Signed-off-by: Ravi Chintakunta <ravi.chintakunta@timesys.com>
Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: add license manifest path to database
Cristiana Voicu [Wed, 12 Mar 2014 18:47:40 +0000 (18:47 +0000)]
bitbake: toaster: add license manifest path to database

Based on image_name, the target is obtained, and the path
is added to the database.

[YOCTO #5649]

(Bitbake rev: 911b5191133956c30d53f57629c115db196b9ac8)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: populate target image file table
Cristiana Voicu [Wed, 12 Mar 2014 18:47:39 +0000 (18:47 +0000)]
bitbake: toaster: populate target image file table

Using ImageFileSize Metadata event, the image output file and its
size are populated into target_image_file table.

[YOCTO #5189]
[YOCTO #5228]

(Bitbake rev: a0b06d362b9aa08fda293489467af343c6ca6de4)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoeglibc: Update SRC_URI to point to final download location
Khem Raj [Wed, 12 Mar 2014 05:46:50 +0000 (22:46 -0700)]
eglibc: Update SRC_URI to point to final download location

We have been using interim location for the src_uri
now the tarballs are placed in usual location so update
the src_uri accordingly

(From OE-Core rev: 58aae40bbf8edd9c5ca70b2094eeb724391f1993)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agowic: Use pseudo for ext mkfs command
Tom Zanussi [Wed, 12 Mar 2014 19:31:02 +0000 (19:31 +0000)]
wic: Use pseudo for ext mkfs command

The switchover from populate-exfs.sh to mke2fs forgot to preserve
pseudo, add it back.

(From OE-Core rev: 032309928f931b32cf63a0ebf174de029ba17401)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agowic: Use mke2fs to create the ext2/3/4 image
João Henrique Ferreira de Freitas [Sat, 8 Mar 2014 22:23:57 +0000 (22:23 +0000)]
wic: Use mke2fs to create the ext2/3/4 image

OE-core commit f3a95ca6886b55e5819b068bdbd2cceb882d91a6 removed the
populate-extfs.sh. So mke2fs should be used to create ext2/3/4 image.

(From OE-Core rev: 4dea928eef325364922b1e0cbabc2a581356e804)

Signed-off-by: João Henrique Ferreira de Freitas <joaohf@gmail.com>
Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoCreate gstreamer-1.0 package groups
Sébastien Mennetrier [Wed, 12 Mar 2014 09:44:04 +0000 (10:44 +0100)]
Create gstreamer-1.0 package groups

This recipe is based on gst-meta-base

(From OE-Core rev: f5b16a1879351eac015a541150dec547f971bb31)

Signed-off-by: Sébastien Mennetrier <s.mennetrier@innotis.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>