scm/bb/tizen-distro.git
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>
11 years agosstate: Add extra entries to the sstate duplicate files whitelist
Richard Purdie [Fri, 5 Oct 2012 13:13:13 +0000 (13:13 +0000)]
sstate: Add extra entries to the sstate duplicate files whitelist

This avoids errors where gcc/binutils get installed to the native sysroot
in the same location for multiple package architectures. Ultimately making
these native recipes with ${PACKAGE_ARCH} appended to PN will resolve this
but hide the warnings until this gets sorted out.

Also hide the python and docbook catalog warnings since they're known about,
nothing to worry about and we'll aim to clean them up properly in the 1.4 cycle.

(From OE-Core rev: 5bae58a5b59c04d8947f4842f19837a914c29b52)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosstate: Normalise paths before comparing with the whitelist
Richard Purdie [Fri, 5 Oct 2012 13:12:15 +0000 (13:12 +0000)]
sstate: Normalise paths before comparing with the whitelist

Without this, path components like // could break comparisions with the whitelist leading
to warnings being displayed to the user unintentionally.

(From OE-Core rev: d3c46ca56fab2f07bf16b61514f30765543a8747)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibdrm: Explicitly disable the cairo dependency
Richard Purdie [Fri, 5 Oct 2012 11:46:05 +0000 (11:46 +0000)]
libdrm: Explicitly disable the cairo dependency

We don't want the cairo dependency. Unfortunately simply checking whether its present
isn't good enough. If its not in DEPENDS, it can disappear half way through building.
We therefore need to explictly disable it.

