]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
12 years agowhich: use BPN for alternatives
Mark Hatle [Tue, 22 May 2012 17:37:16 +0000 (12:37 -0500)]
which: use BPN for alternatives

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
12 years agoupdate-alternatives.bbclass: Change from using PN to BPN
Mark Hatle [Tue, 15 May 2012 23:24:58 +0000 (18:24 -0500)]
update-alternatives.bbclass: Change from using PN to BPN

In order to better support multilib processing, switch from PN
to BPN.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
12 years agoupdate-alternatives.bbclass: Refactor the implementation
Mark Hatle [Tue, 15 May 2012 16:06:22 +0000 (11:06 -0500)]
update-alternatives.bbclass: Refactor the implementation

Refactor in order to:
  * Deprecate the old interfaces, but keep them for compatibility
  * Provide a new, interface -- capable of working with split packages
  * Each update-alternative will now set proper "per-file" provides

Note: this adds a warning message when the older deprecated behavior is
used.  The older behavior has been fully tested using oe-core.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
12 years agoimage.bbclass: Ensure ${S} is cleaned at the start of rootfs generation
Richard Purdie [Fri, 11 May 2012 14:16:07 +0000 (14:16 +0000)]
image.bbclass: Ensure ${S} is cleaned at the start of rootfs generation

Some image classes such as bootimg save files into ${S} as part of rootfs
generation. For correctness we should therefore clean this at the start of
image generation to ensure reproducibility.

I found this issue when some files I thought should disappear from my rootfs
would not disappear.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoglib-2.0: Clean up OECONF flags into one variable
Richard Purdie [Fri, 25 May 2012 07:59:02 +0000 (07:59 +0000)]
glib-2.0: Clean up OECONF flags into one variable

Without this change, libelf was "floating" for linuxstdbase for example,
leading to build failures. This patch moves all the common options
into a common variable.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibxml2/libxslt: Don't depend on ansidecl.h header
Richard Purdie [Fri, 25 May 2012 09:15:39 +0000 (09:15 +0000)]
libxml2/libxslt: Don't depend on ansidecl.h header

We don't DEPEND on binutils for ansidecl.h so ensure we should never
use the header. This makes builds determinstic and means something like:

bitbake binutils
bitbake libxml2 -c configure
bitbake binutils -c clean
bitbake libxml2

doen't fail to build.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoltp: Add attr to DEPENDS list
Saul Wold [Thu, 24 May 2012 23:40:04 +0000 (16:40 -0700)]
ltp: Add attr to DEPENDS list

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agobinutils: Drop old/stale/broken csl recipe
Richard Purdie [Thu, 24 May 2012 10:00:12 +0000 (11:00 +0100)]
binutils: Drop old/stale/broken csl recipe

The patches this recipe refers to don't exist so nobody can have
been using this so lets just remove it.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agowpa-supplicant: don't let postinst fail when dbus-1 reload fails
Martin Jansa [Thu, 24 May 2012 20:51:37 +0000 (22:51 +0200)]
wpa-supplicant: don't let postinst fail when dbus-1 reload fails

* e.g. when upgrading in chroot
  Configuring wpa-supplicant.
  Reloading system message bus config: Failed to open connection to system message bus: Failed to connect to socket /var/run/dbus/system_bus_socket: Connection refused
  but that shouldn't be fatal

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
12 years agopackage.bbclass: Add additional debugging for dependencies
Mark Hatle [Wed, 23 May 2012 20:24:37 +0000 (15:24 -0500)]
package.bbclass: Add additional debugging for dependencies

When trying to understand why a QA wanring such as:

ERROR: QA Issue: foo rdepends on bar-dev

it is very difficult to figure out where the bar-dev dependency
comes from, since many of them are added dynamically.

This adds a debug statement that says which dependency adds an
rdepends to the system.

Also, while doing this work, it was noted that the same dependencies
were being scanned for over and over.  Instead we shorten the list
by only added to the dep list if the dependency was not already there.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
12 years agoUpdated distro-tracking-fields.inc
Bogdan Marinescu [Thu, 24 May 2012 19:49:20 +0000 (22:49 +0300)]
Updated distro-tracking-fields.inc

Updated metadata for lttng-tools.

Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com>
12 years agolttng-tools: updated to 2.0.1
Bogdan Marinescu [Thu, 24 May 2012 19:49:19 +0000 (22:49 +0300)]
lttng-tools: updated to 2.0.1

