]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
12 years agoinsane.bbclass: Add documentation headers for logical code blocks
Richard Purdie [Sun, 3 Feb 2013 16:58:02 +0000 (16:58 +0000)]
insane.bbclass: Add documentation headers for logical code blocks

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoinsane.bbclass: Add pkgvarcheck to check for suboptimal usages of variables
Richard Purdie [Sun, 3 Feb 2013 16:54:00 +0000 (16:54 +0000)]
insane.bbclass: Add pkgvarcheck to check for suboptimal usages of variables

Check through the variables:
'RDEPENDS', 'RRECOMMENDS', 'FILES', 'pkg_preinst', 'pkg_postinst', 'pkg_prerm', 'pkg_postrm'
and if there is a variable set which isn't package specific, inform the user
of this.

Using these variables without a package suffix is bad practise and complicates
dependencies of packages unnecessarily as well as complicates the code. Lets
convert the remaining issues and then we can take the small performance gain.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopackage.bbclass: use the multiprocess pool from bitbake
Richard Purdie [Wed, 6 Feb 2013 00:29:43 +0000 (00:29 +0000)]
package.bbclass: use the multiprocess pool from bitbake

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopackage: Process package stripping in parallel
Richard Purdie [Fri, 1 Feb 2013 15:03:41 +0000 (15:03 +0000)]
package: Process package stripping in parallel

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopackage: Don't export PATH
Richard Purdie [Fri, 1 Feb 2013 14:28:34 +0000 (14:28 +0000)]
package: Don't export PATH

PATH is already exported, we don't need to do this each time we run
something, its just noise and overhead.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopackage.bbclass: Multithread per file dependency generation code
Richard Purdie [Fri, 1 Feb 2013 13:50:38 +0000 (13:50 +0000)]
package.bbclass: Multithread per file dependency generation code

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosstate.bbclass: Ensure build directory is cleaned to start with
Richard Purdie [Mon, 4 Feb 2013 11:27:36 +0000 (11:27 +0000)]
sstate.bbclass: Ensure build directory is cleaned to start with

This directory is cleaned upon completion however if a previous build
crashes, it can lead to corrpution, hence ensure its clean at the start
too.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosstate/path.py: Add copyhardlinktree() function and use for performance optimisation
Richard Purdie [Sun, 3 Feb 2013 17:34:54 +0000 (17:34 +0000)]
sstate/path.py: Add copyhardlinktree() function and use for performance optimisation

Add a function which copys a tree as a set of hardlinks to the original
files, then use this in sstate to reduce some of the overhead of sstate
package creation since the file isn't actually copied.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosystemd: remove /var/cache from volatiles
Laurentiu Palcu [Mon, 4 Feb 2013 09:26:08 +0000 (11:26 +0200)]
systemd: remove /var/cache from volatiles

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agorpm: remove /var/volatiles/cache/rpm from the FILEs list
Laurentiu Palcu [Mon, 4 Feb 2013 09:26:09 +0000 (11:26 +0200)]
rpm: remove /var/volatiles/cache/rpm from the FILEs list

Since /var/cache is not in volatiles anymore, this entry has to go.

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoinitscripts: remove /var/cache from volatiles
Laurentiu Palcu [Mon, 4 Feb 2013 09:26:07 +0000 (11:26 +0200)]
initscripts: remove /var/cache from volatiles

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agofs-perms: remove /var/cache from volatiles
Laurentiu Palcu [Mon, 4 Feb 2013 09:26:06 +0000 (11:26 +0200)]
fs-perms: remove /var/cache from volatiles

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobase-files: remove /var/cache from volatiles
Laurentiu Palcu [Mon, 4 Feb 2013 09:26:05 +0000 (11:26 +0200)]
base-files: remove /var/cache from volatiles

Having the cache in tmpfs implies cache regeneration after every reboot.
For an embedded device this might not be very efficient. So, it is
better for the cache to be persistent between reboots.

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoqt4: fix CVE-2013-0254
Eric Bénard [Tue, 5 Feb 2013 14:04:12 +0000 (15:04 +0100)]
qt4: fix CVE-2013-0254

fix "POSIX shared memory segments created world-writeable"

more details :
http://lists.qt-project.org/pipermail/announce/2013-February/000023.html

Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agonetbase: split up in netbase and init-ifupdown
Constantin Musca [Mon, 4 Feb 2013 17:13:20 +0000 (19:13 +0200)]
netbase: split up in netbase and init-ifupdown

- netbase should only include etc-rpc, etc-protocols, etc-services
and the hosts file
- the init script/configuration files should be in another package
(init-ifupdown)

