]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
12 years agolinux-yocto: bump version to 3.4.7
Bruce Ashfield [Wed, 8 Aug 2012 17:38:04 +0000 (13:38 -0400)]
linux-yocto: bump version to 3.4.7

The v3.4.7 -stable update has been released, updating all in-tree
BSPs to this new baseline.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agokernel.bbclass: Preserve generated headers
Khem Raj [Tue, 31 Jul 2012 15:10:40 +0000 (08:10 -0700)]
kernel.bbclass: Preserve generated headers

asm/unistd.h includes asm/unistd_64.h on x86_64
and asm/unistd_32.h on i386 but these files are
generated files in 3.4 and when we do 'make clean' they get
deleted and it shows up as an error when building
external modules. May be its a 3.4 kernel bug may be not
but make clean should have left the tree in
a shape to build modules but it does not.

Probably we should run make modules_prepare after having
run make clean.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agobase.bbclass: fix PACKAGECONFIG handling code
Yao Zhao [Thu, 2 Aug 2012 16:06:36 +0000 (12:06 -0400)]
base.bbclass: fix PACKAGECONFIG handling code

PACKAGECONFIG flag code only handles that when it has 3 or 4 items in flag,
it may have a stale data if some flags doesn't need DEPENDS and RDEPENDS.

Signed-off-by: Yao Zhao <yao.zhao@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoutility-tasks: Set T to alternate location during do_clean
Richard Purdie [Fri, 17 Aug 2012 13:19:22 +0000 (14:19 +0100)]
utility-tasks: Set T to alternate location during do_clean

There is a race where do_clean tries to clean WORKDIR but there are logfiles
written into ${T} by bitbake and this can lead to exceptions due to open files.

The easiest solution is to redirect T to a different location for the do_clean
task, hence avoiding the errors and also allowing the logfiles to be visible
somewhere. ${LOG_DIR} seems an appropriate place for this.

