scm/bb/tizen-distro.git
12 years agolibx11: remove redundant license data
Ross Burton [Tue, 11 Sep 2012 19:17:57 +0000 (20:17 +0100)]
libx11: remove redundant license data

(From OE-Core rev: 0f2643cfa385e9637a2d34268e60cdce9fa44e69)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibx11: move keysymdefdir option to .inc
Ross Burton [Tue, 11 Sep 2012 19:17:56 +0000 (20:17 +0100)]
libx11: move keysymdefdir option to .inc

(From OE-Core rev: 375cdaf2cc03a4784991999e6a302fe37678809b)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibx11: move xcms disabling to PACKAGECONFIG in libx11.inc
Ross Burton [Tue, 11 Sep 2012 19:17:55 +0000 (20:17 +0100)]
libx11: move xcms disabling to PACKAGECONFIG in libx11.inc

(From OE-Core rev: ea17d1365b0425b0f6ddd4daf8d166116ac26f26)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoxorg-lib: move options to disable documentation to xorg-lib-common
Ross Burton [Tue, 11 Sep 2012 19:17:54 +0000 (20:17 +0100)]
xorg-lib: move options to disable documentation to xorg-lib-common

(From OE-Core rev: aee98f2ccab4bfff2aca031c2374274f945982f5)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibx11-diet: you can't disable UDC, because it's always disabled
Ross Burton [Tue, 11 Sep 2012 19:17:53 +0000 (20:17 +0100)]
libx11-diet: you can't disable UDC, because it's always disabled

(From OE-Core rev: bb2c59d3efdd94d7cc0cd47daa3429a1521ca8ac)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibx11-diet: you can't disable XCB anymore, so don't try
Ross Burton [Tue, 11 Sep 2012 19:17:52 +0000 (20:17 +0100)]
libx11-diet: you can't disable XCB anymore, so don't try

(From OE-Core rev: 315d187fcf1e6ff430b5c2986aa307e182ae09cb)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibx11: use INC_PR
Ross Burton [Tue, 11 Sep 2012 19:17:51 +0000 (20:17 +0100)]
libx11: use INC_PR

(From OE-Core rev: d709a0a457ec05291ae56a54af923ca9f43d15aa)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolinux-yocto/3.4: add x32 configuration fragment
Bruce Ashfield [Tue, 11 Sep 2012 15:04:41 +0000 (15:04 +0000)]
linux-yocto/3.4: add x32 configuration fragment

When x32 is the tuning for a x86 MACHINE, the kernel should also have
CONFIG_X86_X32=y. This adds a x32 fragment that can be used to trigger
the right ABI.

The commit also contains a check for mx32 in TUNE_FEATURES, and if
present, the new fragment will be appended to KERNEL_FEATURES and
trigger the support in the kernel.

cc: Saul Wold <sgw@linux.intel.com>
(From OE-Core rev: bf689c60caa905eb8866101b9e99dd4ae246a2ca)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosysstat: upgrade to 10.1.1
Constantin Musca [Tue, 11 Sep 2012 06:59:28 +0000 (09:59 +0300)]
sysstat: upgrade to 10.1.1

(From OE-Core rev: a1d83d6aba91dad4935804801114d9d50ee0fab9)

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>
12 years agolibexif: upgrade to 0.6.21
Constantin Musca [Tue, 11 Sep 2012 07:23:42 +0000 (10:23 +0300)]
libexif: upgrade to 0.6.21

(From OE-Core rev: 727ed3ca04fbb3d3685a1b346457d975367da2ea)

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>
12 years agoglew: upgrade to 1.9.0
Constantin Musca [Tue, 11 Sep 2012 06:54:01 +0000 (09:54 +0300)]
glew: upgrade to 1.9.0

(From OE-Core rev: c5d2f7fee83e8c9c278eba264de3bbc0d5d3104a)

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>
12 years agoboost: upgrade to 1.51.0
Constantin Musca [Tue, 11 Sep 2012 07:37:35 +0000 (10:37 +0300)]
boost: upgrade to 1.51.0

(From OE-Core rev: 62688f63e2b2a9df01dc3a870ee26fc738c225e1)

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>
12 years agoclasses/license: place all found licenses on one line
Vladimir Zapolskiy [Tue, 11 Sep 2012 01:51:01 +0000 (04:51 +0300)]
classes/license: place all found licenses on one line

Cosmetic change, settle all found licenses into one line and report warning
about missing licenses loudly.

(From OE-Core rev: f015a9eb8265c485da0b20009ba72119035599b1)

Signed-off-by: Vladimir Zapolskiy <vladimir_zapolskiy@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoclasses/license: correct license info in lisense.manifest
Vladimir Zapolskiy [Tue, 11 Sep 2012 01:18:15 +0000 (04:18 +0300)]
classes/license: correct license info in lisense.manifest

Trivial change, do not cut off plus symbol from license name, otherwise
information about package license is corrupted.

(From OE-Core rev: ba53de38e96833ea82ddd0f1e336cd7ddfa0c2d1)

Signed-off-by: Vladimir Zapolskiy <vladimir_zapolskiy@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoclasses/license: account LICENSE_${pkg} values in manifest
Vladimir Zapolskiy [Tue, 11 Sep 2012 01:18:14 +0000 (04:18 +0300)]
classes/license: account LICENSE_${pkg} values in manifest

Trivial change, process LICENSE_${pkg} and LICENSE values. This fixes multiple
cases, when license is not specified at all in license.manifest

(From OE-Core rev: 8fd734e6f9159921d0d148c4d5c0fa37c882b21a)

Signed-off-by: Vladimir Zapolskiy <vladimir_zapolskiy@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoclasses/license: remove redundant nested if statements
Vladimir Zapolskiy [Tue, 11 Sep 2012 01:13:45 +0000 (04:13 +0300)]
classes/license: remove redundant nested if statements

Cosmetic change, which improves code perception. Also check for locale
packages firstly, this shall improve performance a little.

(From OE-Core rev: 100e457de4b223defb1a844d3b85af812caf2f79)

Signed-off-by: Vladimir Zapolskiy <vladimir_zapolskiy@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoclasses/license: check license manifest for double records
Vladimir Zapolskiy [Tue, 11 Sep 2012 01:13:44 +0000 (04:13 +0300)]
classes/license: check license manifest for double records

Trivial typo bugfix, avoid multiple records in license.manifest.

(From OE-Core rev: 0d3ca97d3a349ca572fce798ebf9de59a438c0c8)

