scm/bb/tizen-distro.git
11 years agolinux-yocto/routerstationpro: enable GPIO_SYSFS
Bruce Ashfield [Fri, 18 Jan 2013 05:19:30 +0000 (00:19 -0500)]
linux-yocto/routerstationpro: enable GPIO_SYSFS

We had a request to enable GPIO_SYSFS to allow easy use of the available
GPIOs in the board out of the box. This is a simple / contained config item
to enable, so there's no reason not to.

[YOCTO #3519]

(From OE-Core rev: 9a5948ff07b62f54d6215d37e9028384d3b430da)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolinux-yocto/meta: update include statements to explicit .scc format
Bruce Ashfield [Fri, 18 Jan 2013 05:19:29 +0000 (00:19 -0500)]
linux-yocto/meta: update include statements to explicit .scc format

The kernel tooling can support a "shorthand" method of including other features
that doesn't require the full filename ending in .scc. This format is confusing
when compared to the source tree, and is inconsitently use. This commit updates
all shorthand includes to a full "include <foo>.scc" format.

[YOCTO #3418]

(From OE-Core rev: acf015f079907da8a4f1b80e44bb64bc7696a6ad)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agokernel-yocto: add KBUILD_OUTPUT to OE_TERMINAL_EXPORTS
Bruce Ashfield [Fri, 18 Jan 2013 05:19:28 +0000 (00:19 -0500)]
kernel-yocto: add KBUILD_OUTPUT to OE_TERMINAL_EXPORTS

Since linux-yocto based recipes have a split build and source directory,
we should export KBUILD=${B} to the devshell. This allows the kernel to
be incrementally build within the shell and not dirty the source
directory (which breaks subsequent full builds).

(From OE-Core rev: 88f88a22dfa730161168b0f228e3954178b74c6a)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolinux-yocto: normalize repository naming and SRC_URI options
Bruce Ashfield [Fri, 18 Jan 2013 05:19:27 +0000 (00:19 -0500)]
linux-yocto: normalize repository naming and SRC_URI options

linux-yocto-tiny and linux-yocto had minor differences from the rest
of the linux-yocto recipes. After this commit, all the recipes are
using bareclone=1 and repository names that end with .git.

(From OE-Core rev: 1acf3ad17bbc1cdcad31c243b7b50daaea99ee7a)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agokernel-yocto: remove unnecessary non-bare warning
Bruce Ashfield [Fri, 18 Jan 2013 05:19:26 +0000 (00:19 -0500)]
kernel-yocto: remove unnecessary non-bare warning

In the past working from a non-bare clone would cause problems,
due to branches not existing in the WORKDIR clone. This hasn't
been true for some time, since the routines which convert remotes
into local branches have been functioning without problems.

So we no longer need the warning and it can be removed.

(From OE-Core rev: 42d42c24a37af0ea8896087c7cc8215eb19f633d)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibnss-mdns:fix support prerm at image creation time
Hongxu Jia [Thu, 17 Jan 2013 12:56:39 +0000 (20:56 +0800)]
libnss-mdns:fix support prerm at image creation time

The pkg_prerm_${PN} failed at image creation time because $D is not assigned
as the prefix of "/etc/nsswitch.conf"

[YOCTO #3633]

(From OE-Core rev: c09767086307d552a18f11250ae42ec34be220fb)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoupdate-rc.d:fix support postrm at image creation time
Hongxu Jia [Thu, 17 Jan 2013 12:56:38 +0000 (20:56 +0800)]
update-rc.d:fix support postrm at image creation time

updatercd_postrm failed at image creation time because "-f -r ${D}" is not
used as update-rc.d's option.

[YOCTO #3633]

(From OE-Core rev: deb8ac868a989f41c0664312a5fb855358be2296)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake.conf: remove update-modules from DISTRO_FEATURES
Laurentiu Palcu [Thu, 17 Jan 2013 14:58:48 +0000 (16:58 +0200)]
bitbake.conf: remove update-modules from DISTRO_FEATURES

Since update-modules is obsolete, remove it from DISTRO_FEATURES.

[YOCTO #3598]

(From OE-Core rev: 5a404ba472c51cec8e13d79e073a1d104a747c44)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agokernel.bbclass: remove references to update-modules
Laurentiu Palcu [Thu, 17 Jan 2013 14:58:47 +0000 (16:58 +0200)]
kernel.bbclass: remove references to update-modules

Since update-modules is now obsolete, remove it from the bbclass.

[YOCTO #3598]

(From OE-Core rev: 323146c7fdf1c47241f3fd5adab2cb3c6d24b56c)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agomodule.bbclass: do not use update-modules anymore
Laurentiu Palcu [Thu, 17 Jan 2013 14:58:46 +0000 (16:58 +0200)]
module.bbclass: do not use update-modules anymore

update-modules is obsolete. The bbclass was updated not to use it
anymore.

[YOCTO #3598]

(From OE-Core rev: 6fafbf71adb8b34211c2bc24226f0b1eb206a7d3)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agohostap-conf: remove dependencies of update-modules
Laurentiu Palcu [Thu, 17 Jan 2013 14:58:45 +0000 (16:58 +0200)]
hostap-conf: remove dependencies of update-modules

Also:
 * install the alias file in the correct /etc/modprobe.d directory since
   this is the directory used by modprobe now;
 * rewrite the alias file to be up-to-date with modprobe's syntax;
 * remove the postinst/postrm scriptlets because this is just an alias
   file;

[YOCTO #3598]

(From OE-Core rev: 427010fd289534d4b4af0bfd74419a4ad0eb5a39)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoorinoco-conf: remove dependencies of update-modules
Laurentiu Palcu [Thu, 17 Jan 2013 14:58:44 +0000 (16:58 +0200)]
orinoco-conf: remove dependencies of update-modules

Since update-modules became obsolete, no need for these dependencies.
Also:
 * install the conf files in the modprobe.d directory. /etc/modutils is
   also obsolete;
 * remove postinst/postrm scriptlets since they ran update-modules and
   this is just an alias file;

[YOCTO #3598]

(From OE-Core rev: ab262d33993c223ec193786951d43d13ca6691e0)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agomodutils-initscripts: improve modutils.sh
Laurentiu Palcu [Thu, 17 Jan 2013 14:58:43 +0000 (16:58 +0200)]
modutils-initscripts: improve modutils.sh

modutils.sh reads /etc/modules to load the listed modules at boot time.
/etc/modules is generated by update-modules which scans
/etc/modules-load.d directory. However, update-modules became obsolete
because the files it generates are not used by modprobe anymore.

Hence, change modutils.sh to scan also /etc/modules-load.d/*.conf and
load the modules listed there.

Basically, the behavior is this:
 * if /etc/modules exists, load those modules;
 * if the directory /etc/modules-load.d exists, load the modules listed
   in the .conf files but ignore those already loaded (from
   /etc/modules);

[YOCTO #3598]

(From OE-Core rev: f2d6e84cb1694e2365beca331439bb2d23843a5b)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoinitramfs-live-boot: handle multiple udev locations
Ross Burton [Thu, 17 Jan 2013 16:29:39 +0000 (16:29 +0000)]
initramfs-live-boot: handle multiple udev locations

udevd isn't on $PATH and is in different places depending on what version of
udev is being used.  Copy the code from initramfs-framework to search for the
right udevd at boot time instead of hard-coding a location.

(From OE-Core rev: a5de76317112fc065a78a745c2f23775dca15d75)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopango: use qemu_run_binary instead of pango-native
Constantin Musca [Thu, 17 Jan 2013 15:53:39 +0000 (17:53 +0200)]
pango: use qemu_run_binary instead of pango-native

- use qemu_run_binary from qemu.bbclass to run pango-querymodules
- remove pango-native from DEPENDS in order to do not create
unbuildable dependency chains (e.g. ['gtk+', 'pango', 'pango-native',
'cairo-native', 'directfb-native'])

[YOCTO #3642]

(From OE-Core rev: c34bb3554112cbaeb4e125ff5ed190c0d3bbcf36)

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobase.bbclass: improve the incompatible license logic a bit
Christopher Larson [Tue, 15 Jan 2013 20:22:51 +0000 (13:22 -0700)]
base.bbclass: improve the incompatible license logic a bit

Handle the potential case where the recipe level LICENSE contains an
incompatible license, but all of its emitted packages are in fact compatible.
Without this adjustment, it would skip such a recipe.

(From OE-Core rev: 9256361cf2e929004dcc5615b21fe3c46d9f7740)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobase.bbclass: use debug messages for INCOMPATIBLE_LICENSE
Christopher Larson [Tue, 15 Jan 2013 20:22:50 +0000 (13:22 -0700)]
base.bbclass: use debug messages for INCOMPATIBLE_LICENSE

Spamming potentially over a screenful of messages due to their
INCOMPATIBLE_LICENSE selection seems a bit unnecessary. If the distro was
configured that way, the user likely won't care, and if the user set it, they
likely know the implications, so make the messages debug instead.

(From OE-Core rev: 72f47df32dce91e3364e3837e2c47bdd2d632571)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolinux-firmware: use LICENSEs which can actually be parsed
Christopher Larson [Tue, 15 Jan 2013 20:22:49 +0000 (13:22 -0700)]
linux-firmware: use LICENSEs which can actually be parsed

: is an invalid character for our license format.

(From OE-Core rev: adb06f5907e8c28c7ee08aeb7c9ca40a1a98cf5f)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolicense.bbclass: cleanly handle invalid licenses in incompatible_license
Christopher Larson [Tue, 15 Jan 2013 20:22:48 +0000 (13:22 -0700)]
license.bbclass: cleanly handle invalid licenses in incompatible_license

This gives us an error message (bb.fatal) rather than a traceback due to the
uncaught LicenseError.

(From OE-Core rev: 7fab4cd27a2ad896218123ca82252e2b59526726)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolicense: correct re.search/fnmatch indentation
Christopher Larson [Tue, 15 Jan 2013 20:22:47 +0000 (13:22 -0700)]
license: correct re.search/fnmatch indentation

This was causing it to only obey the last of the elements in
INCOMPATIBLE_LICENSE.

(From OE-Core rev: df4a4b9792e3bd13b396b94e232c69054fdf19b5)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolicense.bbclass: check LICENSE_pkg, not LICENSE_pn-pkg
Christopher Larson [Tue, 15 Jan 2013 20:22:46 +0000 (13:22 -0700)]
license.bbclass: check LICENSE_pkg, not LICENSE_pn-pkg

Recipes define the latter, as that's what goes into the binary packages, not
the former.

(From OE-Core rev: 6a59b294b99b05e8973b5f2d60678988e90e2de3)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoclasses/image: improve debug-tweaks ssh server configuration
Paul Eggleton [Wed, 16 Jan 2013 17:00:12 +0000 (17:00 +0000)]
classes/image: improve debug-tweaks ssh server configuration

Create a single postprocessing function that enables no-password logins
for both openssh and dropbear when debug-tweaks is in IMAGE_FEATURES,
changing its behaviour slightly:
* Run it regardless of whether ssh-server-* are in IMAGE_FEATURES so
  that it still takes effect if these are installed by adding
  dropbear/openssh to IMAGE_INSTALL.
* Enable it to be run from image.bbclass rather than core-image.bbclass
  so that it works for images that are using the former.

Second half of the fix for [YOCTO #2578].

(From OE-Core rev: 0937054e6e3e02565f57e60a8bdc14b0ad62e249)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agodropbear: allow configuring blank password option at runtime
Paul Eggleton [Wed, 16 Jan 2013 17:00:11 +0000 (17:00 +0000)]
dropbear: allow configuring blank password option at runtime

Instead of using IMAGE_FEATURES to control something within a recipe,
allow this to be set at runtime, avoiding the need to rebuild dropbear
when we want to change this option.

First half of the fix for [YOCTO #2578].

(From OE-Core rev: 313039590171456b652fa7a2f5823c9b7060b20f)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoclasses/rootfs_*: error out if postinstalls exist with read-only rootfs
Paul Eggleton [Wed, 16 Jan 2013 18:09:27 +0000 (18:09 +0000)]
classes/rootfs_*: error out if postinstalls exist with read-only rootfs

If there are postinstall scripts to be run on first boot and
IMAGE_FEATURES contains "read-only-rootfs", we know this will fail on
the target device so just error out during do_rootfs. This check was
already implemented for ipk, so add it to the deb and rpm backends. Also
make all backends use bberror rather than just echo to display the
error.

Fixes [YOCTO #3407].

(From OE-Core rev: 510e377f252dece8850487c30482f83df4a89c7e)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoiptables: upgrade to 1.4.17
Cristian Iorga [Wed, 16 Jan 2013 20:03:12 +0000 (22:03 +0200)]
iptables: upgrade to 1.4.17

patch added to fix cross-compilation issues

(From OE-Core rev: f6c7d5e0590e3e70fb435e747ffdb9fe586e7bfc)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoptest.bbclass: don't add to PACKAGES if disabled
Christopher Larson [Wed, 16 Jan 2013 20:31:36 +0000 (13:31 -0700)]
ptest.bbclass: don't add to PACKAGES if disabled

Without this, we have excessive dependencies leaking into the build. In
particular, glib-2.0 was sucking in python modules even if ptest wasn't in
DISTRO_FEATURES.

(From OE-Core rev: 7bf5ee91aa84a6fa85d6da361b64139889faa172)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoweston: add reference Wayland compositor
Ross Burton [Wed, 5 Dec 2012 10:07:51 +0000 (12:07 +0200)]
weston: add reference Wayland compositor

This is the reference Wayland compositor.

If the "wayland" DISTRO_FEATURE is present the KMS and Wayland (nested)
compositors are enabled.

If the "x11" DISTRO_FEATURE is present the X11 compositor is enabled, and a
launcher installed.

This also ships a basic Wayland terminal.

Based on work by Alexandru Damian <alexandru.damian@intel.com>, Daniel Stone
<daniel@fooishbar.org>, and Damien Lespiau <damien.lespiau@intel.com>.

(From OE-Core rev: 94fcb80121b64974ff57b76275addaa684c559cf)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agomesa-dri: enable the wayland-egl platform
Alexandru DAMIAN [Tue, 18 Dec 2012 13:38:35 +0000 (13:38 +0000)]
mesa-dri: enable the wayland-egl platform

If the "wayland" DISTRO_FEATURE is present, enable the Wayland EGL platform.
This is required by the reference Wayland compositor, Weston.

(From OE-Core rev: 0e56ecdd78212e7743e71c5d6a42ceb65c182786)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agowayland: add Wayland protocol library
Alexandru DAMIAN [Tue, 4 Dec 2012 14:26:01 +0000 (14:26 +0000)]
wayland: add Wayland protocol library

Wayland is a protocol for a client application to display user interface windows
through the use of a compositing window manager. This package include the
specific set of server-side and client-side C libraries that implement the
protocol.

(From OE-Core rev: 41538cb52f3a79c52aa37c34d8f275010b93c2c2)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agox11-common: set XDG_RUNTIME_DIR if it isn't already set
Ross Burton [Wed, 16 Jan 2013 12:59:08 +0000 (12:59 +0000)]
x11-common: set XDG_RUNTIME_DIR if it isn't already set

Wayland needs this set for the communication pipes, so set a fallback in case it
hasn't already been set.

(From OE-Core rev: 263508220674321473a746a137bb5d4b21c55119)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: hob: Fix GTK+ and PyGtk version check error message to be more clear
Jessica Zhang [Thu, 3 Jan 2013 23:32:05 +0000 (15:32 -0800)]
bitbake: hob: Fix GTK+ and PyGtk version check error message to be more clear

Improve the error message the user sees if the versions are incorrect.

[YOCTO #3637]

(Bitbake rev: 7e3a99949358f4362876df5a82f8aeaae72c3c97)

Signed-off-by: Jessica Zhang <jessica.zhang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: hg.py: Fixed fetch failure that occurs when SRCREV is a tag.
Jon Szymaniak [Mon, 17 Dec 2012 14:22:51 +0000 (09:22 -0500)]
bitbake: hg.py: Fixed fetch failure that occurs when SRCREV is a tag.

Removed "-r REV" from hg clone invocation to fetch the entire repo,
rather than just the subset at the specified revision. This will ensure
that the specified tag exists for successive commands (e.g., the update
built on line 149.)

(Bitbake rev: f0a6261d3a8ede9ebdb6383e02cb2c2de1690640)

Signed-off-by: Jon Szymaniak <jon.szymaniak@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: fetch2: Sort file checksums by value, not path
Tyler Hall [Wed, 19 Dec 2012 23:26:50 +0000 (18:26 -0500)]
bitbake: fetch2: Sort file checksums by value, not path

Changing the path to a file could change the task hash even if the file
still has the same checksum. This occurs when the task depends on
multiple files and the sort order of their paths changes. Usually the
sorting is consistent because layers tend to have the same relative
paths, but this should take care of other configuations.

The problem arose when using a .bbappend to add files to a recipe in
another layer. If the layer is located alongside the other layers and
their parent directory is moved, the hash does not change. However,
moving the .bbappend layer outside of the common directory can change
the path sort order and the task hash.

(Bitbake rev: 22bd19d208f0251f5a1f9b98f3cac66181f3fc07)

Signed-off-by: Tyler Hall <tylerwhall@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: bitbake: data_smart.py and friends: Track variable history
Peter Seebach [Fri, 18 Jan 2013 11:47:34 +0000 (11:47 +0000)]
bitbake: bitbake: data_smart.py and friends: Track variable history

This patch adds tracking of the history of variable assignments.
The changes are predominantly localized to data_smart.py and
parse/ast.py. cooker.py and data.py are altered to display the
recorded data, and turn tracking on for the bitbake -e case.
The data.py update_data() function warns DataSmart.finalize()
to report the caller one further back up the tree.

In general, d.setVar() does what it used to do. Optionally,
arguments describing an operation may be appended; if none
are present, the operation is implicitly ignored. If it's
not ignored, it will attempt to infer missing information
(name of variable, value assigned, file and line) by examining
the traceback. This slightly elaborate process eliminates a
category of problems in which the 'var' member of the keyword
arguments dict is set, and a positional argument corresponding
to 'var' is also set. It also makes calling much simpler for
the common cases.

The resulting output gives you a pretty good picture of what
values got set, and how they got set.

RP Modifications:

a) Split from IncludeHistory to separate VariableHistory
b) Add dedicated copy function instead of deepcopy
c) Use COW for variables dict
d) Remove 'value' loginfo value and just use 'details'
e) Desensitise code for calling order (set 'op' before/after
   infer_caller_details was error prone)
f) Fix bug where ?= "" wasn't shown correctly
g) Log more set operations as some variables mysteriously acquired
   values previously
h) Standardise infer_caller_details to be triggered from .record()
   where at all possible to reduce overhead in non-enabled cases
i) Rename variable parameter names to match inference code
j) Add VariableHistory emit() function to match IncludeHistory
k) Fix handling of appendVar, prependVar and matching flag ops
l) Use ignored=True to stop logging further events where appropriate

(Bitbake rev: f00524a3729000cbcb3317fee933ac448fae5e2d)

Signed-off-by: Peter Seebach <peter.seebach@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: bitbake: data_smart.py and friends: Track file inclusions for bitbake -e
Peter Seebach [Fri, 18 Jan 2013 11:45:22 +0000 (11:45 +0000)]
bitbake: bitbake: data_smart.py and friends: Track file inclusions for bitbake -e

This code adds inclusion history to bitbake -e output, showing
which files were included, in what order. This doesn't completely
resolve timing questions, because it doesn't show you which lines
of a file were processed before or after a given include, but it
does let you figure out what the path was by which a particular
file ended up in your build at all.

How it works: data_smart acquires a .history member, which is an
IncludeHistory; this represents the inclusion of a file and all its
inclusions, recursively. It provides methods for including files,
for finishing inclusion (done as an __exit__), and for
dumping the whole tree.

The parser is modified to run includes inside a with() to push
and pop the include filename.

RP Modifications:

a) Split Include and Variable tracking
b) Replace deepcopy usage with dedicated copy function
c) Simplify some variable and usage

(Bitbake rev: b2dda721262da8abb7dc32d019e18fbc32ed8860)

Signed-off-by: Peter Seebach <peter.seebach@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: BBHandler/data: Standardise some setVar access formats
Richard Purdie [Fri, 18 Jan 2013 11:46:30 +0000 (11:46 +0000)]
bitbake: BBHandler/data: Standardise some setVar access formats

(Bitbake rev: e12c1a485f96a4701144ac81179ae1af348e5bf3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoupdate-rc.d: fix failure on target
Laurentiu Palcu [Thu, 17 Jan 2013 18:21:09 +0000 (20:21 +0200)]
update-rc.d: fix failure on target

The problem happened because the variables given to -n were not
surounded by quotes.

(From OE-Core rev: 98f17da7ccc1bf79fc5894f90e52769bdbcf89df)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agokernel.bbclass: don't depend on DATETIME
Martin Jansa [Thu, 17 Jan 2013 15:24:58 +0000 (16:24 +0100)]
kernel.bbclass: don't depend on DATETIME

* http://cgit.openembedded.org/openembedded-core/commit/?id=67e77cd948c69798695d5d5f34163ef89339b35a
  moved DATETIME dependency from MODULE_TARBALL_BASE_NAME to MODULE_IMAGE_BASE_NAME
  but without copying that vardepsexclude

(From OE-Core rev: 9a93866067253746a889bfe444b6036cf85944b4)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibffi: add AArch64 support
Marcin Juszkiewicz [Thu, 29 Nov 2012 16:41:49 +0000 (17:41 +0100)]
libffi: add AArch64 support

(From OE-Core rev: de7f86532ad284f4a3c3f1486e30a3ac74763f36)

Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agooprofile: add AArch64 support
Marcin Juszkiewicz [Wed, 16 Jan 2013 16:03:26 +0000 (17:03 +0100)]
oprofile: add AArch64 support

(From OE-Core rev: 169b9afcf2d357fdcf254a380d21d17701685834)

Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolttng-ust: bump PE
Tom Zanussi [Wed, 16 Jan 2013 15:37:22 +0000 (09:37 -0600)]
lttng-ust: bump PE

The previous lttng-ust had a PE of "1" - that recipe was removed and
replaced with the lttng2-ust recipe, which was renamed back to
lttng-ust.  The new recipe had didn't define a PE so got the default
PE of 0 - this adds the PE back and gives it a value of "2", which
reflects the history and fixes the following error:

ERROR: Package version for package lttng-ust went backwards which
would break package feeds from (1:0.16-r1 to 0:2.1.0-r0)

(From OE-Core rev: 2fbfb2708fc7c0082b85ef964d850f8520b841d6)

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: hig.py: refactor into individual components
Bogdan Marinescu [Thu, 10 Jan 2013 11:08:02 +0000 (13:08 +0200)]
bitbake: hig.py: refactor into individual components

Since hig.py was becoming too large (which impacted maintenance and
operations like git merges) it was split into individual files for
the classes that were implemented in hig.py. hig is now a Python
package (lib/bb/ui/crumbs/hig/). The patch was tested by
building core-image-basic/qemux86 in Hob and accessing the various
UI elements implemented in hig. Note that the patch does not change
the functionality of Hob in any way, it's just a code refactoring
that should make life a bit easier for Hob developers.

[YOCTO #3200]

(Bitbake rev: a7a2b730f915cafe7aa30539622dd1ca64ae41f5)

Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoyocto-bsp: add basic git connectivity check
Tom Zanussi [Tue, 15 Jan 2013 22:59:57 +0000 (16:59 -0600)]
yocto-bsp: add basic git connectivity check

yocto-bsp create does a 'git ls-remote
git://git.yoctoproject.org/linux-yocto-3.4.git *heads*' to get the set
of existing branches from the kernel repo.

If the user isn't connected to the network, or if git isn't configured
sanely, yocto-bsp fails with an ugly Python backtrace.

We should try to avoid this by doing a basic sanity check for those
things before actually running the command.

The sanity check can be avoided by specifying -s on the yocto-bsp
command-line:

 $ yocto-bsp create -s test qemu

Fixes [YOCTO #3279]

(From meta-yocto rev: 496e76f9bed2ed5a04ef757724d2e63d05c7a601)

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoupdate-rc.d: check also that symlinks are valid
Laurentiu Palcu [Wed, 16 Jan 2013 11:58:55 +0000 (13:58 +0200)]
update-rc.d: check also that symlinks are valid

Running:

update-rc.d -r /path/to/target/rootfs basename defaults

at do_rootfs time in package postinstall stage, when
/path/to/target/rootfs/etc/init.d/basename is a symlink and points to some path
on target (for example: /etc/init.d/basename.some_package), would fail and the
postinstall execution would be postponed for first boot, on target.

This patch adds the posibility to verify whether the file the symlink
points to actually exists in the target rootfs.

[YOCTO #3716]

(From OE-Core rev: 4b63e73422ea25aba1bde0beddb02bc04948e13c)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoapmd: fix license segment md5sum boundary
Marko Lindqvist [Tue, 15 Jan 2013 19:36:46 +0000 (21:36 +0200)]
apmd: fix license segment md5sum boundary

Replaced incorrect "firstline" with correct "beginline" for telling
where license segment in file begins. Old md5sum was calculated from
the beginning of the file, not from beginning of the license segment.

(From OE-Core rev: 0ada16fe509d9a8608c05d16666243c8ebe4d3b3)

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agodbus: fix license segment md5sum boundary
Marko Lindqvist [Tue, 15 Jan 2013 19:36:23 +0000 (21:36 +0200)]
dbus: fix license segment md5sum boundary

Replaced incorrect "firstline" with correct "beginline" for telling
where license segment in file begins. Old md5sum was calculated from
the beginning of the file, not from beginning of the license segment.

(From OE-Core rev: 1eb8f569fa084f7f5d284f0bb1110721b9674d9a)

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibidn: fix license segment md5sum boundary
Marko Lindqvist [Tue, 15 Jan 2013 19:35:59 +0000 (21:35 +0200)]
libidn: fix license segment md5sum boundary

Replaced incorrect "firstline" with correct "beginline" for telling
where license segment in file begins. Old md5sum was calculated from
the beginning of the file, not from beginning of the license segment.

(From OE-Core rev: 3a116ba892f63a690932d0aee454c15927ba0eca)

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogperf: fix license segment md5sum boundary
Marko Lindqvist [Tue, 15 Jan 2013 19:35:36 +0000 (21:35 +0200)]
gperf: fix license segment md5sum boundary

Replaced incorrect "firstline" with correct "beginline" for telling
where license segment in file begins. Old md5sum was calculated from
the beginning of the file, not from beginning of the license segment.

(From OE-Core rev: 9851d4bdf9283d280d8fc1302f5b744b6d792759)

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoethtool: fix license segment md5sum boundary
Marko Lindqvist [Tue, 15 Jan 2013 19:35:14 +0000 (21:35 +0200)]
ethtool: fix license segment md5sum boundary

Replaced incorrect "firstline" with correct "beginline" for telling
where license segment in file begins. Old md5sum was calculated from
the beginning of the file, not from beginning of the license segment.

(From OE-Core rev: da826787f08adec6a3ec3995e7809b75df2c99c3)

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoshadow: fix license segment md5sum boundary
Marko Lindqvist [Tue, 15 Jan 2013 19:34:49 +0000 (21:34 +0200)]
shadow: fix license segment md5sum boundary

Replaced incorrect "firstline" with correct "beginline" for telling
where license segment in file begins. Old md5sum was calculated from
the beginning of the file, not from beginning of the license segment.

(From OE-Core rev: 9aefa35859413a635fb4e122d59a703e95a9b5bb)

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoiptables: fix license segment md5sum boundary
Marko Lindqvist [Tue, 15 Jan 2013 19:34:29 +0000 (21:34 +0200)]
iptables: fix license segment md5sum boundary

Replaced incorrect "firstline" with correct "beginline" for telling
where license segment in file begins. Old md5sum was calculated from
the beginning of the file, not from beginning of the license segment.

(From OE-Core rev: bc36eadd5dee7390977629358cab3f13d6ddcf5c)

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogzip: fix license segment md5sum boundary
Marko Lindqvist [Tue, 15 Jan 2013 19:34:04 +0000 (21:34 +0200)]
gzip: fix license segment md5sum boundary

Replaced incorrect "firstline" with correct "beginline" for telling
where license segment in file begins. Old md5sum was calculated from
the beginning of the file, not from beginning of the license segment.

(From OE-Core rev: 029965a3e8263ec11d9a5f1bfbb8152ae4a1aea3)

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibidn: add checksums to version 0.6.14 recipe
Marko Lindqvist [Tue, 15 Jan 2013 19:33:44 +0000 (21:33 +0200)]
libidn: add checksums to version 0.6.14 recipe

(From OE-Core rev: 98691df00020036628617d6f149c02b1d0d856ea)

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoofono: replace obsolete automake macros with working ones
Marko Lindqvist [Tue, 15 Jan 2013 11:54:03 +0000 (13:54 +0200)]
ofono: replace obsolete automake macros with working ones

Add obsolete_automake_macros.patch that replaces automake macros
no longer supported by automake-1.13 with modern constructs.

(From OE-Core rev: 1766f851be890ec057040594a12997b1576ba1d5)

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agotremor: replace obsolete automake macros with working ones
Marko Lindqvist [Tue, 15 Jan 2013 11:53:38 +0000 (13:53 +0200)]
tremor: replace obsolete automake macros with working ones

Add obsolete_automake_macros.patch that replaces automake macros
no longer supported by automake-1.13 with modern constructs.

(From OE-Core rev: e64800e605635737b4d74a36e66b0f7e0fee08bc)

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoalsa-utils: replace obsolete automake macros with working ones
Marko Lindqvist [Tue, 15 Jan 2013 11:53:07 +0000 (13:53 +0200)]
alsa-utils: replace obsolete automake macros with working ones

Add obsolete_automake_macros.patch that replaces automake macros
no longer supported by automake-1.13 with modern constructs.

(From OE-Core rev: 723ec3b3b618fc4cccbd0e7306624161dd81b0e5)

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobluez-hcidump: replace obsolete automake macros with working ones
Marko Lindqvist [Tue, 15 Jan 2013 11:52:41 +0000 (13:52 +0200)]
bluez-hcidump: replace obsolete automake macros with working ones

Add obsolete_automake_macros.patch that replaces automake macros
no longer supported by automake-1.13 with modern constructs.

(From OE-Core rev: cb9480937162c4e6a80769f5ccd7cbc09d8947d2)

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agocurl: fix build with automake-1.13
Marko Lindqvist [Tue, 15 Jan 2013 11:52:11 +0000 (13:52 +0200)]
curl: fix build with automake-1.13

Add obsolete_automake_macros.patch that replaces automake macros
no longer supported by automake-1.13 with modern constructs.
Remove AC_CONFIG_MACRO_DIR override that caused aclocal to fail
since it didn't get m4-directory information.

(From OE-Core rev: 54a945a5e67c44be3e0b21114b7ca3abf8d99ada)

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibtirpc: replace obsolete automake macros with working ones
Marko Lindqvist [Tue, 15 Jan 2013 11:51:43 +0000 (13:51 +0200)]
libtirpc: replace obsolete automake macros with working ones

Add obsolete_automake_macros.patch that replaces automake macros
no longer supported by automake-1.13 with modern constructs.

(From OE-Core rev: 074566f49be59b2f507ba427f258e1ca345da3c9)

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agovte: replace obsolete automake macros with working ones
Marko Lindqvist [Tue, 15 Jan 2013 11:51:17 +0000 (13:51 +0200)]
vte: replace obsolete automake macros with working ones

Add obsolete_automake_macros.patch that replaces automake macros
no longer supported by automake-1.13 with modern constructs.

(From OE-Core rev: 4cd77250aa65b18c863a112595bc30391b23d032)

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosysfsutils: replace obsolete automake macros with working ones
Marko Lindqvist [Tue, 15 Jan 2013 11:50:50 +0000 (13:50 +0200)]
sysfsutils: replace obsolete automake macros with working ones

Add obsolete_automake_macros.patch that replaces automake macros
no longer supported by automake-1.13 with modern constructs.

(From OE-Core rev: 11319ad6eec2056278d6b6540e31d369870537da)

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agorgb: replace obsolete automake macros with working ones
Marko Lindqvist [Tue, 15 Jan 2013 11:50:26 +0000 (13:50 +0200)]
rgb: replace obsolete automake macros with working ones

Add obsolete_automake_macros.patch that replaces automake macros
no longer supported by automake-1.13 with modern constructs.

(From OE-Core rev: b1c788dbd7b0f015718f915763b1d08e566e80e3)

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibxsettings-client: replace obsolete automake macros with working ones
Marko Lindqvist [Tue, 15 Jan 2013 11:49:48 +0000 (13:49 +0200)]
libxsettings-client: replace obsolete automake macros with working ones

Add obsolete_automake_macros.patch that replaces automake macros
no longer supported by automake-1.13 with modern constructs.

(From OE-Core rev: 703ea77f1869c1101e1637831a83ca2d754907da)

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopango: replace obsolete automake macros with working ones
Marko Lindqvist [Tue, 15 Jan 2013 11:44:44 +0000 (13:44 +0200)]
pango: replace obsolete automake macros with working ones

Add obsolete_automake_macros.patch that replaces automake macros
no longer supported by automake-1.13 with modern constructs.

(From OE-Core rev: 16df16408719b93f595412a4c10df793d847dd19)

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopolkit: replace obsolete automake macros with working ones
Marko Lindqvist [Tue, 15 Jan 2013 11:44:13 +0000 (13:44 +0200)]
polkit: replace obsolete automake macros with working ones

Add obsolete_automake_macros.patch that replaces automake macros
no longer supported by automake-1.13 with modern constructs.

(From OE-Core rev: 9f4cca12f00327bb9a7070f305c36433ee732d7a)

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoimage_types.bbclass: Add and update comments regarding image types.
Robert P. J. Day [Sun, 13 Jan 2013 10:24:19 +0000 (05:24 -0500)]
image_types.bbclass: Add and update comments regarding image types.

Explain the elf/cpio.gz snippet of code, and update a comment to
reflect the correct variable name.  No functional change.

(From OE-Core rev: 0ca4a3a25e4495bf6e2e3932c019bd15856faf55)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoconnman: upgrade to 1.10
Cristian Iorga [Tue, 15 Jan 2013 20:08:45 +0000 (22:08 +0200)]
connman: upgrade to 1.10

0002-storage.c-If-there-is-no-d_type-support-use-fstatat.patch
    - adapted to the new version

0001-timezone.c-If-there-is-no-d_type-support-use-fstatat.patch
    - patch removed (it is included in the new version)

inet-fix-ip-cleanup-functions.patch: added
    - fix for ip cleanup functions

(From OE-Core rev: e0cca947fc87c8f7a6d2a8fd719c87d56dd52941)

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoconnman-conf: configures connman in qemu machines
Cristian Iorga [Tue, 15 Jan 2013 20:08:46 +0000 (22:08 +0200)]
connman-conf: configures connman in qemu machines

For qemu machines, connman should not configure
virtual wired interfaces. Wired interfaces (eth0)
are assigned static IP addresses by the virtual machine
manager (qemu). This packages places the eth0 interface in
a list of blacklisted interfaces, forbiding connman
administering wired interfaces for qemu machines.

(From OE-Core rev: cfd9ab0eff27a59b8b9e750a01565e2e7c94e801)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoRemoved undisplayed picture from connman-gnome
Andrei Dinu [Tue, 15 Jan 2013 09:58:55 +0000 (11:58 +0200)]
Removed undisplayed picture from connman-gnome

- removed the picture that doesn't display in the
connman-gnome "about" section.
- updated the recipe to use the patch when running bitbake
- created a folder with patches named "connman-gnome",
the same as for connman.

(From OE-Core rev: 56c7ce56a1c9870df08821c6f18fac3713b1b4cf)

Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agorunqemu scripts: add support for booting an ISO image
Chen Qi [Tue, 15 Jan 2013 02:17:01 +0000 (10:17 +0800)]
runqemu scripts: add support for booting an ISO image

Add support for booting an ISO image for runqemu scripts.

[YOCTO #3710]

(From OE-Core rev: edd629029979dc18905fce23b64216f15eea501f)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agorecipes-kernel/lttng-2.0: rename to recipes-kernel/lttng
Tom Zanussi [Fri, 11 Jan 2013 23:28:48 +0000 (17:28 -0600)]
recipes-kernel/lttng-2.0: rename to recipes-kernel/lttng

recipes-kernel/lttng was removed by a previous patch, which also
removed the naming conflict that caused the lttng-2.0 version of lttng
to be named recipes-kernel/lttng-2.0.  Since the naming conflict has
disappeared, we can go back to the simpler naming.

(From OE-Core rev: 2027fd1bbfc2c136672d5054ba722e9d9d80451d)

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>
11 years agolttng2-ust: rename to lttng-ust
Tom Zanussi [Fri, 11 Jan 2013 23:28:47 +0000 (17:28 -0600)]
lttng2-ust: rename to lttng-ust

recipes-kernel/lttng/lttng-ust was removed by a previous patch, which
also removed the naming conflict that caused the lttng-2.0 version of
lttng-ust to be named lttng2-ust.  lttng2-ust was the only lttng-2.0
recipe to be named in this way and since that was entirely due to the
conflict, we can go back to the consistent naming for it.

(From OE-Core rev: 3c927c39502061bdf3ef9fba1f0f6e7080f6c3cd)

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>
11 years agolttng: remove 'legacy' lttng
Tom Zanussi [Fri, 11 Jan 2013 23:28:46 +0000 (17:28 -0600)]
lttng: remove 'legacy' lttng

This removes 'legacy' lttng - it hasn't actually worked for awhile
now, and has been replaced by equivalent functionality in
recipes-kernel/lttng-2.0 (which will be renamed to lttng in a
follow-up patch).

Fixes [YOCTO #3303].

(From OE-Core rev: 920b4c292f6c704cfe32666a3e1de5bce19043b5)

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>
11 years agoquota: upgrade to 4.01
Cristian Iorga [Fri, 11 Jan 2013 16:34:49 +0000 (18:34 +0200)]
quota: upgrade to 4.01

(From OE-Core rev: 879c36e69889ed4945f427d5947555949c024023)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoxz: LICENSE field is wrong
Saul Wold [Fri, 11 Jan 2013 23:03:54 +0000 (15:03 -0800)]
xz: LICENSE field is wrong

xz contains a GPLv3 m4 macro which is used at build time, this does not make
the installed or runtime items GPLv3, which is what the LICESNE field pertains
to, therefor remove it from the LICENSE field.

(From OE-Core rev: d1950aaed812dc98d0536ec819c82b7a6160b316)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoiproute2: upgrade to v3.7.0
Cristian Iorga [Mon, 14 Jan 2013 15:49:26 +0000 (17:49 +0200)]
iproute2: upgrade to v3.7.0

configure-cross patch is now simplified.
sysroot is now properly set.

(From OE-Core rev: 9c9c55635ef34fc0f4d5acd8434c8f64ccd5bf87)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agodistrodata: Updated checkpkg task
Emilia Ciobanu [Mon, 14 Jan 2013 09:04:33 +0000 (11:04 +0200)]
distrodata: Updated checkpkg task

bitbake -c checkpkg fetches the latest version for all packages,
including the ones from sourceforge and those that have
ununsual package naming.
Also removed all pn-native/nativesdk-pn entries from the resulting
checkpkg.csv file if the system already reported the latest version
for pn.

(From OE-Core rev: dc33d69df55ad8d63024d34e35a0b987e01b0077)

Signed-off-by: Emilia Ciobanu <emilia.maria.silvia.ciobanu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agodb: upgrade to 5.3.21
Cristian Iorga [Fri, 11 Jan 2013 16:18:02 +0000 (18:18 +0200)]
db: upgrade to 5.3.21

License file changed the year,
triggering a change in checksum

(From OE-Core rev: c1fe80b5b6e3ac3da8a0a1c138649c92ca11f285)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoadd meta-toolchain-qt
Eric Bénard [Fri, 11 Jan 2013 13:51:25 +0000 (14:51 +0100)]
add meta-toolchain-qt

- this allows the creation of a SDK containing all the needed
libraries to develop QT4 for X applications
- the recipes were factorized to share as much code as possible
- binaries generated using the toolchain were run tested on an
ARMv7 target
- both qt & qte toolchains were build tested for qemuarm target
and for an ARMv7 target

(From OE-Core rev: cc803b06841e75aa6591abaeda0a788e888e208b)

Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoqemu: machine override ability added
Cristian Iorga [Tue, 15 Jan 2013 20:08:47 +0000 (22:08 +0200)]
qemu: machine override ability added

Add override ability to qemu to allow qemu specific
configurations for any qemu machine.

(From OE-Core rev: 4ee668a558e5d4a6d14e29c9fe88b8bb642a16a9)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoia32-base.inc: Add more macros for xf86 drivers
Nitin A Kamble [Wed, 16 Jan 2013 00:50:33 +0000 (16:50 -0800)]
ia32-base.inc: Add more macros for xf86 drivers

This commit adds macros for fbdev & modesetting X driver packages.

(From OE-Core rev: c412a4eaf17fa29a4f2280f8be1dcf95346217a6)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoxf86-video-modesetting: new recipe for gma500
Nitin A Kamble [Wed, 16 Jan 2013 00:50:32 +0000 (16:50 -0800)]
xf86-video-modesetting: new recipe for gma500

I am trying to use gma500 driver for the noemgd BSPs. The current best
xf86 driver for it is modesetting. This recipe provides that
driver.

(From OE-Core rev: 5f9de6f97cf218973a5284feb1e5ae841b69dcc6)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoperl: fix installed but not shipped issue
Kang Kai [Wed, 16 Jan 2013 09:54:42 +0000 (17:54 +0800)]
perl: fix installed but not shipped issue

It shows warning when bitbake perl:
WARNING: QA Issue: perl: Files/directories were installed but not
shipped
  /usr/lib/perl/5.14.2/auto/XS/Typemap

That because file Typemap.so is not install correctly. Fix it.

(From OE-Core rev: d4c3cc8cff9311ff873304410e3092921dbe6ddc)

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoconnman: fixed init script so connman can runs over nfs
Felipe F. Tonello [Fri, 11 Jan 2013 01:10:46 +0000 (17:10 -0800)]
connman: fixed init script so connman can runs over nfs

Adding -I to the arguments, connmand will ignore the eth interface, so if you
are using nfs it will not be disconnected.

OBS: it might not work if using more than one eth interface. But it's better
than not using connman with nfs at all.

(From OE-Core rev: 6080d1dc719c38fd97c2abd38e0ad938fbf6f452)

Signed-off-by: Felipe F. Tonello <ftonello@cercacor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoinitscripts: remove finish.sh
Chen Qi [Fri, 11 Jan 2013 04:11:18 +0000 (12:11 +0800)]
initscripts: remove finish.sh

Remove finish.sh from initscripts as it is no longer used.

(From OE-Core rev: 3bcd9188f919da1b10f692d29ef34cd18ef88184)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogitignore: only ignore meta- directories
Eric Bénard [Fri, 11 Jan 2013 13:51:24 +0000 (14:51 +0100)]
gitignore: only ignore meta- directories

else for example meta-toolchain-qte.bb is also ignored.

(From OE-Core rev: d15d42562dff08696015f4d15e3e15c70ee2357a)

Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agoquilt: Don't use BUILD_ROOT on darwin.
Martin Ertsaas [Thu, 10 Jan 2013 08:50:04 +0000 (09:50 +0100)]
quilt: Don't use BUILD_ROOT on darwin.

(From OE-Core rev: 130f1fa3d2787c3c542522ecf9ba5debf914f41a)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoquilt: Remove non-gnu.patch, and added configure flags for darwin.
Martin Ertsaas [Thu, 10 Jan 2013 08:50:03 +0000 (09:50 +0100)]
quilt: Remove non-gnu.patch, and added configure flags for darwin.

(From OE-Core rev: f495dfb60cb1fd86b7365210dd7aab75cec2d5e4)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosstate: Do not add the --no-run-if-empty arguement to xargs when on Darwin, as it...
Martin Ertsaas [Thu, 10 Jan 2013 08:50:06 +0000 (09:50 +0100)]
sstate: Do not add the --no-run-if-empty arguement to xargs when on Darwin, as it is not supported.

(From OE-Core rev: 73b34d43633717b99e4f2f669939939cfa59eecb)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogcc: add missing dependency (zlib)
Constantin Musca [Wed, 9 Jan 2013 09:00:22 +0000 (11:00 +0200)]
gcc: add missing dependency (zlib)

- add zlib to DEPENDS (it fails otherwise)

(From OE-Core rev: 7a0fd7145461d3feb9fe7900a39376d556e655d6)

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobluez4: replace obsolete automake macros with working ones
Marko Lindqvist [Thu, 10 Jan 2013 10:04:01 +0000 (12:04 +0200)]
bluez4: replace obsolete automake macros with working ones

Add obsolete_automake_macros.patch that replaces automake macros
no longer supported by automake-1.13 with modern constructs.

(From OE-Core rev: e4e3fc72fdfc7cde4652c562a936ef473c35367a)

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogmp: replace obsolete automake macros with working ones
Marko Lindqvist [Thu, 10 Jan 2013 10:03:33 +0000 (12:03 +0200)]
gmp: replace obsolete automake macros with working ones

Add obsolete_automake_macros.patch that replaces automake macros
no longer supported by automake-1.13 with modern constructs.

(From OE-Core rev: 17a58db25657184e0770d29391062e7f93d5bb5b)

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Conflicts:
meta/recipes-support/gmp/gmp_5.1.0.bb
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogtk+: replace obsolete automake macros with working ones
Marko Lindqvist [Thu, 10 Jan 2013 10:03:08 +0000 (12:03 +0200)]
gtk+: replace obsolete automake macros with working ones

Add obsolete_automake_macros.patch that replaces automake macros
no longer supported by automake-1.13 with modern constructs.

(From OE-Core rev: 0beee6281fed3926b6871dbfdd907416d4a04886)

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agostartup-notification: replace obsolete automake macros with working ones
Marko Lindqvist [Thu, 10 Jan 2013 10:02:34 +0000 (12:02 +0200)]
startup-notification: replace obsolete automake macros with working ones

Add obsolete_automake_macros.patch that replaces automake macros
no longer supported by automake-1.13 with modern constructs.

(From OE-Core rev: f311b2d9978e07d4e5f4b6687ff2dba41b5e5da4)

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogconf: replace obsolete automake macros with working ones
Marko Lindqvist [Thu, 10 Jan 2013 10:02:13 +0000 (12:02 +0200)]
gconf: replace obsolete automake macros with working ones

Add obsolete_automake_macros.patch that replaces automake macros
no longer supported by automake-1.13 with modern constructs.

(From OE-Core rev: 388939c4cebabce8ef05c8aec5b9dccf390b75f0)

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoopensp: replace obsolete automake macros with working ones
Marko Lindqvist [Thu, 10 Jan 2013 10:01:35 +0000 (12:01 +0200)]
opensp: replace obsolete automake macros with working ones

Add obsolete_automake_macros.patch that replaces automake macros
no longer supported by automake-1.13 with modern constructs.

(From OE-Core rev: ae3917b9dc8c350de92b9ec0c7def780f8a09af7)

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibvorbis: replace obsolete automake macros with working ones
Marko Lindqvist [Thu, 10 Jan 2013 10:01:15 +0000 (12:01 +0200)]
libvorbis: replace obsolete automake macros with working ones

Add obsolete_automake_macros.patch that replaces automake macros
no longer supported by automake-1.13 with modern constructs.

(From OE-Core rev: 0f2a601b04ac564905942b4d2006dbf348b1517b)

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibmad: replace obsolete automake macros with working ones
Marko Lindqvist [Thu, 10 Jan 2013 10:00:48 +0000 (12:00 +0200)]
libmad: replace obsolete automake macros with working ones

Add obsolete_automake_macros.patch that replaces automake macros
no longer supported by automake-1.13 with modern constructs.

(From OE-Core rev: da623c24804b7bb331de45f39063c7b207d6e4d6)

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibogg: replace obsolete automake macros with working ones
Marko Lindqvist [Thu, 10 Jan 2013 10:00:12 +0000 (12:00 +0200)]
libogg: replace obsolete automake macros with working ones

Add obsolete_automake_macros.patch that replaces automake macros
no longer supported by automake-1.13 with modern constructs.

(From OE-Core rev: 8bfb260eb601360bea251d77633f463063e4d451)

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopython: replace obsolete automake macros with working ones
Marko Lindqvist [Thu, 10 Jan 2013 09:59:55 +0000 (11:59 +0200)]
python: replace obsolete automake macros with working ones

Add obsolete_automake_macros.patch for both python-dbus and
python-pygobject that replace automake macros no longer supported
by automake-1.13 with modern constructs.

(From OE-Core rev: 9866bed92c0f3dee3f1674e9f9a28e21f5ba33fc)

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>