(From OE-Core rev: 51df11c5747f69b4112121df78fc1e10644d390a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agotoolchain-scripts.bbclass: Export M4
Khem Raj [Thu, 4 Oct 2012 23:47:39 +0000 (16:47 -0700)]
toolchain-scripts.bbclass: Export M4

some packages use M4 variable from environment and sometimes
its hardcoded to /usr/bin/m4 if not found in environment. Lets
define it such that it is picked from path

(From OE-Core rev: 06c5593d15f206458b9a5b45ed1229abfee16e95)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agocross-canadian.bbclass: add native chrpath dependency
Laurentiu Palcu [Fri, 5 Oct 2012 10:22:27 +0000 (13:22 +0300)]
cross-canadian.bbclass: add native chrpath dependency

In order for the RPATHs in 32bit toolchain binaries to be relocated
properly, chrpath >=0.14 is needed.

[YOCTO #3161]
[YOCTO #3201]

(From OE-Core rev: 71c71b972100803d33fbb062a237e8a15167387b)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agorunqemu: allow multiple unfs instances to run simultaneously
Scott Garman [Wed, 3 Oct 2012 22:13:53 +0000 (15:13 -0700)]
runqemu: allow multiple unfs instances to run simultaneously

A miscalculation in the way the port numbers of mountd and nfsd
are created was causing conflicts when starting multiple instances
of qemu using userspace nfs.

Thanks to Rudolf Streif for proposing this fix!

Fixes [YOCTO #1969]

(From OE-Core rev: 94eef772c283170d19ba92c8de0054cd093fc487)

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agorunqemu-export-rootfs: improve rpcbind error detection
Scott Garman [Wed, 3 Oct 2012 22:13:52 +0000 (15:13 -0700)]
runqemu-export-rootfs: improve rpcbind error detection

mountd requires rpcbind or portmap. Check that one of these
services is running before doing anything else, and report
a user-friendly error when they are not found.

(From OE-Core rev: 16d6ec51f4b976c9b86a8b6bf6251089df2d2732)

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agorunqemu-export-rootfs: use consistent whitespace
Scott Garman [Wed, 3 Oct 2012 22:13:51 +0000 (15:13 -0700)]
runqemu-export-rootfs: use consistent whitespace

(From OE-Core rev: b05185240669e0ae811a23620913b35ca99493fb)

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agocommon-licenses: Adding bzip
Flanagan, Elizabeth [Wed, 3 Oct 2012 19:41:15 +0000 (12:41 -0700)]
common-licenses: Adding bzip

bzip requires it's own specific license.

(From OE-Core rev: df2b756436b90f8f9ff229ba64d0af30d9d4f923)

Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: hob/hobeventhandler: Throw an exception if runCommand fails
Constantin Musca [Thu, 4 Oct 2012 05:15:52 +0000 (08:15 +0300)]
bitbake: hob/hobeventhandler: Throw an exception if runCommand fails

- throw a Hob exception if runCommand returns 'Busy' or
'No such command'

[YOCTO #1245]

(Bitbake rev: 5a8e3baa66f845599a616f080a7efce81ecda631)

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobuild-appliance-image: Fix spacing in DESCRIPTION
Paul Eggleton [Wed, 3 Oct 2012 14:53:27 +0000 (15:53 +0100)]
build-appliance-image: Fix spacing in DESCRIPTION

Fixes [YOCTO #2636]

(From OE-Core rev: 831b88806a3cb0125003aa6d3348716bcfd662a1)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoshutdown-desktop: ensure the postinst script succeeds
Ross Burton [Thu, 4 Oct 2012 11:37:19 +0000 (12:37 +0100)]
shutdown-desktop: ensure the postinst script succeeds

When the hostname isn't qemuarm the grep fails so the postinst fails. Stop this
happening by explicitly evaluating true.

[YOCTO #3224]

(From OE-Core rev: 8848ea6793ddaab61c9dad250ec578d68d7d087d)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosato-icon-theme: use gtk-icon-cache helper class
Ross Burton [Thu, 4 Oct 2012 11:19:03 +0000 (12:19 +0100)]
sato-icon-theme: use gtk-icon-cache helper class

Instead of explicitly updating the icon cache use the helper class that also
forces a loader update at the same time.  This eliminates the possibility of
updating the icon cache without any gdk-pixbuf loaders.

Also check that the Sato icon theme isn't already set to avoid appending to the
file every time the postinst runs.

[YOCTO #2399]

(From OE-Core rev: 9d98dbdae4c05fcf50d546f554a04dc3f0bd66c3)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agodistrodata: Update distrocheck functions
Saul Wold [Wed, 3 Oct 2012 16:33:16 +0000 (09:33 -0700)]
distrodata: Update distrocheck functions

Fix the distro check functions for the change of nativesdk
being a suffix to a prefix. Also added crosssdk as another
case for converting to PN for matching in the distro_tracking

(From OE-Core rev: ae9dbd0e1e26ba2b35cbd08ec731aee62adedc23)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: hob/imagedetailspage: disable the deploy tool for qemu machines
Constantin Musca [Wed, 3 Oct 2012 09:04:17 +0000 (12:04 +0300)]
bitbake: hob/imagedetailspage: disable the deploy tool for qemu machines

- qemu images cannot be deployed to hardware, even if live
images (hddimg and iso) files are created

[YOCTO #3196]

(Bitbake rev: 001b1c439ffa450cb8728b0fa9469fed63ae9bed)

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: hob/settings: alignment and spacing fixes on "Shared state" tab
Cristiana Voicu [Wed, 3 Oct 2012 10:06:22 +0000 (13:06 +0300)]
bitbake: hob/settings: alignment and spacing fixes on "Shared state" tab

-alignment and separation on vertical and horizontal axis
-change controls width
[YOCTO #3188]

(Bitbake rev: a84c466eae7c2616c041faf930163f23834f0685)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: hob/image_details/run_image: Kernel must be set
Ioana Grigoropol [Wed, 3 Oct 2012 11:13:18 +0000 (14:13 +0300)]
bitbake: hob/image_details/run_image: Kernel must be set

- when displaying image details, even if the kernel information is not shown, the kernel value must be set (if dealing with qemu) otherwise running the image will throw an error
(Bitbake rev: 334125a98ecb8a938aee4bc530205ad75099361c)

Signed-off-by: Ioana Grigoropol <ioanax.grigoropol@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: fetch2: raise an exception if user specifies protocol=git with http://
Paul Eggleton [Wed, 3 Oct 2012 12:27:57 +0000 (13:27 +0100)]
bitbake: fetch2: raise an exception if user specifies protocol=git with 

It is a common mistake to use http:// and protocol=git when attempting
to fetch from a git repository using the http protocol; if this is
detected then throw an error explaining that you need to use git:// with
protocol=http instead.

(Bitbake rev: 5bc4930c1638db16bcd5f9c8cfc4081f9ffc192b)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agorpmresolve: fix reporting of multiple matches error
Paul Eggleton [Wed, 3 Oct 2012 12:37:16 +0000 (13:37 +0100)]
rpmresolve: fix reporting of multiple matches error

We were mistakenly writing what was meant to go to stderr into the
output file, so when the "Multiple matches" error showed we weren't
actually seeing the matches printed.

Also change the wording of the "Unable to find package..." to "Unable
to resolve package..." instead so that it makes more sense if it is
printed after the "Multiple matches" error.

(From OE-Core rev: c26542eb4e8707b9639ec309a44809a728839db8)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobuildhistory_analysis: update to use explode_dep_versions2()
Paul Eggleton [Wed, 3 Oct 2012 12:37:15 +0000 (13:37 +0100)]
buildhistory_analysis: update to use explode_dep_versions2()

Handle where multiple version specifications are present for the same
dependency.

(From OE-Core rev: 1600c916ae410c57a783a5aa35abe07a3f673311)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoqemu: Fixed running QEMU with virtio error reporting
Cristian Iorga [Wed, 3 Oct 2012 12:18:58 +0000 (15:18 +0300)]
qemu: Fixed running QEMU with virtio error reporting

If vhost_net module is not properly installed,
runqemu script will report the error and
provide the user with a link to the guide.
Also corrected small cosmetic issues in
runqemu script messages.
Also removed <> (read/write) check.

Fixes [YOCTO #3184]

(From OE-Core rev: f7365f62325189b0f9a9a1d440f11f2356c8f01d)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agowpa-supplicant: don't break the DBus service file
Ross Burton [Wed, 3 Oct 2012 12:12:18 +0000 (13:12 +0100)]
wpa-supplicant: don't break the DBus service file

The recipe exports $BINDIR as ${sbindir} and the build system uses this when
writing the DBus service file, so sedding it and replacing $base_sbindir with
$sbindir (/sbin and /usr/sbin) isn't useful when it ends up as
/usr/usr/sbin/wpa_supplicant.

[YOCTO: #3202]

(From OE-Core rev: 41388c3ae0f4d9cd07e1599fbe125123c20820f8)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: providers.py: Fix PREFERRED_VERSION containing epochs
Richard Purdie [Wed, 3 Oct 2012 12:29:59 +0000 (13:29 +0100)]
bitbake: providers.py: Fix PREFERRED_VERSION containing epochs

For some reason the code calls int() on the epoch component of any
PREFERRED_VERSION. Since this is compared against strings, the comparison
would always fail. This removes the stray cast and allows epochs
in preferred_version to work correctly.

[YOCTO #3187]

(Bitbake rev: 117b47553970fc5307374cbf500744b7c302efb4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoxf86-video-intel: drop libxvmc dependency
Ross Burton [Mon, 1 Oct 2012 10:18:51 +0000 (11:18 +0100)]
xf86-video-intel: drop libxvmc dependency

xvmc is explicitly disabled, so remove the dependency.

(From OE-Core rev: eb96be4db46039752c44dc37ef676eaac04e3dba)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoqemu: add wrapper for qemu-mips binary
Laurentiu Palcu [Wed, 3 Oct 2012 11:23:26 +0000 (14:23 +0300)]
qemu: add wrapper for qemu-mips binary

qemu-mips user emulation binary segfaults when running any kind of
binary. This is due to a MMU access fault in the virtual CPU. This
problem has been introduced in qemu when 4GB of vmem were reserved for
32-on-64 bit.

This workaround will need to be reverted once the proper fix is found.

[YOCTO #3143]

(From OE-Core rev: 53b3103abdf21123b1c7be49b05cfe97a7cd9ed7)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoe2fsprogs: Don't install findfs
Phil Blundell [Tue, 2 Oct 2012 17:16:24 +0000 (18:16 +0100)]
e2fsprogs: Don't install findfs

This binary is provided by util-linux nowadays.  Fixes:

WARNING: The recipe is trying to install files into a shared area when those files already exist. Those files are:
     /fast/jenkins/workspace/.../tmp-eglibc/sysroots/x86_64-linux/sbin/findfs

(From OE-Core rev: e71c6bb75239926aceebbb53d158cbf8de6112a4)

Signed-off-by: Phil Blundell <pb@pbcl.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobzip2 and busybox: Incorrect LICENSE
Elizabeth Flanagan [Tue, 2 Oct 2012 23:01:42 +0000 (16:01 -0700)]
bzip2 and busybox: Incorrect LICENSE

The license for bzip2 is not quite BSD. I have an email out to the
maintainer to see if we can utilize a common BSD license (or something
else) however, for now, we should revert bzip2 back to a special
license.

As busybox also utilizes a lightly modified bzip2, this also
effects busybox.

(From OE-Core rev: a0b132798d2c1adf79414787b8317327a554f852)

Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolinux-yocto-custom: Clarify defconfig usage
Darren Hart [Wed, 3 Oct 2012 04:36:41 +0000 (21:36 -0700)]
linux-yocto-custom: Clarify defconfig usage

It is necessary to supply file://defconfig to the SRC_URI when using
a defconfig (it is not implicitly understood as the commentary might
currently suggest).

(From OE-Core rev: 3e244e0e9c10438c2236e56b3de664d4560791f0)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopackage.bbclass: Fix regression in -dbg packages introduced by explode_dep_versions...
Richard Purdie [Wed, 3 Oct 2012 08:58:24 +0000 (09:58 +0100)]
package.bbclass: Fix regression in -dbg packages introduced by explode_dep_versions change

We need to iterate over the dictionary pulling out the values, not take the top
level keys. If we don't do this, we end up with dependencies on the values of
PACKAGES, not library dependencies.

(From OE-Core rev: 7219bca11f554fbe2ed30f1537491987d65e9316)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoqt4: Avoid circular dependencies with multilib
Richard Purdie [Tue, 2 Oct 2012 22:26:09 +0000 (23:26 +0100)]
qt4: Avoid circular dependencies with multilib

Without this, circular dependencies are found when attempting to build
multilib versions of qt4 (or bitbake world in a multilib enabled build).

(From OE-Core rev: b2e8cc5ae227656211fb7f32260e7dc4e2fb556e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake.conf: Add CCACHE_DISABLE to BS_HASHBASE_WHITELIST
Mike Crowe [Tue, 2 Oct 2012 16:22:49 +0000 (17:22 +0100)]
bitbake.conf: Add CCACHE_DISABLE to BS_HASHBASE_WHITELIST

If CCACHE is in the whitelist then CCACHE_DISABLE probably should be too.

(From OE-Core rev: c03f76160e3cc3cb4fbf3cee114665c34bff06e6)

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobusybox: Add missing INITSCRIPT_NAME_${PN}-hwclock
Richard Purdie [Tue, 2 Oct 2012 16:24:08 +0000 (17:24 +0100)]
busybox: Add missing INITSCRIPT_NAME_${PN}-hwclock

Fix failures like:

Configuring busybox-hwclock.
usage: update-rc.d [-n] [-f] [-r <root>] <basename> remove
       update-rc.d [-n] [-r <root>] [-s] <basename> defaults [NN | sNN kNN]
       update-rc.d [-n] [-r <root>] [-s] <basename> start|stop NN runlvl [runlvl] [...] .
                -n: not really
                -f: force
                -v: verbose
                -r: alternate root path (default is /)
                -s: invoke start methods if appropriate to current runlevel
Collected errors:
 * pkg_run_script: package "busybox-hwclock" postinst script returned status 1.
 * opkg_configure: busybox-hwclock.postinst returned 1.

(From OE-Core rev: 43b4ffc11874803db37c43b521ce27c51c677c8b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: hob/hobpages: Generate the title label every time
Constantin Musca [Tue, 2 Oct 2012 14:59:45 +0000 (17:59 +0300)]
bitbake: hob/hobpages: Generate the title label every time

- the title label is destroyed at page switching (that's why we need
to generate it every time)

[YOCTO #3195]

(Bitbake rev: d6d991c08f66cf9ab27c53075109212ea9129380)

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoqt4: add 4.8.3 version with negative D_P
Martin Jansa [Wed, 26 Sep 2012 19:18:02 +0000 (21:18 +0200)]
qt4: add 4.8.3 version with negative D_P

* rebased patches, 3 patches are resolved upstream:
  0019-javascriptcore-Fix-compile-error-when-using-toolchai.patch
    resolved in upstream commit 7ac8d8597db1f58b11338f91fb27f6ad8696b34b
  0022-webkit-fix-conflicting-types.patch
    resolved in upstream commit929b4443d53fcf3a7ad1cb9f3af5569e41ef56f1

(From OE-Core rev: b9fc4928bb93ad720c47920db3869d860c531d0a)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoqt4: PR bumps
Martin Jansa [Wed, 26 Sep 2012 19:42:37 +0000 (21:42 +0200)]
qt4: PR bumps

* sofar only formal changes, but to test that everything still builds the same

(From OE-Core rev: 054a0e6c850f92c03fbb6314702de4e6318ccd25)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoqt4: replace all local patches with git patches with headers
Martin Jansa [Wed, 26 Sep 2012 19:00:04 +0000 (21:00 +0200)]
qt4: replace all local patches with git patches with headers

* in preparation for upgrade to 4.8.3

(From OE-Core rev: 24bf06bbcda4c0dfdad33cdff6394faa52657bb9)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoqt4: drop patches not used in any recipe
Martin Jansa [Wed, 26 Sep 2012 19:03:25 +0000 (21:03 +0200)]
qt4: drop patches not used in any recipe

(From OE-Core rev: 5f0684c1d23a3520095a4d450a0c1fa95fa1c7b2)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoqt4: move patches from files to qt4-4.8.1
Martin Jansa [Wed, 26 Sep 2012 18:13:11 +0000 (20:13 +0200)]
qt4: move patches from files to qt4-4.8.1

* faster lookup in FILESPATH as small bonus

(From OE-Core rev: 8cc54d2d154b2ed9f931da39d75dc9c135f5e26d)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoqt-mobility: move qt-mobility patches to separate dir
Martin Jansa [Wed, 26 Sep 2012 18:06:25 +0000 (20:06 +0200)]
qt-mobility: move qt-mobility patches to separate dir

(From OE-Core rev: 8dccc55a623f0c5f3469c7cdf63aa788683aa186)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoqt4.inc: move more options to separate variables
Martin Jansa [Wed, 26 Sep 2012 14:45:15 +0000 (16:45 +0200)]
qt4.inc: move more options to separate variables

* make it easier to override them in bbappend
* convert pulseaudio to more common -pulseaudio/-no-pulseaudio form

(From OE-Core rev: 34e3687394c6fa18ef0443d63b8d7d0a68c441e0)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoqt4: rename qt-4.8.1 to qt4-4.8.1 to match other .inc and .bb
Martin Jansa [Wed, 26 Sep 2012 18:00:58 +0000 (20:00 +0200)]
qt4: rename qt-4.8.1 to qt4-4.8.1 to match other .inc and .bb

(From OE-Core rev: dcda03d3f6ec442740e3683a1971103dc639689d)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoqt4: use releases.qt-project.org instead of get.qt.nokia.com
Martin Jansa [Wed, 26 Sep 2012 17:56:06 +0000 (19:56 +0200)]
qt4: use releases.qt-project.org instead of get.qt.nokia.com

* releases.qt-project.org has 4.8.1 as well as 4.8.3

(From OE-Core rev: f12df439b893c70a8cd271ff8b8e6d760b78a2b3)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoqt4-tools-nativesdk.inc: rename to nativesdk-qt4-tools.inc
Martin Jansa [Wed, 26 Sep 2012 12:56:12 +0000 (14:56 +0200)]
qt4-tools-nativesdk.inc: rename to nativesdk-qt4-tools.inc

(From OE-Core rev: 11970283424f213f870ba7e96d70bd507b10bc63)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>