Removed patch for ARM compilation, as it seems that the upstream fixed
the ARM compilation problem in a slightly different way (tested by compiling
lttng-tools for MACHINE=qemuarm)

Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com>
12 years agolttng2-ust: updated to version 2.0.2
Bogdan Marinescu [Thu, 24 May 2012 19:49:18 +0000 (22:49 +0300)]
lttng2-ust: updated to version 2.0.2

Tested with 'lttv' on core-image-lsb.

Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com>
12 years agoavahi: fix install issue
Nitin A Kamble [Thu, 3 May 2012 18:31:55 +0000 (11:31 -0700)]
avahi: fix install issue

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
12 years agomake-3.81: fix build with automake 1.12
Nitin A Kamble [Fri, 4 May 2012 20:23:10 +0000 (13:23 -0700)]
make-3.81: fix build with automake 1.12

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
12 years agofindutils-4.2.31: fix build with automake 1.12
Nitin A Kamble [Fri, 4 May 2012 20:16:33 +0000 (13:16 -0700)]
findutils-4.2.31: fix build with automake 1.12

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
12 years agogawk-3.1.5: fix build with automake 1.12
Nitin A Kamble [Fri, 4 May 2012 19:07:49 +0000 (12:07 -0700)]
gawk-3.1.5: fix build with automake 1.12

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
12 years agogrep-2.5.1a: fix build with automake 1.12
Nitin A Kamble [Fri, 4 May 2012 19:01:28 +0000 (12:01 -0700)]
grep-2.5.1a: fix build with automake 1.12

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
12 years agodiffutils-2.8.1: fix build with automake 1.12
Nitin A Kamble [Fri, 4 May 2012 18:43:18 +0000 (11:43 -0700)]
diffutils-2.8.1: fix build with automake 1.12

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
12 years agogrub-0.97: fix build with automake 1.12
Nitin A Kamble [Fri, 4 May 2012 18:34:58 +0000 (11:34 -0700)]
grub-0.97: fix build with automake 1.12

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
12 years agocoreutils-native-6.9: fix build with automake 1.12
Nitin A Kamble [Fri, 4 May 2012 18:21:05 +0000 (11:21 -0700)]
coreutils-native-6.9: fix build with automake 1.12

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
12 years agogmp-4.2.1: fix build with automake 1.12
Nitin A Kamble [Fri, 4 May 2012 17:07:01 +0000 (10:07 -0700)]
gmp-4.2.1: fix build with automake 1.12

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
12 years agolibcroco: fix build with automake 1.12
Nitin A Kamble [Thu, 3 May 2012 20:39:38 +0000 (13:39 -0700)]
libcroco: fix build with automake 1.12

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
12 years agolibfm: fix build with automake 1.12
Nitin A Kamble [Thu, 3 May 2012 20:08:19 +0000 (13:08 -0700)]
libfm: fix build with automake 1.12

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
12 years agolighttpd: fix build with automake 1.12
Nitin A Kamble [Thu, 3 May 2012 17:06:13 +0000 (10:06 -0700)]
lighttpd: fix build with automake 1.12

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
12 years agominicom: fix build with automake 1.12
Nitin A Kamble [Thu, 3 May 2012 16:57:12 +0000 (09:57 -0700)]
minicom: fix build with automake 1.12

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
12 years agolrzsz: fix build with automake 1.12
Nitin A Kamble [Thu, 3 May 2012 16:52:41 +0000 (09:52 -0700)]
lrzsz: fix build with automake 1.12

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
12 years agofindutils: fix build with automake 1.12
Nitin A Kamble [Thu, 3 May 2012 16:33:46 +0000 (09:33 -0700)]
findutils: fix build with automake 1.12

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
12 years agoglew: fix build with automake 1.12
Nitin A Kamble [Thu, 3 May 2012 16:27:42 +0000 (09:27 -0700)]
glew: fix build with automake 1.12

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
12 years agolibidn: fix build with automake 1.12
Nitin A Kamble [Thu, 3 May 2012 16:20:04 +0000 (09:20 -0700)]
libidn: fix build with automake 1.12

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
12 years agotexinfo: fix build with automake 1.12
Nitin A Kamble [Thu, 3 May 2012 16:19:08 +0000 (09:19 -0700)]
texinfo: fix build with automake 1.12

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
12 years agolibcheck: fix build with automake 1.12
Nitin A Kamble [Thu, 3 May 2012 16:02:55 +0000 (09:02 -0700)]
libcheck: fix build with automake 1.12

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
12 years agolibmpc: fix build with automake 1.12
Nitin A Kamble [Thu, 3 May 2012 01:41:53 +0000 (18:41 -0700)]
libmpc: fix build with automake 1.12

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
12 years agosystemtap: fix build with automake 1.12
Nitin A Kamble [Thu, 3 May 2012 01:21:02 +0000 (18:21 -0700)]
systemtap: fix build with automake 1.12

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
12 years agolibtasn1: fix build with automake 1.12
Nitin A Kamble [Thu, 3 May 2012 01:05:19 +0000 (18:05 -0700)]
libtasn1: fix build with automake 1.12

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
12 years agoshadow shadow-native: fix build with automake 1.12
Nitin A Kamble [Thu, 3 May 2012 00:53:08 +0000 (17:53 -0700)]
shadow shadow-native: fix build with automake 1.12

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
12 years agolibxml2: fix build with automake 1.12
Nitin A Kamble [Thu, 3 May 2012 00:08:26 +0000 (17:08 -0700)]
libxml2: fix build with automake 1.12

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
12 years agorpm: fix build with automake 1.12
Nitin A Kamble [Thu, 3 May 2012 00:01:52 +0000 (17:01 -0700)]
rpm: fix build with automake 1.12

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
12 years agopopt: fix build with automake 1.12
Nitin A Kamble [Wed, 2 May 2012 23:43:33 +0000 (16:43 -0700)]
popt: fix build with automake 1.12

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
12 years agompfr: fix build with automake 1.12
Nitin A Kamble [Wed, 2 May 2012 20:49:21 +0000 (13:49 -0700)]
mpfr: fix build with automake 1.12

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
12 years agogmp: fix build with automake 1.12
Nitin A Kamble [Wed, 2 May 2012 20:37:26 +0000 (13:37 -0700)]
gmp: fix build with automake 1.12

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
12 years agodistro_tracking_fields: update information for ltp
Jiajun Xu [Thu, 24 May 2012 09:10:42 +0000 (17:10 +0800)]
distro_tracking_fields: update information for ltp

