]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
13 years agogcc-package-cross: also install the symlinks in libexec with target prefix
Phil Blundell [Fri, 3 Jun 2011 11:30:11 +0000 (12:30 +0100)]
gcc-package-cross: also install the symlinks in libexec with target prefix

.. since this is where collect2 seems to look for them.  This seems like
it is really a bug in collect2, but installing the symlinks is an easy
workaround.  Without this you get "could not find ld" errors when using -flto.

Signed-off-by: Phil Blundell <philb@gnu.org>
13 years agoxf86-driver-common.inc: remove .la files to avoid unpackaged warning
Otavio Salvador [Thu, 2 Jun 2011 13:52:34 +0000 (13:52 +0000)]
xf86-driver-common.inc: remove .la files to avoid unpackaged warning

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
13 years agognutls: add p11tool into gnutls-bin
Otavio Salvador [Thu, 2 Jun 2011 16:41:08 +0000 (16:41 +0000)]
gnutls: add p11tool into gnutls-bin

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
13 years agognutls: use INC_PR on 2.12.5 version recipe
Otavio Salvador [Thu, 2 Jun 2011 16:37:48 +0000 (16:37 +0000)]
gnutls: use INC_PR on 2.12.5 version recipe

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
13 years agobase.bbclass: add cleansstate task between clean and cleanall
Martin Jansa [Thu, 2 Jun 2011 18:56:04 +0000 (20:56 +0200)]
base.bbclass: add cleansstate task between clean and cleanall

* sometimes it's usefull to remove only sstate cache and keep downloaded sources for rebuild

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
13 years agoutil-linux_2.19.1.bb: Fix compliation on uclibc
Khem Raj [Thu, 2 Jun 2011 19:45:26 +0000 (12:45 -0700)]
util-linux_2.19.1.bb: Fix compliation on uclibc

util-linux 2.19 needs this patch to successfully
compile on uclibc systems. This is a bug in util-linux
that goes unnoticed on eglibc builds.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agoallarch.bbclass: Define BASE_PACKAGE_ARCH = "all"
Khem Raj [Thu, 2 Jun 2011 19:45:25 +0000 (12:45 -0700)]
allarch.bbclass: Define BASE_PACKAGE_ARCH = "all"

If not overridden it gets the value which is for target recipes
usually defined in machine tune files

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agobison: upgrade from 2.4.3 to 2.5
Nitin A Kamble [Mon, 23 May 2011 22:40:04 +0000 (15:40 -0700)]
bison: upgrade from 2.4.3 to 2.5

This version of bison needs m4 1.4.16 or newer

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
13 years agoautoconf: upgrade from 2.65 to 2.68
Nitin A Kamble [Tue, 24 May 2011 16:38:17 +0000 (09:38 -0700)]
autoconf: upgrade from 2.65 to 2.68

And rebase the patches to the newer code.

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
13 years agom4: upgrade from 1.4.15 to 1.4.16
Nitin A Kamble [Tue, 24 May 2011 16:22:36 +0000 (09:22 -0700)]
m4: upgrade from 1.4.15 to 1.4.16

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
13 years agoqmake_base.bbclass: fix lrelease/lupdate binary names
Otavio Salvador [Wed, 1 Jun 2011 20:09:54 +0000 (20:09 +0000)]
qmake_base.bbclass: fix lrelease/lupdate binary names

To support translation, qmake based projects usually call lrelease and
lupdate however OE changes the binary names so this needs some mangle
to work out of box.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Acked-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agogettext: Add DEPENDS on git-native
Richard Purdie [Thu, 2 Jun 2011 17:22:33 +0000 (18:22 +0100)]
gettext: Add DEPENDS on git-native

There are tools within gettext that make use of git, crazy as it may
seem so we have to ensure a recent version of git is available.

It could be worse, it could be the (deprecated) cvs alternative in
the code.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agosysvinit: Mark as machine specific since there are machine specific components to...
Richard Purdie [Thu, 2 Jun 2011 15:12:32 +0000 (16:12 +0100)]
sysvinit: Mark as machine specific since there are machine specific components to this recipe

The inittab file depends on variables that are part of the machine config
such as the SERIAL_CONSOLE so the whole recipe must get built as machine
specific. Better might be to split the config out into a separate recipes
from the binaries but this fixes the immediate problem.

