]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
12 years agooprofile: set correct kernel path
Bogdan Marinescu [Mon, 14 Jan 2013 13:29:09 +0000 (15:29 +0200)]
oprofile: set correct kernel path

oprofile's "configure" was always looking at the configuration of the host
kernel, not the target kernel. This patch instructs oprofile to use the
target kernel to configure itself.

Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agorpm2cpio: Update to match rpm4 specs for decompression
Saul Wold [Sat, 19 Jan 2013 04:48:33 +0000 (20:48 -0800)]
rpm2cpio: Update to match rpm4 specs for decompression

[YOCTO #3753]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoupdate-alternatives: Add a build-time dependency
Mark Hatle [Fri, 18 Jan 2013 23:13:38 +0000 (17:13 -0600)]
update-alternatives: Add a build-time dependency

We need to add a build time dependency on virtual/update-alternatives,
however we can't just do DEPENDS +=, or we end up with various problems.  To
work around this, in the anonymous python space we ensure we only do the
addition when the package does not provide virtual/update-alternatives and
it is a target package.

Also the system wide PREFERRED_PROVIDER was incorrect.  It references a
runtime package, and not the recipe it should have.  This has been corrected.

[YOCTO #3691]

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Tested-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopopulate_sdk_rpm: Re-add a few system provides to the SDK
Mark Hatle [Fri, 18 Jan 2013 23:13:37 +0000 (17:13 -0600)]
populate_sdk_rpm: Re-add a few system provides to the SDK

When building the target SDK portion, we can safely ignore various
package rdepends.  These dependencies are not required on a build
only environment like an SDK.

[YOCTO #3691]

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Tested-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoattr: convert to generic syscall numbers
Riku Voipio [Fri, 18 Jan 2013 14:13:22 +0000 (16:13 +0200)]
attr: convert to generic syscall numbers

xattr system calls are old enough that we can switch
to just pulling the system call numbers from kernel
headers.

Upstream-Status: Submitted acl-devel@nongnu.org

Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agonspr: add aarch64 support
Riku Voipio [Fri, 18 Jan 2013 14:13:21 +0000 (16:13 +0200)]
nspr: add aarch64 support

Add needed defines for Aarch64 support.

Upstream-Status: Submitted https://bugzilla.mozilla.org/show_bug.cgi?id=827271

Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agocpan_build: Fix bashism
Richard Purdie [Sat, 19 Jan 2013 23:31:37 +0000 (23:31 +0000)]
cpan_build: Fix bashism

Fix a build failure caused by a bashism and improve quoting whilst in
the area.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibtool-cross: Add missing libltdl components to install
Richard Purdie [Tue, 8 Jan 2013 10:43:32 +0000 (10:43 +0000)]
libtool-cross: Add missing libltdl components to install

Without this some software fails to build complaining it can't find these
utilities.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoliburi-perl: Add BBCLASSEXTEND for native version
Richard Purdie [Wed, 16 Jan 2013 16:12:41 +0000 (16:12 +0000)]
liburi-perl: Add BBCLASSEXTEND for native version

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopackage.bbclass: Fix shlibs cross package-arch contamination
Richard Purdie [Sat, 19 Jan 2013 23:29:08 +0000 (23:29 +0000)]
package.bbclass: Fix shlibs cross package-arch contamination

I found that if I had two packages architectures built (say core2 and i586),
that the shlibs data from i586 was being used in the core2 build. This
lead to odd dependency issues if the i586 build was out of date and core2
was being targetted.

When loading shlibs files, the last loaded wins so we need to iterate the
lists from least to strongest weighting, not the other way around. With this
patch applied, the contamination issue is resolved.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodropbear: Deal with truncated host keys by removing them
Holger Hans Peter Freyther [Fri, 18 Jan 2013 14:47:34 +0000 (15:47 +0100)]
dropbear: Deal with truncated host keys by removing them

Dropbear does not start when the host key is empty and it is possible
that a device is switched off before the host key is generated. This
is possible because the dropbearkey code doesn't create a temporary
file first. Detect truncated keys and then remove them which will lead
to the re-generation. This way the dropbear process will always start.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopopulate_sdk_base.bbclass: Work around bugs with gnu tar < 1.24
Jason Wessel [Sat, 19 Jan 2013 15:18:50 +0000 (09:18 -0600)]
populate_sdk_base.bbclass: Work around bugs with gnu tar < 1.24

The gnu tar versions less than 1.24 pose a problem with the SDK
extraction.  A typical SDK will have hard links.  The SDK is created
with a newer version of tar but extracted with the host version of tar
which may be much older.  The specific defect is that older version of
gnu tar do not properly handle the "--strip-components=" argument when
processing hard links and the paths do not get properly truncated and
hooked up with the corresponding real file payloads.  This leads to
errors like the following during the SDK install:

tar: sysroots/qemux86-yocto-linux/usr/bin/getconf: Cannot hard link to `./opt/yocto/SDK-qemux86/sysroots/qemux86-yocto-linux/usr/bin/POSIX_V6_ILP32_OFFBIG': No such file or directory

The simple way to work around the problem is to just not save the path
information that is going to get chopped off anyway.  This has the
added benefit that it saves a small amount of space in the tar archive
as well.

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopackage.bbclass: replace AUTOINC directly in PKGV
Enrico Scholz [Sat, 19 Jan 2013 16:23:01 +0000 (17:23 +0100)]
package.bbclass: replace AUTOINC directly in PKGV

b27b438221e16ac3df6ac66d761b77e3bd43db67 introduced a regression when
PKGV is modified by the recipe.  E.g. when having something like

| PV = "1.7.33+gitr${SRCPV}"
| PKGV = "1.7.33+gitr${GITPKGV}"
| RDEPENDS_${PN}-subpkg += "${PN} (= ${EXTENDPKGV})"
| inherit gitpkgv

The resulting core package has

| Version: 1.7.33+git234+cd01e8c-r11

and because the subpackage has

| Depends: vdr (= 1.7.33+git0+cd01e8c18d494150730214f033f84e5282ce7639-r11)

image build fails with

|  * satisfy_dependencies_for: Cannot satisfy the following dependencies ...
|  *    vdr (= 1.7.33+git0+cd01e8c18d494150730214f033f84e5282ce7639-r11)

Patch avoids the 'PKGV = "cleanup(${PV})"' operation and replaces
AUTOINC directly within PKGV.  This might introduce a regression too
when 'AUTOINC' is added to PKGV intentionally but impact is small and
can be fixed trivially by using another string.

Signed-off-by: Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Cc: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolinux-yocto/3.4: update intel graphics features/configs
Bruce Ashfield [Sun, 20 Jan 2013 05:28:30 +0000 (00:28 -0500)]
linux-yocto/3.4: update intel graphics features/configs

Updating the meta branch to import the following commits that cleanup and
reorganize the features that make up the graphics features of the Intel
BSPs

  c0b3904 meta: add config fragment for gma600 graphics driver
  f41638f meta: add config fragment for gma500 graphics driver
  ff8ad3e meta: sys940x: drop vesa fragment from bsp config
  fcb82ac meta: sys940x: remove emgd config from bsp config
  c1677bb meta: fri2: drop vesa fragment from bsp config
  7324440 meta: fri2: remove emgd config from bsp config
  dd435c6 meta: emenlow: drop vesa fragment from bsp config
  243b515 meta: emenlow: remove emgd config from bsp config
  3e1be82 meta: crownbay: drop vesa fragment from bsp config
  fc5ed4e meta: crownbay: remove emgd config from bsp config
  d46236b meta: drm-emgd.cfg: add configs for dependent routines
  db4bc5e meta: relocate git-merge of emgd branch

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolinux-yocto/3.4: update to 3.4.26 and 3.4.25-rt37
Bruce Ashfield [Sun, 20 Jan 2013 05:28:29 +0000 (00:28 -0500)]
linux-yocto/3.4: update to 3.4.26 and 3.4.25-rt37

Updating the yocto 3.4 kernel tree to the 3.4.25 and 3.4.26 -stable updates
as well as refreshing the preempt-rt branches to 3.4.25-rt37.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoconsolekit_0.4.5.bb: Package unpackaged systemd files
Khem Raj [Sat, 19 Jan 2013 22:40:05 +0000 (14:40 -0800)]
consolekit_0.4.5.bb: Package unpackaged systemd files

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agokernel.bbclass, module-base.bbclass: Use CC to form KERNEL_CC
Khem Raj [Sat, 19 Jan 2013 22:40:03 +0000 (14:40 -0800)]
kernel.bbclass, module-base.bbclass: Use CC to form KERNEL_CC

kernel compiler is not special and we currently have it so
we want to pass -march and -mtune options as CFLAGS to kernel
build so that compiler picks the right subarch flags when
compiling assembly files in particular. Otherwise defaults
are chosen which may not be right in many case e.g. when
compiling kernel for collie machine we should use arch=armv4
but it uses toolchain/as defaults which is armv5te

in some case e.g. thumb1 we know that kernel can not be compiled
in thumb1 mode so we can provide that information e.g. -marm
option through KERNEL_HOST_CC_ARCH variable as we do now

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibpam: register PAM session with logind
Koen Kooi [Sat, 19 Jan 2013 22:47:13 +0000 (22:47 +0000)]
libpam: register PAM session with logind

This make screen/tmux/etc work as intended.

Signed-off-by: Martin Donnelly <martin.donnelly@ge.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopackagegroup-core-boot: only install initscripts if we're using sysvinit
Ross Burton [Sat, 19 Jan 2013 22:47:12 +0000 (22:47 +0000)]
packagegroup-core-boot: only install initscripts if we're using sysvinit

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobase-files: add fstab for systemd based systems
Martin Donnelly [Sat, 19 Jan 2013 22:47:11 +0000 (22:47 +0000)]
base-files: add fstab for systemd based systems

The default fstab has entries which are not necessary
in systemd based systems so add a simpler default in
this case.

Signed-off-by: Martin Donnelly <martin.donnelly@ge.com>
Signed-off-by: Radu Moisan <radu.moisan@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoupdate-rc.d: disable update-rc.d.bbclass when systemd enabled
Radu Moisan [Sat, 19 Jan 2013 22:47:10 +0000 (22:47 +0000)]
update-rc.d: disable update-rc.d.bbclass when systemd enabled

update-rc.d is not necessary when systemd is enabled,
systemctl is the replacement

Signed-off-by: Radu Moisan <radu.moisan@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopackagegroup-core-boot: install systemd-compat-units on systemd images
Ross Burton [Sat, 19 Jan 2013 22:47:09 +0000 (22:47 +0000)]
packagegroup-core-boot: install systemd-compat-units on systemd images

systemd-compat-units is needed to run postinsts for example.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodefault-providers: Add systemd option to PREFERRED_PROVIDER_udev
Radu Moisan [Sat, 19 Jan 2013 22:47:08 +0000 (22:47 +0000)]
default-providers: Add systemd option to PREFERRED_PROVIDER_udev

Signed-off-by: Radu Moisan <radu.moisan@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosystemd: add systemd recipes
Radu Moisan [Sat, 19 Jan 2013 22:47:07 +0000 (22:47 +0000)]
systemd: add systemd recipes

Add systemd recipes and associated support recipes.

Mostly based on meta-oe/meta-systemd, so almost all credit should go to:

Andreas Müller <schnitzeltony@googlemail.com>
Denis 'GNUtoo' Carikli <GNUtoo@no-log.org>
Holger Hans Peter Freyther <holger@moiji-mobile.com>
Khem Raj <raj.khem@gmail.com>
Koen Kooi <koen@dominion.thruhere.net>
Martin Jansa <Martin.Jansa@gmail.com>

Signed-off-by: Radu Moisan <radu.moisan@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodbus: respect systemd distro feature
Ross Burton [Sat, 19 Jan 2013 22:47:06 +0000 (22:47 +0000)]
dbus: respect systemd distro feature

Only configure for systemd if we are using systemd, and remove the dbus-systemd
package by putting the service files into PN itself.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodefault-providers: Automatically set PREFERRED_PROVIDER_udev
Radu Moisan [Sat, 19 Jan 2013 22:47:05 +0000 (22:47 +0000)]
default-providers: Automatically set PREFERRED_PROVIDER_udev

This is a more generic way to set preferred provider for udev.
We expect to have multiple choices once we integrate other init
managers, and this way we can automatically set it considering
distro settings.

Signed-off-by: Radu Moisan <radu.moisan@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodefault-distrovars: Add DISTRO_FEATURES_INITMAN to DISTRO_FEATURES
Radu Moisan [Sat, 19 Jan 2013 22:47:04 +0000 (22:47 +0000)]
default-distrovars: Add DISTRO_FEATURES_INITMAN to DISTRO_FEATURES

This is a more generic way to set the init manager since we
plan to support other init managers as well.
I will use this variable as a switch to turn on/off any
init scheme that we might support in the future.
By default we use sysvinit.

Signed-off-by: Radu Moisan <radu.moisan@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoguilt: add git 1.8.x support
Bruce Ashfield [Fri, 18 Jan 2013 05:19:32 +0000 (00:19 -0500)]
guilt: add git 1.8.x support

Updating guilt to allow git 1.8.x as a supported version. This version has
no impact on other functionality within the scripts, so no other adjustments
are necessary.

[YOCTO #3275]

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolinux-yocto/3.4: integrate LTSI-3.4
Bruce Ashfield [Fri, 18 Jan 2013 05:19:31 +0000 (00:19 -0500)]
linux-yocto/3.4: integrate LTSI-3.4

Updating the linux-yocto-3.4 SRCREVS to activate the merge of the 3.4.25-ltsi
tree:

   http://git.linuxfoundation.org/?p=ltsi-kernel.git;a=tag;h=refs/tags/v3.4.25-ltsi

The pristine patch queue can be seen on the "ltsi" branch in the repository.
This branch has been merged into the standard/base branch of linux-yocto-3.4
and to all BSP branches in the tree.

LTSI based BSPs or features are not activated as part of this commit, they
are controlled by the meta branch of the kernel repository and are activated
in separate patches.

[YOCTO #2396]

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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]

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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]

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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).

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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]

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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]

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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]

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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]

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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]

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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]

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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]

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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]

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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]

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 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].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 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].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 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

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 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.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 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>.

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>
12 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.

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>
12 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.

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>
12 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.

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 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.

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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

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

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

Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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)

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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]

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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.

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 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.

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 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.

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 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.

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 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.

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 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.

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 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.

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 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.

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 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

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 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.

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 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.

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 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.

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 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.

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 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.

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 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.

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 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.

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 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.

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 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.

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 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.

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 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.

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 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.

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 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.

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 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

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>
12 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.

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 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.

Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 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]

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 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.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 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.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 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].

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoquota: upgrade to 4.01
Cristian Iorga [Fri, 11 Jan 2013 16:34:49 +0000 (18:34 +0200)]
quota: upgrade to 4.01

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 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.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 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.

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 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.

Signed-off-by: Emilia Ciobanu <emilia.maria.silvia.ciobanu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 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

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 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

Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>