Update information for recipe ltp 20120401

Signed-off-by: Jiajun Xu <jiajun.xu@intel.com>
12 years agoltp: Upgrade LTP to version 20120401
Jiajun Xu [Thu, 24 May 2012 09:08:36 +0000 (17:08 +0800)]
ltp: Upgrade LTP to version 20120401

Signed-off-by: Jiajun Xu <jiajun.xu@intel.com>
12 years agofontconfig-native: Be clear about FILE search path
Richard Purdie [Thu, 24 May 2012 10:05:46 +0000 (11:05 +0100)]
fontconfig-native: Be clear about FILE search path

This avoids warnings from the new file checksum code.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agowpa-supplicant: add wpa_supplicant.conf to CONFFILES and don't install it twice
Martin Jansa [Thu, 24 May 2012 14:09:11 +0000 (16:09 +0200)]
wpa-supplicant: add wpa_supplicant.conf to CONFFILES and don't install it twice

* first we install ${WORKDIR}/wpa_supplicant.conf-sane
  install -m 600 ${WORKDIR}/wpa_supplicant.conf-sane ${D}${sysconfdir}/wpa_supplicant.conf
  and a bit later in do_install we were overwritting it with ${WORKDIR}/wpa_supplicant.conf
  install -m 644 ${WORKDIR}/wpa_supplicant.conf ${D}${sysconfdir}
* notice that this patch also changes .conf permissions from 644 back to 600

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
12 years agodropbear: fix include dependent PR generation
Steffen Sledz [Tue, 22 May 2012 14:16:00 +0000 (16:16 +0200)]
dropbear: fix include dependent PR generation

Signed-off-by: Steffen Sledz <sledz@dresearch-fe.de>
12 years agooe/process.py: remove it since it is unused and duplicated
Robert Yang [Thu, 24 May 2012 09:08:53 +0000 (17:08 +0800)]
oe/process.py: remove it since it is unused and duplicated

The meta/lib/oe/process.py is only used by oe_run and oe_popen in
meta/classes/utils.bbclass, and they will be removed, we have a better
one: bitbake/lib/bb/process.py, which can replace of it.