Signed-off-by: Vladimir Zapolskiy <vladimir_zapolskiy@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoclasses/license: define LICENSE_MANIFEST variable
Vladimir Zapolskiy [Tue, 11 Sep 2012 01:13:43 +0000 (04:13 +0300)]
classes/license: define LICENSE_MANIFEST variable

Cosmetic change, saves space and reduces code line length.

(From OE-Core rev: 0ac50f848cf0f897333cff9340976519fc95fdc4)

Signed-off-by: Vladimir Zapolskiy <vladimir_zapolskiy@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoeglibc: Restore ${PN} to before ${PN}-dev in PACKAGES
Phil Blundell [Tue, 11 Sep 2012 18:14:25 +0000 (19:14 +0100)]
eglibc: Restore ${PN} to before ${PN}-dev in PACKAGES

Commit 13544fbc6217fee1731a6da1e2cf94901a500842 changed the ordering
of PACKAGES so that ${PN}-dev came before ${PN}.  However, this caused
the FILES matching to go wrong if ${libdir} == ${base_libdir}.  Fix this
by moving ${PN} ahead of ${PN}-dev once again.

(From OE-Core rev: ec3ec1e7388c2175f41527d5e5e07c6bb14a8f6e)

Signed-off-by: Phil Blundell <pb@pbcl.net>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosysvinit-inittab_2.88dsf.bb: only run serial checks at boot if we have items to check
Matthew McClintock [Tue, 11 Sep 2012 17:56:53 +0000 (12:56 -0500)]
sysvinit-inittab_2.88dsf.bb: only run serial checks at boot if we have items to check

Right now, we delay running the serial console checks to we boot up. This causes
issues for read only file systems. So, if have not configured any serial ports to
check via SERIAL_CONSOLES_CHECK we can skip the check at boot. This fixes any
issues with read only file systems and ipk packaging.

(From OE-Core rev: 019a95a5e01bd3fefaaab0a27029ed8b26ee3c79)

Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolinux-yocto*: append to KERNEL_FEATURES instead of assigning
Bruce Ashfield [Tue, 11 Sep 2012 13:05:14 +0000 (09:05 -0400)]
linux-yocto*: append to KERNEL_FEATURES instead of assigning

It is sometimes useful for KERNEL_FEATURES to be set in a machine
or other configuration file. The linux-yocto recipes currently
initialize the variable, which clobbers any values set by .conf
files.

Appending to the variables allows these settings to propagate to
the kernel configuration, while maintaining the existing set of
added kernel features.

(From OE-Core rev: 7121fe8d836fc178e9ab8f0e6f8eb34a99325c81)

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>
12 years agolibgnome-keyring: add missing DEPENDS on intltool-native
Jackie Huang [Tue, 11 Sep 2012 15:13:22 +0000 (23:13 +0800)]
libgnome-keyring: add missing DEPENDS on intltool-native

libgnome-keyring requires command 'intltoolize' in configure,
so add DEPENDS intltool-native.