[YOCTO #2846]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibsamplerate: depends on libsdnfile
Saul Wold [Thu, 16 Aug 2012 23:46:22 +0000 (16:46 -0700)]
libsamplerate: depends on libsdnfile

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agosubversion: Inherit gettext as msgfmt is needed at compile time
Andrei Gherzan [Thu, 16 Aug 2012 22:22:28 +0000 (01:22 +0300)]
subversion: Inherit gettext as msgfmt is needed at compile time

Avoid error:
| /bin/bash: <path>/tmp/sysroots/i686-linux/usr/bin/msgfmt: No such file or
directory
| make: *** [subversion/po/de.mo] Error 127
| make: *** Waiting for unfinished jobs....
| ERROR: oe_runmake failed

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agobusybox: Package hwclock.sh initscript separately
Andrei Gherzan [Thu, 16 Aug 2012 21:15:15 +0000 (00:15 +0300)]
busybox: Package hwclock.sh initscript separately

We package this separately to be able to pull this in only if this makes
sense for the MACHINE.

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agotask-core-boot: Add busybox-hwclock if MACHINE_FEATURES contains rtc
Andrei Gherzan [Thu, 16 Aug 2012 21:13:47 +0000 (00:13 +0300)]
task-core-boot: Add busybox-hwclock if MACHINE_FEATURES contains rtc

For machines with no hardware clock it makes no sense to have this
init stript. Moreover, we avoid a boot error in this way.

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agobitbake.conf: Add rtc to MACHINE_FEATURES_BACKFILL
Andrei Gherzan [Tue, 10 Jul 2012 13:55:47 +0000 (16:55 +0300)]
bitbake.conf: Add rtc to MACHINE_FEATURES_BACKFILL

This was done this way so that the current machine configuration
would remain unaffected.
The rtc MACHINE_FEATURE will specify if a real time clock is avalaible.

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agobitbake.conf: Add MACHINE_FEATURES_BACKFILL and append to MACHINE_FEATURES
Andrei Gherzan [Tue, 10 Jul 2012 13:53:55 +0000 (16:53 +0300)]
bitbake.conf: Add MACHINE_FEATURES_BACKFILL and append to MACHINE_FEATURES

This is works the way DISTRO_FEATURES_BACKFILL does.

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agobitbake.conf: Use the new form of features_backfill function
Andrei Gherzan [Tue, 10 Jul 2012 13:47:45 +0000 (16:47 +0300)]
bitbake.conf: Use the new form of features_backfill function

This function was modified in order to be used with other
variables then DISTRO_FEATURES. Use this new function name and
add the parameter needed.

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoutils.py: Modify and rename distro_features_backfill python function
Andrei Gherzan [Tue, 10 Jul 2012 13:38:02 +0000 (16:38 +0300)]
utils.py: Modify and rename distro_features_backfill python function

This function was written to be used with DISTRO_FEATURES. This behavior
is usefull with MACHINE_FEATURES as well.

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agopulseaudio: upgrade to 2.1
Constantin Musca [Thu, 16 Aug 2012 12:55:19 +0000 (15:55 +0300)]
pulseaudio: upgrade to 2.1

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoiptables: upgrade to 1.4.15
Constantin Musca [Thu, 16 Aug 2012 12:55:18 +0000 (15:55 +0300)]
iptables: upgrade to 1.4.15

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoiproute2: upgrade to 3.5.0
Constantin Musca [Thu, 16 Aug 2012 12:55:17 +0000 (15:55 +0300)]
iproute2: upgrade to 3.5.0

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoofono: upgrade to 1.10
Constantin Musca [Thu, 16 Aug 2012 12:55:16 +0000 (15:55 +0300)]
ofono: upgrade to 1.10

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agodbus: upgrade to 1.6.4
Constantin Musca [Thu, 16 Aug 2012 12:55:15 +0000 (15:55 +0300)]
dbus: upgrade to 1.6.4

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agorootfs_deb: move the lock from WORKDIR to DEPLOY_DIR_DEB
Robert Yang [Mon, 13 Aug 2012 13:03:45 +0000 (21:03 +0800)]
rootfs_deb: move the lock from WORKDIR  to DEPLOY_DIR_DEB

* There would be race issue if we put the lock to the WORKDIR, for
  example:
  bitbake core-image-sato core-image-sato-sdk

  If the lock is in their own WORKDIR, the apt-rootfs.conf and
  Packages.gz maybe be written by two tasks at the same time, which
  would cause unexpected errors.

* Create ${target_rootfs}/etc since the "tar -C" needs it.

Note:
  * The rpm has put the lock to DEPLOY_DIR_RPM
  * The ipk doesn't need it since it has locks for each deploy directory
    and put the opkg.conf in his own WORKDIR, which doesn't like deb put
    the apt-rootfs.conf in ${STAGING_ETCDIR_NATIVE}/apt/.

[YOCTO #2495]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoapt-native 0.7.14: remove an extra line from apt.conf
Robert Yang [Mon, 13 Aug 2012 12:57:20 +0000 (20:57 +0800)]
apt-native 0.7.14: remove an extra line from apt.conf

There is an additional "};" at the end of apt.conf, remove it.

[YOCTO #2495]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoopenssh: openssh's init fails to restart if sshd is not running
Amy Fong [Fri, 27 Jul 2012 15:06:55 +0000 (11:06 -0400)]
openssh: openssh's init fails to restart if sshd is not running

openssh: openssh's init fails to restart if sshd is not running

Because of "set -e", it's necessary to specify the -o (or --oknodo)
so that start-stop-daemon returns an exit status of 0 if no actions
are taken.

Signed-off-by: Amy Fong <amy.fong@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agopciutils: upgrade to 3.1.10
Constantin Musca [Tue, 14 Aug 2012 12:50:26 +0000 (15:50 +0300)]
pciutils: upgrade to 3.1.10

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoAdd MPL version 2.0 license in common-licenses dir as well as adding a non-SPDX licen...
Florin Sarbu [Tue, 14 Aug 2012 07:26:26 +0000 (10:26 +0300)]
Add MPL version 2.0 license in common-licenses dir as well as adding a non-SPDX license name in license.bbclass

Signed-off-by: Florin Sarbu <florin.sarbu@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agosubversion: two small fixes
Roy.Li [Tue, 14 Aug 2012 05:56:56 +0000 (13:56 +0800)]
subversion: two small fixes

Add missing build dependency on sqlite3

Disable Ruby checking. we do not have Ruby, and subversion always
checks ruby on host which leads to build error when ruby-dev is
installed on host.

Signed-off-by: Roy.Li <rongqing.li@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolibatomics-ops: update to the latest version 7.2
Xin Ouyang [Tue, 14 Aug 2012 01:49:08 +0000 (09:49 +0800)]
libatomics-ops: update to the latest version 7.2

All old patches are droped because:

Merged into 7.2 by upstream:
* fedora/libatomic_ops-1.2-ppclwzfix.patch
* gentoo/libatomic_ops-1.2-mips.patch
* gentoo/sh4-atomic-ops.patch
* libatomics-ops_fix_for_x32.patch

Obsolete:
* doublefix.patch

Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoprelink: Update to latest upstream prelink
Mark Hatle [Mon, 13 Aug 2012 19:49:57 +0000 (14:49 -0500)]
prelink: Update to latest upstream prelink

The latest fixes an obscure problem with prelinking on PowerPC, as well
as general updated.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agodistutils.bbclass: fix libdir for 64-bit python modules built with distutils
Matthew McClintock [Mon, 13 Aug 2012 19:44:31 +0000 (14:44 -0500)]
distutils.bbclass: fix libdir for 64-bit python modules built with distutils

Without this some modules will be intalled in /usr/lib/python2.6/
instead of /usr/${libdir}/python2.6

Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agorunqemu: support booting ramfs-based images
Scott Garman [Mon, 13 Aug 2012 20:20:38 +0000 (13:20 -0700)]
runqemu: support booting ramfs-based images

Added support for booting ramfs-based images (e.g, poky-tiny) which
do not have block device support.

This fixes [YOCTO #2612].

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolibowl-av: patches merged upstream, bump srcrev
Ross Burton [Fri, 10 Aug 2012 12:47:00 +0000 (15:47 +0300)]
libowl-av: patches merged upstream, bump srcrev

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoowl-video: patches pushed upstream, so bump srcrev
Ross Burton [Fri, 10 Aug 2012 12:45:06 +0000 (15:45 +0300)]
owl-video: patches pushed upstream, so bump srcrev

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoclutter: DOLT isn't used anymore
Ross Burton [Mon, 6 Aug 2012 12:14:09 +0000 (13:14 +0100)]
clutter: DOLT isn't used anymore

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agowpa-supplicant: fix paths in dbus/systemd *.service files
Andreas Müller [Mon, 13 Aug 2012 17:02:39 +0000 (19:02 +0200)]
wpa-supplicant: fix paths in dbus/systemd *.service files

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoglproto: upgrade to 1.4.16
Constantin Musca [Mon, 13 Aug 2012 14:27:31 +0000 (17:27 +0300)]
glproto: upgrade to 1.4.16

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agodri2proto: upgrade to 2.8
Constantin Musca [Mon, 13 Aug 2012 14:27:32 +0000 (17:27 +0300)]
dri2proto: upgrade to 2.8

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agopixman: upgrade to 0.27.2
Constantin Musca [Mon, 13 Aug 2012 14:27:30 +0000 (17:27 +0300)]
pixman: upgrade to 0.27.2

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agopackage_rpm.bbclass: Fix attemptonly install failures
Mark Hatle [Fri, 17 Aug 2012 16:25:40 +0000 (11:25 -0500)]
package_rpm.bbclass: Fix attemptonly install failures

During an attemptonly install, if you try to install two packages that
conflict with each other, a message is generated:

 error: Failed dependencies:
     dropbear conflicts with openssh-6.0p1-r4.ppc603e
     dropbear conflicts with openssh-sshd-6.0p1-r4.ppc603e

This is placed onto stderr (vs stdout), which was not being redirected.
This allowed the log-check code to find the magic key of "Failed" causing
the package installation process to fail.  Instead the proper behavior is to
simply ignore the error and proceed with the install.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agochrpath.bbclass: Account for case when ORIGIN is in RPATH
Khem Raj [Thu, 16 Aug 2012 03:15:46 +0000 (20:15 -0700)]
chrpath.bbclass: Account for case when ORIGIN is in RPATH

This fixes a case when RPATH embedded in program have one of
its path already relative to ORIGIN. We were losing that path
if such a path existed. This patch appends it to the new edited
rpath being created when we see it.

so RPATH like below

(RPATH)              Library rpath:
[$ORIGIN/../lib/amd64/jli:$ORIGIN/../jre/lib/amd64/jli]

would end up being empty

but after this patch its kept intact

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agochrpath.bbclass: Ensure we only process tmpdir in paths which actually contain that...
Richard Purdie [Fri, 17 Aug 2012 16:37:47 +0000 (16:37 +0000)]
chrpath.bbclass: Ensure we only process tmpdir in paths which actually contain that path

Without this change, a path to "/lib/xxx" or "/usr/lib/xxx" would also
attempt to be remapped to be relative to $ORIGIN which makes no sense.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoclasses/chrpath: improve chrpath failure handling
Paul Eggleton [Fri, 17 Aug 2012 13:26:33 +0000 (14:26 +0100)]
classes/chrpath: improve chrpath failure handling

When chrpath fails, prefix the error message with the name of the recipe
that is being processed, and include the the output from chrpath, as
well as making the calling task actually fail.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoapr-util: fix the rules.mk with path to sysroot instead of the workdir of apr
Jackie Huang [Fri, 17 Aug 2012 03:11:43 +0000 (11:11 +0800)]
apr-util: fix the rules.mk with path to sysroot instead of the workdir of apr

The copying for rules.mk was happened in do_configure_prepend, but it will be
replaced by the one generated by configure, in which APR_MKEXPORT points to
the workdir of apr and cause compile filure when the workdir of apr is removed.
So change the copying in _prepend to _append.

[YOCTO #2947]

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopython: Add Upstream-Status entries for bsddb patches, no code changes
Jackie Huang [Fri, 17 Aug 2012 07:27:02 +0000 (15:27 +0800)]
python: Add Upstream-Status entries for bsddb patches, no code changes

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agowebkit-gtk: update to 1.8.2
Andreas Müller [Fri, 17 Aug 2012 08:55:17 +0000 (10:55 +0200)]
webkit-gtk: update to 1.8.2

run tested with midori 0.4.5:
* google maps
* google mail (https)

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoadt-installer: add support for relocatable SDK
Laurentiu Palcu [Fri, 17 Aug 2012 10:38:11 +0000 (13:38 +0300)]
adt-installer: add support for relocatable SDK

Since we made the SDK relocatable, we have to add this functionality to
adt-installer too.

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopackage.bbclass: change RPATHs for cross-canadian binaries
Laurentiu Palcu [Fri, 17 Aug 2012 10:38:10 +0000 (13:38 +0300)]
package.bbclass: change RPATHs for cross-canadian binaries

When building the meta-toolchain, the binaries didn't get relocatable
RPATHs. They were hardcoded to the default path. Hence, if one had
already installed one SDK in the default path and one in another
location, the later toolchain's binaries would search and load libraries
from the first location, ending in a "Segmentation Fault".

[YOCTO #2927]

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopopulate_sdk_base.bbclass: fix SDK relocation issues
Laurentiu Palcu [Fri, 17 Aug 2012 10:38:09 +0000 (13:38 +0300)]
populate_sdk_base.bbclass: fix SDK relocation issues

The problem appears if multiple setup environment scripts are found. In
order to find only the script we're interested in, I removed globbing in
matching pattern with ${REAL_MULTIMACH_TARGET_SYS} that will be expanded
to the correct string.

Also, fix a problem when changing the scripts/configs. The grep pattern
matched also files that contained "text" in their name.

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogtk+ remove 2.16.6
Ross Burton [Fri, 17 Aug 2012 11:35:17 +0000 (12:35 +0100)]
gtk+ remove 2.16.6

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogtk+: remove 2.12.7
Ross Burton [Fri, 17 Aug 2012 11:35:16 +0000 (12:35 +0100)]
gtk+: remove 2.12.7

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobase.bbclass: Work even when there's no PNBLACKLIST entries
Peter Seebach [Thu, 16 Aug 2012 16:50:45 +0000 (11:50 -0500)]
base.bbclass: Work even when there's no PNBLACKLIST entries

It turns out that the result of getVarFlags is not a list, it's
a dict. So "getVarFlags(...) or []" does not reliably produce
something with a .items. This escaped detection because our
local build environment never ends up running builds without
PNBLACKLIST entries.

Signed-off-by: Peter Seebach <peter.seebach@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoclasses/chrpath: trigger an error if chrpath fails
Paul Eggleton [Wed, 15 Aug 2012 16:44:33 +0000 (17:44 +0100)]
classes/chrpath: trigger an error if chrpath fails

If chrpath failed here we were just silently ignoring it.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopimlico: Remove
Ross Burton [Thu, 9 Aug 2012 07:46:17 +0000 (08:46 +0100)]
pimlico: Remove

Remove the Pimlico applications (Contacts, Dates, Tasks).  oe-core isn't a
reference PIM stack, so we don't need this.

Signed-off-by: Ross Burton <ross.burton@intel.com>
12 years agogst-plugins-base: remove avahi from DEPENDS
Radek Dostal [Tue, 14 Aug 2012 19:26:43 +0000 (21:26 +0200)]
gst-plugins-base: remove avahi from DEPENDS

avahi is no longer required as gnome_vfs is disabled

Signed-off-by: Radek Dostal <rd@radekdostal.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosstate-cache-management.sh: update it for the new layout
Robert Yang [Tue, 14 Aug 2012 14:01:33 +0000 (22:01 +0800)]
sstate-cache-management.sh: update it for the new layout

Update it for the new layout of sstate-cache.

Note: It doesn't handle the old sstate-cache/sstate-xxx.tgz (or
siginfo), the user should remove it manually (rm -fr
sstate-cache/sstate-* would be OK).

[YOCTO #2897]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoclasses: add gsettings.bbclass
Ross Burton [Tue, 14 Aug 2012 16:10:31 +0000 (17:10 +0100)]
classes: add gsettings.bbclass

This class registers postinst/postrm hooks to compile the GSetting schemas, and
adds the relevant dependencies.  If possible the postinst happens on the host to
avoid running it on the target.

[ YOCTO #2798 ]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agorpmresolve: improve debug output
Paul Eggleton [Mon, 13 Aug 2012 09:14:23 +0000 (10:14 +0100)]
rpmresolve: improve debug output

Rename rpmresolve's -d option to -t and make -d enable debug output;
add a -o option to specify the output file (so rpm debug output doesn't
go to the output file) and also add a little more detail to some of the
error messages.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolibdrm: package update 2.4.35 -> 2.4.37
Constantin Musca [Mon, 13 Aug 2012 06:14:19 +0000 (09:14 +0300)]
libdrm: package update 2.4.35 -> 2.4.37

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoman: make man actually work by installing custom man.config
Koen Kooi [Mon, 13 Aug 2012 07:49:00 +0000 (09:49 +0200)]
man: make man actually work by installing custom man.config

The default man.conf is named wrong and doesn't work. It references gtbl, while groff installs tbl and other things. This man.conf is imported from OE classic and runtime tested on angstrom.

Before:

root@beaglebone:~# man man
sh: /usr/bin/gtbl: No such file or directory
sh: line 0: echo: write error: Broken pipe
gunzip: write: Broken pipe
gunzip: error inflating
sh: line 0: echo: write error: Broken pipe
sh: line 0: echo: write error: Broken pipe

After:

root@beaglebone:~# man man
MAN(1)                        Manual pager utils                        MAN(1)

NAME
       man - an interface to the on-line reference manuals

SYNOPSIS
       man  [-C  file]  [-d]  [-D]  [--warnings[=warnings]]  [-R encoding] [-L
       locale] [-m system[,...]] [-M path] [-S list]  [-e  extension]  [-i|-I]
       [--regex|--wildcard]   [--names-only]  [-a]  [-u]  [--no-subpages]  [-P
       pager] [-r prompt] [-7] [-E encoding] [--no-hyphenation] [--no-justifi-
       cation]  [-p  string]  [-t]  [-T[device]]  [-H[browser]] [-X[dpi]] [-Z]
       [[section] page ...] ...
       man -k [apropos options] regexp ...
       man -K [-w|-W] [-S list] [-i|-I] [--regex] [section] term ...
       man -f [whatis options] page ...
       man -l [-C file] [-d] [-D] [--warnings[=warnings]]  [-R  encoding]  [-L
       locale]  [-P  pager]  [-r  prompt]  [-7] [-E encoding] [-p string] [-t]
       [-T[device]] [-H[browser]] [-X[dpi]] [-Z] file ...
       man -w|-W [-C file] [-d] [-D] page ...
       man -c [-C file] [-d] [-D] page ...
       man [-hV]

Check for config name:

root@beaglebone:~# rm /etc/man.config
root@beaglebone:~# man man
Warning: cannot open configuration file /etc/man.config
No manual entry for man

As a bonus a bunch of references to the buildhost get removed from the config file.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agokernel.bbclass: remove default module_autoload and module_conf values
Bruce Ashfield [Thu, 26 Jul 2012 18:04:31 +0000 (14:04 -0400)]
kernel.bbclass: remove default module_autoload and module_conf values

kernel.bbclass is a common class for many different kernel versions,
and as such the default module_autoload and module_conf values that
it contains are not relevant, or out of date for most builds.

Individual kernel recipes or distros can better specify these
values to meet their needs.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoman: fix RDEPENDS and reformat recipe
Koen Kooi [Thu, 9 Aug 2012 16:43:56 +0000 (18:43 +0200)]
man: fix RDEPENDS and reformat recipe

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agopigz: Update to upstream version 2.2.5
Björn Stenberg [Fri, 10 Aug 2012 09:58:02 +0000 (11:58 +0200)]
pigz: Update to upstream version 2.2.5

Also added beginline/endline to LIC_FILES_CHKSUM to not track whole pigz.c.

Signed-off-by: Bjorn Stenberg <bjst@enea.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agosysklogd: removed tabs from syslog.conf
Mihai Lindner [Fri, 10 Aug 2012 09:07:38 +0000 (12:07 +0300)]
sysklogd: removed tabs from syslog.conf

Yocto #2926: syslog.conf should not have tabs within the selector field.
Removed tabs from the selector field of syslog rules. Tabs or spaces
should be used, in syslog.conf, only when separating selectors from
actions.

Signed-off-by: Mihai Lindner <mihaix.lindner@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agogettext-0.18: explicitly disable acl.
Xin Ouyang [Fri, 10 Aug 2012 11:29:57 +0000 (19:29 +0800)]
gettext-0.18: explicitly disable acl.

gettext-0.18 gets a new option for acl, but we do not place acl
into DEPENDS.
So, explicitly disable acl for deterministic builds.

Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agodbus: Fix pid file in dbus init script
Andy Ross [Fri, 10 Aug 2012 19:00:41 +0000 (12:00 -0700)]
dbus: Fix pid file in dbus init script

The PIDFILE (/var/run/dbus/pid) referenced by /etc/init.d/dbus-1 did
not match the path (/var/run/messagebus.pid) configured in
/etc/dbus-1/system.conf, so the initscript could start the daemon, but
not stop it.  Also remove needless directory ownership logic
(dbus-daemon drops its pid file as root before calling setuid).

Signed-off-by: Andy Ross <andy.ross@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agobase.bbclass: Expand PNBLACKLIST across multilibs too
Peter Seebach [Fri, 10 Aug 2012 22:32:56 +0000 (17:32 -0500)]
base.bbclass: Expand PNBLACKLIST across multilibs too

The PNBLACKLIST feature does not currently work with multilibs,
because they have different ${PN}. The obvious thing to do is to
do this at the same point that we do the PREFERRED_PROVIDER
and PREFERRED_VERSION fixups. (Making the PNBLACKLIST check
do the for-each-multilib check requires it to do the multilib
list generation repeatedly.)

Signed-off-by: Peter Seebach <peter.seebach@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agosysfsutils: install libs to base_libdir
Wenzong Fan [Tue, 7 Aug 2012 12:14:23 +0000 (20:14 +0800)]
sysfsutils: install libs to base_libdir

Fix the warning form pcmciautils building:

"WARNING: QA Issue: pcmciautils: /sbin/pccardctl, installed in the
base_prefix, requires a shared library under exec_prefix (/usr):
libsysfs.so.2 => /usr/lib/libsysfs.so.2"

Just refer to Debian/Ubuntu distributions, install sysfsutils libs
to "/lib*" instead of "/usr/lib*".

[YOCTO #2907]

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoat 3.1.13: get 'at' depends on 'flex-native' explicitly
Wenzong Fan [Thu, 9 Aug 2012 02:59:15 +0000 (10:59 +0800)]
at 3.1.13: get 'at' depends on 'flex-native' explicitly

'at' needs flex to generate source file lex.yy.c, but it doesn't
depend on flex-native directly; This maybe cause a do_compile
failure if flex-native is not built or included in project.

Error message is:
    error: lex.yy.c: No such file or directory

Get 'at' depends on flex-native to fix this potential issue.

[YOCTO #2919]

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agogdk-pixbuf: fix the postinstall script failure when no icon is installed
Jackie Huang [Thu, 9 Aug 2012 02:30:30 +0000 (10:30 +0800)]
gdk-pixbuf: fix the postinstall script failure when no icon is installed

If gtk+ is added to core-image-minimal, postinstall script failed on boot:

Running postinst /etc/rpm-postinsts/104...
gtk-update-icon-cache: No theme index file.
ERROR: postinst /etc/rpm-postinsts/104 failed.

This patch fixed the postinstall script to check for the icon
file first and not run the gtk-update-icon-cache if no icon
is installed.

[YOCTO #2905]

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agogstreamer: gst-ffmpeg: fix build issues for libav
Yao Zhao [Wed, 8 Aug 2012 18:49:40 +0000 (14:49 -0400)]
gstreamer: gst-ffmpeg: fix build issues for libav

1.The included libav configure is not generated by autotools
  modify recipe to use correct toolchain wrapper with configure

2.add bzip2 dependency explicitly.
  or configure will detect whether libbz2 is installed, if bzip2
is triggered earlier then it will be detected, if not then won't

3.backport libav_e500mc.patch from upstream to patch configure to
disable-altivec if it is e500mc.

4.move the GSTREAMER_DEBUG to libav's configure, it is not the
option for the main configure.

Signed-off-by: Yao Zhao <yao.zhao@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agopango: upgrade to upstream stable 1.30.0
Radu Moisan [Mon, 6 Aug 2012 13:07:02 +0000 (16:07 +0300)]
pango: upgrade to upstream stable 1.30.0

Signed-off-by: Radu Moisan <radu.moisan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoqemu: backport patch to fix pl031 RTC
Roy.Li [Wed, 8 Aug 2012 05:35:23 +0000 (13:35 +0800)]
qemu: backport patch to fix pl031 RTC

Intergrate the patch from:
http://repo.or.cz/w/qemu.git/commit/13a16f1d91fc7a46b65b22a33f6ffea1b826a097

Signed-off-by: Roy.Li <rongqing.li@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agotcl: uncomment a line that causing TCL_SRC_DIR point to the workdir.
Jackie Huang [Wed, 8 Aug 2012 05:11:17 +0000 (13:11 +0800)]
tcl: uncomment a line that causing TCL_SRC_DIR point to the workdir.

The line 'sed -i "s+${WORKDIR}+${STAGING_INCDIR}+g" tclConfig.sh'
is commented somehow in previous commit, so that TCL_SRC_DIR
point to the tcl workdir which will cause package that use it
fail to configure or compile when the tcl workdir is removed,
so uncomment it back.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolayer.conf: add udev-extraconf to SIGGEN_EXCLUDERECIPES_ABISAFE
Martin Jansa [Sun, 5 Aug 2012 10:23:07 +0000 (12:23 +0200)]
layer.conf: add udev-extraconf to SIGGEN_EXCLUDERECIPES_ABISAFE

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agobase.bbclass: allow specifying an lsb distro hook via the metadata
Christopher Larson [Thu, 2 Aug 2012 22:10:50 +0000 (15:10 -0700)]
base.bbclass: allow specifying an lsb distro hook via the metadata

This is useful when you have a rather large set of compatible distros. For
example: Centos 5.4, 5.5, 5.6, etc, RHEL server 5.x, RHEL workstation 5.x.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agobitbake.conf: store cooker logs in subdirectory of LOG_DIR
Martin Jansa [Thu, 2 Aug 2012 16:45:09 +0000 (18:45 +0200)]
bitbake.conf: store cooker logs in subdirectory of LOG_DIR

* we should probably wait until
  http://git.openembedded.org/bitbake/commit/?id=1e06d8012868ba5a31503dc99cbf18570be629d9
  is in next required bitbake version, but error message if the directory doesn't exist is quite clear
* people with new enough bitbake could just change this in their local.conf

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agorun-postinsts: Does not run any scripts on debian rootfs
Kenneth Solbjerg [Mon, 9 Jul 2012 12:19:48 +0000 (14:19 +0200)]
run-postinsts: Does not run any scripts on debian rootfs

On my system (core-image-base, .deb package files), run-postinsts does
not run any scripts due to a failed test in run-postinsts.awk.
As dpkg is not actually installed on target, opkg is identified as the
pkgdir and that is not right...

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agonet-tools: cleanup update-alternatives deprecated code
Saul Wold [Fri, 27 Jul 2012 00:44:09 +0000 (17:44 -0700)]
net-tools: cleanup update-alternatives deprecated code

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agogawk: cleanup update-alternatives deprecated code
Saul Wold [Fri, 27 Jul 2012 00:36:56 +0000 (17:36 -0700)]
gawk: cleanup update-alternatives deprecated code

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agosed: cleanup update-alternatives deprecated code
Saul Wold [Fri, 27 Jul 2012 00:34:25 +0000 (17:34 -0700)]
sed: cleanup update-alternatives deprecated code

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agowget: cleanup update-alternatives deprecated code
Saul Wold [Fri, 27 Jul 2012 00:26:51 +0000 (17:26 -0700)]
wget: cleanup update-alternatives deprecated code

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agotime: cleanup update-alternatives deprecated code
Saul Wold [Fri, 27 Jul 2012 00:26:09 +0000 (17:26 -0700)]
time: cleanup update-alternatives deprecated code

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoprocps: cleanup update-alternatives deprecated code
Saul Wold [Fri, 27 Jul 2012 00:24:04 +0000 (17:24 -0700)]
procps: cleanup update-alternatives deprecated code

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agogzip: cleanup update-alternatives deprecated code
Saul Wold [Fri, 27 Jul 2012 00:18:52 +0000 (17:18 -0700)]
gzip: cleanup update-alternatives deprecated code

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agohdparm: cleanup update-alternatives deprecated code
Saul Wold [Fri, 27 Jul 2012 00:18:17 +0000 (17:18 -0700)]
hdparm: cleanup update-alternatives deprecated code

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agomingetty: cleanup update-alternatives deprecated code
Saul Wold [Fri, 27 Jul 2012 00:17:20 +0000 (17:17 -0700)]
mingetty: cleanup update-alternatives deprecated code

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoshadow: cleanup update-alternatives deprecated code
Saul Wold [Fri, 27 Jul 2012 00:14:13 +0000 (17:14 -0700)]
shadow: cleanup update-alternatives deprecated code

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoless: cleanup update-alternatives deprecated code
Saul Wold [Fri, 27 Jul 2012 00:11:33 +0000 (17:11 -0700)]
less: cleanup update-alternatives deprecated code

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agowhich: cleanup update-alternatives deprecated code
Saul Wold [Fri, 27 Jul 2012 00:10:28 +0000 (17:10 -0700)]
which: cleanup update-alternatives deprecated code

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agomktemp: cleanup update-alternatives deprecated code
Saul Wold [Fri, 27 Jul 2012 00:00:54 +0000 (17:00 -0700)]
mktemp: cleanup update-alternatives deprecated code

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agomsmtp: cleanup update-alternatives deprecated code
Saul Wold [Thu, 26 Jul 2012 23:57:40 +0000 (16:57 -0700)]
msmtp: cleanup update-alternatives deprecated code

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agopigz: cleanup update-alternatives deprecated code
Saul Wold [Thu, 26 Jul 2012 23:54:30 +0000 (16:54 -0700)]
pigz: cleanup update-alternatives deprecated code

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agometacity: cleanup update-alternatives deprecated code
Saul Wold [Thu, 26 Jul 2012 23:52:08 +0000 (16:52 -0700)]
metacity: cleanup update-alternatives deprecated code

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agomatchbox-session: cleanup update-alternatives deprecated code
Saul Wold [Thu, 26 Jul 2012 23:51:18 +0000 (16:51 -0700)]
matchbox-session: cleanup update-alternatives deprecated code

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agomatchbox-wm-2: cleanup update-alternatives deprecated code
Saul Wold [Thu, 26 Jul 2012 23:49:23 +0000 (16:49 -0700)]
matchbox-wm-2: cleanup update-alternatives deprecated code

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agomutter: cleanup update-alternatives deprecated code
Saul Wold [Thu, 26 Jul 2012 23:47:05 +0000 (16:47 -0700)]
mutter: cleanup update-alternatives deprecated code

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agopowertop: cleanup update-alternatives deprecated code
Saul Wold [Thu, 26 Jul 2012 23:45:28 +0000 (16:45 -0700)]
powertop: cleanup update-alternatives deprecated code

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agofindutils: cleanup update-alternatives deprecated code
Saul Wold [Thu, 26 Jul 2012 23:33:36 +0000 (16:33 -0700)]
findutils: cleanup update-alternatives deprecated code

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agofindutils: refactor common code to findutils.inc
Saul Wold [Thu, 26 Jul 2012 23:29:45 +0000 (16:29 -0700)]
findutils: refactor common code to findutils.inc

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agodiffutils: cleanup update-alternatives deprecated code
Saul Wold [Thu, 26 Jul 2012 23:19:46 +0000 (16:19 -0700)]
diffutils: cleanup update-alternatives deprecated code

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agodiffutils: refactor to add a common diffutils.inc
Saul Wold [Thu, 26 Jul 2012 23:18:48 +0000 (16:18 -0700)]
diffutils: refactor to add a common diffutils.inc

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agobc: cleanup update-alternatives deprecated code
Saul Wold [Thu, 26 Jul 2012 23:10:43 +0000 (16:10 -0700)]
bc: cleanup update-alternatives deprecated code

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoubootchart: cleanup update-alternatives deprecated code
Saul Wold [Thu, 26 Jul 2012 23:10:04 +0000 (16:10 -0700)]
ubootchart: cleanup update-alternatives deprecated code

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agopatch: cleanup update-alternatives deprecated code
Saul Wold [Thu, 26 Jul 2012 23:09:19 +0000 (16:09 -0700)]
patch: cleanup update-alternatives deprecated code

Signed-off-by: Saul Wold <sgw@linux.intel.com>