[YOCTO #2489]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
12 years agoutils.bbclass: remove the unused oe_system
Robert Yang [Thu, 24 May 2012 08:03:26 +0000 (16:03 +0800)]
utils.bbclass: remove the unused oe_system

The following functions in meta/classes/utils.bbclass were not
used by anyone, and they didn't work when I tried to use them:

def oe_popen_env(d):
def oe_run(d, cmd, **kwargs):
def oe_popen(d, cmd, **kwargs):
def oe_system(d, cmd, **kwargs):

There error was:
AttributeError: type object 'str' has no attribute 'getVar'

We have bitbake/lib/bb/process.py to instead, so remove them.

[YOCTO #2489]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
12 years agoopkg-nogpg: add file path
Paul Eggleton [Thu, 24 May 2012 16:06:12 +0000 (17:06 +0100)]
opkg-nogpg: add file path

There was no explicit path in FILESPATH for this recipe to allow it to
find files referred to in SRC_URI (files shared with the standard opkg
recipe). This problem may have been masked by the fetcher behaviour of
looking for files last in DL_DIR, thus if opkg has been fetched
beforehand there would have been no error.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
12 years agosudo: fixed wrong `chmod` path
Mihai Lindner [Sun, 20 May 2012 13:17:32 +0000 (13:17 +0000)]
sudo: fixed wrong `chmod` path

Placed $D between braces ${D} to be correctly expanded to the
workdir path, instead of a path relative to host rootfs.
Currently, bitbake sudo fails on host systems where sudo is not
installed.

Signed-off-by: Mihai Lindner <mihaix.lindner@linux.intel.com>
12 years agobitbake.conf: add EXTERNAL_TOOLCHAIN to BB_HASHBASE_WHITELIST
Christopher Larson [Wed, 16 May 2012 01:28:00 +0000 (20:28 -0500)]
bitbake.conf: add EXTERNAL_TOOLCHAIN to BB_HASHBASE_WHITELIST

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake.conf: Improve wget timeouts
Richard Purdie [Thu, 24 May 2012 10:02:53 +0000 (11:02 +0100)]
bitbake.conf: Improve wget timeouts

The wget default is a 900 second timeout and 20 retries. This is way too long
for most of our usecases so this patch changes it to a 30 second timeout and
reduces retries from 5 to 2. We have good mirror infrastructure, this will
let us fall back to it easier.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoqemu: disable vnc-jpeg compression
Saul Wold [Tue, 22 May 2012 22:24:13 +0000 (15:24 -0700)]
qemu: disable vnc-jpeg compression

This is disabled by default to ensure a deterministic build, qemu
configure would sometimes detect the libjpeg and then enable this.
Since mostly qemu is used locally disable by default.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoqemu.inc: Remove mesa-xlib as PREFERRED_PROVIDER
Saul Wold [Fri, 11 May 2012 17:13:06 +0000 (10:13 -0700)]
qemu.inc: Remove mesa-xlib as PREFERRED_PROVIDER

The xserver-xorg uses and depends on mesa-dri, so we should
use the default PREFERRED_PROVIDER of libgl as mesa-dri.

This resolves the following:
ERROR: Multiple .bb files are due to be built which each provide virtual/libgl (/intel/poky/distro/meta/recipes-graphics/mesa/mesa-dri_7.11.bb /intel/poky/distro/meta/recipes-graphics/mesa/mesa-xlib_7.11.bb).
 This usually means one provides something the other doesn't and should.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoxserver-xf86-config: Add xorg.conf for arm,mips,ppc,sh qemu machines
Khem Raj [Thu, 3 May 2012 03:19:50 +0000 (20:19 -0700)]
xserver-xf86-config: Add xorg.conf for arm,mips,ppc,sh qemu machines

Signed-off-by: Khem Raj <raj.khem@gmail.com>
12 years agoqemumachines: Enable xserver-xorg as default xserver
Khem Raj [Tue, 1 May 2012 05:01:24 +0000 (22:01 -0700)]
qemumachines: Enable xserver-xorg as default xserver

For qemux86 and qemux86-64 include qemu.inc after defining XSERVER

XSERVER variable is also weakly defined in task-core-x11.bb
which means we can not use ??= otherwise when building any qemu image
that uses task-core-x11.bb will get the wrong definition

So we define the XSERVER common set for qemu in qemu.inc
and as we know x86 and x86-64 qemu overrides the default
we include qemu.inc after that definition which means that
qemux86 and qemux86-64 get their own definitions and other
qemus get the definitions from qemu.inc. other non-qemu machine
will get their defintion from task which points to kdrive
as of now.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
12 years agoUpdate to distro_tracking_fields.inc
Laurentiu Palcu [Wed, 23 May 2012 11:54:14 +0000 (14:54 +0300)]
Update to distro_tracking_fields.inc

The fields for the following packages were updated:

libdrm
xf86-video-vmware
xf86-input-mouse
xf86-video-vesa
xf86-video-intel
xf86-input-synaptics
mdadm
xextproto
xcmiscproto
scrnsaverproto
recordproto
xproto
kbproto
fontsproto
libxt
xtrans
libpciaccess
fontconfig
xcb-proto

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
12 years agoxf86-input-synaptics: upgrade to 1.6.1
Laurentiu Palcu [Wed, 23 May 2012 08:36:12 +0000 (11:36 +0300)]
xf86-input-synaptics: upgrade to 1.6.1

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
12 years agoxf86-video-intel: upgrade to 2.19.0
Laurentiu Palcu [Wed, 23 May 2012 08:30:49 +0000 (11:30 +0300)]
xf86-video-intel: upgrade to 2.19.0

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
12 years agoxf86-video-vesa: upgrade to 2.3.1
Laurentiu Palcu [Wed, 23 May 2012 08:24:32 +0000 (11:24 +0300)]
xf86-video-vesa: upgrade to 2.3.1

Also, licence checksum has changed because a new copyright line from
Red Hat has been added. The rest of licence file, however, is unchanged.

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
12 years agoxf86-input-mouse: upgrade to 1.7.2
Laurentiu Palcu [Wed, 23 May 2012 07:55:17 +0000 (10:55 +0300)]
xf86-input-mouse: upgrade to 1.7.2

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
12 years agoxtrans: upgrade to 1.2.7
Laurentiu Palcu [Tue, 22 May 2012 13:33:15 +0000 (16:33 +0300)]
xtrans: upgrade to 1.2.7

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
12 years agolibxt: upgrade to 1.1.3
Laurentiu Palcu [Tue, 22 May 2012 13:04:49 +0000 (16:04 +0300)]
libxt: upgrade to 1.1.3

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
12 years agoxcb-proto: upgrade to 1.7.1
Laurentiu Palcu [Tue, 22 May 2012 12:41:12 +0000 (15:41 +0300)]
xcb-proto: upgrade to 1.7.1

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
12 years agorecordproto: upgrade to 1.14.2
Laurentiu Palcu [Tue, 22 May 2012 12:17:51 +0000 (15:17 +0300)]
recordproto: upgrade to 1.14.2

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
12 years agoscrnsaverproto: upgrade to 1.2.2
Laurentiu Palcu [Tue, 22 May 2012 12:14:54 +0000 (15:14 +0300)]
scrnsaverproto: upgrade to 1.2.2

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
12 years agoxcmiscproto: upgrade to 1.2.2
Laurentiu Palcu [Tue, 22 May 2012 12:11:03 +0000 (15:11 +0300)]
xcmiscproto: upgrade to 1.2.2

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
12 years agoxextproto: upgrade to 7.2.1
Laurentiu Palcu [Tue, 22 May 2012 12:07:19 +0000 (15:07 +0300)]
xextproto: upgrade to 7.2.1

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
12 years agokbproto: upgrade to 1.0.6
Laurentiu Palcu [Tue, 22 May 2012 11:49:05 +0000 (14:49 +0300)]
kbproto: upgrade to 1.0.6

Also, shifted up one line the start and end lines for licence checksum
computation.

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
12 years agoxproto: upgrade to 7.0.23
Laurentiu Palcu [Tue, 22 May 2012 11:15:38 +0000 (14:15 +0300)]
xproto: upgrade to 7.0.23

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
12 years agolibdrm: upgrade to 2.4.34
Laurentiu Palcu [Mon, 21 May 2012 14:58:52 +0000 (17:58 +0300)]
libdrm: upgrade to 2.4.34

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
12 years agomdadm: upgrade to 3.2.5
Laurentiu Palcu [Tue, 22 May 2012 07:06:18 +0000 (10:06 +0300)]
mdadm: upgrade to 3.2.5

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
12 years agovalgrind: Enable valgrind for armv7
Samuel Stirtzel [Wed, 23 May 2012 13:46:28 +0000 (15:46 +0200)]
valgrind: Enable valgrind for armv7

Valgrind supports the armv7 architecture, this patch allows armv7 users to build and use Valgrind

This patch was run-tested on a Gumstix Overo (armv7a cortex-a8)
* The test consisted of running valgrinds memcheck (memory leakage detection),
* and callgrind (profiling) on a Qt 4 application

Signed-off-by: Samuel Stirtzel <s.stirtzel@googlemail.com>
12 years agogawk: update to 4.0.1
Radu Moisan [Wed, 23 May 2012 07:20:50 +0000 (10:20 +0300)]
gawk: update to 4.0.1

Signed-off-by: Radu Moisan <radu.moisan@intel.com>
12 years agojpeg: update to upstream version 8d
Marko Lindqvist [Sun, 13 May 2012 18:37:03 +0000 (21:37 +0300)]
jpeg: update to upstream version 8d

* fix_for_automake_1.11.2.patch removed as issue resolved upstream
* Have README as license file instead of several source files that just
  refer to it

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
12 years agoglib-2.0: upgrade to 2.32.3
Martin Jansa [Thu, 17 May 2012 07:02:51 +0000 (09:02 +0200)]
glib-2.0: upgrade to 2.32.3

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
12 years agosanity.bbclass: check sanity at BuildStarted rather than ConfigParsed
Joshua Lock [Wed, 23 May 2012 23:36:42 +0000 (16:36 -0700)]
sanity.bbclass: check sanity at BuildStarted rather than ConfigParsed

This enables a user to use bitbake -e even when the sanity checks are
failing.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
12 years agosanity.bbclass: catch an extra exception in check_create_long_filename
Joshua Lock [Wed, 23 May 2012 23:28:59 +0000 (16:28 -0700)]
sanity.bbclass: catch an extra exception in check_create_long_filename

The call to bb.mkdirhier() in check_create_long_filename() can fail with an
OSError, explicitly catch this and report something useful to the user.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
12 years agosanity.bbclass: add extra information when SSTATE_CACHE unusable
Joshua Lock [Wed, 23 May 2012 23:22:12 +0000 (16:22 -0700)]
sanity.bbclass: add extra information when SSTATE_CACHE unusable

If the user does not have write permissions to SSTATE_CACHE, detected by
the check_create_long_filename() test failing with a "Permission denied"
value in strerror, then suggest they might want to use the location as
an entry in SSTATE_MIRRORS.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
12 years agosanity.bbclass: add newline to check_create_long_filename failure message
Joshua Lock [Wed, 23 May 2012 23:19:23 +0000 (16:19 -0700)]
sanity.bbclass: add newline to check_create_long_filename failure message

Each failure in the sanity message should be reported on a new line.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
12 years agosanity.bbclass: data.getVar(VAR, obj, exp) -> obj.getVar(VAR, exp)
Joshua Lock [Wed, 23 May 2012 22:42:24 +0000 (15:42 -0700)]
sanity.bbclass: data.getVar(VAR, obj, exp) -> obj.getVar(VAR, exp)

Replace calls to data.getVar(VARIABLE, data_object, expand) to
direct calls to the getVar method the the data_object.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
12 years agosanity.bbclass: copy the data store and finalise before running checks
Joshua Lock [Wed, 23 May 2012 22:16:19 +0000 (15:16 -0700)]
sanity.bbclass: copy the data store and finalise before running checks

At the ConfigParsed event the datastore has yet to be finalised and thus
appends and overrides have not been set.
To ensure the sanity check is being run against the configuration values
the user has set call finalize() on a copy of the datastore and pass that
for all sanity checks.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
12 years agoRevert "sanity.bbclass: check user can read and write to SSTATE_DIR"
Joshua Lock [Wed, 23 May 2012 20:50:38 +0000 (13:50 -0700)]
Revert "sanity.bbclass: check user can read and write to SSTATE_DIR"

This has caused problems for several users, including the Yocto Project
autobuilder. Since the message was added in order to be more user friendly
revert the change.

This reverts commit 0c0c4efbf92bcf0f8942f17c18525a4b4ed1798c.

12 years agopython: bump PR of packages after update of distutils.bbclass
Andreas Oberritter [Mon, 21 May 2012 20:54:24 +0000 (22:54 +0200)]
python: bump PR of packages after update of distutils.bbclass

* Bump every recipe inheriting distutils or setuptools and
  not overriding do_install without calling distutils_do_install.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
12 years agodistutils.bbclass: don't delete .pyo files
Andreas Oberritter [Mon, 21 May 2012 20:54:23 +0000 (22:54 +0200)]
distutils.bbclass: don't delete .pyo files

* Deleting .pyo files causes them to get compiled on the target.
* First boot gets *really* slow for python based projects.
* No space gets saved on the target.
* The package manager doesn't know about the files and
  therefore fails to uninstall them, occupying space and causing
  uninstalled python scripts to remain executable.
* It's inconsistent, because python itself and autotools based
  projects already ship .pyo files.
* Probably .pyo files were deleted because .pyc files were
  available earlier, but this has changed and OE-Core's python
  now only generates optimized .pyo files. Deletion of .pyo was
  introduced in 2008, python/04-default-is-optimized.patch
  was introduced in 2009.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
12 years agonetbase: merge init script updates from upstream
Andreas Oberritter [Mon, 21 May 2012 16:39:07 +0000 (18:39 +0200)]
netbase: merge init script updates from upstream

* Read /proc/mounts only once.
* Support many more network filesystem types.
* Remaining differences to netbase 4.47:
  - Uses the mountvirtfs keyword instead of mountkernfs
  - Doesn't use lsb functions
  - Doesn't print a warning if /etc/network/options exists
  - Doesn't use --exclude parameter for ifup, because
    busybox doesn't support it.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
12 years agowpa-supplicant: fix packaging error since last commit
Andreas Oberritter [Tue, 22 May 2012 17:17:50 +0000 (19:17 +0200)]
wpa-supplicant: fix packaging error since last commit

* wpa-passphrase has its own package, but commit
  4a4c568e25a08e9f222d723f9819582c9f895c58 broke it.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
12 years agolibnss-mdns: fix postinst scripts
Andreas Oberritter [Mon, 21 May 2012 14:53:53 +0000 (16:53 +0200)]
libnss-mdns: fix postinst scripts

* On upgrade, postinst ocassionally returned 1, so use a
  conditional instead of &&.
* Use sed patterns in order to make it work more generally.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
12 years agoppp: avoid host contamination
Andreas Oberritter [Tue, 22 May 2012 22:31:58 +0000 (00:31 +0200)]
ppp: avoid host contamination

* Import patch from OE-Classic commit f7c547ede1bfc94c24f6315a23ff48a4c5b9ffaf.
* Fixes linking with libpcap (ppp filter).

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
12 years agolibtool: fixed parallel build related race
Enrico Scholz [Sun, 20 May 2012 17:54:37 +0000 (19:54 +0200)]
libtool: fixed parallel build related race

While building libtool, the libtool script itself will be regenerated
because OE modifies a dependency[1]. With -jX, this operation (-->
removal, creation of non-x file, 'chmod a+x') can happen at a time when
the script is going to be executed.  This can cause errors like:

| arm-linux-gnueabi-libtool: compile:  ccache arm-linux-gnueabi-gcc ...
| ...
| /bin/sh ./config.status libtool
| ...
| arm-linux-gnueabi-libtool: compile:  ccache arm-linux-gnueabi-gcc ...
| /bin/sh: ./arm-linux-gnueabi-libtool: Permission denied
| make[2]: *** [libltdl/libltdl_libltdl_la-lt__alloc.lo] Error 126

I am not sure whether the custom do_compile_prepend() is still needed.
For now only the issue above will be fixed by executing ./config.status
yet again.

[1] see 648290d5bf4d6ff50d3643bb7ad902dfc23aa702

Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
12 years agoncurses: Avoid occasional builling failure when having parallel processable task
Xiaofeng Yan [Mon, 21 May 2012 06:59:22 +0000 (14:59 +0800)]
ncurses: Avoid occasional builling failure when having parallel processable task

ncurses failure non-gplv3 build (race issue) like the following \
error information:

| tic: error while loading shared libraries: /srv/home/pokybuild \
/yocto-autobuilder/yocto-slave/nightly-non-gpl3/build/build/tmp/\
work/x86_64-linux/ncurses-native-5.9-r8.1/ncurses-5.9/narrowc/lib\
/libtinfo.so.5: file too short
| ? tic could not build /srv/home/pokybuild/yocto-autobuilder/\
yocto-slave/nightly-non-gpl3/build/build/tmp/work/x86_64-linux/\
ncurses-native-5.9-r8.1/image/srv/home/pokybuild/yocto-autobuilder\
/yocto-slave/nightly-non-gpl3/build/build/tmp/sysroots/x86_64-linux\
/usr/share/terminfo
| make[1]: *** [install.data] Error 1

This is a race issue which is caused by
install.libs and install.data:

1) install.data needs run tic
2) tic needs libtinfo.so
3) install.libs would regenerate libtinfo.so
4) but install.data doesn't depend on install.libs, and they can run
   parallelly