[YOCTO #3081]

(From OE-Core rev: 3d07587cc530f856c985c03a9b9b42cfb89c502c)

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibgpg-error: Use the source file for the licence checksum
Richard Purdie [Tue, 11 Sep 2012 14:25:37 +0000 (15:25 +0100)]
libgpg-error: Use the source file for the licence checksum

It makes sense to us the license checksum from the source .in file rather
than that from the generated file which configure can change (or remove).

(From OE-Core rev: 38b853b669428c8ac390ee7dd063331b6f03476e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoautotools.bbclass: Add functionality to force a clean of ${B} when reconfiguring...
Richard Purdie [Tue, 11 Sep 2012 14:22:29 +0000 (15:22 +0100)]
autotools.bbclass: Add functionality to force a clean of ${B} when reconfiguring (and ${S} != ${B})

Unfortunately whilst rerunning configure and make against a project will mostly
work there are situations where it does not correctly do the right thing.

In particular, eglibc and gcc will fail out with errors where settings
do not match a previously built configuration. It could be argued they are
broken but the situation is what it is. There is the possibility of more subtle
errors too.

This patch adds removal of the build directory (${B}) when configure is
rerunning, the sstate checksum for do_configure has changed and ${S} != ${B}.
We could simply use a stamp but saving out the previous configuration checksum
adds some data at no real overhead.

If we find there are things where we want to disable this behaviour with
CONFIGURESTAMPFILE = "" in the recipe, or users could disable it globally.

[YOCTO #2774]
[YOCTO #2848]

This is particularly helpful for eglibc and gcc which use split builds by default and
are a particular source of reconfigure type problems.

(From OE-Core rev: f15f61af77cc4e52a037f509f8e49e1ea530cf35)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agonativesdk-qemu: fix SDK relocation issue
Laurentiu Palcu [Tue, 11 Sep 2012 13:55:31 +0000 (16:55 +0300)]
nativesdk-qemu: fix SDK relocation issue

User mode emulation binaries are linked using a local linker script. The
nativesdk ones were not used and the resulting binaries did not have the
interp section resized. Hence, those binaries could not be relocated.

[YOCTO #3083]

(From OE-Core rev: da014e900adfe96f01290c5a8f5fb08e295ca204)

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>
12 years agoclasses/sanity: remove obsolete code
Paul Eggleton [Tue, 11 Sep 2012 09:40:15 +0000 (10:40 +0100)]
classes/sanity: remove obsolete code

We can now rely upon the minimum BitBake version having the
SanityCheckFailed event, so remove the code to handle if this is not
there.

(From OE-Core rev: ba17572c9c11efb45a92ba97914ce1f6d84002c8)

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>
12 years agoclasses/sanity: skip tune checks if machine is invalid
Paul Eggleton [Tue, 11 Sep 2012 09:40:14 +0000 (10:40 +0100)]
classes/sanity: skip tune checks if machine is invalid

If there is no valid machine configuration it's almost guaranteed that
the tune checks will fail, so just suppress them in that case.

(From OE-Core rev: 629c585e687cda9290efcffd18dd92fdf16009ab)

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>
12 years agogettext: Make gettext 0.16.1 extend native and nativesdk.
Martin Ertsaas [Tue, 11 Sep 2012 08:30:18 +0000 (10:30 +0200)]
gettext: Make gettext 0.16.1 extend native and nativesdk.

gettext 0.16.1 is a GPLv2 version of gettext. Making that extend native and
nativesdk makes sure we use the same version of gettext for compiling internally
as well as in our toolchain.

(From OE-Core rev: 6322a1b3680d2480c96433fde5a913b3bf2d09ea)

Signed-off-by: Martin Ertsaas <mertsas@cisco.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolinux-yocto/3.4: v3.4.10 and uprobes/kprobes configuration updates
Bruce Ashfield [Mon, 10 Sep 2012 17:51:00 +0000 (13:51 -0400)]
linux-yocto/3.4: v3.4.10 and uprobes/kprobes configuration updates

Updating to 3.4.10 which has been soaking for a bit now, as well
as picking up the following meta commits from Tom Z:

  a82db2f meta: have systemtap use kprobes and uprobes feature
  d5d5b80 meta: add kprobes support to ktypes/standard
  b32d373 meta: add kprobes feature
  d40ed99 meta: have uprobe feature use uprobe.cfg
  a69d1db meta: add uprobe.cfg

(From OE-Core rev: fb71d8c3ab735739baedcb5c8c44b028890d8a5e)

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>
12 years agogcc-4.7: Backport libgcc fixes to appease the new build sequence
Khem Raj [Thu, 6 Sep 2012 00:38:25 +0000 (17:38 -0700)]
gcc-4.7: Backport libgcc fixes to appease the new build sequence

This makes the libgcc builds identical when done with gcc-cross-initial
or final gcc-cross. Since eglibc only sees gcc-cross-initial it is
important that the final libgcc that appears on root file system is same
as the one against which eglibc was built.

(From OE-Core rev: bd0ab094d6c36b55848e23e63b96587773299a7f)

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>
12 years agogcc-4.7: Fix build for armv4/EABI and ppc/Os
Khem Raj [Fri, 17 Aug 2012 05:42:07 +0000 (22:42 -0700)]
gcc-4.7: Fix build for armv4/EABI and ppc/Os

arm patch is a forward port from OE/classic
ppc patch should help in building images with Os

(From OE-Core rev: ac9ebcea4a2b778f6dd103a729831d9a9be281df)

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>
12 years agotelepathy-idle: fix parallel build
Ross Burton [Mon, 10 Sep 2012 12:49:37 +0000 (13:49 +0100)]
telepathy-idle: fix parallel build

Apply a patch from upstream git, and clean up our other patch so that it
applies.

[ YOCTO #3056 ]

(From OE-Core rev: b0d23a1e3335ccd9bdc5b6512020ff3321619abf)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agowebkit-gtk: work around Make bug by re-running make
Ross Burton [Mon, 10 Sep 2012 16:02:22 +0000 (17:02 +0100)]
webkit-gtk: work around Make bug by re-running make

GNU make 3.82 has a bug where it drops required dependencies.
https://bugs.webkit.org/show_bug.cgi?id=79498 is the WebKitGTK+
bug, and http://savannah.gnu.org/bugs/?30653 is the GNU Make bug.

Work around this by running make again if it fails just in case the failure is
due to the bug.

Based on a patch by Andreas Müller <schnitzeltony@googlemail.com>.

[ YOCTO #2816 ]

(From OE-Core rev: af5bdc8ca413d6cabeb4f4b4c5836912a17f28be)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoshadow-native: Ensure that ${sbindir} and ${base_sbindir} are respected
Phil Blundell [Sun, 9 Sep 2012 10:48:45 +0000 (11:48 +0100)]
shadow-native: Ensure that ${sbindir} and ${base_sbindir} are respected

These values need to be passed on the command line to "make install" otherwise
shadow will use its own built-in idea of where those directories are located.

(From OE-Core rev: 2b4b5f3259be4b790c098fc98cae0275ac6804a0)

Signed-off-by: Phil Blundell <pb@pbcl.net>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoshadow: Fix various invalid assumptions about directory layout
Phil Blundell [Sun, 9 Sep 2012 10:22:53 +0000 (11:22 +0100)]
shadow: Fix various invalid assumptions about directory layout

The makefiles in the shadow package have their own hard-coded paths
for ${base_bindir} and ${base_sbindir} (known as "bindir" and "sbindir"
in shadow-speak).  Ensure that they install into our paths rather than
their own.

Also check that ${base_bindir} and ${bindir} are different before trying
to move files from one to the other; likewise for ${base_sbindir} and
${sbindir}.

(From OE-Core rev: d4e62e164ef73b47c178edcbc2579f5358934afc)

Signed-off-by: Phil Blundell <pb@pbcl.net>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoperl-native: PROVIDE libmodule-build-perl-native for consistency with non-native...
Phil Blundell [Sun, 9 Sep 2012 09:13:08 +0000 (10:13 +0100)]
perl-native: PROVIDE libmodule-build-perl-native for consistency with non-native perl

This module is, apparently, included in the standard perl distribution
since 5.10.1 or so.  The regular perl recipe has had this PROVIDES for a
while but it seems to have been overlooked in the native version.

(From OE-Core rev: 2c3e8c5ab098f84c77729377afc240bc71d81665)

Signed-off-by: Phil Blundell <pb@pbcl.net>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoqt4: Update qt4.inc to remove staticdev deps in -dbg packages
Mark Hatle [Fri, 7 Sep 2012 22:07:11 +0000 (17:07 -0500)]
qt4: Update qt4.inc to remove staticdev deps in -dbg packages

It appears that the qt4.inc had a copy/paste error relating to creating
a list of staticdev packages, that caused them to show up as dependencies
in the -dbg package.

(From OE-Core rev: a7c5cec5fc63b4a26d84673460426b35669068dc)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobase-files: provide a mechanism to skip creation of the hostname file
Mark Asselstine [Sat, 8 Sep 2012 13:42:21 +0000 (08:42 -0500)]
base-files: provide a mechanism to skip creation of the hostname file

The existence of a /etc/hostname file causes any hostname provided on
the kernel command line or via dhcp to be overwritten by the
initscripts 'init.d/hostname.sh'. This change allows you to set a
value of "" for 'hostname' which will skip the creation of the
/etc/hostname file by the base-files package.

(From OE-Core rev: 5fd3503d4a438d126f44fe8118e9ea465e7699c2)

Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopackage_rpm.bbclass: Avoid unnecessary installs in complementary pass
Mark Hatle [Fri, 7 Sep 2012 22:05:44 +0000 (17:05 -0500)]
package_rpm.bbclass: Avoid unnecessary installs in complementary pass

When called with the complementary install option, the first step is to
backup the install manifest so that we can avoid installing items previously
installed.  However, this backup process skipped the initial_install portion
of the manifest, causing early install items like libc6, bash, and base-files
to be installed a second time.

Fix this by cating the files to original_solution.  This is done as an append to
allow multiple calls to package_install_internal_rpm to work.

(From OE-Core rev: af9fd7566a5de4716a202922f5eabb13a412f2fb)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoimage.bbclass: Enable the complementary install to be called w/ globbing params
Mark Hatle [Fri, 7 Sep 2012 22:05:43 +0000 (17:05 -0500)]
image.bbclass: Enable the complementary install to be called w/ globbing params

If the image.bbclass is called with arguments, and these arguments are not
"populate_sdk", they will be passed in as the expected GLOBS.

This enables external components and scripting to use the
rootfs_install_complementary code.

(From OE-Core rev: f44c5f227a170290f567d0a0a24baaa870048788)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosstate: Append to EXTRASSTATEMAPS and add comment
Richard Purdie [Wed, 12 Sep 2012 13:23:37 +0000 (14:23 +0100)]
sstate: Append to EXTRASSTATEMAPS and add comment

Appending to EXTRA_SSTATEMAPS is better than just hardcoding a value. Also
add a comment about why this is necessary.

(From OE-Core rev: d4f4a57b8d564d57256017d937ed2eabf94c36ae)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: hob/packageselectionpage: restore selected packages
Cristiana Voicu [Mon, 10 Sep 2012 12:49:57 +0000 (15:49 +0300)]
bitbake: hob/packageselectionpage: restore selected packages

After "Cancel" action, selected packages are restored to default.

[YOCTO #2984]
(Bitbake rev: 81b0c0cd15cbd61285e6525f482412051371ea4c)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: hob: rename task -> packagegroup in recipe selection
Paul Eggleton [Mon, 10 Sep 2012 17:26:46 +0000 (18:26 +0100)]
bitbake: hob: rename task -> packagegroup in recipe selection

This changes the filtering to use the inheritance of
packagegroup.bbclass to determine if a recipe is a package group.

Also makes the tab tooltip text generic; these recipes could come from
any enabled layer, not just the default ones.

(Bitbake rev: a3bf87a90198bf6127663c27d8be086dab04aaf9)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: hob: ensure error message text is properly escaped
Paul Eggleton [Mon, 10 Sep 2012 17:11:17 +0000 (18:11 +0100)]
bitbake: hob: ensure error message text is properly escaped

Our poor implementation of markup escaping was causing invalid
markup, leading to the error dialog being blank. Use the glib markup
escaping function provided by PyGTK+ to do this properly and avoid the
blank error dialogs.

Partial fix for [YOCTO #2983].

(Bitbake rev: 563ea5233a5ab1629c51e802d04280692f96c596)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: hob: use correct semantics for dealing with pkgdata
Paul Eggleton [Mon, 10 Sep 2012 14:36:29 +0000 (15:36 +0100)]
bitbake: hob: use correct semantics for dealing with pkgdata

Some of these values may or may not be overridden on a per-package
basis, so handle them accordingly.

(Bitbake rev: 56cee6a958843b03c5389d4a45245a04d1e03327)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoclasses/packageinfo: use better method to check if package exists
Paul Eggleton [Mon, 10 Sep 2012 12:58:10 +0000 (13:58 +0100)]
classes/packageinfo: use better method to check if package exists

Instead of using a rather error-prone method of looking for output
package files in order to determine if a package got created, use the
.packaged file within pkgdata.

This fixes two separate issues:
* Some packages apparently not being found by this code e.g. all
  apm/apmd packages when using ipk packaging.
* Buggy implementation of this checking code which triggered an
  exception during the event handler if PKGV was overridden on a
  per-package basis (as it is with external-sourcery-toolchain), which
  blocked Hob from completing parsing at 99% - fixes [YOCTO #2651].

(From OE-Core rev: 48169c6bc44c546cecaa06207b6c36da558b81f7)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: tinfoil: Add file inadvertently not committed
Richard Purdie [Mon, 10 Sep 2012 20:50:34 +0000 (21:50 +0100)]
bitbake: tinfoil: Add file inadvertently not committed

(Bitbake rev: 44a3fb49e817be641090d5d1bce7b586af407d71)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopackagegroup-core-x11-xserver: remove redundant PACKAGES statement
Ross Burton [Mon, 10 Sep 2012 12:22:36 +0000 (13:22 +0100)]
packagegroup-core-x11-xserver: remove redundant PACKAGES statement

(From OE-Core rev: 8d16cbe934291557a26e61266417febcb2e8dfba)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoeglibc-initial-2.16: add kconfig-frontends-native to depends
Martin Jansa [Mon, 10 Sep 2012 14:04:38 +0000 (16:04 +0200)]
eglibc-initial-2.16: add kconfig-frontends-native to depends

* fixes:
  | make[1]: Entering directory `/OE/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/eglibc-initial-2.16-r8+svnr20393/eglibc-2_16/libc'
  | make[1]: *** No rule to make target `/OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/bin/conf', needed by `config'.  Stop.
  | make[1]: Leaving directory `/OE/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/eglibc-initial-2.16-r8+svnr20393/eglibc-2_16/libc'

* it's because, eglibc-initial.inc overwrites DEPENDS from eglibc_2.16.bb
  $ grep DEPENDS eglibc_2.16.bb
  DEPENDS += "gperf-native kconfig-frontends-native"
  $ grep DEPENDS eglibc-initial.inc
  DEPENDS = "linux-libc-headers virtual/${TARGET_PREFIX}gcc-initial"

  and it's included after eglibc_2.16.bb
  $ head -n 3 eglibc-initial_2.16.bb
  require eglibc_${PV}.bb
  require eglibc-initial.inc

(From OE-Core rev: 8616e16ea0f9536c431e203e19d7bdff6ca867bb)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: cooker: fix handling of exceptions during exception handling
Paul Eggleton [Fri, 7 Sep 2012 15:22:54 +0000 (16:22 +0100)]
bitbake: cooker: fix handling of exceptions during exception handling

If an exception occurs during handling another exception we were
getting a useless traceback such as the following, after which
BitBake froze:

ERROR: Command execution failed: Traceback (most recent call last):
  File "/home/user/poky/poky/bitbake/lib/bb/command.py", line 84, in runAsyncCommand
    self.cooker.updateCache()
  File "/home/user/poky/poky/bitbake/lib/bb/cooker.py", line 1207, in updateCache
    if not self.parser.parse_next():
  File "/home/user/poky/poky/bitbake/lib/bb/cooker.py", line 1694, in parse_next
    logger.error('Unable to parse %s', value.recipe,
AttributeError: 'exceptions.TypeError' object has no attribute 'recipe'

Fix this to print an actual traceback of the exception and exit
gracefully (well, as gracefully as possible under the circumstances).

The general fix for [YOCTO #2977].

(Bitbake rev: 675b237a284dff84e972546774b69e2f89afb360)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: fetch2: fix malformed URL causing a useless traceback
Paul Eggleton [Fri, 7 Sep 2012 15:22:53 +0000 (16:22 +0100)]
bitbake: fetch2: fix malformed URL causing a useless traceback

The implementation of NoMethodError and MalformedUrl was broken - if you
just set self.args in an exception class to a string it treats it as a
list and then fails later on with a TypeError due to the number of
arguments not matching up.

This nasty exception during exception handling was breaking the normal
exception flow (fixed separately), which meant that if you had a
malformed URL or invalid protocol in SRC_URI you would get the
following:

ERROR: Command execution failed: Traceback (most recent call last):
  File "/home/user/poky/poky/bitbake/lib/bb/command.py", line 84, in runAsyncCommand
    self.cooker.updateCache()
  File "/home/user/poky/poky/bitbake/lib/bb/cooker.py", line 1207, in updateCache
    if not self.parser.parse_next():
  File "/home/user/poky/poky/bitbake/lib/bb/cooker.py", line 1694, in parse_next
    logger.error('Unable to parse %s', value.recipe,
AttributeError: 'exceptions.TypeError' object has no attribute 'recipe'

A specific fix for [YOCTO #2977].

(Bitbake rev: 9d4150d99051d24ff218e8a43664ceaf524b19c7)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: hob/imageconfigurationpage: remove or_label reference
Cristiana Voicu [Mon, 10 Sep 2012 08:49:27 +0000 (11:49 +0300)]
bitbake: hob/imageconfigurationpage: remove or_label reference

When or_label was removed, I forgot to remove also the references to it.

[YOCTO #3010]

(Bitbake rev: 4d208aaedd60f79a4277f501fdbf8c2afc32c250)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolib/oe/sstatesig.py: add signature data query function
Paul Eggleton [Mon, 27 Aug 2012 20:45:14 +0000 (20:45 +0000)]
lib/oe/sstatesig.py: add signature data query function

Add a function that can be used from BitBake code which will find
signature data (sigdata/siginfo) files based on specified criteria, and
hook it into BitBake as bb.siggen.find_siginfo.

(From OE-Core rev: 9f0453c29891e32f8038c4bbc22ada28bfbf818a)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoyocto-bsp: remove packagegroup-core-tools-profile.bbappend
Tom Zanussi [Wed, 5 Sep 2012 00:42:47 +0000 (00:42 +0000)]
yocto-bsp: remove packagegroup-core-tools-profile.bbappend

The functionality previously added by these bbappends was already
handled in task-core-tools-profile.bb (now
packagegroup-core-tools-profile.bb), so remove this.

(From meta-yocto rev: e999a6639a711f5c9a64c69d6b89fb478566d34a)

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agorunqemu-internal: New qemu calls it qemu-system-i386 for x86
Khem Raj [Fri, 7 Sep 2012 08:01:17 +0000 (01:01 -0700)]
runqemu-internal: New qemu calls it qemu-system-i386 for x86

New qemu calls the x86 system emulator to be qemu-system-i386
which is consistent now so change it in scripts

(From OE-Core rev: b1ccf0202ba66f9be76463df177f11719ab589e8)

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>
12 years agoqemu-git: Move to tip of git past 1.2 release
Khem Raj [Wed, 25 Apr 2012 22:46:20 +0000 (15:46 -0700)]
qemu-git: Move to tip of git past 1.2 release

There are a lot of armv7 and sh4 fixes that
its worth moving to latest version. The patch
forward porting can happen later.

(From OE-Core rev: 1b91e597f3550c35605d6b15fd958376e3dde93d)

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>
12 years agoqemu: Update from 0.15 to 1.2
Khem Raj [Thu, 6 Sep 2012 22:22:55 +0000 (15:22 -0700)]
qemu: Update from 0.15 to 1.2

Forward port the patches which were not applied upstream

(From OE-Core rev: 0c1328a27881f1b3046ed527447608a9fa91b1ea)

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>
12 years agoAdd package wget and perl modules.
Saul Wold [Thu, 6 Sep 2012 18:38:23 +0000 (11:38 -0700)]
Add package wget and perl modules.

LSB needs wget to download packages but wget provided by busybox doesn't
support some options such as '-N'.

LSB perl test 4.1.6-2 case all/tst_perlModPresent.pl,
../lib/Class/ISA/t/00_about_verbose and ../lib/Class/ISA/t/01_old_junk.t
fail because of lack of these modules, add them to make test pass.

File CORE/config.h which is provided by perl-dev and file
unicore/version which is provided by perl-doc are required by LSB perl
test cases.

Add perl-dev and perl-doc to packagegroups-core-lsb.

[Yocto #3030 #3031 #3052 #3054 #3055]

(From OE-Core rev: ac4a60a1c585bfe5bdce1556303d49bef2594070)

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Rebased for packagegroup change -sgw
These perl libraries are being added directly to OE-Core for 4.1
LSB Complainace, when 5.0 comes out early next year (2013), we will
remove these changes.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibi18n-collate-perl: add it
Kang Kai [Fri, 31 Aug 2012 10:00:11 +0000 (18:00 +0800)]
libi18n-collate-perl: add it

This module is deprecated from perl 5.003_06.
But LSB perl test 4.1.6-2 still test it.
So add it.

[Yocto #3031]

(From OE-Core rev: 8228aa1f6bc1ee5ecddd78ce43d5ebfc0eed2d3c)

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>
12 years agolibfile-checktree-perl: add it
Kang Kai [Fri, 31 Aug 2012 10:00:10 +0000 (18:00 +0800)]
libfile-checktree-perl: add it

LSB perl test 4.1.6-2, all/tst_perlModPresent.pl 1 fails with:
test 88 'use File::CheckTree;' failed

Add it to fix this issue.

[Yocto #3031]

(From OE-Core rev: af5141135d0888ea1f72cd63c454bc82884ec567)

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>
12 years agolibenv-perl: add it
Kang Kai [Fri, 31 Aug 2012 10:00:09 +0000 (18:00 +0800)]
libenv-perl: add it

Just add it for LSB 4.1 perl tests.

[Yocto #3031]

(From OE-Core rev: 16be305db800c976e6241973e0cf176b954de8e4)

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>
12 years agolibdumpvalue-perl: add it
Kang Kai [Fri, 31 Aug 2012 10:00:08 +0000 (18:00 +0800)]
libdumpvalue-perl: add it

LSB perl test 4.1.6-2 case all/tst_perlModPresent.pl 1 fails with:
test 44 'use Dumpvalue;' failed

So add libdumpvalue-perl to fix it.

(From OE-Core rev: 0141967e4a721586c2c04252aae3b8e3732f53c3)

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>
12 years agolibpod-plainer-perl: add it
Kang Kai [Fri, 31 Aug 2012 10:00:07 +0000 (18:00 +0800)]
libpod-plainer-perl: add it

LSB perl test 4.1.6-2 case all/tst_perlModPresent.pl 1 fails with:
test 190 'use Pod::Plainer;' failed

Add libpod-plainer-perl to fix it.

[Yocto #3031]

(From OE-Core rev: 0c26ced44326280f65f574c6ffb2dc1392a2f79e)

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>
12 years agoperl: package modules Pod-Html and Tie-Hash-NamedCapture
Kang Kai [Fri, 31 Aug 2012 10:00:06 +0000 (18:00 +0800)]
perl: package modules Pod-Html and Tie-Hash-NamedCapture

Package modules Pod-Html and Tie-Hash-NamedCapture.

Without module Tie::Hash::NameCapture.pm, call "use English;" will fail.

Module Pod::Html is required by LSB perl test 4.1 case
all/tst_perlModPresent.pl 1.

[Yocto #3031]

(From OE-Core rev: e8d4386b48e169f126dd2fa018b3f44c8a42eef8)

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>
12 years agolibclass-isa-perl: add it
Kang Kai [Fri, 31 Aug 2012 10:00:05 +0000 (18:00 +0800)]
libclass-isa-perl: add it

perl module Class::ISA is needed by LSB 4.1 perl test, so add it.
When LSB 5.0 release, it will be deprecated. But we need it now.

[Yocto #3030]

(From OE-Core rev: f2e8d7670d926aa88c3c38996d1a216812741dd2)

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>
12 years agou-boot: Use fw_env.config if available.
Franklin S. Cooper Jr [Fri, 7 Sep 2012 23:42:56 +0000 (18:42 -0500)]
u-boot: Use fw_env.config if available.

* Add support for board specific fw_env.config file if available.

(From OE-Core rev: 5b6a8e987f9039aca63d97bc42421b78acab8a3d)

Signed-off-by: Franklin S. Cooper Jr <fcooper27jr@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agocore-image: allow root login when debug-tweaks is enabled
Saul Wold [Fri, 7 Sep 2012 22:18:36 +0000 (15:18 -0700)]
core-image: allow root login when debug-tweaks is enabled

This allows root to login over ssh with an empty password just like
dropbear when the debug-tweaks are enabled, it's important to disable
debug-tweaks for a production system as this will leave open a security
hole!

Thanks to Marc for the settings.
Cc: Marc Ferland <marc.ferland@gmail.com>
[Yocto #3078]

(From OE-Core rev: 13e6aa8bba6ab1ebba1efa23f94af379a8fcb6a9)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoxserver-xorg: make DRI/GLX options respect opengl distro feature
Ross Burton [Fri, 7 Sep 2012 10:49:25 +0000 (11:49 +0100)]
xserver-xorg: make DRI/GLX options respect opengl distro feature

If the distro doesn't have the opengl feature there's no point building the DRI
or GLX support, making the mesa-dri build dependency optional.

(From OE-Core rev: 73d02f6b121c8b0ed2d42de0bfd6c227fd4de41f)

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>
12 years agoxserver-xorg-lite: remove
Ross Burton [Fri, 7 Sep 2012 10:48:16 +0000 (11:48 +0100)]
xserver-xorg-lite: remove

Building xserver-xorg and not installing the DRI and GLX modules (and so not
Mesa) results in an increase of 16kb compared to this package.

This isn't worth the effort of maintaining two packages.

(From OE-Core rev: 586835801a11e514a10228be957713e1ce90dd44)

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>
12 years agoautoconf: use --warning=cross only if supported
Constantin Musca [Fri, 7 Sep 2012 08:22:16 +0000 (11:22 +0300)]
autoconf: use --warning=cross only if supported

Adapt autoconf to pass --warning=cross to automake only if
supported.

[YOCTO #842]

(From OE-Core rev: 16d1c8f076378d0878f332f83b7e1f5fcf16447d)

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>
12 years agomachines/x86: Drop redundant glibc configure knobs
Khem Raj [Thu, 6 Sep 2012 22:23:40 +0000 (15:23 -0700)]
machines/x86: Drop redundant glibc configure knobs

nptl and thereby tls are not optional anymore

(From OE-Core rev: 1a4b277e47a8d624cde4c73713d036e230f3a523)

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>
12 years agokconfig-frontends: Create symlinks for conf and mconf
Khem Raj [Thu, 6 Sep 2012 22:20:36 +0000 (15:20 -0700)]
kconfig-frontends: Create symlinks for conf and mconf

eglibc calls out mconf and conf directly so lets create
symlinks to point to their kconfig- counterparts

(From OE-Core rev: 5857772e285ad6e39b7216bc542189e45f6fdbf7)

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>
12 years agoeglibc: Enable kconfig for option management
Khem Raj [Thu, 6 Sep 2012 22:19:18 +0000 (15:19 -0700)]
eglibc: Enable kconfig for option management

(From OE-Core rev: 13e2ccf6f4e71d674583894750f70865ebe5e4d1)

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>
12 years agoeglibc-2.16: Add kconfig infrastructure
Khem Raj [Thu, 6 Sep 2012 04:52:34 +0000 (21:52 -0700)]
eglibc-2.16: Add kconfig infrastructure

This will let eglibc use kernel like option
management through kconfig

(From OE-Core rev: 4282b86072fd5a916d0d12082d6ba575bce691f2)

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>
12 years agoarch-armv4.inc: On armv4 add --fix-v4bx to linker flags for kernel
Khem Raj [Fri, 31 Aug 2012 21:18:45 +0000 (14:18 -0700)]
arch-armv4.inc: On armv4 add --fix-v4bx to linker flags for kernel

(From OE-Core rev: 2092e08ba81595c6aaedca8237f6717409eb53b6)

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>
12 years agopixman: ignore NEON, IWMMXT, LOONGSON_MMI variables for class-native
Martin Jansa [Wed, 5 Sep 2012 01:05:37 +0000 (03:05 +0200)]
pixman: ignore NEON, IWMMXT, LOONGSON_MMI variables for class-native

* pixman-native can have different do_configure sstate checksums if it's built with armv4t machine and armv7a
  OE @ ~ $ bitbake/bin/bitbake-diffsigs
    before-mgmt/stamps.1346795706/nokia900/x86_64-linux/pixman-native-*.do_configure.sigdata.*
    after-mgmt/stamps.1346801508/om-gta02/x86_64-linux/pixman-native-*.do_configure.sigdata.*
  basehash changed from 27e577de60880a788c7aaba797ef83e0 to c6799807eb3e767daf1e75738fc753f7
  Variable NEON value changed from   to  --disable-arm-neon
* so if you start building with different machine then last time (wrt
  NEON setting) all recipes which depends on pixman-native will be rebuilt too
* this explains why sstate-cache-management.sh wanted to remove many
  native sstate packages when --stamps-dir option was used (see comment
  28 in https://bugzilla.yoctoproject.org/show_bug.cgi?id=2897)

(From OE-Core rev: 0b466e6677208aeefdfa15aa37bd4681eda166c8)

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>
12 years agopixman: merge meta-oe append into oe-core
Andreas Müller [Wed, 5 Sep 2012 01:05:36 +0000 (03:05 +0200)]
pixman: merge meta-oe append into oe-core

* neon configuration settings included
* patches were aligned to 0.27.2.

(From OE-Core rev: 97c547f3efc4bfd801a24f189ee3f38e5a017fb7)

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
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>
12 years agopackage_rpm.bbclass: fix incremental rpm image generation
Robert Yang [Wed, 5 Sep 2012 14:54:07 +0000 (22:54 +0800)]
package_rpm.bbclass: fix incremental rpm image generation

* Check ${target_rootfs}/etc/passwd rather than
  ${target_rootfs}${rpmlibdir} to make sure that it has been previously
  installed.

* Remove the "--nodeps" when incremental image generation, it should
  take care of the dependencies. Still use "--replacefiles --replacepkgs" in
  case there are conflicts.

[YOCTO #3047]

(From OE-Core rev: 2b3df2ec7979a49842df172be442a8794fe68fff)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolsb: update version
Kang Kai [Wed, 5 Sep 2012 09:31:04 +0000 (17:31 +0800)]
lsb: update version

Update package lsb version to be same with current lsb test suit
version. Because when install the suit, it warns that need lsb
version >= 3.0 at least.

Drop the duplicated creating files under /etc/lsb-release.d.

Provides directories /etc/opt and /var/opt that they are required by
package lsb-dist-checker in lsb test suit.

(From OE-Core rev: 973e615ab4ee325ab568f84e001a5724f4b0dd01)

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>
12 years agoltp: update
Kang Kai [Wed, 5 Sep 2012 09:31:03 +0000 (17:31 +0800)]
ltp: update

Update to latest version 20120903

(From OE-Core rev: e14a9921928c774d1817704a0a606d3ac7e4f989)

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>
12 years agoqemuimagetest: modifying the scenario file as per new test cases
Veerabrahmam vr [Thu, 6 Sep 2012 06:36:28 +0000 (06:36 +0000)]
qemuimagetest: modifying the scenario file as per new test cases

modified scenario files.

(From OE-Core rev: dfd2ead41846c568d251a47c4baa2d9666e0c98f)

Signed-off-by: veerabrahmam <veerabrahmamvr@huawei.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoqemuimagetest: add basic function to check syslogd
Veerabrahmam vr [Thu, 6 Sep 2012 06:34:34 +0000 (06:34 +0000)]
qemuimagetest: add basic function to check syslogd

one test case to check syslogd is executing on target.

(From OE-Core rev: 9286ea7a4eb85ba559d48135458f3b94da7a3866)

Signed-off-by: veerabrahmam <veerabrahmamvr@huawei.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoqemuimagetest: add basic function to check enough disk space
Veerabrahmam vr [Thu, 6 Sep 2012 06:31:46 +0000 (06:31 +0000)]
qemuimagetest: add basic function to check enough disk space

one test case to check disk space availability.

(From OE-Core rev: d7b549a72a91db41d8b7084b4b3efa162a62a880)

Signed-off-by: veerabrahmam <veerabrahmamvr@huawei.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoqemuimagetest: basic function to check bash exists
Veerabrahmam vr [Thu, 6 Sep 2012 06:29:16 +0000 (06:29 +0000)]
qemuimagetest: basic function to check bash exists

 one test case to check  bash command availability on qemu target.

Signed-off-by: veerabrahmam <veerabrahmamvr@huawei.com>
(From OE-Core rev: 357478b624b27fdfce25b6064b0f64717db75fa6)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobin_package.bbclass: binary package recipe class
Robert Yang [Sun, 2 Sep 2012 04:15:47 +0000 (12:15 +0800)]
bin_package.bbclass: binary package recipe class

This is used for the binary package recipe, it's been suggested that it
would be a useful feature to be able to easily take an RPM or similar
containing a software binary from a 3rd party software vendor and
integrate it into an image created by the build system.

* Brief introduction
  - The binary pkg can be .rpm, .deb, .ipk and other formats which can
    be unpacked by bitbake fetcher.

  - Let bitbake unpack the bianry package, just like unpack the source
    package.

  - Skip the do_configure and do_compile.

  - Install the files to ${D}

  - Other steps are similar to the source package's recipe.

* Note:
  - The "subdir" parameter in the SRC_URI is useful for the binary
    package recipe, so I added an example in the comment.

  - I have sent a patch to bitbake-devel mailing list to support
    unpack the .rpm, .ipk, and .deb files.

[YOCTO #1592]

(From OE-Core rev: 7037f52909b8226d2afed4ac73c902d410afc112)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopackage_rpm.bbclass: fix the arch (replace "-" with "_")
Robert Yang [Mon, 10 Sep 2012 07:58:52 +0000 (15:58 +0800)]
package_rpm.bbclass: fix the arch (replace "-" with "_")

rpm can't use the "-" as the arch, which causes problem, e.g., when
MACHINE = "beagleboard":

* The arch should be armv7a-vfp-neon, but rpm only takes the armv7a,
  this is incorrect since it is mixed with real arch armv7a.

* The nativesdk's arch should be i686-nativesdk (or x86_64-nativesdk),
  but rpm only takes the i686 (or x86_64), this in incorrect since it is
  mixed with the arch i686 (or x86_64).

Replace "-" with "_" when rpm package and the rootfs generation would
fix the problem, I think this is fine since it doesn't change the tune's
arch, the package manager doesn't care about the arch's name, but it
needs a unify arch system to avoid confusing. This is similar to what we
have done on the deb which fixed the arch i486, i586 and so on to i386.

[YOCTO #2328]

(From OE-Core rev: fc985f511da86400e4fa7d17555216c12eb51666)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodistrodata: replace Tab with Space
Saul Wold [Mon, 10 Sep 2012 06:53:46 +0000 (23:53 -0700)]
distrodata: replace Tab with Space

(From OE-Core rev: adb241958f125cc4c74ac5fbfc00674e7cd7305d)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoclasses/mirrors: remove bogus gnutls mirror
Paul Eggleton [Fri, 7 Sep 2012 13:23:05 +0000 (14:23 +0100)]
classes/mirrors: remove bogus gnutls mirror

This mirror entry which maps to itself plus a slash, if matched, put the
fetcher into a circular loop until the stack space is exhausted. A patch
has been sent to fix this issue in BitBake, but we should remove the
bogus entry as well.

(Note that this entry does not actually trigger the issue with current
master because the gnutls recipe now uses GNU_MIRROR instead of
ftp.gnutls.org, thus the bogus mirror entry is not matched.)

(From OE-Core rev: 0de1827a9601143b090f751ea702fdb65a936b77)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: fetch2: replace double slashes in paths in encodeurl()
Paul Eggleton [Fri, 7 Sep 2012 13:34:35 +0000 (14:34 +0100)]
bitbake: fetch2: replace double slashes in paths in encodeurl()

This ensures that if all a MIRRORS entry does is add a slash, this does
not result in a circular loop.

Fixes [YOCTO #3073].

(Bitbake rev: 57055d337a2c9997a6e5d5bdabaec396e3e128e9)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: hob: print message when DISPLAY is not set
Cristiana Voicu [Fri, 7 Sep 2012 12:00:11 +0000 (15:00 +0300)]
bitbake: hob: print message when DISPLAY is not set

If DISPLAY wasn't set, launching hob has printed a traceback
difficult to understand. Now, the exception is caught and it
shows a human message.

[YOCTO #2596]

(Bitbake rev: a41098a2dacbd903422ccdcd1885b0f351c7ddf3)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: Hob: change view of 'recipes' and 'packages' tables as ui design
Liming An [Wed, 5 Sep 2012 11:13:48 +0000 (19:13 +0800)]
bitbake: Hob: change view of 'recipes' and 'packages' tables as ui design

changed the order of task tables,
cancel the 'description' column,
add the binb total number indicator, and so on

[YOCTO 2195]

(Bitbake rev: 6dc3263d60a6d35f9eebfcdbc2665201ee40b953)

Signed-off-by: Liming An <limingx.l.an@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: bitbake-diffsigs: allow specifying task & follow deps recursively
Paul Eggleton [Mon, 27 Aug 2012 20:44:35 +0000 (21:44 +0100)]
bitbake: bitbake-diffsigs: allow specifying task & follow deps recursively

Add the ability to compare the two most recent runs of a specified task,
and follow dependent hash changes recursively. This enables you to trace
back and find exactly why a task was re-run after the fact.

Note that this relies on the metadata providing a function, hooked in
as bb.siggen.find_siginfo, which allows searching in the appropriate
places to find signature data files.

(Bitbake rev: cc70181659c07e04c205e17832846acf1ff31d28)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: lib/bb/siggen.py: make signature dump/compare functions return a list
Paul Eggleton [Mon, 27 Aug 2012 20:44:34 +0000 (21:44 +0100)]
bitbake: lib/bb/siggen.py: make signature dump/compare functions return a list

These functions become a little bit more reusable if they return a list
containing the output rather than just printing it.

(Bitbake rev: a0ad2a947b71abcc0a1244cf139b9e9dfd8ee049)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: lib/bb/siggen.py: insert a colon between class and recipe name
Paul Eggleton [Mon, 27 Aug 2012 20:44:33 +0000 (21:44 +0100)]
bitbake: lib/bb/siggen.py: insert a colon between class and recipe name

before:
  virtual:nativeautomake_1.12.1.bb.do_compile
after:
  virtual:native:automake_1.12.1.bb.do_compile

This separation ensures that the key is readable, and if necessary,
parsable.

Unfortunately this invalidates previous native sstate signatures with
OE-Core - not much that can be done about that; however that occurs
frequently during the development cycle so it's par for the course.

(Bitbake rev: 5b96c32dad256090e9bda5af0f80c7dbcc90bde8)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: lib/bb/siggen: replace tabs with spaces
Paul Eggleton [Mon, 27 Aug 2012 20:44:32 +0000 (21:44 +0100)]
bitbake: lib/bb/siggen: replace tabs with spaces

We had one section of the code mixing tabs with spaces, which is
particularly undesirable with python code.

(Bitbake rev: 8eaa093b179e03a6003a47220540b1bc73afca17)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: tinfoil: create simple interface for bitbake-based utilities
Paul Eggleton [Mon, 27 Aug 2012 20:44:31 +0000 (21:44 +0100)]
bitbake: tinfoil: create simple interface for bitbake-based utilities

The code to initialise BitBake within bitbake-layers should be useful
for other utilities that need to query configuration or recipe
information, so refactor it out into its own class, "Tinfoil" (to
continue with our cooking metaphor).

(Bitbake rev: e5707e3938ace47c4a8d1fa2e81583fd4dc6b95d)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: crumbs/hig: Save toolchain in settings
Bogdan Marinescu [Wed, 5 Sep 2012 10:11:25 +0000 (13:11 +0300)]
bitbake: crumbs/hig: Save toolchain in settings

Toolchain was not saved in the settings dialog ("Output" tab).

[YOCTO #2695]

(Bitbake rev: f8924b75d6ff7f093d73f4e3c0953e349960d5ff)

Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: hob: The 'run image' and 'deploy image' dialogs text and alignment corrections
Cristiana Voicu [Wed, 5 Sep 2012 07:50:33 +0000 (10:50 +0300)]
bitbake: hob: The 'run image' and 'deploy image' dialogs text and alignment corrections

-changed the text shown by both dialogs text
-make small tweaks to alignment

[YOCTO #2999]

(Bitbake rev: b193db13472908b8ec6c670da96ff3b0004e635b)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: hob/imagedetailspage: "Image ready" icon appers only after the image was...
Cristiana Voicu [Mon, 3 Sep 2012 11:22:04 +0000 (14:22 +0300)]
bitbake: hob/imagedetailspage: "Image ready" icon appers only after the image was generated

Now, "Your image is ready" icon doesn't appear when you come back on Imagedetails
page. It appears only after the image was generated.

[YOCTO #2984]

(Bitbake rev: de29bfc163471e4959483493a5e5b26f8a2cf8a0)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: hobwidget: Button theme is taken from host, fix
Ioana Grigoropol [Mon, 3 Sep 2012 09:51:06 +0000 (12:51 +0300)]
bitbake: hobwidget: Button theme is taken from host, fix

- All buttons in the interface inherit a BaseHobButton that
  use the gtk settings for buttons from the host;
- Removed 'or' label between actions on image details page

[Yocto #3011]

(Bitbake rev: 1a8356b57f906cf575612eb52fc8d3a9824ff9a7)

Signed-off-by: Ioana Grigoropol <ioanax.grigoropol@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>