]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
12 years agoclasses/core-image: remove *_IMAGE_FEATURES variables
Paul Eggleton [Fri, 31 Aug 2012 09:37:59 +0000 (10:37 +0100)]
classes/core-image: remove *_IMAGE_FEATURES variables

This indirection does not add anything in terms of configuration and
only serves to increase confusion; and given the nature of these it is
unlikely they are being used outside of OE-Core. Change the sato-sdk and
sato-dev images to be based on the main Sato image (avoiding the need
for a common SATO_IMAGE_FEATURES variable) and eliminate all references
to them.

Fixes [YOCTO #2458].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoclasses/core-image: remove SSHSERVER_IMAGE_FEATURES
Paul Eggleton [Fri, 31 Aug 2012 16:53:01 +0000 (17:53 +0100)]
classes/core-image: remove SSHSERVER_IMAGE_FEATURES

This variable was added in the very same commit that added a mechanism
that makes it obsolete: if you have dropbear and you want openssh, you
just add ssh-server-openssh to your IMAGE_FEATURES and it will replace
dropbear via IMAGE_FEATURES_REPLACES_.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agouclibc-0.9.33: Update to latest on 0.9.33 branch
Khem Raj [Mon, 3 Sep 2012 16:48:15 +0000 (09:48 -0700)]
uclibc-0.9.33: Update to latest on 0.9.33 branch

Apply mount.h sync patch which is needed for
systemd to work.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agobuild-appliance: add zip-native, which is needed to build the final zip bundle
Saul Wold [Sun, 2 Sep 2012 18:05:30 +0000 (11:05 -0700)]
build-appliance: add zip-native, which is needed to build the final zip bundle

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agocrosstap: new script
Tom Zanussi [Fri, 31 Aug 2012 05:06:57 +0000 (00:06 -0500)]
crosstap: new script

This script makes it easy to run a systemtap script on a remote target
from a build host.

The script itself contains documentation on basic setup and usage -
see that for details.  In a nutshell, if you have a systemtap script
on the build host, this script allows that systemtap script to be
compiled and run on the target host and for the output appear on the
host terminal.

The crosstap script requires to an sdk build of the target (or a build
with 'tools-profile' added to EXTRA_IMAGE_FEATURES) because it needs
to be able to run the native systemtap built by the systemtap recipe,
which in turn needs access to the kernel built for the target in order
to build the kernel modules that implement the systemtap probe
specified by the systemtap script and which ultimately get shipped to
the target and insmod'ed there.

The crosstap script also needs to be able to ssh to the target host in
order insert the modules on the target, so the target system needs to
support incoming ssh connections.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoofono: Fix build on uclibc
Khem Raj [Fri, 31 Aug 2012 21:12:52 +0000 (14:12 -0700)]
ofono: Fix build on uclibc

It used O_CLOEXEC which is a GNU libc feature
so lets add the appropriate flag

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agopulseaudio: Always enable NLS
Khem Raj [Fri, 31 Aug 2012 21:10:52 +0000 (14:10 -0700)]
pulseaudio: Always enable NLS

When NLS is disabled e.g. on uclibc the build fails
The actual problem is that pulseaudio build system
should cater for it but it does not

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoeglibc: remove duplicate rquota files
Saul Wold [Fri, 31 Aug 2012 20:52:41 +0000 (13:52 -0700)]
eglibc: remove duplicate rquota files

The /usr/include/rpcsvc/rquota* files are provided by both eglibc
and the quota package. Quota's version is newer and a superset of
eglibc's

[YOCTO #238]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoxserver-kdrive: remove.
Ross Burton [Thu, 30 Aug 2012 17:07:23 +0000 (18:07 +0100)]
xserver-kdrive: remove.

kdrive is effectively unmaintained upstream (it's only kept for Xephyr).

Apart from two headless machines in meta-yocto (patches sent), every BSP I
looked at (oe-core, meta-intel, meta-oe, meta-ti, meta-smartphone) is using the
traditional X.org X server.  Changing kdrive to Xorg means an extra ~200kb of
disk usage but extra features and more importantly continued maintenance.

Signed-off-by: Ross Burton <ross.burton@intel.com>
12 years agoimage.bbclass: Convert runtime_mapping_rename to event handler
Richard Purdie [Fri, 17 Aug 2012 14:19:38 +0000 (15:19 +0100)]
image.bbclass: Convert runtime_mapping_rename to event handler

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoconnman: Don't start connmand when booting using nfsroot
Saul Wold [Thu, 30 Aug 2012 23:34:22 +0000 (16:34 -0700)]
connman: Don't start connmand when booting using nfsroot

There was a change to connman, such that it cleans up the
route table for devices at startup, this was causing the
network to get lost and NFS to loose it connection.

[YOCTO #3008]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agokernelshark: remove duplicate trace-cmd plugins
Saul Wold [Fri, 31 Aug 2012 00:25:26 +0000 (17:25 -0700)]
kernelshark: remove duplicate trace-cmd plugins

Since kernelshark depends on trace-cmd, there is no reason to
install and package the plugins that are part of trace-cmd.

[YOCTO #238]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoelfutils: Fix build on uclibc
Khem Raj [Thu, 30 Aug 2012 05:27:22 +0000 (22:27 -0700)]
elfutils: Fix build on uclibc

It depends on libintl so add virtual/libintl to DEPENDS
simplify the overridden statements

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoeglibc: Bring in the fix for glibc bug #14459, #14195
Khem Raj [Thu, 30 Aug 2012 05:27:21 +0000 (22:27 -0700)]
eglibc: Bring in the fix for glibc bug #14459, #14195

Fixes strtod integer/buffer overflow bug as detailed below

http://sourceware.org/ml/libc-alpha/2012-08/msg00202.html

Remove rpc-bootstrap patch since its already applied upstream
2.16 branch

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agouclibc-git: Move to tip of master and sync mount.h
Khem Raj [Thu, 30 Aug 2012 05:27:20 +0000 (22:27 -0700)]
uclibc-git: Move to tip of master and sync mount.h

mount.h sync with glibc is needed to get new defines
which are needed for some packages like systemd

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agopackage.bbclass: fix stripping for kernel modules
Tomas Frydrych [Fri, 31 Aug 2012 11:02:18 +0000 (12:02 +0100)]
package.bbclass: fix stripping for kernel modules

runstrip(path, elftype, d) does bitwise & on the elftype parameter, so it has
to be passed an integer. Passing None fails with: TypeError: unsupported
operand type(s) for &: 'NoneType' and 'int'.

Signed-off-by: Tomas Frydrych <tomas@sleepfive.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agogettext: bump PR to avoid RPATH QA failure
Paul Eggleton [Fri, 31 Aug 2012 10:05:25 +0000 (11:05 +0100)]
gettext: bump PR to avoid RPATH QA failure

Erroneous paths being added to gettext by libtool were fixed, but the
fix in libtool did not trigger a recompile of gettext, so if you are
already in the situation where you are receiving the QA error, you are
stuck. Bump PR to force a recompile.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agox11-common: don't prune .svn directories on install, we're in git now
Ross Burton [Wed, 29 Aug 2012 16:48:42 +0000 (17:48 +0100)]
x11-common: don't prune .svn directories on install, we're in git now

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agox11-common: just support Xorg now that kdrive has been removed
Ross Burton [Wed, 29 Aug 2012 16:44:27 +0000 (17:44 +0100)]
x11-common: just support Xorg now that kdrive has been removed

This script was also handling Xomap, Xipaq and Xepson...

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agotask-core-x11: default to xserver-xorg instead of kdrive
Ross Burton [Wed, 29 Aug 2012 11:34:13 +0000 (12:34 +0100)]
task-core-x11: default to xserver-xorg instead of kdrive

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoxserver-xorg: ship the exa module in a separate package
Ross Burton [Wed, 22 Aug 2012 15:32:46 +0000 (16:32 +0100)]
xserver-xorg: ship the exa module in a separate package

EXA is used by some Xorg video drivers, it doesn't need to be shipped unless
it's being used.  Note that it's dynamically loaded so the automatic library
dependencies won't catch this, but as far as I'm aware nothing on oe-core or
meta-oe is using EXA.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoavahi: systemd postinst and postrm removed in favor of using systemd.bbclass
Sander van Grieken [Thu, 30 Aug 2012 11:33:40 +0000 (13:33 +0200)]
avahi: systemd postinst and postrm removed in favor of using systemd.bbclass

The recipe's custom systemd service enable code is now handled by the meta-systemd
bbappend recipe in meta-openembedded.

Signed-off-by: Sander van Grieken <sander@outrightsolutions.nl>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agotzdata: install /etc/localtime alongside /etc/timezone
Ross Burton [Wed, 29 Aug 2012 14:09:15 +0000 (15:09 +0100)]
tzdata: install /etc/localtime alongside /etc/timezone

Lots of code (such a GLib) expects this to exist and link to the current
timezone definition.

/etc/localtime is a symlink instead of a copy of hard link to make it obvious
what timezone data it's pointing at. For systems with /etc on a separate
filesystem to /usr this will result in a dangling symlink until /usr is mounted,
but as this is early boot the assumption is that anything checking it will
handle that case and fallback to UTC.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agodpkg: upgrade to 1.16.8
Constantin Musca [Tue, 28 Aug 2012 14:02:40 +0000 (17:02 +0300)]
dpkg: upgrade to 1.16.8

autofoo.patch: removed
- the patch is not used
check_version: adapted to the new version
- adapt the linux-wrs kernel version, which has character '_'
- remove the first-char-digit-check (as the 1.15.8.5 version does)
dpkg-deb-avoid-fflush.patch: removed
- the patch is included in the new version
fix-timestamps.patch: added
- the lutimes function doesn't work properly for all systems
ignore_extra_fields.patch: adapted to the new version
nochroot.patch: removed
- the patch is not used
noman.patch: adapted to the new version
noupdalt.patch: removed
- the patch is not used
perllibdir.patch: removed
- in the new version PERL_LIBDIR will be set only if empty
preinst.patch: adapted to new version
removed-tar-no-timestamp.patch: added
- the busybox-1.19.4 tar utility doesn't support --warning=no-timestamp

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
12 years agosstate.bbclass: Remove hardcoded task mappings
Richard Purdie [Fri, 31 Aug 2012 00:10:03 +0000 (17:10 -0700)]
sstate.bbclass: Remove hardcoded task mappings

I've not idea why this got left in but as per the comment, it needs fixing
and we shouldn't have hardcoded mappings like this. Lets remove it
and dynamically generate the data instead.

[YOCTO #3039]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoperl: Fix various nativesdk build issues
Richard Purdie [Thu, 30 Aug 2012 23:36:24 +0000 (16:36 -0700)]
perl: Fix various nativesdk build issues

The config.sh lists -fstack-protector but this isn't in LDFLAGS. This
can result in perl compilation failures due to the mismatch. Adding the
flag to LDFLAGS solves makes all the flags consistent and avoids build
failures from missing symbols.

It was also found that the path substitutions made by the sed statement
can conflict with each other and you can end up with $prefix$prefix type
expressions in config.sh-X which can break the build in unusual ways.
This patch anchors the expressions to ensure only true matches are
replaced.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agonativesdk: Switch to using nativesdk as a prefix, not a suffix
Richard Purdie [Thu, 22 Dec 2011 17:43:33 +0000 (17:43 +0000)]
nativesdk: Switch to using nativesdk as a prefix, not a suffix

As discussed on the mailing lists, using a suffix to package names is
hard and has lead to many recipes having to do PKGSUFFIX games. Its
looking extremely hard to scale nativesdk much further without hacking
many recipes.

By comparison, using a prefix like multilib does works much better and
doesn't involve "hacking" as many recipes. This change converts nativesdk
to use a prefix using the existing multilib infrastructure.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agonativesdk: Convert to use classextend.py
Richard Purdie [Wed, 21 Dec 2011 13:53:11 +0000 (13:53 +0000)]
nativesdk: Convert to use classextend.py

This patch converts the nativesdk class itself from operating as a suffix
to a prefix (see the proceeding patch for the related changes outside this
class).

The big benefit here is that we can reuse the generic class extension code.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosstate: Ensure master.list exists if it doesn't already
Richard Purdie [Fri, 31 Aug 2012 05:44:48 +0000 (22:44 -0700)]
sstate: Ensure master.list exists if it doesn't already

This fixes builds where master.list doesn't already exist. This
change was meant to be part of the previous sstate commit but ended
up separated.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agotzdata: this package isn't architecture specific
Ross Burton [Wed, 29 Aug 2012 14:24:13 +0000 (14:24 +0000)]
tzdata: this package isn't architecture specific

The data files are compiled to a binary but architecture-independent format, so
this package can be allarch.

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 agoltp: add dependency libaio
Kang Kai [Wed, 29 Aug 2012 10:39:40 +0000 (10:39 +0000)]
ltp: add dependency libaio

When libaio has been populated to sysroot, ltp will be compiled with
libaio. If rpm/deb package of libaio doesn't be created, bitbake
core-image-xxx will fail with:

| Processing task-core-apps-console...
| Processing ltp...
| error: Failed dependencies:
|  libaio.so.1(LIBAIO_0.4) is needed by ltp-20120614-r0.i586
|  libaio.so.1(LIBAIO_0.1) is needed by ltp-20120614-r0.i586
|  libaio.so.1 is needed by ltp-20120614-r0.i586
| ERROR: Function failed: do_rootfs

Add libaio to ltp dependency to fix this issue.

Similiar to [Yocto #2973]

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agotask-self-hosted: remove e2fsprogs-fsck from task list
Saul Wold [Tue, 28 Aug 2012 18:08:17 +0000 (18:08 +0000)]
task-self-hosted: remove e2fsprogs-fsck from task list

Matches changes made to the e2fsprogs PACKAGE list

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosstate-cache-management.sh: fix it for downloaded file
Robert Yang [Wed, 29 Aug 2012 09:24:59 +0000 (09:24 +0000)]
sstate-cache-management.sh: fix it for downloaded file

Fix it for the downloaded sstate cache file
* The downloaded sstate cache file is in SSTATE_DIR, and there is a
  symlink points to it, the sstate cache file should not be removed if
  the corresponding symlink is kept, it would be removed when the
  symlink is removed (with -L option).

* Fix a comment line.

[YOCTO #2897]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosstate.bbclass: Detect overwriting files in sstate controlled directories
Richard Purdie [Sat, 25 Aug 2012 15:48:14 +0000 (15:48 +0000)]
sstate.bbclass: Detect overwriting files in sstate controlled directories

We have a potential problem where two sstate packages try and touch the same
file. This adds code which will print a warning whenever this happens.

The implementation does but by maintaining a master file list and comparing
file accesses against this. There are a number of places we have duplicate
accesses which are harmless, mostly in the deploy directory so these
are whitelisted.

For now the code prints warnings, this could be strengthened in future to
become error messages. Whilst working on this code on and off over the past
few months various issues were uncovered, some serious.

[YOCTO #238]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoglib-2.0: don't disable all debugging functionality
Ross Burton [Thu, 30 Aug 2012 14:51:59 +0000 (15:51 +0100)]
glib-2.0: don't disable all debugging functionality

GLib will use "minimal" debugging on non-development builds and the extra safety
net and ability to debug at all is totally worth the small performance cost.

If someone has a need for every ounce of performance, a simple .bbappend can
restore this option.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoUpdate lttng-2.0 versions
Christopher Larson [Thu, 30 Aug 2012 17:38:09 +0000 (10:38 -0700)]
Update lttng-2.0 versions

lttng-modules: 2.0.pre11 -> 2.0.5
lttng-tools: 2.0.1 -> 2.0.4
lttng2-ust: 2.0.2 -> 2.0.5

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosysstat: Explicitly disable sensors support.
Marc Ferland [Thu, 30 Aug 2012 18:08:45 +0000 (14:08 -0400)]
sysstat: Explicitly disable sensors support.

Since no lmsensors recipe exists by default in oe-core, explicitly disable
support for it in sysstat. In my case sysstat would fail linking complaining
about undefined references when adding my own lmsensors recipe.

Signed-off-by: Marc Ferland <ferlandm@sonatest.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogail: remove
Ross Burton [Wed, 29 Aug 2012 12:13:25 +0000 (13:13 +0100)]
gail: remove

This functionality was integrated into GTK+ 2.13 and we've dropped support for
anything before that.

[ YOCTO #2954 ]

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agointltool: Add Upstream-Status and Signed-off-by to remove-xml-check.patch
Florin Sarbu [Wed, 29 Aug 2012 07:37:05 +0000 (10:37 +0300)]
intltool: Add Upstream-Status and Signed-off-by to remove-xml-check.patch

Signed-off-by: Florin Sarbu <florin.sarbu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agorunqemu-export-rootfs and friends: don't put pseudo db in target fs
Peter Seebach [Mon, 27 Aug 2012 18:32:30 +0000 (13:32 -0500)]
runqemu-export-rootfs and friends: don't put pseudo db in target fs

In a few places, we have scripts which use <rootfs>/var/pseudo for
the pseudo state directory controlling a given filesystem. This
seems possibly risky because it means that stuff running under
qemu or whatnot could wipe out the data being used to handle that
rootfs. Move this to:
  <rootfs>/../$(basename_rootfs).pseudo_state
to avoid problems.

This also solves at least one case (not directly hit by yocto's
tree) wherein you could end up trying to remove a rootfs while
pseudo was using a database inside that rootfs, and thus the
remove would fail.

Signed-off-by: Peter Seebach <peter.seebach@windriver.com>
12 years agoethtool: package update 3.4.1 -> 3.5
Constantin Musca [Mon, 13 Aug 2012 09:39:29 +0000 (12:39 +0300)]
ethtool: package update 3.4.1 -> 3.5

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
12 years agoperf: add bison and flex to DEPENDS
Tom Zanussi [Sat, 25 Aug 2012 22:57:22 +0000 (17:57 -0500)]
perf: add bison and flex to DEPENDS

perf depends on bison and flex for event parsing - add them as
dependencies.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
12 years agoarchiver.bbclass: fix the remove error
Robert Yang [Fri, 24 Aug 2012 06:06:59 +0000 (14:06 +0800)]
archiver.bbclass: fix the remove error

* The "tar-package" is used for saving the "Source" list for rpmbuild,
  there is no such a file when "ARCHIVER_MODE[type] ?= srpm", and there
  would be errors, it hadn't happen before was becuase that the remove
  function didn't work. Let the "rpmbuild --rmsource" to remove the
  Sources, and the remove function will just remove the tar-package file.

* Remove several unwanted "try ... exception" sentences, let the error
  raise rather than ignore them when the error happens.

* Remove several un-needed code.

[YOCTO #2619]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agocopyleft_compliance.bbclass: remove the duplicated code
Robert Yang [Thu, 23 Aug 2012 06:08:09 +0000 (14:08 +0800)]
copyleft_compliance.bbclass: remove the duplicated code

A part of the code in copyleft_compliance.bbclass is duplicated to
archiver.bbclass, remove the duplicated lines.

[YOCTO #2619]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoarchiver.bbclass: remove the "upper()" function
Robert Yang [Thu, 23 Aug 2012 15:13:25 +0000 (23:13 +0800)]
archiver.bbclass: remove the "upper()" function

The configuration value from the conf file is lower case, e.g. srpm,
tar, so there is no reason to use the upper case which makes things
complicated.

[YOCTO #2619]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoarchiver.bbclass: fix the fakeroot and other issues
Robert Yang [Wed, 22 Aug 2012 07:34:34 +0000 (15:34 +0800)]
archiver.bbclass: fix the fakeroot and other issues

* Fix the fakeroot issue
  The archiver.bbclass is used for archiving sources, patches, and logs,
  it uses the "rpmbuild -bs" from the package_rpm.bbclass to generate the
  .src.rpm, but it didn't work (it's not easy to explain it clearly):

  Reason:
  - It directly used the "fakeroot" command, we don't have such a
    command in native tools, so it would use the fakeroot from the host,
    and it would fail when there is no fakeroot on the host.

  - The "rpmbuild -bs" doesn't need to work under root, but it is in the
    function do_package_write_rpm which is running under fakeroot, and
    "rpmbuild" needs to know the source file's user/group name, the source
    file is the tarball which is created by the postfuncs of do_unpack
    or do_patch which doesn't use the fakeroot, so the created file's
    owner would be the real user, e.g.: robert, but there is no such a
    user under our native tools' fakeroot(pseudo), then the rpmbuild would
    fail. It worked when use the host's fakeroot in the past was because
    that the host's fakeroot knows the users on the host.

  Fix:
  - Remove the incorrect "fakeroot".

  - Change the source file's owner to root.root under fakeroot will fix the
    problem.

* Other fixes:
  - The typo: "do_remove_taball -> do_remove_tarball" which will cause the
    tarball is not removed.

  - Add the _sourcedir defination to the rpmbuild command since the the
    SOURCES would be added to the specfile when archiver.bbclass is
    inherited, otherwise there would be errors when "rpmbuild -bb", though
    the build is OK. It only added the defination to "rpmbuild -bs",
    didn't add to "rpmbuild -bb".

[YOCTO #2619]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoarchiver.bbclass: fix the coding style
Robert Yang [Thu, 23 Aug 2012 15:08:22 +0000 (23:08 +0800)]
archiver.bbclass: fix the coding style

* Make the comment line under 80 characters.
* Use the triple double quotes for the docstring.
* Add a whitespace behind the comma (,).
* Other minor fixes.

[YOCTO #2619]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoarchiver.bbclass: indent fixes
Robert Yang [Thu, 23 Aug 2012 15:03:10 +0000 (23:03 +0800)]
archiver.bbclass: indent fixes

Several fixes:
* It uses mixed tab and whitespace as the indent in one function,
  Fix them to use "4 spaces" as the indent.

* Remove the unwanted blank, for example, more than one blank lines
  appeared together.

* Remove the tail whitespace.

[YOCTO #2619]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoia32-base.inc: new include file
Tom Zanussi [Sat, 25 Aug 2012 04:34:47 +0000 (23:34 -0500)]
ia32-base.inc: new include file

This is the ia32-base.inc moved over from meta-intel.  See meta-intel
for the complete history of contributions to this file.

Here's the initial commit text that explains the purpose of this file:

  The meta-intel BSPs currently have a number of machine settings common
  to all - factor these out into a common include file.

  Also add several new intel-specific XSERVER variables for building
  XSERVER variables in BSPs.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
12 years agostaging.bbclass: Might as well drop the applications, fonts and pixmap directories...
Richard Purdie [Sat, 25 Aug 2012 15:47:25 +0000 (16:47 +0100)]
staging.bbclass: Might as well drop the applications, fonts and pixmap directories from ${datadir}

These cause various file conflicts and aren't useful within the sysroot anyway. We might
as well remove them. Whitelisting the contents of ${datadir} that *is* useful might
be a better option in future.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoudev: Drop hid2hci, its provided by bluez4 now
Richard Purdie [Sat, 25 Aug 2012 15:46:48 +0000 (16:46 +0100)]
udev: Drop hid2hci, its provided by bluez4 now

Our bluez4 recipe provides hid2hci now. udev removes this as of version 169,
we might as well remove it now to stop conflicts over the file in both
target file systems and the build sysroots.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoe2fsprogs: Drop fsck binary
Richard Purdie [Sat, 25 Aug 2012 15:46:12 +0000 (16:46 +0100)]
e2fsprogs: Drop fsck binary

There are conflicts in the native sysroot over the fsck binary. Whilst
providing people with alternatives is good to a point, the source in util-linux
is clearly the copy which is now being maintained and moved forwards which the copy
in e2fsprogs being older and with less features.

The simplest solution is simply to no longer offer this and used the maintained
version from util-linux.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoe2fsprogs: Fully remove/disable blkid
Richard Purdie [Sat, 25 Aug 2012 15:45:33 +0000 (16:45 +0100)]
e2fsprogs: Fully remove/disable blkid

We've removed libblkid from e2fsprogs as it was being provided by util-linux. The blkid
binary is also provided there and providing it within e2fsprogs too, linked against
a different and potentially incompatible library we're likely asking for trouble.

It also leads to inconsistencies in the native sysroot since we don't consistently
get one given provider of blkid (but always the liblibid from util-linux).

To clean this up, fully remove/disable the blkid binary and package.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: compile tar-replacement firstly
Roy.Li [Wed, 8 Aug 2012 01:44:26 +0000 (09:44 +0800)]
bitbake: compile tar-replacement firstly

Compiling tar-replacement or not is decided by version of host tar,
if the host tar version is lower than 1.23, Compiling tar-replacement
is needed.

When doing popoluate tar-replacement sysroot to write the tar to
sysroot, but writing is not finished. other packages probably
use the being written tar to unzip file, which will lead to failure
and report the below error:
"bitbake_build/tmp/sysroots/x86_64-linux/usr/bin/tar: Text file busy"

Now we compile tar-replacement firstly to ensure that a being written
tar command will not be used.

Signed-off-by: Roy.Li <rongqing.li@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoterminal.py: use unique ids for screen sessions
Jason Wessel [Wed, 25 Jul 2012 17:47:28 +0000 (12:47 -0500)]
terminal.py: use unique ids for screen sessions

When running multiple sets of builds on the same
system, it is hard to distinguish which build belongs
to which screen session and you can end up resuming
the wrong session.

The simple solution is to just append the process
id to the screen session invocation to make each
unique.

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agobitbake.conf: add variables to exclude from hash.
Mark Hatle [Thu, 23 Aug 2012 17:08:07 +0000 (12:08 -0500)]
bitbake.conf: add variables to exclude from hash.

The parallelism flags should not change the parse hash.

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agokernel-yocto: don't require meta branch for custom repos
Bruce Ashfield [Wed, 22 Aug 2012 04:42:05 +0000 (00:42 -0400)]
kernel-yocto: don't require meta branch for custom repos

The commit a9f11849 [linux-yocto: explicitly export KMETA to scripts]
allows the meta branch name to be changed by exporting it to all
phases of the build.

But if a custom kernel without a meta branch is built, we end up
passing an empty string to the creation scripts, which breaks the
build since input is expected.

Inhibiting the export of KMETA to the creation scripts when empty
fixes the problem.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agokernel-yocto: set master branch to a defined SRCREV
Bruce Ashfield [Wed, 22 Aug 2012 05:18:05 +0000 (01:18 -0400)]
kernel-yocto: set master branch to a defined SRCREV

To support custom repositories that set a SRCREV and that only have
a single master branch, do_validate_branches needs a special case
for 'master'. We can't delete and recreate the branch, since you
cannot delete the current branch, instead we must reset the branch
to the proper SRCREV.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agokernel.bbclass: fix INC directory for SLANG
Liang Li [Wed, 22 Aug 2012 08:02:33 +0000 (16:02 +0800)]
kernel.bbclass: fix INC directory for SLANG

In the kernel's tools/perf/Makefile CFLAGS was previously hard coded to
contain "-I/usr/include/slang" to work with hosts that have
"/usr/include/slang/slang.h" as well as hosts that have
"/usr/include/slang.h". This path can cause compile warnings like:

  cc1: warning: '/usr/include/slang' doesn't exists.

  or

  cc1: warning: include location "/usr/include/slang" is unsafe for
  cross-compilation [-Wpoison-system-directories]

Then in some cases warnings become errors if WERROR is enabled hence
build errors.

In coordination with a kernel fix, we can fix this error for all
kernels by modifying the perf Makefile within the staged kernel
source.

Signed-off-by: Liang Li <liang.li@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agogrub-efi: fix Nothing PROVIDES 'grub-efi-x86_64-native'
Mihai Lindner [Fri, 24 Aug 2012 18:06:12 +0000 (21:06 +0300)]
grub-efi: fix Nothing PROVIDES 'grub-efi-x86_64-native'

"ERROR: Nothing PROVIDES 'grub-efi-x86_64-native'" is returned when
trying to build meta-intel/meta-cedartrail with DEFAULTTUNE = "core2-64"
Used TRANSLATED_TARGET_ARCH instead of TARGET_ARCH in grub-efi.bbclass

[YOCTO #3013]

Signed-off-by: Mihai Lindner <mihaix.lindner@linux.intel.com>
12 years agokmod-native_git.bb: fix builds for hosts with older libc
Matthew McClintock [Fri, 24 Aug 2012 18:16:37 +0000 (13:16 -0500)]
kmod-native_git.bb: fix builds for hosts with older libc

kmod will fail to build with the following error because O_CLOEXEC is
not defined:

| libkmod/libkmod-module.c: In function 'kmod_module_get_initstate':
| libkmod/libkmod-module.c:1640: error: 'O_CLOEXEC' undeclared (first use in this function)
| libkmod/libkmod-module.c:1640: error: (Each undeclared identifier is reported only once
| libkmod/libkmod-module.c:1640: error: for each function it appears in.)
| libkmod/libkmod-module.c: In function 'kmod_module_get_refcnt':
| libkmod/libkmod-module.c:1754: error: 'O_CLOEXEC' undeclared (first use in this function)
| libkmod/libkmod-module.c: In function 'kmod_module_get_sections':
| libkmod/libkmod-module.c:1913: error: 'O_CLOEXEC' undeclared (first use in this function)
| libkmod/libkmod-file.c: In function 'kmod_file_open':
| libkmod/libkmod-file.c:282: error: 'O_CLOEXEC' undeclared (first use in this function)
| libkmod/libkmod-file.c:282: error: (Each undeclared identifier is reported only once
| libkmod/libkmod-file.c:282: error: for each function it appears in.)

Since we are only using kmod-native for depmod, and it's a non-threaded
user of this libary being built this should be safe to override O_CLOEXEC.

Keep in mind this is ONLY effecting the native builds and not what is
being shipped in the root file system.

Signed-off-by: Matthew McClintock <msm@freescale.com>
12 years agobase-passwd: upgrade to 3.5.26
Constantin Musca [Fri, 24 Aug 2012 10:26:17 +0000 (13:26 +0300)]
base-passwd: upgrade to 3.5.26

The S variable is now the default one.

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agogdk-pixbuf: call gtk-update-icon-cache with -t in postinstall script
Jackie Huang [Fri, 24 Aug 2012 13:29:06 +0000 (21:29 +0800)]
gdk-pixbuf: call gtk-update-icon-cache with -t in postinstall script

gtk-update-icon-cache is called for each subdir of ${datadir}/icons,
but there are some themes without an index.theme file such as
xcursor-transparent, so add -t(--ignore-theme-index) option to avoid
errors of gtk-update-icon-cache.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
12 years agowget: upgrade to 1.14
Constantin Musca [Fri, 24 Aug 2012 10:07:31 +0000 (13:07 +0300)]
wget: upgrade to 1.14

remove-gets.patch: removed
- included in the new version

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agonpth: upgrade to 0.91
Constantin Musca [Fri, 24 Aug 2012 09:05:39 +0000 (12:05 +0300)]
npth: upgrade to 0.91

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agokconfig-frontends: upgrade to 3.5
Constantin Musca [Fri, 24 Aug 2012 10:12:13 +0000 (13:12 +0300)]
kconfig-frontends: upgrade to 3.5

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agodhcp : upgrade to 4.2.4-P1
Andrei Dinu [Fri, 24 Aug 2012 09:15:34 +0000 (12:15 +0300)]
dhcp : upgrade to 4.2.4-P1

Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com>
12 years agosubversion: update to 1.7.6
Marcin Juszkiewicz [Wed, 22 Aug 2012 20:25:04 +0000 (22:25 +0200)]
subversion: update to 1.7.6

Dropped --without-apache option as it does not exists.

Added patch from subversion-users ML to not build mod_dontdothat.

Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
12 years agorunqemu: Move the KVM check after the MACHINE/KERNEL Checks
Saul Wold [Thu, 23 Aug 2012 20:45:21 +0000 (13:45 -0700)]
runqemu: Move the KVM check after the MACHINE/KERNEL Checks

The MACHINE/KERNEL Checks setup MACHINE is it's unset, the KVM checks valid
MACHINE is qemux86 or qemux86-64 and fail if it's unset!

[YOCTO #2970]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agobuild-appliance-image: Update SRCREV for beta build
Saul Wold [Fri, 24 Aug 2012 17:45:35 +0000 (10:45 -0700)]
build-appliance-image: Update SRCREV for beta build

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agotask-core-lsb: Don't pull in eglibc-pic via RDEPENDS
Andy Ross [Tue, 14 Aug 2012 22:44:22 +0000 (15:44 -0700)]
task-core-lsb: Don't pull in eglibc-pic via RDEPENDS

The task-core-lsb-runtime-add subpackage includes eglibc-pic as an
RDEPEND.  That's incorrect, eglibc-pic is nothing but 22MB of static
libraries and should never appear as a runtime dependency.

Signed-off-by: Andy Ross <andy.ross@windriver.com>
12 years agolibcap: fetch from Debian
Marcin Juszkiewicz [Thu, 23 Aug 2012 07:24:29 +0000 (09:24 +0200)]
libcap: fetch from Debian

Original location was kernel.org and it was not restored after server
was hacked.

Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
12 years agobuild-appliance-image: Add vmx* files and build zip file
Saul Wold [Thu, 23 Aug 2012 18:45:14 +0000 (11:45 -0700)]
build-appliance-image: Add vmx* files and build zip file

This commit adds the vmx* files needed to setup a VMware image,
this also packages the vmdk along with the vmx files.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agobuild-appliance-image: Update SRCREV to Denzil 1.2.1
Saul Wold [Thu, 23 Aug 2012 18:16:05 +0000 (11:16 -0700)]
build-appliance-image: Update SRCREV to Denzil 1.2.1

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoiputils: chmod in pkg_postinst are redundant
Saul Wold [Thu, 23 Aug 2012 18:33:18 +0000 (11:33 -0700)]
iputils: chmod in pkg_postinst are redundant

With pseudo the cmod in pkg_postinst is actaully redundant since
the do_install uses install -m 4555 and pseudo is able to track that
between the install time and the rootfs package installation, so the
perms are correct.

[YOCTO #2894]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agomc: upgrade to 4.8.4
Andrei Dinu [Thu, 23 Aug 2012 11:14:18 +0000 (14:14 +0300)]
mc: upgrade to 4.8.4

Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com>
12 years agodbus-glib: upgrade to 0.100
Constantin Musca [Thu, 23 Aug 2012 11:45:02 +0000 (14:45 +0300)]
dbus-glib: upgrade to 0.100

test-service-glib-include-glib-only.patch: removed
- no more compiling errors

12 years agolibnfsidmap: upgrade to 0.25
Constantin Musca [Thu, 23 Aug 2012 11:45:01 +0000 (14:45 +0300)]
libnfsidmap: upgrade to 0.25

fix-ac-prereq.patch: adapted to the new version

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
12 years agofoomatic-filters: upgrade to 4.0.17
Constantin Musca [Thu, 23 Aug 2012 11:45:00 +0000 (14:45 +0300)]
foomatic-filters: upgrade to 4.0.17

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
12 years agotelepathy-idle: upgrade to 0.1.12
Constantin Musca [Thu, 23 Aug 2012 06:13:11 +0000 (09:13 +0300)]
telepathy-idle: upgrade to 0.1.12

Add patch for fixing the _gen/svc-gtk-doc.h target in
the makefiles.

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
12 years agotelepathy-glib: update to 0.19.6
Constantin Musca [Thu, 23 Aug 2012 06:13:10 +0000 (09:13 +0300)]
telepathy-glib: update to 0.19.6

The 0001-Fix-a-race-in-_gen-reentrant-methods.list patch is
included in the 0.19.6 version.

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
12 years agodistutils/steuptools: Fix files layout and unbreak builds
Richard Purdie [Fri, 24 Aug 2012 16:12:39 +0000 (16:12 +0000)]
distutils/steuptools: Fix files layout and unbreak builds

The last two distutils changes progressivly broke the builds. Firstly they
moved things from the site_packages directory to being higher up the tree
which introduced package QA warnings as a side effect. Secondly, it interacts
badly with setuptools which passes in --root=${D} itself.

This patch restores the original directory layout, hence fixing the QA
warnings and also passes extra options to setuptools to deal with the
--root option it passes.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomutter: Explictly disable libcanberra
Richard Purdie [Fri, 24 Aug 2012 15:23:50 +0000 (15:23 +0000)]
mutter: Explictly disable libcanberra

Its not listed in DEPENDS, this ensures build reproducibility.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogcc-4.7: Add fix for libtool rpath problems
Richard Purdie [Fri, 24 Aug 2012 14:10:59 +0000 (14:10 +0000)]
gcc-4.7: Add fix for libtool rpath problems

This avoids problems with libstdc++ having bad rpaths (/usr/lib/../.lib)
in its .la file. See the patch for more information.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibtool: update rpath normalization to use builtin
Andy Ross [Thu, 23 Aug 2012 17:32:30 +0000 (17:32 +0000)]
libtool: update rpath normalization to use builtin

Use the built-in normalization function instead of the sed hack.

Signed-off-by: Andy Ross <andy.ross@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agold: -rpath must search under sysroot
Andy Ross [Thu, 23 Aug 2012 17:32:31 +0000 (17:32 +0000)]
ld: -rpath must search under sysroot

The -rpath argument would search the host filesystem for libraries,
even when a sysroot was defined.  For cross toolchains with targets
compatible with the host architecture this can find incorrect
libraries.  Leave -rpath-link unmodified, as build systems in the wild
are already using this to point to host directories.

[YOCTO #2965]

Signed-off-by: Andy Ross <andy.ross@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoxev: Add missing dependencies on libxrandr and xproto
Richard Purdie [Thu, 23 Aug 2012 14:15:27 +0000 (14:15 +0000)]
xev: Add missing dependencies on libxrandr and xproto

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoexternal-python-tarball: Blacklist recipe if ipk is not in the PACKAGE_CLASSES list
Saul Wold [Wed, 22 Aug 2012 20:54:04 +0000 (20:54 +0000)]
external-python-tarball: Blacklist recipe if ipk is not in the PACKAGE_CLASSES list

This is needed because ipk tools and variables (specically
IPKGCONF_TARGET and IPKGCONF_SDK) are used from the rootfs_ipk.bbclass

I tried to inherit directly but it still fails to expand those.

[YOCTO #2814]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibiconv: skip recipe if using eglibc
Paul Eggleton [Mon, 20 Aug 2012 13:20:41 +0000 (14:20 +0100)]
libiconv: skip recipe if using eglibc

libiconv is provided for use with uClibc - if you build it together with
eglibc (which already PROVIDES virtual/libiconv) you can end up with
dependency problems during do_rootfs.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agocups: disable pdftops
Saul Wold [Wed, 22 Aug 2012 20:32:18 +0000 (13:32 -0700)]
cups: disable pdftops

This ensure a reliable built without host contamination, this
will also disable the usage of ghostscript.

[YOCTO #2966]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agotask-base: pull in the bluez asound module when appropriate
Christopher Larson [Tue, 21 Aug 2012 18:10:00 +0000 (11:10 -0700)]
task-base: pull in the bluez asound module when appropriate

If the machine and distro both want alsa, then have task-base-bluetooth pull
in the libasound-module-bluez package.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agobusybox: Upgrade to upstream 1.20.2
Radu Moisan [Wed, 22 Aug 2012 09:22:22 +0000 (12:22 +0300)]
busybox: Upgrade to upstream 1.20.2

Updated defconfig file from generated .config
Disabled CONFIG_LSOF,CONFIG_CROSS_COMPILER_PREFIX, and CONFIG_EXTRA_CFLAGS
for backwards compatibility.
Added busybox-1.20.2-kernel_ver.patch from upstream.

Signed-off-by: Radu Moisan <radu.moisan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agogrub-efi-native: Update to version 2.00
Radu Moisan [Tue, 21 Aug 2012 11:48:38 +0000 (14:48 +0300)]
grub-efi-native: Update to version 2.00

Added -Wno-unused-result because of a read() with no result, and causing
error due to -Werror
Updated grub recipe because of a patch name change
Removed unnecessary patches (merged upstream).

Signed-off-by: Radu Moisan <radu.moisan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agogrub: Update to upstream stable 2.00
Radu Moisan [Tue, 21 Aug 2012 11:34:25 +0000 (14:34 +0300)]
grub: Update to upstream stable 2.00

Removed unnecessary patches (merged upstream).

Signed-off-by: Radu Moisan <radu.moisan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoscripts/combo-layer: specify branch when getting current revision
Paul Eggleton [Tue, 21 Aug 2012 13:17:10 +0000 (14:17 +0100)]
scripts/combo-layer: specify branch when getting current revision

Handle the case during update where the configured branch is not
currently checked out in the component repository by just specifying
it in the places where it was not previously.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agogrub-1.99: Add flex-native to DEPENDS
Xin Ouyang [Mon, 20 Aug 2012 19:36:46 +0000 (14:36 -0500)]
grub-1.99: Add flex-native to DEPENDS

[YOCTO #2916]

On some systems the host version of flex may be too old to work properly,
instead we depend on flex-native to ensure that we have the proper version
available to us.  (Flex version 2.5.35 or newer is requried.)

Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
Clarified commit message

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoeglibc-2.15: Delete
Khem Raj [Wed, 22 Aug 2012 17:59:50 +0000 (10:59 -0700)]
eglibc-2.15: Delete

eglibc 2.15 is not buildable with current toolchain build sequence
and is not used as default on OE-Core. So lets remove it.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolinux-yocto: Remove parens from COMPATIBLE_MACHINE regexp
Khem Raj [Wed, 22 Aug 2012 17:59:48 +0000 (10:59 -0700)]
linux-yocto: Remove parens from COMPATIBLE_MACHINE regexp

This helps in appending to this regexp from bbappends
coming from other layers who want to leverage linux-yocto
with minimum tweaks by using a standard prefefined machine
from linux-yocto

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agorunqemu: Honor KERNEL and ROOTFS settings from environment
Khem Raj [Wed, 22 Aug 2012 17:59:47 +0000 (10:59 -0700)]
runqemu: Honor KERNEL and ROOTFS settings from environment

Expand the usage to be able to specify KERNEL and ROOTFS
on commandline. This helps in using the script for booting
images that are essentially not part of OE-Core

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agomesa: clean up PACKAGECONFIG
Ross Burton [Mon, 20 Aug 2012 10:25:18 +0000 (11:25 +0100)]
mesa: clean up PACKAGECONFIG

Use machine overrides instead of machine features.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>