[YOCTO #2486]

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoinitscripts: add read-only-rootfs-hook.sh script
Chen Qi [Tue, 29 Jan 2013 04:24:43 +0000 (12:24 +0800)]
initscripts: add read-only-rootfs-hook.sh script

Add read-only-rootfs-hook.sh script to support a read-only rootfs.
This script makes a union mount of /var/lib and /var/volatile/lib,
making /var/lib directory writable.

[YOCTO #3406]

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoinitscripts: let populate-volatile.sh create the /tmp link
Chen Qi [Thu, 24 Jan 2013 07:28:45 +0000 (15:28 +0800)]
initscripts: let populate-volatile.sh create the /tmp link

Previously, the /tmp link (/tmp -> /var/tmp) was created by the
bootmisc.sh script. So in case of a read-only rootfs, this symlink
would not be created correctly.

The populate-volatile.sh script is intended to handle all directories
and files related to volatile storage, so we should let it create
the /tmp link.

In addition, because of the improments of populate-volatile.sh, the data
loss problem of bug#3404 is also resolved by this patch.

[YOCTO #3406]
[YOCTO #3404]

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agosysvinit: add ROOTFS_READ_ONLY variable to rcS-default
Chen Qi [Sun, 6 Jan 2013 09:02:45 +0000 (17:02 +0800)]
sysvinit: add ROOTFS_READ_ONLY variable to rcS-default

This variable indicates whether the rootfs is intended to be read-only
or not. Changing this value from 'no' to 'yes' on a currently running
system with read-write rootfs and rebooting will give the user a working
system with read-only rootfs.

However, it is not suggested to change its value. Normally, if a read-only
rootfs is required, we should build an image with 'read-only-rootfs' image
feature.

[YOCTO #3406]

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolinux-yocto: KERNEL_FEATURES should reference full scc files
Bruce Ashfield [Mon, 4 Feb 2013 19:05:07 +0000 (14:05 -0500)]
linux-yocto: KERNEL_FEATURES should reference full scc files

Some existing KERNEL_FEATURE references use a shorcut notation, but mapping
these shortcuts to actual .scc files in the tree are not obvious. So we clarify
where they are found by referencing the full .scc filename in the KERNEL_FEATURE
addtions.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolinux-yocto/3.4: update to v3.4.28, 3.4.28-rt40
Bruce Ashfield [Mon, 4 Feb 2013 05:18:51 +0000 (00:18 -0500)]
linux-yocto/3.4: update to v3.4.28, 3.4.28-rt40

Updating the linux-yocto_3.4 SRCREVs to pick up the 3.4.28 -stable update
as well as the 3.4.28-rt40 refresh.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolinux-yocto/dev: linux-yocto development tree tracking recipe
Bruce Ashfield [Mon, 4 Feb 2013 19:13:37 +0000 (14:13 -0500)]
linux-yocto/dev: linux-yocto development tree tracking recipe

The linux-yocto-dev recipe uses the upstream tracking linux-yocto-dev repository.
Since this tree is frequently updated, and periodically rebuilt, AUTOREV is used
to track its contents.

This recipe is just like other linux-yocto variants, with the only difference
being that to avoid network access during initial parsing, static SRCREVs are
provided and overridden if the preferred kernel provider is linux-yocto-dev.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agointltool: updated to 0.50.2
Bogdan Marinescu [Tue, 5 Feb 2013 16:13:09 +0000 (18:13 +0200)]
intltool: updated to 0.50.2

Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoclassextend.py: use explode_dep_versions2 in order to preserve versions too
Constantin Musca [Tue, 5 Feb 2013 15:59:11 +0000 (17:59 +0200)]
classextend.py: use explode_dep_versions2 in order to preserve versions too

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agooprofile: fix cross compile on powerpc and add libpfm4 dep
Matthew McClintock [Tue, 5 Feb 2013 17:46:48 +0000 (11:46 -0600)]
oprofile: fix cross compile on powerpc and add libpfm4 dep

Fixes [YOCTO #3717]

Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolibpfm4_4.3.0.bb: add libpfm4 recipe needed by oprofile for ppc
Matthew McClintock [Tue, 5 Feb 2013 17:46:46 +0000 (11:46 -0600)]
libpfm4_4.3.0.bb: add libpfm4 recipe needed by oprofile for ppc

Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoquota_4.01.bb: add e2fsprogs in DEPENDS
Matthew McClintock [Tue, 5 Feb 2013 17:46:45 +0000 (11:46 -0600)]
quota_4.01.bb: add e2fsprogs in DEPENDS

Fixes:

| /local/home/mattsm/git/poky/build-master/tmp/sysroots/x86_64-linux/usr/libexec/ppce300c3-poky-linux/gcc/powerpc-poky-linux/4.7.2/ld: cannot find -lext2fs

Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoglib: disable selinux for native builds
Matthew McClintock [Tue, 5 Feb 2013 17:46:44 +0000 (11:46 -0600)]
glib: disable selinux for native builds

This improves reusabiliy of sstate-cache across different hosts

Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agopulseaudio: do not postpone postinstall
Laurentiu Palcu [Mon, 4 Feb 2013 13:38:05 +0000 (15:38 +0200)]
pulseaudio: do not postpone postinstall

Since populate-volatile.sh will run everytime the device boots, no
need to postpone the postinstall when the rootfs is created.

[YOCTO #3840]

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agopackage_ipk, rootfs_ipk: remove the "set -x"
Laurentiu Palcu [Thu, 31 Jan 2013 08:36:55 +0000 (10:36 +0200)]
package_ipk, rootfs_ipk: remove the "set -x"

Comment the "set -x" lines since these will add a lot of extra, not
always necessary, debug messages in the log.do_rootfs.

[YOCTO #2599]

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoliberation-fonts: use the new fontcache.bbclass
Laurentiu Palcu [Thu, 31 Jan 2013 08:35:37 +0000 (10:35 +0200)]
liberation-fonts: use the new fontcache.bbclass

This will add the proper postinst/postrm scriptlets.

[YOCTO #2599]

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agofontconfig: add sysroot option to fc-cache and fc-cat
Laurentiu Palcu [Thu, 31 Jan 2013 08:32:40 +0000 (10:32 +0200)]
fontconfig: add sysroot option to fc-cache and fc-cat

This is needed in order to be able to generate the cache on host.

Additionally, remove the volatile config file, as /var/cache was moved
out of tmpfs.

[YOCTO #2599]

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoimage.bbclass: add a proper error message if hook script fails
Laurentiu Palcu [Thu, 31 Jan 2013 08:31:49 +0000 (10:31 +0200)]
image.bbclass: add a proper error message if hook script fails

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoqemu.bbclass: return qemuwrapper instead of qemu-allarch
Laurentiu Palcu [Thu, 31 Jan 2013 08:27:22 +0000 (10:27 +0200)]
qemu.bbclass: return qemuwrapper instead of qemu-allarch

When qemu bbclass is inherited from a recipe that is not architecture
dependent, qemu_run_binary will return "qemu-allarch". However this
binary does not exist. Instead, return "qemuwrapper" which will, in
turn, execute the right binary for the target the image was built for.

[YOCTO #2599]

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoadd qemuwrapper-cross recipe
Laurentiu Palcu [Thu, 31 Jan 2013 08:04:57 +0000 (10:04 +0200)]
add qemuwrapper-cross recipe

This will just install a wrapper script in STAGING_BINDIR_CROSS that
will execute the proper qemu user binary for the current target.

[YOCTO #2599]

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoadd fontcache.bbclass
Laurentiu Palcu [Thu, 31 Jan 2013 07:59:10 +0000 (09:59 +0200)]
add fontcache.bbclass

All font packages should inherit this class in order to generate the
proper postinst/postrm scriptlets.

The scriptlets will actually create a host intercept hook that will be
executed at the end, at do_rootfs time, after all packages have been
installed. This is good when there are many font packages.

[YOCTO #2923]

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agotcp-wrappers: remove size_t.patch
Roy.Li [Sat, 2 Feb 2013 08:18:22 +0000 (16:18 +0800)]
tcp-wrappers: remove size_t.patch

1. it introduces bug in 64bit big endian process with __GLIBC__, At that
condition, size_t is 8byte, and the third parameter of getpeername is
socklen_t which is 4 byte. As a result, getpeername sees third parameter
is always 0, and can not return right value.

The similar program is below, the output is 0, not 9 on PPC64 cpu
main()
{
long aa=9;
printf("%d \n", *((int *)&aa));
}

2. The correct fix is to change getpeername/getsockopt/recvfrom.. last
parameter type from int to socklen_t, but to simplify, we can remove
size_t.patch, since the size of int is same as socklen_t in 32bit/64bit
cpu. and size_t.patch only change three places, there are other places
which uses int, and work well.

2. Fedora, redhat el4 do not use this patch, but Debian uses it, does not
find why this patch is written, maybe it is gcc legency issue which does
not exist.

Signed-off-by: Roy.Li <rongqing.li@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agorpcbind: replace obsolete automake macros with working ones
Marko Lindqvist [Sun, 3 Feb 2013 10:13:43 +0000 (12:13 +0200)]
rpcbind: replace obsolete automake macros with working ones

Add obsolete_automake_macros.patch that replaces automake macros
no longer supported by automake-1.13 with modern constructs.

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agomatchbox-wm: update to git master head
Marko Lindqvist [Sun, 3 Feb 2013 10:13:18 +0000 (12:13 +0200)]
matchbox-wm: update to git master head

The one new commit from matchbox-wm git this gets fixes
build with automake-1.13

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoopkg: replace obsolete automake macros with working ones
Marko Lindqvist [Sun, 3 Feb 2013 10:12:34 +0000 (12:12 +0200)]
opkg: replace obsolete automake macros with working ones

Add obsolete_automake_macros.patch that replaces automake macros
no longer supported by automake-1.13 with modern constructs.

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agosend-pull-request: add extra CC argument
Martin Jansa [Mon, 4 Feb 2013 15:06:59 +0000 (16:06 +0100)]
send-pull-request: add extra CC argument

* useful e.g. when sending pull-request to release branch with extra CC
  for release maintainer

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
12 years agoipk: use OPKGLIBDIR in all places
Martin Jansa [Mon, 4 Feb 2013 22:06:52 +0000 (23:06 +0100)]
ipk: use OPKGLIBDIR in all places

* it's not recommended to change this value, because it breaks upgrade path on target
  (all old u-a alternatives are forgot in old OPKGLIBDIR value
* but make it consistent, so if someone really want to change that, then
  setting OPKGLIBDIR_distro in distro.conf would be enough
* without this there were at least 4 places to change:
  rootfs_ipk: opkglibdir variable (notice that I've removed /opkg from it to correspond
              with EXTRA_OECONF option used in opkg recipes
  package_ipk: ${target_rootfs}${localstatedir}/lib/opkg/ hardcoded in
               package_install_internal_ipk
  opkg-collateral: value in lists file
  opkg: EXTRA_OECONF for all 3 classes, FILES_libopkg, do_install
* validated with buildhistory that without OPKGLIBDIR explicitly set the
  output is the same and that after setting
  OPKGLIBDIR_forcevariable := "${libdir}"
  everything including empty directory from package_ipk is moved to
  libdir

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
12 years agonet-tools: upgrade to v1.60-24.2
Cristian Iorga [Fri, 1 Feb 2013 15:09:05 +0000 (17:09 +0200)]
net-tools: upgrade to v1.60-24.2

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoqmmp: update to 0.6.6 and fix
Paul Eggleton [Tue, 5 Feb 2013 15:55:46 +0000 (15:55 +0000)]
qmmp: update to 0.6.6 and fix

* Update to 0.6.6
* Fix compilation failure due to unconditional call to
  QApplication::commitData()
* Disable /usr/local host paths to avoid compilation warnings
* Force use of the cmake configure instead of qmake as the latter is not
  dynamic with Qmmp and doesn't let you disable certain dependencies
  (e.g. enca)
* Add libsndfile1, libsamplerate0 and curl to DEPENDS since their use
  will be non-deterministic otherwise
* Explicitly disable library-requiring options that we don't have
  available in OE-Core so that they don't get used if they happen to be
  in the sysroot
* Update LIC_FILES_CHKSUM since there were cosmetic changes to the
  license file (mostly reformatting and change of references to LGPL
  from "Library" to "Lesser".)

Fixes [YOCTO #3822].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agonativesdk-qt4-tools: fix DEPENDS, as nativesdk is now prefixed
Denys Dmytriyenko [Wed, 6 Feb 2013 07:45:25 +0000 (02:45 -0500)]
nativesdk-qt4-tools: fix DEPENDS, as nativesdk is now prefixed

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agocrosstap: handle hyphenated x86_64 target arch
Tom Zanussi [Tue, 5 Feb 2013 14:26:36 +0000 (08:26 -0600)]
crosstap: handle hyphenated x86_64 target arch

systemtap_target_arch() should also translate x86-64 (hyphenated) into
x86_64 for the -a param.  Failing to do that causes systemtap to see
an architecture mismatch and create a cloned session with a bogusly
synthesized build directory path, and fails to compile the probe.

 Fixes [YOCTO #3756]

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibgcc: Disable multilib install for nativesdk
Khem Raj [Tue, 5 Feb 2013 09:58:24 +0000 (11:58 +0200)]
libgcc: Disable multilib install for nativesdk

Fixes errors when building SDK for multilibbed enabled
architectures.

[YOCTO #3832]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodropbear: fix RPROVIDES
Martin Jansa [Mon, 4 Feb 2013 18:33:41 +0000 (19:33 +0100)]
dropbear: fix RPROVIDES

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoopenssh: fix RPROVIDES
Martin Jansa [Mon, 4 Feb 2013 18:33:40 +0000 (19:33 +0100)]
openssh: fix RPROVIDES

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosip.bbclass: improve RDEPENDS to add python-sip only for PN
Martin Jansa [Mon, 4 Feb 2013 21:02:14 +0000 (22:02 +0100)]
sip.bbclass: improve RDEPENDS to add python-sip only for PN

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agov86d: Use BP instead of P
Saul Wold [Mon, 4 Feb 2013 21:20:27 +0000 (13:20 -0800)]
v86d: Use BP instead of P

P is expanded to it's multi and other prefix / suffix name,
so use BP instead which is the BaseName and Version.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoblktool: fix SRC_URI typo
Constantin Musca [Mon, 4 Feb 2013 09:20:24 +0000 (11:20 +0200)]
blktool: fix SRC_URI typo

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogcc: target: fix libiberty removal
Constantin Musca [Mon, 4 Feb 2013 09:20:23 +0000 (11:20 +0200)]
gcc: target: fix libiberty removal

- use ${libdir} instead of ${exec_prefix}/lib

Fix the following warning:
WARNING: QA Issue: gcc: Files/directories were installed but not shipped
  /usr/lib64/libiberty.a

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoconsolekit: add arch independent unpackaged files
Constantin Musca [Mon, 4 Feb 2013 09:20:22 +0000 (11:20 +0200)]
consolekit: add arch independent unpackaged files

Fix the following warning:

WARNING: QA Issue: consolekit: Files/directories were installed but not shipped
  /usr/lib
  /usr/lib/ConsoleKit
  /usr/lib/ConsoleKit/run-seat.d
  /usr/lib/ConsoleKit/scripts
  /usr/lib/ConsoleKit/run-session.d
  /usr/lib/ConsoleKit/scripts/ck-system-restart
  /usr/lib/ConsoleKit/scripts/ck-system-stop

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agorun-postinsts: use BPN instead of PN
Constantin Musca [Mon, 4 Feb 2013 09:20:21 +0000 (11:20 +0200)]
run-postinsts: use BPN instead of PN

Fix the following warning:
WARNING: QA Issue: lib32-run-postinsts: Files/directories were installed but not shipped
  /usr/share/lib32-run-postinsts
  /usr/share/lib32-run-postinsts/run-postinsts.awk

[YOCTO #3438]

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agotaglib: use LIB_SUFFIX in order to determine the correct baselib
Constantin Musca [Mon, 4 Feb 2013 09:20:20 +0000 (11:20 +0200)]
taglib: use LIB_SUFFIX in order to determine the correct baselib

WARNING: QA Issue: taglib: Files/directories were installed but not shipped
  /usr/lib
  /usr/lib/libtag.so
  /usr/lib/libtag.so.1.12.0
  /usr/lib/libtag.so.1
  /usr/lib/libtag_c.so.0.0.0
  /usr/lib/libtag_c.so
  /usr/lib/libtag_c.so.0
  ...

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agofoomatic-filters: fix CUPS directory config
Constantin Musca [Mon, 4 Feb 2013 09:20:19 +0000 (11:20 +0200)]
foomatic-filters: fix CUPS directory config

- use CUPS_SERVERBIN to configure the CUPS directory
- the removed variables are not used anymore

Fix the following warning:
WARNING: QA Issue: foomatic-filters: Files/directories were installed but not shipped
  /usr/lib64
  /usr/lib64/cups
  /usr/lib64/cups/filter
  /usr/lib64/cups/backend
  /usr/lib64/cups/filter/foomatic-rip
  /usr/lib64/cups/backend/beh

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosyslinux: use BPN instead of PN
Constantin Musca [Mon, 4 Feb 2013 09:20:17 +0000 (11:20 +0200)]
syslinux: use BPN instead of PN

Fix the following warning:
WARNING: QA Issue: lib32-syslinux: Files/directories were installed but not shipped
  /usr/lib
  /usr/share/syslinux
  /usr/share/syslinux/com32
  /usr/share/syslinux/com32/libcom32gpl.a
  /usr/share/syslinux/com32/libcom32.a
  ...

[YOCTO #3438]

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosgml-common: use ${PN} instead of sgml-common
Constantin Musca [Mon, 4 Feb 2013 09:20:16 +0000 (11:20 +0200)]
sgml-common: use ${PN} instead of sgml-common

Fix the following warning:
WARNING: QA Issue: lib32-sgml-common: Files/directories were installed but not shipped
  /etc
  /etc/sgml
  /etc/sgml/sgml.conf
  /usr/bin
  /usr/bin/install-catalog
  /usr/bin/sgmlwhich

[YOCTO #3438]

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoconsole-tools: fix linking when using the multilib compiler
Constantin Musca [Mon, 4 Feb 2013 09:20:18 +0000 (11:20 +0200)]
console-tools: fix linking when using the multilib compiler

fix-libconsole-link.patch: add patch for fixing libconsole
linking problems when using multilib gcc

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoenchant: use BPN instead of PN
Constantin Musca [Mon, 4 Feb 2013 09:20:15 +0000 (11:20 +0200)]
enchant: use BPN instead of PN

- use BPN (PN includes mlprefix) to package all files
when building with multilib options

[YOCTO #3438]

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agocpan-base.bbclass: Improve RDEPENDS to be package specific
Richard Purdie [Mon, 4 Feb 2013 11:31:18 +0000 (11:31 +0000)]
cpan-base.bbclass: Improve RDEPENDS to be package specific

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoinitramfsframework: Improve RDEPENDS to be package specific
Richard Purdie [Mon, 4 Feb 2013 11:30:47 +0000 (11:30 +0000)]
initramfsframework: Improve RDEPENDS to be package specific

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodbus-ptest: Improve RDEPENDS to be package specific
Richard Purdie [Mon, 4 Feb 2013 11:30:30 +0000 (11:30 +0000)]
dbus-ptest: Improve RDEPENDS to be package specific

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agohwlatdetect: Improve RDEPENDS to be package specific
Richard Purdie [Mon, 4 Feb 2013 11:29:55 +0000 (11:29 +0000)]
hwlatdetect: Improve RDEPENDS to be package specific

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibxml-sax-base-perl: Improve RDEPENDS to be package specific
Richard Purdie [Mon, 4 Feb 2013 11:29:40 +0000 (11:29 +0000)]
libxml-sax-base-perl: Improve RDEPENDS to be package specific

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoinitramfs-live-boot: Set RDEPENDS on the specific package that needs it
Richard Purdie [Sun, 3 Feb 2013 17:05:37 +0000 (17:05 +0000)]
initramfs-live-boot: Set RDEPENDS on the specific package that needs it

Set the RDEPENDS on the specific package that has the dependency and stop it
being applied to for example ${PN}-doc (and others).

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogdb-cross-canadian: Set RDEPENDS on the specific package that needs it
Richard Purdie [Sun, 3 Feb 2013 17:05:37 +0000 (17:05 +0000)]
gdb-cross-canadian: Set RDEPENDS on the specific package that needs it

Set the RDEPENDS on the specific package that has the dependency and stop it
being applied to for example ${PN}-doc (and others).

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoqemu: Set RDEPENDS on the specific package that needs it
Richard Purdie [Sun, 3 Feb 2013 17:05:37 +0000 (17:05 +0000)]
qemu: Set RDEPENDS on the specific package that needs it

Set the RDEPENDS on the specific package that has the dependency and stop it
being applied to for example ${PN}-doc (and others).

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agov86d: Update SRC_URI to point to new file location.
Andy Dalton [Mon, 4 Feb 2013 15:21:25 +0000 (10:21 -0500)]
v86d: Update SRC_URI to point to new file location.

The existing SRC_URI pointed to a Gentoo developer's private web
space.  It appears that that developer has retired and that his web
space is no longer active.  I've updated the SRC_URI to point to a
location where the file can now be found.

Signed-off-by: Andy Dalton <a.spam.filter@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodpkg: Add missing pkgconfig dependency
Richard Purdie [Mon, 4 Feb 2013 15:50:40 +0000 (15:50 +0000)]
dpkg: Add missing pkgconfig dependency

configure touches pkg-config for various tests so we need the DEPENDS
which we can gain from the class inherit

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoscripts/wipe-sysroot: add script to safely wipe the sysroots
Ross Burton [Fri, 25 Jan 2013 17:43:02 +0000 (17:43 +0000)]
scripts/wipe-sysroot: add script to safely wipe the sysroots

Add a script to wipe the sysroots and all of the relevant stamps, so that it
will be correctly re-populated.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agopackage.bbclass: Allow per-package SKIP_FILEDEPS
Peter Seebach [Sat, 26 Jan 2013 18:21:28 +0000 (12:21 -0600)]
package.bbclass: Allow per-package SKIP_FILEDEPS

The existing check for SKIP_FILEDEPS can be overridden per recipe
using SKIP_FILEDEPS_pn-${PN}. However, there's no mechanism for
letting a single package within a recipe use SKIP_FILEDEPS.

This patch adds SKIP_FILEDEPS_<pkg>, by analogy to FILES_<pkg>.
Note that it only works one way; if the recipe has SKIP_FILEDEPS = 1,
the checks for individual packages will never be reached.

Signed-off-by: Peter Seebach <peter.seebach@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agokernel-yocto/linux-yocto-custom: support low bandwidth options
Bruce Ashfield [Thu, 24 Jan 2013 05:30:31 +0000 (00:30 -0500)]
kernel-yocto/linux-yocto-custom: support low bandwidth options

To support configurations where active development is not being done within
the oe/bitbake build environment and restricted bandwidth situations, this
commit allows the SRC_URI to point to a kernel tgz instead of a full git
repository.

Outside of the upstream tgz instead of a kernel git repository, the
restrictions, config and patch process is the same as any linux-yocto-custom
recipe.

An example linux-yocto-custom based recipe would have a configuration like
this to build the 3.7 kernel, using an externally supplied config, from the
3.7 tgz:

  SRC_URI = "http://kernel.org/pub/linux/kernel/v3.0/linux-3.7.tar.bz2"
  PV = "3.7"
  S = "${WORKDIR}/linux-3.7"
  SRC_URI[md5sum] = "5323f3faadd051e83af605a63be5ea2e"
  SRC_URI[sha256sum] = "dc08d87a579fe2918362e6666e503a95a76296419195cb499aa9dd4dbe171a9e"

[YOCTO #2686]

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agokernel-yocto: allow multiple / shared kernel feature directories
Bruce Ashfield [Wed, 23 Jan 2013 20:21:52 +0000 (15:21 -0500)]
kernel-yocto: allow multiple / shared kernel feature directories

To promote the reuse and sharing of configuration fragments this change
allows any kernel-yocto based recipe to have multiple alternate git repositories
which provide kernel feature directory trees listed on the SRC_URI.

These feature directories are in addition to any in-tree kernel meta data branches
that may be available (described via the KMETA variable in linux-yocto recipes).

Features found within these directories can be used from recipes via the
KERNEL_FEATURES variable. Features found within a feature directory are free
to include any other features that are available in any directories. In both
cases the path to a feature description (a .scc file) is relative to the
root of a given feature directory (which is how existing .scc files work)

The search order for features is determined by the order that repositories
appear on the SRC_URI.

Normal SRC_URI rules apply to any repository that is added as a kernel
feature container. A SRCREV must be supplied and it must be unpacked to
a unique directory, which is controlled via the "destsuffic" url parameter.

In addition to these standard requirements, any kernel feature repository
reference should identify itself via the "type=kmeta" url parameter. If
type=kmeta is not supplied, the repository will not be processed for
kernel features.

As an example, the following in a linux-yocto bbappend makes two additional
feature directories available to KERNEL_FEATURES and fragments.

 SRC_URI += "git://git.yoctoproject.org/yocto-kernel-cache;protocol=git;branch=master;type=kmeta;name=feat1;destsuffix=kernel-cache/"
 SRC_URI += "git://${KSRC_linux_yocto_3_4};protocol=file;branch=meta;name=feat2;type=kmeta;destsuffix=kernel-features-experimental/"

 SRCREV_feat1 = "${AUTOREV}"
 SRCREV_feat2 = "${AUTOREV}"

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agokernel-yocto: fix .scc and .cfg matching
Bruce Ashfield [Mon, 28 Jan 2013 21:27:07 +0000 (16:27 -0500)]
kernel-yocto: fix .scc and .cfg matching

SRC_URIs that contained git repositories or other constructs that resulted
in an extension of "." or a substring of "scc" or "cfg" were matching the
tests for patches and configs. This was due to a python tuple being used
instead of an array. Switching to an array makes the match exact and the
behaviour we want.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agokernel-yocto: make configuration audit details debug only
Bruce Ashfield [Thu, 13 Dec 2012 20:43:05 +0000 (15:43 -0500)]
kernel-yocto: make configuration audit details debug only

The details of the kernel configuration audit are typically a
debug action, so should be moved to bb.debug(). But in order
to maintain visibility of the results, a reference to the log
file is provided in the standard message.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoguilt: remove GIT_EXEC_BASE export
Bruce Ashfield [Mon, 28 Jan 2013 21:22:09 +0000 (16:22 -0500)]
guilt: remove GIT_EXEC_BASE export

git-core provides the following routines (among others): git-sh-setup,
cd_to_toplevel, die, and more.  But it is not always in the same location
relative to the guilt binary if git is not part of a 'host tools'
sysroot. Modern git versions don't need this, so commenting it out (until it
breaks again) is the solution to the problem of it not existing, and the
library routines will sourced and provided by git itself.

Since bitbake.conf has git-native as ASSUME_PROVIDED, this means that
when the system git binary is used, errors such as this can be seen in
failed patch logs:

| /opt/poky/build/tmp/sysroots/x86_64-linux/usr/bin/guilt: line 29: /opt/poky/build/tmp/sysroots/x86_64-linux/usr/bin/../libexec/git-core/git-sh-setup: No such file or directory
| /opt/poky/build/tmp/sysroots/x86_64-linux/usr/bin/guilt: line 717: cd_to_toplevel: command not found
| error: patch failed: Makefile:2
| error: Makefile: patch does not apply
| /opt/poky/build/tmp/sysroots/x86_64-linux/usr/bin/guilt-push: line 137: die: command not found
| [ERROR] unable to complete push
| pending patches are:
| /opt/poky/build/tmp/sysroots/x86_64-linux/usr/bin/guilt: line 29: /opt/poky/build/tmp/sysroots/x86_64-linux/usr/bin/../libexec/git-core/git-sh-setup: No such file or directory
| /opt/poky/build/tmp/sysroots/x86_64-linux/usr/bin/guilt: line 29: /opt/poky/build/tmp/sysroots/x86_64-linux/usr/bin/../libexec/git-core/git-sh-setup: No such file or directory
| links/linux-yocto-custom/0001-linux-version-tweak.patch
| ERROR. could not update git tree

With the export removed, we have a normal "clean" failure message when
the sysroot or system git is used.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agopolkit: Enable systemd support
Radu Moisan [Fri, 1 Feb 2013 11:38:15 +0000 (13:38 +0200)]
polkit: Enable systemd support

By default the polkit will autodetect if systemd is available
and setup the configuraton accordingly, potentially
contaminating sstate.
In this patch systemd is explicitly enabled/disabled.
When enabled, polkit will use systemd for session tarcking,
otherwise it will use ConsoleKit.

Signed-off-by: Radu Moisan <radu.moisan@intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agomatchbox-stroke: remove
Ross Burton [Fri, 1 Feb 2013 12:46:19 +0000 (12:46 +0000)]
matchbox-stroke: remove

matchbox-stroke was never more than a proof of concept, so remove it.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoclutter-box2d: remove
Ross Burton [Fri, 1 Feb 2013 12:24:35 +0000 (12:24 +0000)]
clutter-box2d: remove

This is a specialised physics engine for Clutter, and isn't suitable for
oe-core.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agopackagegroup-core-tools-testapps: remove clutter-box2d
Ross Burton [Sat, 2 Feb 2013 08:11:58 +0000 (08:11 +0000)]
packagegroup-core-tools-testapps: remove clutter-box2d

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agopax-utils : upgrade to 0.6
Andrei Dinu [Wed, 30 Jan 2013 12:10:18 +0000 (14:10 +0200)]
pax-utils : upgrade to 0.6

 - changed the archive extension because it changed
 on the repository.

Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoorinoco-conf: remove
Ross Burton [Fri, 1 Feb 2013 12:38:28 +0000 (12:38 +0000)]
orinoco-conf: remove

This is only used by old hardware, anything that still needs it can put it in
their BSP layer directly.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agopackagegroup-core-x11-sato: remove matchbox-stroke
Ross Burton [Fri, 1 Feb 2013 12:45:33 +0000 (12:45 +0000)]
packagegroup-core-x11-sato: remove matchbox-stroke

matchbox-stroke was never more than a proof of concept, so let's not pretend
it's a serious gesture input method and remove it.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agodistcc: updated to version 3.1
Bogdan Marinescu [Fri, 1 Feb 2013 09:29:03 +0000 (11:29 +0200)]
distcc: updated to version 3.1

Added two new flags to the configure script:

--disable-Werror: don't treat all warnings all errors (which breaks compilation).

PYTHON=/dev/null: this prevents distcc from detecting the host Python and trying
to build its include server using the host Python. This disables the include
server completely. If the include server is needed, that should be the object of
another patch (and would introduce a dependency on python for distcc).

The 'distcc-avahi' and 'makefile-param-order' patches are not needed anymore, as
they were merged upstream.

Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoinitramds-framework: add shutdown hook for udev
Ian Reinhart Geiser [Sun, 3 Feb 2013 19:17:02 +0000 (14:17 -0500)]
initramds-framework: add shutdown hook for udev

In cases where other initramfs modules need to rely on
udev running (ie in my case I have to load firmware on
a device that is slow to start) there needs to be a way
to keep it running during the lifecycle of the initramfs
but still be shut down before swith_root is called.  I
added a  module_pre_hook that will shut down udev before
the finish module is called.

Signed-off-by: Ian Reinhart Geiser <igeiser@devonit.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopulseaudio_2.1: Remove the dependence of fftw.
yanjun.zhu [Mon, 4 Feb 2013 06:54:37 +0000 (14:54 +0800)]
pulseaudio_2.1: Remove the dependence of fftw.

Signed-off-by: yanjun.zhu <yanjun.zhu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agocmake: reset B from autotools, as this class doesnt like it
Ross Burton [Mon, 4 Feb 2013 10:44:12 +0000 (10:44 +0000)]
cmake: reset B from autotools, as this class doesnt like it

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogdk-pixbuf: use correct build path when installing
Ross Burton [Mon, 4 Feb 2013 10:44:13 +0000 (10:44 +0000)]
gdk-pixbuf: use correct build path when installing

The native install was invoking a binary in $S, but it's been built into $B.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibpcap: fix relative path references
Ross Burton [Mon, 4 Feb 2013 10:44:16 +0000 (10:44 +0000)]
libpcap: fix relative path references

do_configure was using relative paths in do_configure with the assumption that
$S is the same as $B.  This isn't always true, so explicitly use $S.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogtk+: add missing $S references in do_install
Ross Burton [Mon, 4 Feb 2013 10:44:14 +0000 (10:44 +0000)]
gtk+: add missing $S references in do_install

When $B != $S the relative paths are wrong, so add an explict $S.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoavahi: fix relative path in do_configure
Ross Burton [Mon, 4 Feb 2013 10:44:15 +0000 (10:44 +0000)]
avahi: fix relative path in do_configure

do_configure was assuming that $B is $S, so the relative path was wrong. Add a
missing $S.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoupdate-modules: remove recipe from oe-core
Laurentiu Palcu [Mon, 4 Feb 2013 11:36:51 +0000 (13:36 +0200)]
update-modules: remove recipe from oe-core

update-modules is not used anymore. Any references to it have been
removed, some time ago, from all recipes/bbclasses. It stayed in oe-core
in case anybody still wanted to use it. Time for it to go.

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoqt4: Add space for _appends
Saul Wold [Fri, 1 Feb 2013 22:36:29 +0000 (14:36 -0800)]
qt4: Add space for _appends

With out the space we get -x11-no-neon concatanted incorrectly

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogtk-icon-cache: Fix rdepends construction
Saul Wold [Thu, 31 Jan 2013 19:02:23 +0000 (11:02 -0800)]
gtk-icon-cache: Fix rdepends construction

The rdepends getVar is returning NoneType and the string constuction fails
this occurs with the hicolor-icon-theme recipe.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoqemux86-64: Disable paravirt guest, causes test failure on older kernels
Darren Hart [Wed, 30 Jan 2013 23:15:34 +0000 (15:15 -0800)]
qemux86-64: Disable paravirt guest, causes test failure on older kernels

The 2.6.37 kernel on the AB occasionally fails dmesg and shutdown
tests with general protection faults.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoe2fsprogs : upgrade to 1.42.6
Andrei Dinu [Wed, 30 Jan 2013 14:47:56 +0000 (16:47 +0200)]
e2fsprogs : upgrade to 1.42.6

 - removed the usage of the patches already contained in the new version
 - adapted patch remove.ldconfig.call.patch so that it applies on new version

Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoicu : upgrade to 50.1.2
Andrei Dinu [Wed, 30 Jan 2013 15:56:34 +0000 (17:56 +0200)]
icu : upgrade to 50.1.2

Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoeglibc: don't list the same path twice in RTLDLIST
Bogdan Marinescu [Wed, 30 Jan 2013 16:26:40 +0000 (18:26 +0200)]
eglibc: don't list the same path twice in RTLDLIST

Before modifying RTLDLIST in ldd, make sure that it doesn't already
contain the right path, thus avoiding duplicate entries in RTLDLIST.

[YOCTO #2655]

Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agogcc: enable multilib for target gcc
Constantin Musca [Mon, 17 Dec 2012 11:46:20 +0000 (13:46 +0200)]
gcc: enable multilib for target gcc

- add a task to setup multilib configuration for target gcc
- this commit adapts Nitin Kamble's work to gcc 4.7
- use a hash for storing arch-dependent multilib options
- patch gcc in order to use the multilib config files from the
build directory

Tests:
root@qemux86-64:~# gcc -m64 t.c -o t
root@qemux86-64:~# file t
t: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.16, not stripped
root@qemux86-64:~# ./t
Hello World !
root@qemux86-64:~# gcc -m32 t.c -o t
root@qemux86-64:~# file t
t: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.16, not stripped
root@qemux86-64:~# ./t
Hello World !

[YOCTO #1369]

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>