So there would be errors in a very critical condition: tic is begining
to run at the same time when install.libs is generating libtinfo.so, and
this libtinfo.so is not integrity, then there would be the  above error.

Let task install.libs run before install.data for fixing this bug.

[YOCTO #2298]

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
12 years agoeglibc: package mtrace separately
Nitin A Kamble [Tue, 15 May 2012 16:31:32 +0000 (09:31 -0700)]
eglibc: package mtrace separately

add libc-mtrace as dependency for task-core-tools-debug

now eglibc-mtrace gets included in an sdk image and not in a non-sdk image.

This does not affect builds with uclibc.

This fixes bug: [YOCTO# 2374]

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
12 years agorpm 5.4.0: respect to the arch when choose the alternatives
Robert Yang [Wed, 23 May 2012 05:55:39 +0000 (13:55 +0800)]
rpm 5.4.0: respect to the arch when choose the alternatives

There is a bug if we:
1) bitbake diffutils with MACHINE=crownbay
2) bitbake diffutils with MACHINE=qemux86
3) bitbake core-image-sato with MACHINE=crownbay

Then the diffutils.i586 would be installed to the crownbay's image, this
is because diffutils.i586 is newer than diffutils.core2, and rpm doesn't
respect to the arch priorities:

We have put the archs in order in _solve_dbpath:

