scm/bb/tizen-distro.git
11 years agosed: Fix gplv2 version to work with recent gettext
Richard Purdie [Fri, 19 Oct 2012 13:02:58 +0000 (13:02 +0000)]
sed: Fix gplv2 version to work with recent gettext

(From OE-Core rev: 3c32d9c53f1789bdb072a5957ddd83e5c4e16914)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogrep: Fix gplv2 version to work with recent gettext
Richard Purdie [Fri, 19 Oct 2012 13:02:49 +0000 (13:02 +0000)]
grep: Fix gplv2 version to work with recent gettext

(From OE-Core rev: 2433846255767d5a22fb2c7b2b723f290ac12fbf)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoautotools: Use STAGING_DATADIR_NATIVE for config.rpath
Richard Purdie [Thu, 18 Oct 2012 15:58:25 +0000 (15:58 +0000)]
autotools: Use STAGING_DATADIR_NATIVE for config.rpath

For builds that don't use gettext, config.rpath may not exist in the target
datadir. This change uses the native directory where it will always
be present due to gettext-minimal-native (which allows us to autoreconf
recipes using gettext even if we don't have gettext built).

(From OE-Core rev: 0ea24447842e6b76ccfee0881f557e1a82e89ef1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosstate: when warnings about sysroot overwrites, say what the recipe was
Ross Burton [Thu, 18 Oct 2012 09:49:59 +0000 (10:49 +0100)]
sstate: when warnings about sysroot overwrites, say what the recipe was

(From OE-Core rev: 936e2868bb9973213630477ab9c880dbdf4aac09)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogconf: Avoid error when trying to delete files that don't exist
Phil Blundell [Wed, 17 Oct 2012 22:25:17 +0000 (23:25 +0100)]
gconf: Avoid error when trying to delete files that don't exist

Use "rm -f" in do_install_append() so we don't fail if the files we're
trying to delete have already been removed.  This can happen if the
distro policy suppresses both static libs and .la files.

(From OE-Core rev: 2ee9601ae590b2964d1c44b131188a80cc5198a9)

Signed-off-by: Phil Blundell <pb@pbcl.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolib/oe/qa: Trap exceptions when running objdump
Phil Blundell [Wed, 17 Oct 2012 20:34:58 +0000 (20:34 +0000)]
lib/oe/qa: Trap exceptions when running objdump

This avoids propagating a failure if we encounter an ELF file
that objdump can't parse for any reason.  Some versions and/or
configurations of objdump will refuse to read files for "the
wrong" architecture.

(From OE-Core rev: 11f5998e539f7b884ae1387252f8995b2dc7437f)

Signed-off-by: Phil Blundell <pb@pbcl.net>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoinsane: Don't try to run objdump on symlinks
Phil Blundell [Mon, 15 Oct 2012 10:28:00 +0000 (11:28 +0100)]
insane: Don't try to run objdump on symlinks

If the link is absolute then we might end up reading from a host binary
or a nonexistent path, neither of which will produce useful results and
may result in objdump failure and python backtrace spew.  If the link
does point to a binary within the installation root then we will scan the
pointed-to file at some point anyway so there is no need to do it again.

(From OE-Core rev: 91769af1c1175ac9bb43d16d05fb1c8736dd9287)

Signed-off-by: Phil Blundell <pb@pbcl.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoinsane: Rationalise phdrs-based QA checks
Phil Blundell [Mon, 1 Oct 2012 17:29:23 +0000 (18:29 +0100)]
insane: Rationalise phdrs-based QA checks

Various different QA checks are based on essentially the same data from
the ELF program headers.  Calling objdump to extract it repeatedly is
inefficient, particularly if the shell is involved.  Instead, let's
cache the output from objdump inside the qa.elf object and allow it to
be reused by multiple tests.

Also, using objdump instead of scanelf to check for bad RPATHs (in the
same way that the useless-rpaths check was doing already) allows the
dependency on pax-utils-native to be dropped.

(From OE-Core rev: bf19eeb9f65e91bf2b5d89e7c0b099c55d7c15ff)

Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agognome-icon-theme: update mapping program location
Saul Wold [Wed, 17 Oct 2012 16:36:42 +0000 (09:36 -0700)]
gnome-icon-theme: update mapping program location

When we changed the /usr/libexec default to be /usr/lib/<pn>,
the icon name mapping needed to be updated also.

(From OE-Core rev: d05e63c6c936a9ff209efd1341401ef7cd2ec0c1)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosato-icon-theme: update mapping program location
Saul Wold [Mon, 15 Oct 2012 22:19:11 +0000 (22:19 +0000)]
sato-icon-theme: update mapping program location

When we changed the /usr/libexec default to be
/usr/lib/<pn>, the icon name mapping needed to
be updated also.

(From OE-Core rev: 58b20de32f4b6ca684120d1b87a7aece2df6f0a6)

(From OE-Core rev: b3ff57c7a15c8509397d4b8e84410aab08ea4d1c)

(From OE-Core rev: 49d8f5d2257f00f02437b95e624960ba4aadd9d4)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoqemu: don't ignore libexecdir in configure
Saul Wold [Wed, 17 Oct 2012 16:51:15 +0000 (09:51 -0700)]
qemu: don't ignore libexecdir in configure

This allow the relocation of libexecdir to be done correctly
for the qemu-brigde-helper.

(From OE-Core rev: 945c8f5c687ec61c312209e075edc402f6272186)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoperf: set the perfexecdir
Saul Wold [Wed, 17 Oct 2012 16:47:51 +0000 (09:47 -0700)]
perf: set the perfexecdir

This allows the files installed into /usr/libexec to be
relocated to ${libexecdir}. removed unneded prefix=/usr,
which would prevent ${prefix} relocation.

(From OE-Core rev: 10d28438c1e7d793bc398a0ad484782e5baa4877)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoia32-base.inc: don't depend on mesa-dri
Ross Burton [Wed, 17 Oct 2012 11:23:32 +0000 (12:23 +0100)]
ia32-base.inc: don't depend on mesa-dri

mesa-dri is an empty package, so depending on it doesn't achieve anything.

(From OE-Core rev: a41f8341971a958cf55c07f3c91e1742570053cd)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosysklogd: fix update-rc.d handling
Andy Ross [Thu, 11 Oct 2012 16:22:55 +0000 (09:22 -0700)]
sysklogd: fix update-rc.d handling

The sysklogd recipe had a cut-n-paste version of the
update-rc.d.bbclass code which didn't work, but this was hidden
because all images contain the busybox version which does.  Building a
busybox-free image unmasked the issue and syslogd wouldn't start on
first boot.

The comments seem to be wrong/stale.  AFAICT update-rc.d and
update-alternatives work fine with each other, though there is an
ordering constraint (alternatives must be specified last, so it
"wraps" update-rc.d).  This version builds and works both with and
without busybox.

(From OE-Core rev: 644673631bf57bd8d0e152b5fe7621344b5ad24f)

Signed-off-by: Andy Ross <andy.ross@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopulseaudio: add missing switch-on-port-available dependency to the server
Ross Burton [Thu, 11 Oct 2012 15:18:50 +0000 (16:18 +0100)]
pulseaudio: add missing switch-on-port-available dependency to the server

The PulseAudio server recently added a dependency by default on the
switch-if-port-available module, but this was not enforced by the package
dependencies so the server won't start.

(From OE-Core rev: b0fd984dd132e332056863dcc11b312141d443fd)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolttng: support more compatible hosts
Vladimir Zapolskiy [Thu, 11 Oct 2012 14:12:34 +0000 (17:12 +0300)]
lttng: support more compatible hosts

THis change extends COMAPTIBLE_HOST matchings, which allows to include more
hosts with TARGET_OS like linux-gnuspe or linux-gnueabi etc.

(From OE-Core rev: 76138d4b183eff28c678ab13cb1a6da358be2340)

Signed-off-by: Vladimir Zapolskiy <vladimir_zapolskiy@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoqt4: use extra variable for more QT_CONFIG_FLAGS fragments
Martin Jansa [Fri, 12 Oct 2012 10:48:10 +0000 (12:48 +0200)]
qt4: use extra variable for more QT_CONFIG_FLAGS fragments

* qt4-embedded was forcing -DQT_KEYPAD_NAVIGATION which depends on feature-completer
* separate variable makes it easier to not enable QT_KEYPAD_NAVIGATION in some upper layer where we have disabled feature-completer

(From OE-Core rev: 0479242a18661cb7fc3d76d208c82fe6ae4378ce)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogtk-doc.bbclass: Run gtkdocize in ${S} not ${B}
Phil Blundell [Thu, 11 Oct 2012 21:30:29 +0000 (22:30 +0100)]
gtk-doc.bbclass: Run gtkdocize in ${S} not ${B}

Otherwise it will fail if these two directories are not the same.

(From OE-Core rev: 491823fdc65d124093f1fed5a56173917443e1d6)

Signed-off-by: Phil Blundell <pb@pbcl.net>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobuild-appliance: ensure zip file is linked locally
Saul Wold [Thu, 11 Oct 2012 18:40:26 +0000 (11:40 -0700)]
build-appliance: ensure zip file is linked locally

This makes the symbolic link portable with the dated zip file, otherwise
the link still points to the original deploy directory.

(From OE-Core rev: 0fc83102eeb48b85027c5b1202d8a584f51679a7)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobuildhistory.bbclass: Fix hostname print for 'No changes' case
Otavio Salvador [Thu, 11 Oct 2012 21:46:41 +0000 (21:46 +0000)]
buildhistory.bbclass: Fix hostname print for 'No changes' case

(From OE-Core rev: f9e3745d8eeef0df7e6dba3ba17d0b00645c92fa)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoautotools.bbclass: Fix gettext macro versions issues
Richard Purdie [Thu, 11 Oct 2012 08:43:01 +0000 (08:43 +0000)]
autotools.bbclass: Fix gettext macro versions issues

gettext m4 macros don't use the usual versioning/serial mechanism used by
aclocal. It therefore won't update them over and above any local version of
the macro. Equally, we don't run gettextize due to it doing slightly crazy
things to the build.

When we put the aclocal directory as a -I option to aclocal, if this was
found first compared to any recipe provided macros, the correct version
of the gettext macro would still "win". With the switch so correctly override
the system directory, older recipe provided macros may get used.

This patch manually removes the problematic m4 macros in the case we're using
gettext and need to use the correct m4 macros.

This patch also always ensures the gettext manipulations happen, even in the
-native case since missing or stale gettext files could cause build failures.

(From OE-Core rev: e9645d2bbeabaa5251d49edd659ab320fd66d0ee)

(From OE-Core rev: 841ea3c1c18e50e77fccbd5f44d6a79a50913b67)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoautotools: Fix race over aclocal macro directory
Richard Purdie [Fri, 5 Oct 2012 14:17:23 +0000 (14:17 +0000)]
autotools: Fix race over aclocal macro directory

The previous steps taken to address races over the aclocal macro directory and the removal
of files hasn't been sufficient since aclocal still looks at that directory as part of its
default search path. This patch passes the aclocal-copy directory into aclocal as its system
directory, removing any chance of it accessing the original aclocal directory.

Hopefully this should therefore fix the race issues once and for all.

In order to do this, cp-noerror needs to not error if the directory already exists.

Its also been noticed that aclocal defaults to using STAGING_DATADIR_NATIVE even when
building for the target. Only using the target directory would cause errors such as
missing pkgconfig macros (since we only depend on pkgconfig-native, not pkgconfig).
This patch processes both sets of macros maintaining existing behaviour. At a future
date we could look into potentially optimsing this.

[YOCTO #3216]

(From OE-Core rev: ad29b331e0d61708e68ef772cdb19154956fa67e)

(From OE-Core rev: f362cc419e5a480acd16c71c802636dbedc932d9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoscripts/cp-noerror: Try and use hardlinks if possible
Richard Purdie [Thu, 11 Oct 2012 12:36:53 +0000 (13:36 +0100)]
scripts/cp-noerror: Try and use hardlinks if possible

Since we generally have lots of copies of the directories created using this tool, use
hardlinks where possible. This should save a little disk space and improve performance
slightly.

(From OE-Core rev: bfa11c028c2da093f7b4e6b7b1d611da90ae052f)

(From OE-Core rev: 8c5544c2311b080bb212efb7f6b804db63e125f5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoscripts/cp-noerror: Copy the code from shutils.copytree, update not to error if the...
Richard Purdie [Fri, 5 Oct 2012 15:09:02 +0000 (15:09 +0000)]
scripts/cp-noerror: Copy the code from shutils.copytree, update not to error if the mkdir fails

(From OE-Core rev: 08542718504d2b53d140a9e6be73c84cc0e047e0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agotexi2html: Add check for directory existence
Richard Purdie [Wed, 17 Oct 2012 13:54:01 +0000 (13:54 +0000)]
texi2html: Add check for directory existence

Without this, if configure fails, it won't be able to run again as the directory
already exists.

(From OE-Core rev: 71a3ba536d022eea3a199cf4d6c5c791d91603a0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agodiffutils: Remove rather bizzare gettext macros
Richard Purdie [Wed, 17 Oct 2012 13:52:21 +0000 (13:52 +0000)]
diffutils: Remove rather bizzare gettext macros

diffutils has a rather confused set of getext macros with different names and
strange conflicting version requirements. This patch removes the problematic
macros allowing it to 'gettextize' to the latest standard gettext code without
issue.

(From OE-Core rev: a40b89333652ca22a6e6957ab8a2a4e41b87b4c0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agokexec-tools: Add dependency on xz
Richard Purdie [Wed, 17 Oct 2012 13:50:19 +0000 (13:50 +0000)]
kexec-tools: Add dependency on xz

kexec-tools optionally looks for the lzma code provided by xz. Since this
is generally useful for lzma compressed kernels, add the dependency and
make builds determinstic.

(From OE-Core rev: accea64234124f25345a9288c0739c433de671f8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogettext: Add config.rpath and Makefile.in.in to gettext-minimal-native
Richard Purdie [Wed, 17 Oct 2012 13:47:38 +0000 (13:47 +0000)]
gettext: Add config.rpath and Makefile.in.in to gettext-minimal-native

We need gettext-minimal-native to be able to install config.rpath and
Makefile.in.in so that we don't get version mismatch errors when subsequently
using the reconfigured software.

This patch moves the two files to be provided by minimal-native so
that we can better 'gettextize' software without needing the full
gettext-native when using --disable-nls.

(From OE-Core rev: 6b12d4cd39bacb087654b59e25f5052a4e839b26)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoconsole-tools: Clean up recipe
Richard Purdie [Wed, 17 Oct 2012 12:18:12 +0000 (12:18 +0000)]
console-tools: Clean up recipe

This cleans up various bits of nastiness in this recipe:
  * Drop unneeded m4 macros
  * Update to a recent version of gettext (needs addition of Makevars file)
  * Drop split do_compile and SUBDIRS hacks, just patch out the docs
  * Remove some of the configure.in hacks since they seem unneeded now
    and break gettext (the AC_OUTPUT change).
  * Wipe out acinclude.m4 since it has corrisive contents

(From OE-Core rev: 87a9a3b3b2603516704a38fccc8c396e547ac101)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoqemu: Explicitly disable bluez, its not in DEPENDS
Richard Purdie [Wed, 17 Oct 2012 10:43:38 +0000 (10:43 +0000)]
qemu: Explicitly disable bluez, its not in DEPENDS

(From OE-Core rev: d5745cdc01f7d21999c5983bae5983072e3e8f30)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake.conf: change libexecdir to ${libdir}/${BPN}
Saul Wold [Mon, 15 Oct 2012 22:19:10 +0000 (15:19 -0700)]
bitbake.conf: change libexecdir to ${libdir}/${BPN}

In order to be more compliant with the Filesystem Hierarchs
Standard (FHS), this change removes the /usr/libexec default
in favor of ${libdir}/${BPN} (which is typically /usr/lib).

http://www.pathname.com/fhs/pub/fhs-2.3.html

This also address the native and STAGING variations

[YOCTO #2915]

(From OE-Core rev: 68c31b095a1cb20bd297df596024fc568614f5e8)

(From OE-Core rev: 406bd38b4232f9f399ef5ffe0b4fac72ed605a23)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoxorg-proto: remove evieext
Ross Burton [Fri, 12 Oct 2012 09:32:16 +0000 (09:32 +0000)]
xorg-proto: remove evieext

It was removed from xserver in 2008.

(From OE-Core rev: 574843864dcdb65d28bc2c3753339f123a9bc528)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoxorg: remove xf86rushproto
Ross Burton [Fri, 12 Oct 2012 09:36:20 +0000 (09:36 +0000)]
xorg: remove xf86rushproto

The dependency in xserver is spurious and was removed in 2005.

(From OE-Core rev: aad06196254f1d08696ea0fcf50007ce3be933ac)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosanity.bbclass: trigger network tests explicitly
Bogdan Marinescu [Thu, 11 Oct 2012 11:44:46 +0000 (14:44 +0300)]
sanity.bbclass: trigger network tests explicitly

The network tests in sanity.bbclass can now be trigerred explicitly
by firing the NetworkTest event. This is part of the fix for bug #3026.

[YOCTO #3026]

(From OE-Core rev: f1f43d55dbb020a0145c58731d4259fd906d9d1e)

Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosstate: Use -m option to tar when unpacking sstate
Richard Purdie [Thu, 11 Oct 2012 12:20:20 +0000 (13:20 +0100)]
sstate: Use -m option to tar when unpacking sstate

We've noticed failures on the project autobuilders where a shared sstate
directory is used across multiple builders and the clocks become skewed.

Most of the time this causes harmless building but if this happens where
an environment is changed (make install vs make in qt4-x11-free for example),
the build can fail.

This avoids modification times in the future and should make builds safer
in shared environments sstate was designed for.

(From OE-Core rev: 8f1bdb4f4afd7f5f4c121be8ba82f4675f73e300)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibdrm: Add --disable-cairo-tests switch and update to upstream patch
Daniel Stone [Mon, 8 Oct 2012 09:22:15 +0000 (20:22 +1100)]
libdrm: Add --disable-cairo-tests switch and update to upstream patch

Rather than implicitly relying on Cairo being disabled through not being
present, add a configure switch to forcibly disable it.

The updates the code to use a patch backported from upstream git
instead of our custom version.

(From OE-Core rev: fa9ccb23e5788f331cc868ce4bad4abd1eaeee9c)

Signed-off-by: Daniel Stone <daniel@fooishbar.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibdrm: Bump git recipe to latest 2.4.39+ revision
Daniel Stone [Mon, 8 Oct 2012 09:22:16 +0000 (20:22 +1100)]
libdrm: Bump git recipe to latest 2.4.39+ revision

(From OE-Core rev: 14c4c1de25b73c918a7ebb074359160290e9642f)

Signed-off-by: Daniel Stone <daniel@fooishbar.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoscipts/combo-layer: Fix check_rev_branch() for cases where the revision is on more...
Richard Purdie [Thu, 11 Oct 2012 11:05:35 +0000 (12:05 +0100)]
scipts/combo-layer: Fix check_rev_branch() for cases where the revision is on more than one branch

If a revision is in more than one branch, the check_rev_branch() function can't
cope with it and the tool returns incorrect errror messages. This patch
ensures it copes with this situation.

(From OE-Core rev: 14bd101c6a86dd048da98817f47694fb21504209)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolttng-tools: skip new libexec insane test
Saul Wold [Thu, 13 Sep 2012 04:42:13 +0000 (21:42 -0700)]
lttng-tools: skip new libexec insane test

Because lttng-tools installs files into /usr/lib/lttng/libexec, the test matches
and throws a false positive, so use INSANE_SKIP

(From OE-Core rev: 01300254d710c91b3dbcded9c42f6dcf21b75462)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoqemu: add libexecdir to configure call
Saul Wold [Thu, 13 Sep 2012 04:18:09 +0000 (21:18 -0700)]
qemu: add libexecdir to configure call

This address the following when libexecdir is not set to /usr/libexec

WARNING: QA Issue: qemu: Files/directories were installed but not shipped
  /usr/libexec
  /usr/libexec/qemu-bridge-helper
  /usr/libexec/.debug
  /usr/libexec/.debug/qemu-bridge-helper

(From OE-Core rev: e2fa821033785a44f80002eafac73b7e110023ce)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoinsane.conf: add new libexec test
Saul Wold [Thu, 13 Sep 2012 00:54:00 +0000 (17:54 -0700)]
insane.conf: add new libexec test

This tests for /usr/libexec as we are moving things to /lib/.
the test is ignored if the distro defaults to /usr/libexec.

Currently this test will be disabled by default since the current
value of ${libexecdir} is "/usr/libexec".  Also this tests needs
to be enabled in the WARN_QA list.

[YOCTO #2915]

(From OE-Core rev: 4c60c2779dde6962f342f9c9b61713cf2d3a564c)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agochkconfig: pass CFLAGS to Makefile
Joe Slater [Wed, 10 Oct 2012 22:16:43 +0000 (15:16 -0700)]
chkconfig: pass CFLAGS to Makefile

The environment CFLAGS is not used by the chkconfig
Makefile, so debug and optimization options are ignored.
So, we use RPM_OPT_FLAGS to pass CFLAGS into Makefile.

Upstream-Status:  Inappropriate [configuration]

(From OE-Core rev: ecdb24c21b7b90b83748cbe5891437b2183321d7)

Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopackagegroup-self-hosted: recommend kernel modules instead of depending on them
Marcin Juszkiewicz [Wed, 10 Oct 2012 09:41:14 +0000 (11:41 +0200)]
packagegroup-self-hosted: recommend kernel modules instead of depending on them

Requested kernel modules may be integrated in kernel or totally disabled
as not needed on target.

(From OE-Core rev: 2129b793bc7875d929a91e22be72108d4d15e081)

Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoMove 'tag=' to SRCREV in mtd-utils recipe
Evade Flow [Mon, 8 Oct 2012 17:18:16 +0000 (13:18 -0400)]
Move 'tag=' to SRCREV in mtd-utils recipe

(From OE-Core rev: 1713cef886274b8992977900da1110390d7940d3)

Signed-off-by: Evade Flow <evadeflow@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoMove 'tag=' to SRCREV in btrfs-tools recipe
Evade Flow [Mon, 8 Oct 2012 17:18:15 +0000 (13:18 -0400)]
Move 'tag=' to SRCREV in btrfs-tools recipe

(From OE-Core rev: acb942dbaf118b8021100df95a68fe49dcc77858)

Signed-off-by: Evade Flow <evadeflow@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopopulate_sdk_base.bbclass: Make it possible to override the create_shar method of...
Thomas Kristensen [Mon, 8 Oct 2012 10:43:50 +0000 (12:43 +0200)]
populate_sdk_base.bbclass: Make it possible to override the create_shar method of populate_sdk_base.

If you wish to change the install/unpack method of the sdk, this can now be done by making
your own create_shar method, and setting a SDK_PACKAGING_FUNC variable to your
new create_shar function.

(From OE-Core rev: 3955c8eced352226bb4c9ceb710dbe02474b9024)

Signed-off-by: Thomas Kristensen <thkriste@cisco.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogypsy: removed gypsy from meta/recipes-connectivity
Andrei Dinu [Thu, 4 Oct 2012 10:14:32 +0000 (13:14 +0300)]
gypsy: removed gypsy from meta/recipes-connectivity

removed also entry from meta/recipes-gnome/packagegroups/packagegroup-sdk-gmae.inc

(From OE-Core rev: 817c4e661da1e9baa947a420d690248971301102)

Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agorecipe_sanity: Don't bother checking LICENSE
Phil Blundell [Mon, 1 Oct 2012 16:03:04 +0000 (17:03 +0100)]
recipe_sanity: Don't bother checking LICENSE

Since e3d7890cace71b0a57d2530bf615a58dcb46d96f or so, base.bbclass has
considered invalid LICENSE settings to be a fatal error.  This means we
will never see them so there is no point checking for that.

(From OE-Core rev: e2d71503847f72f55666143a2a320925838fd26f)

Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibnss-mdns: fix mDNS resolving speed
Constantin Musca [Fri, 28 Sep 2012 15:13:12 +0000 (18:13 +0300)]
libnss-mdns: fix mDNS resolving speed

We need to fix the "hosts: files dns mdns4" nsswitch.conf line
because for a .local lookup it does a DNS lookup first which will fail.
The recommended solution is:
hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4

[YOCTO #2502]

(From OE-Core rev: dbb350b90417962f2da4c1064ab0174badeb0f26)

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agognu-config: update to 2012.08.14 to get support for AArch64 architecture
Marcin Juszkiewicz [Mon, 8 Oct 2012 16:23:19 +0000 (18:23 +0200)]
gnu-config: update to 2012.08.14 to get support for AArch64 architecture

(From OE-Core rev: fd082d328f1312847097794dea588ed670206cb4)

Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopcmanfm: mark AArch64 as compatible
Marcin Juszkiewicz [Thu, 4 Oct 2012 14:15:08 +0000 (16:15 +0200)]
pcmanfm: mark AArch64 as compatible

(From OE-Core rev: 468c074ba15cd4b93600d5ba5a1fdc032718d7c3)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopackagegroups: disable kexec, valgrind, lttng, systemtap on AArch64
Marcin Juszkiewicz [Wed, 3 Oct 2012 14:29:01 +0000 (16:29 +0200)]
packagegroups: disable kexec, valgrind, lttng, systemtap on AArch64

(From OE-Core rev: c9514779de7fa6ea4cfa0c911cff25ea8c6a5152)

Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoutil-linux: add AArch64 support
Marcin Juszkiewicz [Wed, 3 Oct 2012 09:20:12 +0000 (11:20 +0200)]
util-linux: add AArch64 support

(From OE-Core rev: 1dbf17d221ee9d50c5de8c04144c92fdc78d6d73)

Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoopenssl: add AArch64 support
Marcin Juszkiewicz [Wed, 3 Oct 2012 09:18:33 +0000 (11:18 +0200)]
openssl: add AArch64 support

(From OE-Core rev: 490b12126aff7e8e59569ebb471ce04ba4962b7c)

Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoinsane.bbclass: add AArch64 support
Marcin Juszkiewicz [Thu, 27 Sep 2012 13:13:08 +0000 (15:13 +0200)]
insane.bbclass: add AArch64 support

(From OE-Core rev: 39d71c8c41276091688decb64d418e1e3637e2b6)

Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agokernel-arch.bblass: add AArch64 support
Marcin Juszkiewicz [Thu, 27 Sep 2012 12:59:25 +0000 (14:59 +0200)]
kernel-arch.bblass: add AArch64 support

(From OE-Core rev: 9583a46221580ba46ebfd6d561d3a4d6b0d42eea)

Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agositeinfo.bbclass: add AArch64 support
Marcin Juszkiewicz [Thu, 27 Sep 2012 12:59:04 +0000 (14:59 +0200)]
siteinfo.bbclass: add AArch64 support

(From OE-Core rev: fde788cf5b0e480a675d2aa256af0915a120bc65)

Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoxorg: remove fontcache support
Ross Burton [Wed, 10 Oct 2012 12:51:16 +0000 (13:51 +0100)]
xorg: remove fontcache support

This was removed from the Xorg server in 2008.

(From OE-Core rev: 02fc0a197ca16e983becb0aedeb9238a0aeb6661)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibxfont: remove spurious dependency on fontcacheproto
Ross Burton [Wed, 10 Oct 2012 12:49:21 +0000 (13:49 +0100)]
libxfont: remove spurious dependency on fontcacheproto

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoxorg: remove all traces of XPrint
Ross Burton [Wed, 10 Oct 2012 12:43:20 +0000 (13:43 +0100)]
xorg: remove all traces of XPrint

The XPrint server was removed from Xorg in 2008.

(From OE-Core rev: 5b3748d463a6666c0d8e2624092619da8d8e6328)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoxserver-xorg: use INC_PR in PR
Ross Burton [Wed, 10 Oct 2012 12:36:54 +0000 (13:36 +0100)]
xserver-xorg: use INC_PR in PR

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoxorg: remove XTrap
Ross Burton [Wed, 10 Oct 2012 12:29:21 +0000 (13:29 +0100)]
xorg: remove XTrap

This functionality was broken upstream so it was removed.

(From OE-Core rev: 7661d15957525885e5e9b1129da7a99eef19f4be)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agomesa: remove libegl-dbg, put all debugging into mesa-dri-dbg
Ross Burton [Tue, 9 Oct 2012 16:10:30 +0000 (17:10 +0100)]
mesa: remove libegl-dbg, put all debugging into mesa-dri-dbg

(From OE-Core rev: c914495e1431ad56fcd81460fa4f675be3b4be3b)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agomesa: remove mesa-dri dependency in mesa-dri-dev
Ross Burton [Tue, 9 Oct 2012 15:57:38 +0000 (16:57 +0100)]
mesa: remove mesa-dri dependency in mesa-dri-dev

mesa-dri is empty, so instead of allowing an empty package, remove the default
dependency on mesa-dri and let the system not generate mesa-dri.

(From OE-Core rev: 5d6596321a996278ffbaa111247367ec9e50d721)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoxf86-video-intel: bump to latest release
Ross Burton [Mon, 24 Sep 2012 12:11:22 +0000 (13:11 +0100)]
xf86-video-intel: bump to latest release

(From OE-Core rev: fa248f86105ddd4a1b0be039ee8e85ab275c4e44)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoxserver-xorg: upgrade to 1.11.4
Ross Burton [Mon, 24 Sep 2012 11:10:39 +0000 (12:10 +0100)]
xserver-xorg: upgrade to 1.11.4

gcc-47-warning.patch was integrated, so drop.

Add pkgconfig-deps.patch, a backport of a commit to fix bad exposed library
dependencies (which resulted in the keyboard driver depending on pixman).

(From OE-Core rev: 723e81af2a5b07024ab744c14cdccc12f554ef12)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agostrace: Don't package strace-graph
Phil Blundell [Wed, 26 Sep 2012 10:18:29 +0000 (11:18 +0100)]
strace: Don't package strace-graph

Commit 9c9ea24b115a9bb87df1323b5f185ce426262aec made strace depend on perl because the
strace-graph script needs it.  However, this cost of the dependency is large (building
all of perl) and the value of the script is marginal.  Let's just delete the script
instead and remove the dependency again.

If anybody wants strace-graph then it should be packaged in its own recipe and that one
can be made to depend on perl without disrupting the main strace package.

(From OE-Core rev: 2e887af1c81f9b373684180f61a7c25163ed0e2c)

Signed-off-by: Phil Blundell <pb@pbcl.net>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agomodule.bbclass: Move do_make_scripts() to module-base
Phil Blundell [Tue, 25 Sep 2012 11:55:04 +0000 (12:55 +0100)]
module.bbclass: Move do_make_scripts() to module-base

It's sometimes useful to have this function available to recipes which
don't wish to use module.bbclass for whatever reason.

(From OE-Core rev: 7632b44e7f487180811d47fbe9c29aa8e58868a2)

Signed-off-by: Phil Blundell <pb@pbcl.net>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoxf86-input-keyboard: upgrade to 1.6.2
Ross Burton [Tue, 25 Sep 2012 13:49:03 +0000 (14:49 +0100)]
xf86-input-keyboard: upgrade to 1.6.2

(From OE-Core rev: 1c2ffdf26bdb2e1443dddb143e0e96760e6572bf)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agokernel.bbclass, module.bbclass: Make update-modules optional
Phil Blundell [Wed, 26 Sep 2012 12:02:26 +0000 (13:02 +0100)]
kernel.bbclass, module.bbclass: Make update-modules optional

The update-modules mechanism is something of a historical relic and it isn't
entirely clear that it has a great deal of value nowadays.  Also, it causes a
problem when building a read-only rootfs since update-modules itself refuses
to configure offline.

Allow DISTROs to circumvent this whole thing by declaring (via DISTRO_FEATURES)
that they don't wish to use update-modules.  This is backfilled for existing
distributions and will have to be marked as CONSIDERED by those who actually
don't want it.

(From OE-Core rev: 14bf8ed115453077b4d4042b4b70ed6b3bca2a9f)

Signed-off-by: Phil Blundell <pb@pbcl.net>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogettext: Remove spurious-looking dependencies on libxml2-native
Phil Blundell [Wed, 26 Sep 2012 10:30:53 +0000 (11:30 +0100)]
gettext: Remove spurious-looking dependencies on libxml2-native

These were added in aae5021101224344a2b1a3af5becf74291fbbfe5, ostensibly to resolve
some sort of "host contamination" issue.  However, that commit contains no information
about what contamination was being observed or how the dependencies help.

gettext-native is being configured --with-included-libxml so it shouldn't be using
libxml2 from either the host or the sysroot, in which case the dependency would seem
to be useless.  Using the included copy of libxml2 is in any case preferable to adding
a dependency on libxml2-native because the latter brings quite a large stack of other
dependencies with it.

(From OE-Core rev: 132d329638ae32b98c36b9498c470cf0ffdcedb3)

Signed-off-by: Phil Blundell <pb@pbcl.net>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoxf86-video-fbdev: bump to 0.4.3
Ross Burton [Mon, 24 Sep 2012 12:30:37 +0000 (13:30 +0100)]
xf86-video-fbdev: bump to 0.4.3

(From OE-Core rev: 6157644e3ca06a97bee2294d1a55c5c17b0f52b1)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoxf86-input-evdev: bump to latest release
Ross Burton [Mon, 24 Sep 2012 12:30:26 +0000 (13:30 +0100)]
xf86-input-evdev: bump to latest release

(From OE-Core rev: 1f73a2ded611de659be05efe734753f538fd84a1)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agocpan_build: Unify directory layout for native and target builds
Phil Blundell [Tue, 25 Sep 2012 21:33:01 +0000 (22:33 +0100)]
cpan_build: Unify directory layout for native and target builds

There seems to be no benefit in having them be different and this
appears to cause a certain amount of confusion about paths for
the native modules.

(From OE-Core rev: 3926a45a26c2d23d9c2fc9c3956f780f607ec7a4)

Signed-off-by: Phil Blundell <pb@pbcl.net>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoAdd packagegroup-core-buildessential
Colin Walters [Mon, 24 Sep 2012 23:54:42 +0000 (19:54 -0400)]
Add packagegroup-core-buildessential

[Not heavily tested, but sent for discussion]

task-core-sdk is too big - for example, I simply don't want to ship tcl, ever =)
Historically distcc caused a large dependency graph explosion because it has
a utility which uses gtk+, although that was fixed.

packagegroup-core-sdk also includes coreutils, which is a bit
confusing; conceptually things dependent on coreutils should pull it
in explicitly, or possibly we just declare coreutils to be in the
minimal build set.

So packagegroup-core-buildessential is intended to be similar to
Debian's "build-essential" package.  It's the stuff needed by say 80+%
of components, not worth repeating over and over.

(From OE-Core rev: 7d6cc169c95fecf6388a275281eb8b8f5d8eb4a2)

Signed-off-by: Colin Walters <walters@verbum.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibtool: Ensure the paths to sed are not hardcoded
Richard Purdie [Thu, 11 Oct 2012 08:41:05 +0000 (08:41 +0000)]
libtool: Ensure the paths to sed are not hardcoded

If you:

bitbake sed-native
bitbake libtool-cross

then libtool-cross has SED="/path/to/sysroot/sed" which is incorrect. If that
is reused from sstate or sed-native is cleaned, the build will fail.

This patch simply sets sed to be "sed" since we're not on systems where
the sed from PATH is broken.

(From OE-Core rev: 86c6fa8175482283268dfa8782c6643a3510e0fd)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopkgconfig: Drop automatic pkgconfig RDEPENDS
Richard Purdie [Mon, 8 Oct 2012 15:44:06 +0000 (15:44 +0000)]
pkgconfig: Drop automatic pkgconfig RDEPENDS

Just because a recipe uses pkgconfig, it doesn't mean that it's -dev
package should RDEPENDS on pkgconfig. I can understand the thinking
that lead to this but it makes sense to be able to install the package
when pkgconfig hasn't been built.

Currently you can also get failures where pkgconfig wasn't built yet
a -dev package is included that depends on it leading to rootfs failures.

I considered making this a RRECOMMENDS but it should probably be an
RSUGGESTS at best given the tenuous pkgconfig requirement any given
-dev package has.

(From OE-Core rev: 8f41b69578eef5ea750e8f93dcd9d37375ce7d88)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopackage: Recommend virtual-locale-*, don't depend on it
Richard Purdie [Mon, 8 Oct 2012 15:41:34 +0000 (15:41 +0000)]
package: Recommend virtual-locale-*, don't depend on it

The virtual-locale-* packages are provided by libc which may or
may not have a matching locale for any given recipes's provided locales.
Certainly, we shouldn't get a failure if the locale package isn't
available.

This patch therefore makes the dependency optional rather than
required, allowing the locale packages in question to install. This
resolves errors like:

virtual-locale-eo is needed by bash-locale-eo-4.2-r5.i586
virtual-locale-en+boldquot is needed by bash-locale-en+boldquot-4.2-r5.i586
virtual-locale-en+quot is needed by bash-locale-en+quot-4.2-r5.i586

(From OE-Core rev: 2be67f95abaa7e8655a1ca8f4ffe66b3e099a650)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibc-package: Drop bogus replacement operation
Richard Purdie [Mon, 8 Oct 2012 15:38:52 +0000 (15:38 +0000)]
libc-package: Drop bogus replacement operation

The names used to generate the binary-localdata packages need to match the location
the dependencies are added. In one case the dash replacement is made, in the other it
is not leading to packages which cannot be installed:

eglibc-binary-localedata-af-za.iso88591 is needed by locale-base-af-za.iso-8859-1-2.16-r22.i586
eglibc-binary-localedata-cs-cz.iso88592 is needed by locale-base-cs-cz.iso-8859-2-2.16-r22.i586
eglibc-binary-localedata-ru-ru.koi8r is needed by locale-base-ru-ru.koi8-r-2.16-r22.i586
eglibc-binary-localedata-pl-pl.iso88592 is needed by locale-base-pl-pl.iso-8859-2-2.16-r22.i586
eglibc-binary-localedata-hu-hu.iso88592 is needed by locale-base-hu-hu.iso-8859-2-2.16-r22.i586
eglibc-binary-localedata-de-at+euro.iso885915 is needed by locale-base-de-at+euro.iso-8859-15-2.16-r22.i586
eglibc-binary-localedata-sv-fi.iso88591 is needed by locale-base-sv-fi.iso-8859-1-2.16-r22.i586

This fixes things so the names are consistent.

(From OE-Core rev: 17e1bfe2b1260add9749b5ff73c72d57c0215fdc)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogitignore: Fix for poky repository
Richard Purdie [Thu, 11 Oct 2012 12:52:14 +0000 (13:52 +0100)]
gitignore: Fix for poky repository

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogdbm: Resolve host contamination issue
Richard Purdie [Wed, 10 Oct 2012 21:39:36 +0000 (21:39 +0000)]
gdbm: Resolve host contamination issue

The autoconf macros detect the presence of -ldbm or -lndbm on the host
system and add the library to link against, for now good reason I can
explain.

This patch makes the build behave determinstically whether they're
present or not. Other than the extra linkage, there doesn't appear to be
any other change in behaviour from these options and they look like
dead code.

The extra linkage can cause problems where sstate is used on a machine
where the extra librbary isn't present causing build failures.

(From OE-Core rev: f609bf5525450bfdb8e0864d44c41cce7f9319c9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopkgconfig: Drop the RREPLACES for pkgconfig-dev
Richard Purdie [Wed, 10 Oct 2012 16:56:41 +0000 (17:56 +0100)]
pkgconfig: Drop the RREPLACES for pkgconfig-dev

This line causes pkgconfig-dev to replace pkgconfig so the package with all the files
in is replaced by one with no files. This makes no sense and hence we should just
remove this broken line.

At this point in the release, this is the safest way to fix this even if an empty -dev
package is left available.

[YOCTO #2878]

(From OE-Core rev: 5bed2bb831b379a8fbf2f725435af4b7c934359e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoeglibc: force make to use /bin/bash
Saul Wold [Wed, 10 Oct 2012 15:55:45 +0000 (08:55 -0700)]
eglibc: force make to use /bin/bash

The eglibc core build still has a number of issues with /bin/dash.
Recently found is both sysdeps/unix/make-syscalls.sh and it's output,
which make calls via SHELL do not play well with /bin/dash. By force
make to use /bin/bash via SHELL setting it works correctly.

Currenly known issues are: make-syscalls.sh line with a bad substitution,
which can be corrected by:
     vdso_symver="$(printf '%s\n' ${vdso_symver} | sed 's/\./_/')"

Following that there is an issue with emiting a '\n' through a second
echo and then to the compiler. There maybe more issues beyond that.

[YOCTO #3080]

(From OE-Core rev: 9d002f7cdc5309c4d850a76e4fd73ff04c980a07)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoperl: add archlib_exp variable used to generate ARCHLIB_EXP in config.h
Tom Zanussi [Wed, 10 Oct 2012 00:48:24 +0000 (19:48 -0500)]
perl: add archlib_exp variable used to generate ARCHLIB_EXP in config.h

perl.c uses an ARCHLIB_EXP define to generate compile-time code that
adds the archlibexp path to @INC during run-time initialization of a
new perl interpreter.

Because we've changed this value in a temporary way to make it
possible to use ExtUtils::Embed in the target build (the temporary
value in config.sh gets re-stripped out during packaging), the
ARCHLIB_EXP value that gets generated still uses the temporary version
instead of the original expected version (i.e. becauses it's in the
generated config.h, it doesn't get stripped out during packaging like
the others in config.sh).

This creates an unmodified version called archlib_exp that gets used
by a modified config_h.SH to get the correct value into config.h

This patch uses an unmodified version of archlibexp called
archlib_exp, introduced to config.sh, which is used to generate the
correct value of ARCHLIB_EXP into config.h

Fixes [YOCTO #3099].

(From OE-Core rev: cbcfdeb1d55e2e76f199750bda401bad126ae234)

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosstate-cache-management: hide error message when one of possible layer location doesn...
Martin Jansa [Tue, 9 Oct 2012 09:30:16 +0000 (11:30 +0200)]
sstate-cache-management: hide error message when one of possible layer location doesn't exist

* fixes [YOCTO #3116]

(From OE-Core rev: bde88116d9d7e86ca7ecac4cf990689f972b0b1c)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: hob-toolchain: task-core-standalone-sdk-target renamed to packagegroup-core...
Andrei Dinu [Tue, 9 Oct 2012 13:23:26 +0000 (16:23 +0300)]
bitbake: hob-toolchain: task-core-standalone-sdk-target renamed to packagegroup-core-standalone-sdk-target

This change also applies to task-core-standalone-sdk-target-dbg and resolves
build failures caused by the missing packages.

(Bitbake rev: 4cd0200e96fb282980a945b80af641a6e022e0b4)

Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobzip license: bzip2 not bzip.
Flanagan, Elizabeth [Tue, 9 Oct 2012 19:28:54 +0000 (12:28 -0700)]
bzip license: bzip2 not bzip.

The name of the license for bzip2 is wrong causing warnings
to be thrown.

(From OE-Core rev: 566c6101cc7a8d90973eb22478ffc77eac23f81c)

Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogcc-cross-canadian: Fix gettext dependency
Richard Purdie [Wed, 10 Oct 2012 13:41:05 +0000 (13:41 +0000)]
gcc-cross-canadian: Fix gettext dependency

There was a problem in commit ad23395cd1f6c0cbfcc6980b6071d589f9f6cde0 since
gettext-nativesdk was translated to gettext instead of nativesdk-gettext.

This fixes to use the correct dependency.

(From OE-Core rev: a6e325342cb489e05927d6cb2bb0a24fa6c20ef8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: hob/imageconfigurationpage: a 'hob-image' appears listed in the base image...
Cristiana Voicu [Mon, 8 Oct 2012 10:05:06 +0000 (13:05 +0300)]
bitbake: hob/imageconfigurationpage: a 'hob-image' appears listed in the base image combo box

-remove this image from image combo box

[YOCTO #3230]

(Bitbake rev: 90fd57ee3cb2856c10bda1f5af4879d2b7cf2668)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: hob/hobeventhandler: Describe the runCommand failure exception
Constantin Musca [Fri, 5 Oct 2012 12:31:59 +0000 (15:31 +0300)]
bitbake: hob/hobeventhandler: Describe the runCommand failure exception

[YOCTO #1245]

(Bitbake rev: 17f28f09452f70dfb67fce9a397a99deec84dfe5)

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolinux-yocto/3.4: perf: parallel build and tools fixes
Bruce Ashfield [Mon, 8 Oct 2012 13:49:38 +0000 (09:49 -0400)]
linux-yocto/3.4: perf: parallel build and tools fixes

korg commit 42dcd1f4e [perf tools: Fix parallel build] fixes parallel
build issues that are being seen in the autobuilder.

We also have a fix from Tom:

[
    perf annotate: replace 'expand' with equivalent sed expression

    We don't have 'expand' in our userspace so we need to accomplish the
    same thing using 'sed', which we do have.
]

So we apply it to all BSP branches and kernel types.

(From OE-Core rev: f06e7d38db35c56c71a42264361ec45fb3777a14)

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosstate: Also add datadir/sgl to sstate whitelist to avoid openjade warning
Richard Purdie [Mon, 8 Oct 2012 07:57:02 +0000 (07:57 +0000)]
sstate: Also add datadir/sgl to sstate whitelist to avoid openjade warning

(From OE-Core rev: e0ff54db5a5ab171ee1d0dbcf7f267235c21e601)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoqemu: When applying qemu-mips workaround, check the file exists first
Richard Purdie [Mon, 8 Oct 2012 08:21:46 +0000 (09:21 +0100)]
qemu: When applying qemu-mips workaround, check the file exists first

If qemu-mips was disabled as done in some distros, this wrapper would fail.
Therefore check if the file exists before wrapping it.

(From OE-Core rev: 9ec1c06915b10d142bf5646396c4e91bb61a40a5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolinux-yocto-tiny: Add tiny recipe for the 3.4 linux-yocto kernel
Darren Hart [Fri, 5 Oct 2012 22:30:48 +0000 (22:30 +0000)]
linux-yocto-tiny: Add tiny recipe for the 3.4 linux-yocto kernel

This recipe builds the "tiny" kernel type defined by the linux-yocto
meta-data. Support is defined for the qemux86 machine via
common-pc-tiny.scc in the linux-yocto meta branch. The resulting
kernel is 1.8 MB and boots to a serial console with with qemux86 and
core-image-minimal using the following command:

qemu -kernel tmp/deploy/images/bzImage-qemux86.bin -initrd tmp/deploy/images/core-image-minimal-qemux86.cpio.gz -append "root=/dev/ram0 console=ttyS0" -nographic

(From OE-Core rev: cf25f211ec420e1e8dd48c8e62f60deefe2c6d53)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agonfs-export-root: add explict no_subtree-check to suppress warning
Saul Wold [Mon, 8 Oct 2012 01:07:11 +0000 (18:07 -0700)]
nfs-export-root: add explict no_subtree-check to suppress warning

exportfs: /etc/exports [1]: Neither 'subtree_check' or 'no_subtree_check' specified for export "*:/".
  Assuming default behaviour ('no_subtree_check').
  NOTE: this default has changed since nfs-utils version 1.0.x

(From OE-Core rev: 1438228d3b54dfdcf8c36154c927c80fcecf688e)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolinux-yocto/3.4: tiny: Add qemu KMACHINE to common-pc-tiny.scc
Bruce Ashfield [Mon, 8 Oct 2012 04:05:19 +0000 (00:05 -0400)]
linux-yocto/3.4: tiny: Add qemu KMACHINE to common-pc-tiny.scc

Updating the meta SRCREV to pickup the following change:

  Ensure the qemux86 machine is defined in common-pc-tiny as it is
  for -standard and -rt.

(From OE-Core rev: 1076910ac3cd55a3f87b5ca7a1db1e38c623480a)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolinux-yocto/3.4: fix kconfig warnings and unnecessary options
Bruce Ashfield [Mon, 8 Oct 2012 04:05:18 +0000 (00:05 -0400)]
linux-yocto/3.4: fix kconfig warnings and unnecessary options

Updating the kernel configuration fragments to fix the following
issues:

  - remove options that are no longer in the 3.4 kernel
  - disable unused, but large kernel modules
  - fix kconfig audit warnings for x86 BSPs
  - make uprobes reusable by multiple fragments

The following meta branch commits are represented by this update:

  3da1172 uprobes: split into enable and patch fragments
  17ec51a meta: cleanup invalid/obselete 3.4 CONFIG options
  b5cee42 meta: disable OCFS2 by default
  efe937e meta: drm: tag DRM options as 'hardware'
  10b5155 meta: emenlow: clean emenlow configuration warnings
  a907b82 meta: add CONFIG_SHMEM to standard kernel config

(From OE-Core rev: a01bb3ec72c375c0f06006769969f63fed3ef566)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agooe-buildenv-internal: Add BB_NO_NETWORK to BB_ENV_EXTRAWHITE
Otavio Salvador [Sat, 6 Oct 2012 21:00:38 +0000 (18:00 -0300)]
oe-buildenv-internal: Add BB_NO_NETWORK to BB_ENV_EXTRAWHITE

This allows for use of bitbake in offline mode, but override it in
command line.

(From OE-Core rev: bcefd015fb163d9c382ae05a86569dbcfd3d736a)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopulseaudio: ensure X11 and consolekit are disabled
Saul Wold [Fri, 5 Oct 2012 23:59:03 +0000 (16:59 -0700)]
pulseaudio: ensure X11 and consolekit are disabled

When DISTRO_FEATURES does not include X11 ensure that both x11
and gtk are diabled correctly.  ConsoleKit also has x11, so ensure
that any RDEPENDS is also excluded.

The flags for x11 changed at somepoint to use enable/disable, but
this recipe was not updated.

(From OE-Core rev: 0730d3449aa28600488e73de883240ba2bd60aec)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopackage_rpm.bbclass: Fix an issue where complementary installs fail
Mark Hatle [Fri, 5 Oct 2012 18:21:51 +0000 (11:21 -0700)]
package_rpm.bbclass: Fix an issue where complementary installs fail

Also ensure that we always cleanup the temporary install manifest files,
some of them will cause problems if they exist in multiple install
attempts.

Finally verify that the lists remain uniquely sorted otherwise the
complementary install may install the same files numerous times,
triggering a failure.

(From OE-Core rev: 4f2a290cbcc6c21afbb2a6e6148efdef4d135b41)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>