[YOCTO ##1131]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibc-package: fix typo causing annoying diagnostic
Phil Blundell [Thu, 2 Jun 2011 12:12:24 +0000 (13:12 +0100)]
libc-package: fix typo causing annoying diagnostic

We don't package /etc/rpc and do_install() makes some effort to remove
that file so as to avoid the "installed but not shipped" diagnostic.  But,
due to a typo in the command line, the file wasn't actually being removed
and the diagnostic continued to be issued.

Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoeglibc: fix mispackaging of libcidn
Phil Blundell [Thu, 2 Jun 2011 12:15:05 +0000 (13:15 +0100)]
eglibc: fix mispackaging of libcidn

The glob for libc_baselibs was too permissive, causing some of the libcidn
symlinks to be placed in ${PN} rather than the intended subpackage.  Worse,
the .so itself was actually landing in ${PN}-dev, so the net effect was to
make libc6-dev a dependency of libc6.

Bump PRs for both 2.12 and 2.13 as a result.

Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoghostscript: Fix up file locations and add i686
Saul Wold [Wed, 1 Jun 2011 18:21:13 +0000 (11:21 -0700)]
ghostscript: Fix up file locations and add i686

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agodbus: avoid dependency on x11 for -native build
Phil Blundell [Thu, 2 Jun 2011 09:15:36 +0000 (10:15 +0100)]
dbus: avoid dependency on x11 for -native build

The native variant already configures --without-x so the X11 libs are
redundant.  Adjust the DEPENDS to match.

Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agognutls: add --with-libdl-prefix and --with-libpthread-prefix
Martin Jansa [Thu, 2 Jun 2011 11:00:06 +0000 (13:00 +0200)]
gnutls: add --with-libdl-prefix and --with-libpthread-prefix

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agorpm: avoid dependency on perl and python for -native build
Phil Blundell [Thu, 2 Jun 2011 09:48:27 +0000 (10:48 +0100)]
rpm: avoid dependency on perl and python for -native build

Update override naming (_native -> _virtclass-native) to disable perl
and python bindings when building native rpm, and adjust the DEPENDS to
match.

Perl bindings were, in fact, already disabled for both native and target
builds so it's only the python ones that have really changed.

Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agosend-pull-request: fix a small typo that fails the script
Dexuan Cui [Thu, 2 Jun 2011 07:56:18 +0000 (15:56 +0800)]
send-pull-request: fix a small typo that fails the script

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
13 years agorecipes: Upstream-status --> Upstream-Status: for multiple patches
Dexuan Cui [Thu, 2 Jun 2011 07:31:53 +0000 (15:31 +0800)]
recipes: Upstream-status --> Upstream-Status: for multiple patches

As a keyword, Upstream-Status is case sensitive.

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
13 years agolibx11: fix libX11 keysyms to pass xts5 of lsb
Jingdong Lu [Tue, 24 May 2011 05:57:57 +0000 (13:57 +0800)]
libx11: fix libX11 keysyms to pass xts5 of lsb

Fixes bug: [YOCTO #1095]
Because of cross-compiling libx11 keysyms will cause Xts5 test of LSB fail.
libx11 use a tool named "makekey" which compiled as a native tool to generate
ks_tables.h. Because the size of "unsigned long" is different between 32-bit
and 64-bit, we should judge whether our target is 32-bit or 64-bit and tell
"makekey".
I add a patch to "makekeys_crosscompile.patch" to "src/utils/makekeys.c" in
order to deal with the different targets. If our target is 32-bit, we force
the variable its type is "unsigned long" to "uint32_t". So we can generate a
correct keysyms.

Signed-off-by: Jingdong Lu <jingdong.lu@windriver.com>
13 years agotask-core-lsb: add cups and ghostscript into image
Kang Kai [Tue, 31 May 2011 02:27:50 +0000 (10:27 +0800)]
task-core-lsb: add cups and ghostscript into image

[Yocto 1030]
Because it is fixed by Qing He, then add cups and ghostscipt into image

Signed-off-by: Kang Kai <kai.kang@windriver.com>
13 years agogcc: Fix volatile access issue for ARM
Saul Wold [Thu, 2 Jun 2011 00:50:22 +0000 (17:50 -0700)]
gcc: Fix volatile access issue for ARM

[YOCTO #1130]

This patch brings in a patch from gcc for the following issue:

http://gcc.gnu.org/ml/gcc-patches/2011-03/msg01477.html

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agoavahi: enable service when using systemd
Koen Kooi [Wed, 1 Jun 2011 14:27:31 +0000 (16:27 +0200)]
avahi: enable service when using systemd

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
13 years agorootfs_ipk: delete opkg metadata if package management not required and all packages...
Phil Blundell [Wed, 1 Jun 2011 10:41:11 +0000 (11:41 +0100)]
rootfs_ipk: delete opkg metadata if package management not required and all packages are configured

If all the postinsts were successfully run in offline mode, and
package-management hasn't been requested as an IMAGE_FEATURE, the opkg
metadata is now redundant and can safely be deleted.

Also, the update-rc.d and base-passwd packages can be removed since
they will serve no further purpose in this situation.

If some packages are still unconfigured at this point then we need to
keep their metadata around so that either opkg or the awk script can
configure the packages at boot time.  In theory it would be possible to
strip out the data for packages that have already been configured, but
right now we just hold on to the whole status file in that situation.

Signed-off-by: Phil Blundell <philb@gnu.org>
13 years agoshadow: remove selinux entry from pam.d/login
Koen Kooi [Tue, 31 May 2011 18:33:24 +0000 (20:33 +0200)]
shadow: remove selinux entry from pam.d/login

SElinux has been disabled in the recipe, leading to messages like this:

[  167.643218] login[312]: PAM unable to dlopen(/lib/security/pam_selinux.so): /lib/security/pam_selinux.so: cannot open shared object file: No such file or directory
[  167.670837] login[312]: PAM adding faulty module: /lib/security/pam_selinux.so

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
13 years agou-boot: package up u-boot.bin for field upgrades
Koen Kooi [Mon, 30 May 2011 12:01:49 +0000 (14:01 +0200)]
u-boot: package up u-boot.bin for field upgrades

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
13 years agogettext-0.16.1: mark upstream status for gplv2 recipe's patches
Nitin A Kamble [Fri, 27 May 2011 22:13:55 +0000 (15:13 -0700)]
gettext-0.16.1: mark upstream status for gplv2 recipe's patches

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
13 years agositeinfo: replace all-linux with allarch-linux to match 5d7d4e1ed9bedf2b6510796d76ea8...
Martin Jansa [Wed, 1 Jun 2011 20:27:10 +0000 (22:27 +0200)]
siteinfo: replace all-linux with allarch-linux to match 5d7d4e1ed9bedf2b6510796d76ea8f94739b9de2

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoclutter-1.6: Add patch to update gettext macro version
Saul Wold [Wed, 1 Jun 2011 05:42:49 +0000 (22:42 -0700)]
clutter-1.6: Add patch to update gettext macro version

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agopuzzles: Update to 9175
Saul Wold [Wed, 1 Jun 2011 05:32:13 +0000 (22:32 -0700)]
puzzles: Update to 9175

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agodbus 1.4.1: disable sysv script properly when using systemd
Koen Kooi [Tue, 31 May 2011 08:27:59 +0000 (10:27 +0200)]
dbus 1.4.1: disable sysv script properly when using systemd

OE-core uses 'dbus-1' as initscript name, which no other distribution(-buildsys) does, so we have to take special measures.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
13 years agobinconfig: improve handling of empty prefixes
Phil Blundell [Tue, 31 May 2011 16:06:22 +0000 (17:06 +0100)]
binconfig: improve handling of empty prefixes

This is a backport of 952e5e2b7a5c1deefc939594d40b81a71fb16a54 from oe master.

Without this the script mangling goes very wrong if ${prefix}="".  There
isn't really any way to fix this in the completely general case, but
this patch does work with the two cases I tested (freetype and
gpg-error) which were unusable previously.

Signed-off-by: Phil Blundell <philb@gnu.org>
13 years agocreate-pull-request: allow '+' in git PROTO_RE, ie for 'git+ssh://'
Martin Jansa [Tue, 31 May 2011 15:40:26 +0000 (17:40 +0200)]
create-pull-request: allow '+' in git PROTO_RE, ie for 'git+ssh://'

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
13 years agobusybox: sync do_install() with oe master (mostly)
Phil Blundell [Thu, 26 May 2011 10:08:01 +0000 (11:08 +0100)]
busybox: sync do_install() with oe master (mostly)

This is basically a backport of the current state of the art from the
openembedded master repo.  In particular this fixes an installation
error on micro:

| + cp -dPr /home/pb/oe/build-meta/tmp-eglibc/work/i586-oe-linux/busybox-1.18.4-r1.2/image/bin /home/pb/oe/build-meta/tmp-eglibc/work/i586-oe-linux/busybox-1.18.4-r1.2/image/sbin /home/pb/oe/build-meta/tmp-eglibc/work/i586-oe-linux/busybox-1.18.4-r1.2/image /home/pb/oe/build-meta/tmp-eglibc/work/i586-oe-linux/busybox-1.18.4-r1.2/image/busybox/
| cp: will not create hard link `/home/pb/oe/build-meta/tmp-eglibc/work/i586-oe-linux/busybox-1.18.4-r1.2/image/busybox/image/bin' to directory `/home/pb/oe/build-meta/tmp-eglibc/work/i586-oe-linux/busybox-1.18.4-r1.2/image/busybox/bin'
| cp: cannot copy a directory, `/home/pb/oe/build-meta/tmp-eglibc/work/i586-oe-linux/busybox-1.18.4-r1.2/image', into itself, `/home/pb/oe/build-meta/tmp-eglibc/work/i586-oe-linux/busybox-1.18.4-r1.2/image/busybox/image'
| ERROR: Function 'do_install' failed (see /home/pb/oe/build-meta/tmp-eglibc/work/i586-oe-linux/busybox-1.18.4-r1.2/temp/log.do_install.3808 for further information)

Signed-off-by: Phil Blundell <philb@gnu.org>
13 years agosudo.inc: Add do_install_prepend () to sudo.inc
Xiaofeng Yan [Mon, 30 May 2011 11:27:45 +0000 (19:27 +0800)]
sudo.inc: Add do_install_prepend () to sudo.inc

Fix bug [YOCTO #1092]
Own a directory "/var/lib" before do_install() because if there isn't this directory during installing, \
then script "mkinstalldirs" from "sudo package" will create directory "/var/lib/sudo" by recursion with mode "0700" \
which will cause bug [YOCTO #1092]. So I add do_install_prepend() to create a "/var/lib" which can be accessed \
by common user before installing files.

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
13 years agodistro tracking: updates
Saul Wold [Tue, 24 May 2011 23:21:05 +0000 (16:21 -0700)]
distro tracking: updates

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agognutls: update to 2.12.5
Saul Wold [Tue, 24 May 2011 23:23:32 +0000 (16:23 -0700)]
gnutls: update to 2.12.5

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agorxvt-unicode: update to 9.11
Saul Wold [Tue, 24 May 2011 23:22:43 +0000 (16:22 -0700)]
rxvt-unicode: update to 9.11

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agoqmmp: update to 0.5.1
Saul Wold [Tue, 24 May 2011 22:31:17 +0000 (15:31 -0700)]
qmmp: update to 0.5.1

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agoalsa-tools: update to 1.0.24.1
Saul Wold [Tue, 24 May 2011 22:19:24 +0000 (15:19 -0700)]
alsa-tools: update to 1.0.24.1

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agogthumb: update to 2.12.3
Saul Wold [Tue, 24 May 2011 22:18:53 +0000 (15:18 -0700)]
gthumb: update to 2.12.3

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agomsmtp: update tof 1.4.24
Saul Wold [Tue, 24 May 2011 21:59:12 +0000 (14:59 -0700)]
msmtp: update tof 1.4.24

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agomc: update to 4.7.5.2
Saul Wold [Tue, 24 May 2011 21:58:50 +0000 (14:58 -0700)]
mc: update to 4.7.5.2

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agomailx: update to 12.5
Saul Wold [Tue, 24 May 2011 21:58:26 +0000 (14:58 -0700)]
mailx: update to 12.5

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agochkconfig: update to 1.3.52
Saul Wold [Tue, 24 May 2011 21:57:38 +0000 (14:57 -0700)]
chkconfig: update to 1.3.52

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agoupdate-alternatives-dpkg update to 1.16.0.3
Saul Wold [Tue, 24 May 2011 21:57:08 +0000 (14:57 -0700)]
update-alternatives-dpkg update to 1.16.0.3

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agodtc: Cleanup and update recipe
Saul Wold [Tue, 24 May 2011 21:55:36 +0000 (14:55 -0700)]
dtc: Cleanup and update recipe

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agogobject-introspection: Update to 0.10.8 Git
Saul Wold [Tue, 24 May 2011 21:55:04 +0000 (14:55 -0700)]
gobject-introspection: Update to 0.10.8 Git

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agogettext: Update to 0.18.1.1
Saul Wold [Tue, 24 May 2011 21:53:51 +0000 (14:53 -0700)]
gettext: Update to 0.18.1.1

Add Upstream Status tags to patches

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agoglew: update to 1.6.0
Saul Wold [Tue, 24 May 2011 23:20:42 +0000 (16:20 -0700)]
glew: update to 1.6.0

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agoutil-linux: update to 2.19.1
Saul Wold [Tue, 24 May 2011 23:19:42 +0000 (16:19 -0700)]
util-linux: update to 2.19.1

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agonewt: add Upstream-Status
Saul Wold [Tue, 24 May 2011 23:17:37 +0000 (16:17 -0700)]
newt: add Upstream-Status

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agompeg2dev: add Upstream-Status
Saul Wold [Tue, 24 May 2011 23:16:16 +0000 (16:16 -0700)]
mpeg2dev: add Upstream-Status

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agolibmad: add Upstream-Status
Saul Wold [Tue, 24 May 2011 23:15:30 +0000 (16:15 -0700)]
libmad: add Upstream-Status

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agotzdata: update to 2011g
Saul Wold [Tue, 24 May 2011 23:14:07 +0000 (16:14 -0700)]
tzdata: update to 2011g

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agosysstat: update to 10.0.0
Saul Wold [Tue, 24 May 2011 23:13:37 +0000 (16:13 -0700)]
sysstat: update to 10.0.0

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agoless: update to 443
Saul Wold [Tue, 24 May 2011 23:13:02 +0000 (16:13 -0700)]
less: update to 443

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agoallarch.bbclass: A "all" TARGET_ARCH is dangerous as an OVERRIDE
Richard Purdie [Tue, 31 May 2011 22:05:31 +0000 (23:05 +0100)]
allarch.bbclass: A "all" TARGET_ARCH is dangerous as an OVERRIDE

Having a generic word like "all" as an override is dangerous as this is an override
and can cause issues for function names like "sysroot_stage_all". This patch changes
it to "allarch" to help avoid this kind of problem. The field is only used in the
name of directories anyway.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoImprove handling of 'all' architecture recipes and their interaction with sstate
Richard Purdie [Tue, 17 May 2011 23:03:02 +0000 (00:03 +0100)]
Improve handling of 'all' architecture recipes and their interaction with sstate

The existing PACKAGE_ARCH = "all" mechanism of sharing packages is problematic
with sstate since there are a variety of variables which have target specific
values and the sstate package therefore correctly changes signature depending
on the MACHINE setting.

This patch creates a new "allarch" class which sets:

PACKAGE_ARCH = "all"

(as per the existing convention)

INHIBIT_DEFAULT_DEPS = "1"

(since its not target specific and therefore can't depend on the cross
compiler or target libc)

TARGET_ARCH = "all"
TARGET_OS = "linux"
TARGET_CC_ARCH = "none"

(since these variables shouldn't change between the different packages and
target compiler flags shouldn't be getting used)

PACKAGE_EXTRA_ARCHS = ""

(since we shouldn't be depending on any architecture specific package architectures)

Not all PACKAGE_ARCH = "all" recipes can use this class since some run configure
checks on the compiler. This means they have target specific components and therefore
the "all" classification is incorrect.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoprelink: remove dependency on transfig-native
Phil Blundell [Tue, 31 May 2011 11:29:04 +0000 (12:29 +0100)]
prelink: remove dependency on transfig-native

Per http://lists.linuxtogo.org/pipermail/openembedded-core/2011-May/003179.html

Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agosysvinit: make pidof usuable in a standalone setting
Koen Kooi [Tue, 31 May 2011 09:19:04 +0000 (11:19 +0200)]
sysvinit: make pidof usuable in a standalone setting

Currently it's a symlink to killall5:

$ dpkg-deb -c sysvinit-pidof_2.88dsf-r1_armv7a.ipk  | grep pidof
lrwxrwxrwx root/root         0 2011-05-27 11:05 ./bin/pidof.sysvinit -> /sbin/killall5

The point of the pidof subpackage was to have a pidof without needing sysvinit, this restores that behaviour.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolinux-yocto: update meta SRCREV
Bruce Ashfield [Mon, 30 May 2011 16:25:57 +0000 (12:25 -0400)]
linux-yocto: update meta SRCREV

Fixes [YOCTO: 1111]

and updates the meta branch with some cleanups and feature
groupings.

From the meta branch itself:

   06d3793 meta: add romley features
   f101ab9 meta: remove 'not set' lines from netfilter.cfg
   d0599f8 meta: add dca feature
   0cd5ef1 meta: replace open-coded E1XXXX options with intel-e1xxxx feature
   3f88c17 meta: add intel-e1xxxx feature
   f7537af meta: replace open-coded igb options with igb feature
   f72e046 meta: add igb feature
   989cd7d meta: add ixgbe feature
   8543f7d meta: replace open-coded dma engine options with dmaengine feature
   8fc67cd meta: add dmaengine feature
   610e419 meta: add hugetlb feature
   ac22176 meta: add uio feature
   ce14a0d meta: replace open-coded hpet options with hpet feature
   6a30aaa meta: add hpet feature
   0ae7362 routerstationpro: watchdog config

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
13 years agobitbake.conf: make OVERRIDES match what people expect
Koen Kooi [Tue, 24 May 2011 14:04:20 +0000 (16:04 +0200)]
bitbake.conf: make OVERRIDES match what people expect

In the current situation TARGET_ARCH will override MACHINE, which is counter intuitive since the machine is more specific than the arch.

The order is now pn-$PN} -> arch -> machine -> distro as the machine is a set of defaults and the distro is the ultimate policy.

'failfast' has been removed since it's not used anymore, just like 'local'

13 years agogcc-cross-csl-2008q1: Drop last remaining fail-fast override use and make it uncondit...
Richard Purdie [Mon, 30 May 2011 07:31:38 +0000 (08:31 +0100)]
gcc-cross-csl-2008q1: Drop last remaining fail-fast override use and make it unconditional

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agosite/powerpc-common: remove the incorrect dlopen default setting
Yu Ke [Mon, 30 May 2011 02:10:01 +0000 (10:10 +0800)]
site/powerpc-common: remove the incorrect dlopen default setting

These two setting for dlopen is not correct. dlopen is not available in libc,
instead it is provided by libdl. so the setting should not be "yes" by default.

This fixes [YOCTO #736] [YOCTO #737]

Thanks Richard for pointing out the root cause.

CC: Richard Purdie <richard.purdie@linuxfoundation.org>
CC: Philip Balister <philip@balister.org>
CC: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Yu Ke <ke.yu@intel.com>
13 years agopackage.bbclass,prserv.bbclass: Compare USE_PR_SERV with "1" or "0"
Khem Raj [Sat, 28 May 2011 01:27:47 +0000 (18:27 -0700)]
package.bbclass,prserv.bbclass: Compare USE_PR_SERV with "1" or "0"

Value of USE_PR_SERV is either "1" or "0" looking at
settings in bitbake.conf
USE_PR_SERV = "${@[1,0][(bb.data.getVar('PRSERV_HOST',d,1) is None) or (bb.data.getVar('PRSERV_PORT',d,1) is None)]}"
So we compare the strings

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agouclibc: Add disabled COMPILE_IN_THUMB_MODE to uClibc.machine for all ARM configurations
Khem Raj [Sat, 28 May 2011 02:39:26 +0000 (19:39 -0700)]
uclibc: Add disabled COMPILE_IN_THUMB_MODE to uClibc.machine for all ARM configurations

This entry need to exist so that it can be manipulated later
to decide if uclibc is to be compiled in thumb mode or arm mode

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agolicense.bbclass: Infinite recursion of or nodes
Beth Flanagan [Sat, 28 May 2011 23:39:35 +0000 (16:39 -0700)]
license.bbclass: Infinite recursion of or nodes

This fixes two bugs. When populate_lic was hitting | it was going
into an infinite recursion of the node.

Also, some LICENSE fields may start with "(". We want to avoid
invalid python syntax here, so we strip out the whitespace.

Signed-off-by: Beth Flanagan <elizabeth.flanagan@intel.com>
13 years agolicense.bbclass: Sane Parsing of licenses
Beth Flanagan [Wed, 25 May 2011 20:58:35 +0000 (13:58 -0700)]
license.bbclass: Sane Parsing of licenses

This is a first pass at sane license parsing, using python
abstract syntax trees.

A few notes on this since ast is not generally used. I massage
the LICENSE field to be more pythonesque and then create an ast.

I then dump the ast and using a LicenseVisitor class, recurse
through the tree, looking for licenses. I then copy and link.

It's cleaner, allows for easier addition of logic and while it
takes slightly more CPU, it's also slightly faster in initial
small scale tests.

It doesn't recognize the '+' or '*' modifiers to the licenses yet
nor does it know what to do with bitors (|), since I'm not even
sure what to do with them.

Signed-off-by: Beth Flanagan <elizabeth.flanagan@intel.com>
13 years agouclibc_git.bb: Fix patch path in SRC_URI
Khem Raj [Fri, 27 May 2011 17:28:08 +0000 (10:28 -0700)]
uclibc_git.bb: Fix patch path in SRC_URI

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agogupnp-tools: Add gupnp-av to DEPENDS
Saul Wold [Fri, 27 May 2011 18:26:43 +0000 (11:26 -0700)]
gupnp-tools: Add gupnp-av to DEPENDS

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agoLicense Field Cleanup: Non-standard field names
Beth Flanagan [Wed, 25 May 2011 21:05:02 +0000 (14:05 -0700)]
License Field Cleanup: Non-standard field names

I've cleaned up some odd license fields, fixed some license
names and corrected some incorrect licenses. LICENSE really needs
a pass through by the maintainers as some of the licensing is
incorrect.

Also, every license with Artistic should be gone through and noted as
which version of Artistic.

Signed-off-by: Beth Flanagan <elizabeth.flanagan@intel.com>
13 years agocommon-licenses: Adding new licenses and renaming
Beth Flanagan [Wed, 25 May 2011 20:47:52 +0000 (13:47 -0700)]
common-licenses: Adding new licenses and renaming

I'm adding full common licenses to the common license directory.

These licenses are taken from the SPDX project or the OSI license
repository. They conform to the SPDX naming convention and will be
used by the new license.bbclass license parser in order to maintain
some sort of internal standard for license naming.

Going forward, we should have a bigger conversation about the LICENSE
field and standardizing that to conform to this naming standard.

Signed-off-by: Beth Flanagan <elizabeth.flanagan@intel.com>
13 years agoclasses/package_xxx.class: Use PKGE/PKGV/PKGR.
Lianhao Lu [Thu, 19 May 2011 02:17:43 +0000 (10:17 +0800)]
classes/package_xxx.class: Use PKGE/PKGV/PKGR.

Use PKGE/PKGV/PKGR to build various package feed in tasks of pacakge_write_xxx.

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
13 years agoclasses/package(prserv).bbclass: Get PRAUTO and use PKGV/PKGR.
Lianhao Lu [Wed, 18 May 2011 13:15:01 +0000 (21:15 +0800)]
classes/package(prserv).bbclass: Get PRAUTO and use PKGV/PKGR.

1. Added package_get_auto_pr to PACKAGEFUNCS to get the auto
incremented value(PRAUTO) from remote PR service.

2. use PKGV/PKGR for pkgdata which will be used by package_write_xxx.

3. Added supporting functions in prserv.bbclass.

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
13 years agoconf/bitbake.conf: Added variables for PR service.
Lianhao Lu [Fri, 27 May 2011 06:31:46 +0000 (14:31 +0800)]
conf/bitbake.conf: Added variables for PR service.

Added following variables for PR service:

USE_PR_SERV: flag of whether to use the network PR service
PRAUTOINX: search index for the network PR service
PKGE/PKGV/PKGR: epoch, version and revision used in package feed.
EXTENDPKGV: full package version string used in package relationships.

For the following recipes, replace EXTENDPV with EXTENDPKGV:

udev, xcb, xorg-proto, util-macros and linux-libc-headers

then removed the unused EXTENDPV and EXTENDPEVER variables

Users should use EXTENDPKGV instead for package feed generation.

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoshared-mime-info_0.90.bb: Fix more parallel build issues
Khem Raj [Wed, 25 May 2011 22:56:27 +0000 (15:56 -0700)]
shared-mime-info_0.90.bb: Fix more parallel build issues

While building for beagleboard with -j4 I ended up failures in
generating and checking xml files. This is a backport from upstream that
fixes the issue.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agouclibc.inc: Set COMPILE_IN_THUMB_MODE in .config if ARM_INSTRUCTION_SET != arm
Khem Raj [Fri, 27 May 2011 05:36:11 +0000 (22:36 -0700)]
uclibc.inc: Set COMPILE_IN_THUMB_MODE in .config if ARM_INSTRUCTION_SET != arm

This will configure uclibc to be compiled in thumb/thumb2 mode

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agouclibc_git.bb: Fix compilation on arm when using thumb instruction set
Khem Raj [Fri, 27 May 2011 05:42:51 +0000 (22:42 -0700)]
uclibc_git.bb: Fix compilation on arm when using thumb instruction set

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agoutils.bbclass: make FILESEXTRAPATHS colon delimited
Darren Hart [Wed, 25 May 2011 23:05:17 +0000 (16:05 -0700)]
utils.bbclass: make FILESEXTRAPATHS colon delimited

Fixes [YOCTO 1102]

Path variables are typically : delimited. White space is allowed in paths, so
is not a good choice for separating paths. Currently utils.bbclass performs the
following:

    extrapaths = (bb.data.getVar("FILESEXTRAPATHS", d, True) or "").split()

This splits FILESEXTRAPATHS on whitespace. It later splits overrides on : and
reassembles them all together as : delimited.

There is only one user of FILESEXTRAPATHS in oe-core (qt4-tools-native, which
uses : anyway) and none in oe.

Change the split() in utils.bbclass to split on : instead of whitespace. When
splitting on a defined string (":") we must be careful to handle the empty
string case which returns [''] instead of [].

Tested building qt4-tools-native and core-image-minimal for surgarbay from
meta-intel with a couple extra layers with FILESEXTRAPATHS modifications added.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Cc: Phil Blundell <pb@pbcl.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agou-boot: rename u-boot_git.bb to u-boot_${PV}.bb
Darren Hart [Thu, 26 May 2011 03:47:05 +0000 (20:47 -0700)]
u-boot: rename u-boot_git.bb to u-boot_${PV}.bb

In order to facilitate reuse of the oe-core u-boot recipe, there needs to be
some assurance that the oe-core version won't change without a clear indicator
to people extending it.

By renaming the recipe to include its version string instead of "git", BSP
layers can extend a specific base version of u-boot, ie.
u-boot_2011.03.bbappend. When 2011.06 becomes available, we can create that file
without instantly breaking all the BSPs depending on oe-core version of the
recipe.

As a matter of policy I would recommend we not carry more than 2 versioned
u-boot recipess at any given time. This will provide BSP layers time to migrate
to the newer version, without cluttering oe-core with numerous stale versions of
u-boot. We may decide later to resurrect u-boot_git.bb as an AUTOREV recipe to
faciliate upstream development on u-boot in the oe environment.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: Koen Kooi <koen@dominion.thruhere.net>
Cc: Jason Kridner <jkridner@beagleboard.org>
13 years agou-boot: remove UBOOT_MACHINE and COMPATIBLE_MACHINES
Darren Hart [Tue, 17 May 2011 21:44:45 +0000 (14:44 -0700)]
u-boot: remove UBOOT_MACHINE and COMPATIBLE_MACHINES

oe-core does not define any machines, so it does not make sense to
add machine specific information in the oe-core u-boot recipe and
infrastructure. Also note that COMPATIBLE_MACHINES is not easily extended due to
its regex syntax: "(machine_a|machine_b)", making it difficult to extend the
u-boot recipe in bbappend files without resorting to machine specific overrides.

Remove COMPATIBLE_MACHINES and the default UBOOT_MACHINE from the recipe and
insert some anonymous python into u-boot.inc to raise SkipPackage if
UBOOT_MACHINE is not set (this ensures 'world' still works for machines that
can't build u-boot).

UBOOT_MACHINE must now be specified in each machine config that requires u-boot.
This is an improvement over requiring machine specific overrides in every BSP
layer's u-boot_git.bbappend file. For example, a beagleboard machine config
currently contains:

UBOOT_ENTRYPOINT = "0x80008000"
UBOOT_LOADADDRESS = "0x80008000"

With this change, it must now contain:

UBOOT_MACHINE = "omap3_beagle_config"
UBOOT_ENTRYPOINT = "0x80008000"
UBOOT_LOADADDRESS = "0x80008000"

So long as the SRC_URI in the base recipe can build a working u-boot for a given
machine, there is no need to create a u-boot_git.bbappend file. If additional
patches are deemed necessary, a BSP layer creates a u-boot_git.bbappend file and
extends the SRC_URI to include general or machine specific backports.

Note: I used bb.note() instead of bb.debug() to ensure the message at least
      makes it to the console. From what I could gather, bb.debug() doesn't
      go anywhere during recipe parsing.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: Koen Kooi <koen@dominion.thruhere.net>
Cc: Jason Kridner <jkridner@beagleboard.org>
Cc: Chris Larson <clarson@kergoth.com>
13 years agodbus 1.4.1: create UUIDDIR in postinst
Koen Kooi [Fri, 27 May 2011 14:41:48 +0000 (16:41 +0200)]
dbus 1.4.1: create UUIDDIR in postinst

This fixes dbus usage in non-sysV init systems. Volatiles aren't needed in systemd land, since /run is tmpfs and the dbus units take care of all this.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoxorg.conf: update keyboard config with evdev
Yu Ke [Fri, 27 May 2011 07:40:59 +0000 (15:40 +0800)]
xorg.conf: update keyboard config with evdev

with xserver 1.10, the evdev driver is used by default, so update the
keyboard config entry in xorg.conf accordingly.

Fix [YOCTO #1108]

Signed-off-by: Yu Ke <ke.yu@intel.com>
13 years agorpm: fix fprint pointer issue
Qing He [Fri, 27 May 2011 09:03:18 +0000 (17:03 +0800)]
rpm: fix fprint pointer issue

[YOCTO #1030]

Signed-off-by: Qing He <qing.he@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibcap: add native BBCLASSEXTEND to fix gnutls-native after ffc32d6436bcd11bd9a431aff...
Martin Jansa [Fri, 27 May 2011 08:59:09 +0000 (10:59 +0200)]
libcap: add native BBCLASSEXTEND to fix gnutls-native after ffc32d6436bcd11bd9a431affb9d2508fdb3992e

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoavahi: enable systemd support, but package systemd files seperately
Koen Kooi [Fri, 27 May 2011 09:32:37 +0000 (11:32 +0200)]
avahi: enable systemd support, but package systemd files seperately

Systemd support in avahi only affects 'make install', so no changes for sysvinit based systems

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agotcmode-default: workaround for gcc 4.6.0 failure on beagleboard
Nitin A Kamble [Thu, 26 May 2011 23:26:16 +0000 (16:26 -0700)]
tcmode-default: workaround for gcc 4.6.0 failure on beagleboard

mesa-xlib: workaround gcc 4.6.0 ICE

Fixes this bug [YOCTO #1105]

Working around this issue withg gcc 4.6.0 for beagleboard machine (armv7)

ccache arm-poky-linux-gnueabi-gcc -march=armv7-a -mtune=cortex-a8 -mfpu=neon
-mfloat-abi=softfp -fno-tree-vectorize
--sysroot=/build_disk/poky_build/build0/tmp/sysroots/beagleboard -c -I.
-I../../../../src/gallium/include -I../../../../src/gallium/auxiliary
-I../../../../src/gallium/drivers
-I../../../../src/gallium/drivers/svga/include -O2 -pipe -g
-feliminate-unused-debug-types -Wall -Wmissing-prototypes -std=c99 -ffast-math
-fvisibility=hidden -fno-strict-aliasing -fPIC -D_GNU_SOURCE -DPTHREADS
-DHAVE_POSIX_MEMALIGN -DUSE_XSHM -std=gnu99 -fvisibility=hidden -DHAVE_STDINT_H
-DHAVE_SYS_TYPES_H svga_tgsi_insn.c -o svga_tgsi_insn.o
svga_tgsi_insn.c: In function 'svga_shader_emit_instructions':
svga_tgsi_insn.c:2969:1: internal compiler error: in push_minipool_fix, at
config/arm/arm.c:12084
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[4]: *** [svga_tgsi_insn.o] Error 1

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
13 years agorm_work: keep all sigdata files in stamps dir
Martin Jansa [Thu, 26 May 2011 09:31:35 +0000 (11:31 +0200)]
rm_work: keep all sigdata files in stamps dir

* this makes fix for [YOCTO #1074] in bitbake 139b8a625818225c358a1b8363518d7ed6913188
  much more usefull for people using rm_work

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
13 years agoRevert "createrepo: Update to 0.9.9"
Saul Wold [Thu, 26 May 2011 19:02:30 +0000 (12:02 -0700)]
Revert "createrepo: Update to 0.9.9"

This was just the wrong update to go to, it was not fully vetted
and contains yum requirements which is not a direction we are moving
in.

This reverts commit 7576eba58cdfebf0606623c25ae969ef52774099.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agognutls: Add libcap to DEPENDS
Saul Wold [Thu, 26 May 2011 18:41:25 +0000 (11:41 -0700)]
gnutls: Add libcap to DEPENDS

Setup INC_PR for PR bumps

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agobitbake.conf: change IMAGE_ROOTFS_EXTRA_SPACE to soft (?=) default
Saul Wold [Thu, 26 May 2011 18:32:06 +0000 (11:32 -0700)]
bitbake.conf: change IMAGE_ROOTFS_EXTRA_SPACE to soft (?=) default

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agoconsole-tools: use u-a also for fgconsole otherwise it collides with busybox
Martin Jansa [Thu, 26 May 2011 21:04:13 +0000 (23:04 +0200)]
console-tools: use u-a also for fgconsole otherwise it collides with busybox

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agodbus: Fix commit typo, I mixed the patch versions up
Richard Purdie [Thu, 26 May 2011 23:29:25 +0000 (00:29 +0100)]
dbus: Fix commit typo, I mixed the patch versions up

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agox11-common: fix dbus-launch RDEPENDS
Koen Kooi [Thu, 26 May 2011 19:42:24 +0000 (21:42 +0200)]
x11-common: fix dbus-launch RDEPENDS

/usr/bin/dbus-launch is in the dbus-x11 packages, the dbus-launch package doesn't exist

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agodbus: clean up dbus-x11 packaging
Koen Kooi [Thu, 26 May 2011 19:39:32 +0000 (21:39 +0200)]
dbus: clean up dbus-x11 packaging

Martin Jansa spotted some differences with OE dev, which this commit fixes:

 * dbus-launch is mentioned twice in FILES
 * dbus-x11 should drag in dbus-1

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agodbus 1.4.1: enable systemd support, but package systemd files seperately
Koen Kooi [Thu, 26 May 2011 09:09:13 +0000 (11:09 +0200)]
dbus 1.4.1: enable systemd support, but package systemd files seperately

Systemd support in dbus only affects 'make install', so no changes for sysvinit based systems

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agox11-common 0.1: add runtime dep on dbus-x11
Koen Kooi [Thu, 26 May 2011 09:00:40 +0000 (11:00 +0200)]
x11-common 0.1: add runtime dep on dbus-x11

dbus-launch moved into the dbus-x11 packages, so we need to drag it in.

Also reorder fields to better fit with the styleguide

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>