crownbay/solvedb:core2/solvedb:i586/solvedb:all/solvedb

Fix rpm to respect to the order, for example, if it finds a pkg in both
core2/ and i586/, and the core2/ comes first, it should not use the one
in i586/ even if it's build time is newer.

Note: Don't worry about the _free(*ptr), it can check whether ptr is
NULL or not.

This is for the denzil branch, and the master branch also needs it.

[YOCTO #2360]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
12 years agopackage_rpm.bbclass: Fix incremental rpm image generation
Robert Yang [Wed, 9 May 2012 01:15:46 +0000 (09:15 +0800)]
package_rpm.bbclass: Fix incremental rpm image generation

Fix the incremental rpm image generation, it didn't work since the code
has been changed.

The btmanifest should have a ".manifest" suffix, so that it can be moved
to ${T} by rootfs_rpm.bbclass:
mv ${IMAGE_ROOTFS}/install/*.manifest ${T}/

Note: The locale pkgs would always be re-installed.

[YOCTO #2440]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
12 years agoclasses/base: add checksum file list at parse time
Paul Eggleton [Mon, 21 May 2012 15:56:15 +0000 (16:56 +0100)]
classes/base: add checksum file list at parse time

Connect the new fetcher file checksum code so that we get a list of the
files to be checksummed at parse time.

The file-checksums flag will not be read unless we are using a version
of BitBake that supports the function we call within it, so it is safe
to include this change even when the metadata will still be used with
older versions of BitBake.

Implements [YOCTO #2044].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
12 years agoexternal-sourcery-toolchain: ignore GNU_HASH issues with its packages
Christopher Larson [Mon, 21 May 2012 23:09:12 +0000 (16:09 -0700)]
external-sourcery-toolchain: ignore GNU_HASH issues with its packages

Signed-off-by: Christopher Larson <kergoth@gmail.com>
12 years agoRename 'external-csl' to 'external-sourcery'
Christopher Larson [Mon, 21 May 2012 23:09:11 +0000 (16:09 -0700)]
Rename 'external-csl' to 'external-sourcery'

This is a rename per the purchase of CodeSourcery by Mentor Graphics
Corporation, and associated naming change.

Signed-off-by: Christopher Larson <kergoth@gmail.com>
12 years agotcmode-external-csl: preferred external-csl-toolchain's gdbserver
Christopher Larson [Mon, 21 May 2012 23:09:10 +0000 (16:09 -0700)]
tcmode-external-csl: preferred external-csl-toolchain's gdbserver

Signed-off-by: Christopher Larson <kergoth@gmail.com>
12 years agogcc: Grok for callconvention-hard to enable hard float
Khem Raj [Tue, 1 May 2012 05:00:17 +0000 (22:00 -0700)]
gcc: Grok for callconvention-hard to enable hard float

If callconvention-hard is set then we build gcc defaulting
to hard-float ABI

Signed-off-by: Khem Raj <raj.khem@gmail.com>
12 years agoeglibc: Add ARM hf dynamic linker support
Khem Raj [Tue, 1 May 2012 04:59:39 +0000 (21:59 -0700)]
eglibc: Add ARM hf dynamic linker support

The work is done in glibc upstream we backport
the relevant patches

Signed-off-by: Khem Raj <raj.khem@gmail.com>