scm/bb/tizen-distro.git
11 years agoguile: fix bashism in script
Ross Burton [Wed, 28 Nov 2012 17:06:53 +0000 (17:06 +0000)]
guile: fix bashism in script

(From OE-Core rev: 3d5050d281e9535d1931848fe6c0adb4e7afd629)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopango: update to upstream version 1.30.1
Marko Lindqvist [Wed, 28 Nov 2012 11:34:05 +0000 (13:34 +0200)]
pango: update to upstream version 1.30.1

(From OE-Core rev: 82720dd1aa2594cc308130da4db4ff600263ac74)

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoinitramfs-framework: init: Stop mount warnings during boot
Otavio Salvador [Sun, 25 Nov 2012 19:27:27 +0000 (17:27 -0200)]
initramfs-framework: init: Stop mount warnings during boot

For a completely quiet boot using recent versions of utilities, the
/etc/fstab and /var/lock need to be available.

(From OE-Core rev: d7a8154d575f918a0a20cb0e3a8f65d02ed32f30)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agorootfs_rpm.bbclass: normalize arch output of list_installed_packages
Ming Liu [Mon, 26 Nov 2012 02:24:03 +0000 (10:24 +0800)]
rootfs_rpm.bbclass: normalize arch output of list_installed_packages

list_installed_packages should output uniform formatted archs for all
packaging system(deb, rpm and ipk), for they are used by common code to
grab the package infos. Otherwise, it will lead some -dbg packages to be
missed processing in come cases.

It's introduced by commit: fc985f51, package_rpm.bbclass: fix the arch
(replace "-" with "_").

Fixed by replacing "_" back to "-" in list_installed_packages, make it
output real arch values which can be safely used.

(From OE-Core rev: 554f2436435bf96c6735827f491c1b78b198c016)

Signed-off-by: Ming Liu <ming.liu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopopulate_sdk_base: tarball installer: SDK overwrite warning
Laurentiu Palcu [Mon, 26 Nov 2012 09:31:40 +0000 (11:31 +0200)]
populate_sdk_base: tarball installer: SDK overwrite warning

This patch contains two fixes:
  * if the user wants to install the SDK in a directory that already
    contains a SDK for the same architecture, a warning will be shown;
  * when the symbolic links are relocated use -n option. Otherwise,
    symbolic links to existing directories will be created in the
directory itself;

[YOCTO #3401]

(From OE-Core rev: cd035f170a2448b9ebcf0cfac5d4c0fa472b7049)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosubversion: update to 1.7.7
Eric Bénard [Tue, 27 Nov 2012 10:24:49 +0000 (11:24 +0100)]
subversion: update to 1.7.7

- fix WARNING: Failed to fetch URL http://www.apache.org/dist/subversion/subversion-1.7.6.tar.bz2
- subversion-1.7.6_mod_dontdothat_svnserve_only.patch doesn't seems to be useful,
  cc Marcin to get confirmation

(From OE-Core rev: 60ac9eccd6101967a89ab74344920b4b3ca8cd5f)

Signed-off-by: Eric Bénard <eric@eukrea.com>
Cc: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoccache: update to upstream version 3.1.8
Marko Lindqvist [Tue, 27 Nov 2012 01:49:45 +0000 (03:49 +0200)]
ccache: update to upstream version 3.1.8

(From OE-Core rev: a627d8b1ecec394a9e638975f4d39553dc3efba5)

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoslang: explicity disable invoking onig module
Hongxu Jia [Tue, 27 Nov 2012 02:04:35 +0000 (10:04 +0800)]
slang: explicity disable invoking onig module

We don't implement module onig in our recipes,
so we should explicity disable its invoke in slang
to avoid that slang's configure incorrectly tests
the existence of onig.

[YOCTO #2820]

(From OE-Core rev: 38c1b92f188b7e9b27d7ce3f6a8ffbdd7e19f90d)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoeglibc: Move compile with optimization handling to common code
Jackie Huang [Wed, 28 Nov 2012 06:11:30 +0000 (14:11 +0800)]
eglibc: Move compile with optimization handling to common code

The optimisation handling code is not version specific, so move the
fix code to the .inc.

(From OE-Core rev: 22dfc7d5738a20f015d9de693f0c2accfa685560)

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibpng: update to upstream version 1.2.50
Marko Lindqvist [Wed, 28 Nov 2012 07:25:31 +0000 (09:25 +0200)]
libpng: update to upstream version 1.2.50

License md5sum changed only because libpng version numbers and
release dates mentioned in it.

(From OE-Core rev: b3f99e01c249c34d6083eec3159d5ba6b54df97f)

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agocairo: update to upstream version 1.12.8
Marko Lindqvist [Tue, 27 Nov 2012 03:54:16 +0000 (05:54 +0200)]
cairo: update to upstream version 1.12.8

(From OE-Core rev: 060a9d982bf5e46d30a52c3bc6f17263f750a013)

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogtk+: do not prelight GtkButton in touchscreen mode
Andreas Müller [Fri, 30 Nov 2012 12:34:06 +0000 (13:34 +0100)]
gtk+: do not prelight GtkButton in touchscreen mode

(From OE-Core rev: 08119d076853dbf5273c01bb095d2e1618475a57)

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogstreamer, gst-plugins*: fix localdata
Martin Jansa [Wed, 28 Nov 2012 14:59:48 +0000 (15:59 +0100)]
gstreamer, gst-plugins*: fix localdata

* all gst* packages were producing LC_MESSAGES/.mo instead of
  LC_MESSAGES/gst*.mo and it was leading to file conflicts between gst*
  packages too
* for more details see
  http://lists.linuxtogo.org/pipermail/openembedded-core/2012-November/032233.html
* buildhistory diff, confirms issue fixed
  https://github.com/shr-distribution/buildhistory/commit/f2c0888c0e08dfb33cc0cdf384621fc499d4ac04
* Thanks to Enrico for simplier solution

(From OE-Core rev: f50e2984d9411a059b86d6c158e9416fceb84c3d)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agorootfs_ipk.bbclass: add missing --force_postinstall option
Laurentiu Palcu [Wed, 28 Nov 2012 15:13:25 +0000 (17:13 +0200)]
rootfs_ipk.bbclass: add missing --force_postinstall option

The force_postinstall option was missing and some packages were
configured on target rather than on host at rootfs time.

(From OE-Core rev: dfadfaa0b38678029ffebe14f15e2dbc148cb1fb)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: build/siggen.py: Avoid removing too many stamps when cleaning
Richard Purdie [Wed, 28 Nov 2012 13:34:33 +0000 (13:34 +0000)]
bitbake: build/siggen.py: Avoid removing too many stamps when cleaning

The "*" part of the mask is to ensure we clean both any stamp, and any
setscene varient. It turns out we would also trample other tasks,
e.g. do_package_write could trample do_package_write_rpm. do_package also
tramples do_package_write_* but this is less of an issue since the other
tasks depend on it.

Rather than use the wildcard, we can just use a list instead.

[YOCTO #3484]

(Bitbake rev: c14d831ea3f625e9a47266a0c4e6deefc924ca5a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: hob: when BBLAYERS_NON_REMOVABLE is not set hob shows an error
Cristiana Voicu [Tue, 27 Nov 2012 14:41:31 +0000 (16:41 +0200)]
bitbake: hob: when BBLAYERS_NON_REMOVABLE is not set hob shows an error

(Bitbake rev: a40ceda3b349c4461f4b7bc0e18cd966fff5e3cf)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoopenssh: CVE-2011-4327
Li Wang [Tue, 27 Nov 2012 06:13:21 +0000 (14:13 +0800)]
openssh: CVE-2011-4327

A security flaw was found in the way ssh-keysign,
a ssh helper program for host based authentication,
attempted to retrieve enough entropy information on configurations that
lacked a built-in entropy pool in OpenSSL (a ssh-rand-helper program would
be executed to retrieve the entropy from the system environment).
A local attacker could use this flaw to obtain unauthorized access to host keys
via ptrace(2) process trace attached to the 'ssh-rand-helper' program.

https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2011-4327
http://www.openssh.com/txt/portable-keysign-rand-helper.adv

[YOCTO #3493]

(From OE-Core rev: bdce08215396e5ab99ada5fa0f62c3b002a44582)

Signed-off-by: Li Wang <li.wang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoautogen: use pkg-config directly instead of guile-config
Ross Burton [Tue, 27 Nov 2012 16:35:58 +0000 (16:35 +0000)]
autogen: use pkg-config directly instead of guile-config

The autoconf macros in autogen use dpkg (!) and guile-config to determine
what/where Guile is.

If the build host has an installed guile, these can produce conflicting results.

More interestingly, if the Guile library source and compiled form have bad
timestamps (source newer than compiled) the configure scripts knows that Guile
is present but doesn't know what version it is, resulting in compile errors.

[ YOCTO #3370 (partially) ]

(From OE-Core rev: 8a4f07d5111feaa3114e039431785d6ad37529b2)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake.conf: Change build output message to list BUILD_SYS, TARGET_SYS and NATIVELSB...
Richard Purdie [Mon, 26 Nov 2012 14:50:47 +0000 (14:50 +0000)]
bitbake.conf: Change build output message to list BUILD_SYS, TARGET_SYS and NATIVELSBSTRING

The build summary is meant to reflect key configuration variables. Information
about the build system we're running on is important but currently missing
from the information displayed.

Printing TARGET_SYS removes the need to print TARGET_OS and TARGET_ARCH
and we add BUILD_SYS and NATIVELSBSTRING to show information about the
build system.

[YOCTO #3456]

(From OE-Core rev: 764cc1eb3043c84121f597d2271108b91052095e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobuild-appliance-image: Updated to wget mixed-up commands fix
Cristian Iorga [Tue, 27 Nov 2012 08:01:59 +0000 (10:01 +0200)]
build-appliance-image: Updated to wget mixed-up commands fix

Fixes Hob network test failing inside BA.

(From OE-Core rev: 89884032c5c39d6343f7b30ed3e040052aeb87d9)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosysprof: Fixes undefined  reference to `rmb'
Noor Ahsan [Mon, 26 Nov 2012 08:23:17 +0000 (13:23 +0500)]
sysprof: Fixes undefined  reference to `rmb'

* Recipe already contains a patch for mips arch but not for mips64.
For mips64 arch 'mips' was not available in OVERRIDES, rather mips64
was there. So added the same patch for mips64 arch using mips64.

(From OE-Core rev: 5fa9f9b626daed83c8d31755040574c13ad25459)

Signed-off-by: Noor Ahsan <noor_ahsan@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: fetch2/wget: Fix for mixed-up wget commands
Cristian Iorga [Mon, 26 Nov 2012 17:54:22 +0000 (19:54 +0200)]
bitbake: fetch2/wget: Fix for mixed-up wget commands

wget commands for check and resume were
mixed-up, leading to the following issues:

1. long running "NOTE: Preparing runqueue"
reason: objects were downloaded, not spidered on the mirror
2. Failing network test in Build Appliance, because wget 1.14
(in use in BA) will fail if a file already exists.
During the network connectivity test, index.php file was
actually downloaded, not spidered (checked for existence on
yoctoproject.org website), leading to wget failure.

(Bitbake rev: d7a5185cae975eaca50a9785c6605e895dc7bb51)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: fetch2/local: Fix bug introduced by expression ambiguity
Richard Purdie [Mon, 26 Nov 2012 20:54:30 +0000 (20:54 +0000)]
bitbake: fetch2/local: Fix bug introduced by expression ambiguity

The last changes introduced an error in some of the logic. Add brackets
to clarify the meaning of the expression and fix certain build failures.

(Bitbake rev: 87aea65bd5d553bd0495b0f1efe6d41d0bb2810f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: hob: make some layers non removable
Cristiana Voicu [Mon, 26 Nov 2012 07:42:36 +0000 (09:42 +0200)]
bitbake: hob: make some layers non removable

- there are some layers which cannot be removed; so ,I have used
a new variable called BBLAYERS_NON_REMOVABLE located in bblayers.conf,
which contains those layers which cannot be deleted
- "meta-hob" layer is added to this variable in hob code, like it's
added to BBLAYERS var

[YOCTO #3176]
(Bitbake rev: 05da1621eed4c6201cd65372d229f63ea8a44b6e)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: Update version to 1.17.0
Richard Purdie [Mon, 26 Nov 2012 09:55:32 +0000 (09:55 +0000)]
bitbake: Update version to 1.17.0

(Bitbake rev: cc7fdbdc607df530f5539b162831bf9998eb48d8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: fetch2: Avoid using FILESDIR in unpack
Richard Purdie [Thu, 22 Nov 2012 21:41:21 +0000 (21:41 +0000)]
bitbake: fetch2: Avoid using FILESDIR in unpack

Currently there is code which uses FILESDIR in unpack to ensure
parent directories are created, leading to differing behaviour depending on
which search path is used to locate the directory.

This change standardises the code and takes the data from the fetcher in
question meaning we can standardise the code and deprecate FILESDIR.

(Bitbake rev: 1cccb3bd01ed82e4978acfef0fda1bd797eef72a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: fetch2/local: Improve handling of wildcard matches
Richard Purdie [Thu, 22 Nov 2012 21:40:18 +0000 (21:40 +0000)]
bitbake: fetch2/local: Improve handling of wildcard matches

Currently wildcard matches end up working by FILESDIR being defined
in the metadata to a default of "." in FILESPATH which is hacky at best.

This patch adds the behaviour into the fetcher so its at least slightly
more explicit.

(Bitbake rev: 07b5f84133ac79aac4e939ea5f24390ad7f940a5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopackagegroup/allarch: Convert to use allarch class
Richard Purdie [Sun, 25 Nov 2012 20:23:42 +0000 (20:23 +0000)]
packagegroup/allarch: Convert to use allarch class

Currently there is some odd behaviour of the packagegroup class in relation
to sstate since it sets PACKAGE_ARCH = "all" but does not use the allarch class
leading to it being undetected by sstate.

Previously it was not possible to use allarch as the recipe couldn't "undo"
settings made by the allarch class. Since this no longer happens when
PACKAGE_ARCH != all, we can use the allarch class.

This patch also fixes up one case we need to preserve TRANSLATED_TARGET_ARCH
and ensures sstate only assumes allarch when PACKAGE_ARCH is "all".

(From OE-Core rev: 591fa7c1ab9e9ff75fdce602c77ecdeda3a255d9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoallarch: Allow class to be included but overridden
Richard Purdie [Sun, 25 Nov 2012 20:23:00 +0000 (20:23 +0000)]
allarch: Allow class to be included but overridden

We have cases where we'd like to inherit this class by default but allow
special cases to override it. This change makes the code of the class
conditional on PACKAGE_ARCH remaining set to "all", allowing it to be
overridden. packagegroup usage is one case this is desirable.

(From OE-Core rev: 7dd91402b719ac62b51088f234354f82bfa9c4b6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobase.bbclass: Drop P and PN from FILESPATH
Richard Purdie [Mon, 19 Nov 2012 22:17:50 +0000 (22:17 +0000)]
base.bbclass: Drop P and PN from FILESPATH

In the interests of simplifying things, remove P and PN from FILESPATH,
instead relying on the BP and BPN versions which work in 99% of cases.

In any problematic case such as a -native only recipe, either the patch
directory can be renamed or the recipe can set FILESPATH specifically.

(From OE-Core rev: fb359583b659cda643973fa285002aaffb729a51)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake.conf: Simplify FILESPATH
Richard Purdie [Mon, 19 Nov 2012 21:59:51 +0000 (21:59 +0000)]
bitbake.conf: Simplify FILESPATH

Files are very rarely, if ever placed in ${PF}. If a recipe needs to do this,
it can easily append to FILESPATH so it makes sense to drop this from the
default search path.

Equally, using FILE_DIR as part of the search path leads to 'bad' SRC_URI
entries and/or file layouts which are not preferred. I'm therefore of the
opinion we should also remove this from FILESPATH and encourage people to
cleanup any places this breaks my correcting the layouts to match the standard
or worst case adding to FILESPATH in recipes that need it.

These changes work towards making the system more friendly as users won't be
greeted with huge search paths we rearely use making the "correct" layout
more obvious.

(From OE-Core rev: 3efa13cd76bbd5611805021945fc9def88d9fd93)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake.conf: Drop obsolete FILESDIR setting
Richard Purdie [Mon, 19 Nov 2012 21:26:15 +0000 (21:26 +0000)]
bitbake.conf: Drop obsolete FILESDIR setting

FILESPATH is the preferred way of finding files now. Having a value
for FILESDIR which defaults to paths which will have already been
searched is pointless at best. This is the final step in letting
us drop FILESDIR support entirely from bitbake at some future date.

(From OE-Core rev: d6e5ceafcaef06b8a3f9acc2aa826a40a016f913)

(From OE-Core rev: 3bb5c6bd51c91ada7fc17451627b8954dbe9c09c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosanity.conf: Increase minimum bitbake version requirement to 1.17.0 for FILESDIR...
Richard Purdie [Mon, 26 Nov 2012 09:59:50 +0000 (09:59 +0000)]
sanity.conf: Increase minimum bitbake version requirement to 1.17.0 for FILESDIR updates

(From OE-Core rev: a85f990efd62e50e5ffaddf5c6d2703f18f11071)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoautomake: update to upstream version 1.12.5
Marko Lindqvist [Sun, 25 Nov 2012 02:57:22 +0000 (04:57 +0200)]
automake: update to upstream version 1.12.5

(From OE-Core rev: b524595ec8feeb05aeedd360fca34536ac21faff)

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agotune-*: define more generic DEFAULTTUNE to share feed between machines
Martin Jansa [Tue, 2 Oct 2012 13:21:08 +0000 (13:21 +0000)]
tune-*: define more generic DEFAULTTUNE to share feed between machines

* this is mostly for backwards compatibility and to share binary feed
  like it was before, but now without missing different -mtune in it
* if you want to build some package with -mtune add something like this
  to your distro config
  DEFAULTTUNE_qemuarm_pn-openssl = "arm926ejs"
  DEFAULTTUNE_qemuarmx_pn-openssl = "xscale"
  be aware that if you do this you should do it also for all packages
  which depends on openssl because if you dont and you build e.g. dhcp,
  then dhcp build for arm926ejs (even with DEFAULTTUNE armv5te) will
  depend on openssl with arm926ejs, so dhcp in armv5te feed will be
  rebuild after each MACHINE switch.
* cortexm3, cortexr4, iwmmx and ep9312 are using own DEFAULTTUNE because
  they define also different -march
* shared feeds are
  armv4t: arm920t, arm9tdmi
  armv5te: arm926ejs, xscale
  armv7a-neon: cortexa8, cortexa9

(From OE-Core rev: a11bdc36a1be18cc5aa14682b2a2c9ee83141f51)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoarch-arm: define different ARMPKGARCH when different CCARGS are used
Martin Jansa [Tue, 11 Sep 2012 17:05:45 +0000 (17:05 +0000)]
arch-arm: define different ARMPKGARCH when different CCARGS are used

* without this tune-xscale and tune-arm926ejs were both creating
  packages in armv5te feed, but each with different -mtune, with
  OEBasicHash enabled it was causing each package to rebuild with new
  -mtune after MACHINE switch, but that doesn't make sense with output
  stored in the same armv5te feed

* this makes different feed for each -mtune, but more generic one to be
  selected with DEFAULTTUNE

* tune-iwmmxt and tune-ep9312 were already using this, just move it
  bellow AVAILTUNES and use ARMPKGARCH_tune-foo syntax

* tune-cortexr4 and tune-cortexm3 are using armv7r/armv7m as ARMPKGARCH
  because there isn't another tune to use the same -march

(From OE-Core rev: cffda9a821a3b83a8529d643c567859e091c6846)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoarm/arch-arm*: define ARMPKGARCH_tune-* for default tunes
Martin Jansa [Tue, 2 Oct 2012 17:22:00 +0000 (17:22 +0000)]
arm/arch-arm*: define ARMPKGARCH_tune-* for default tunes

* tune-foo is not valid override, for it to work I had to add
  ARMPKGARCH = "${ARMPKGARCH_tune-${DEFAULTTUNE}}"
  but that doesn't work without value defined for every supported
  DEFAULTTUNE value, otherwise it's expanded like this
  TUNE_PKGARCH (${ARMPKGARCH_tune-armv5te}te).

(From OE-Core rev: 31e4f2dee990ee7f5d7491b65565e71d7d580209)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: knotty/msg: Avoid usage of curses initscr/endwin to avoid terminal corruption
Richard Purdie [Sun, 25 Nov 2012 21:17:41 +0000 (21:17 +0000)]
bitbake: knotty/msg: Avoid usage of curses initscr/endwin to avoid terminal corruption

Using curses initscr/endwin causes screen corruption if for example you
suspend bitbake and resume it. This changes the code to use a less
invasive approach to determining colour availability on the terminal.

(Bitbake rev: 4548a8f037eaf8d47a77052acc3e9ec264ac41e0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: hob/builder: Don't rerun sanity checks
Constantin Musca [Tue, 20 Nov 2012 08:09:18 +0000 (10:09 +0200)]
bitbake: hob/builder: Don't rerun sanity checks

Run the sanity check only once

[YOCTO #3377]

(Bitbake rev: 0db80d57d4d2b1bb97375444c439827450ff33d1)

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: hob: showing when build fails because out of disk space
Cristiana Voicu [Tue, 20 Nov 2012 12:37:46 +0000 (14:37 +0200)]
bitbake: hob: showing when build fails because out of disk space

-to enable this in hob, first you have to enable this in bitbake using
BB_DISKMON_DIRS and/or BB_DISKMON_WARNINTERVAL vars
-created "restart the build" action on the build_fail_top_bar

[YOCTO #3357]
(Bitbake rev: 964ac25d153ff4da144963289a32066db0e28b89)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake.conf: add TUNE_CCARGS[vardepvalue]
Martin Jansa [Sat, 22 Sep 2012 12:08:13 +0000 (12:08 +0000)]
bitbake.conf: add TUNE_CCARGS[vardepvalue]

* we don't care about expression but value
* e.g. tune-xscale and tune-arm926ejs have different expression
  in TUNE_CCARGS but with the same DEFAULTTUNE the result is the same
  http://lists.linuxtogo.org/pipermail/openembedded-core/2012-September/030032.html

(From OE-Core rev: 03f1e34ea3ce80931e9c3cd2ab22824f28a7233b)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agotune-cortexr4: fix march value
Martin Jansa [Thu, 4 Oct 2012 10:58:54 +0000 (10:58 +0000)]
tune-cortexr4: fix march value

* probably copy&paste error from tune-cortexm3.conf
  commit 789dcb8e68a2ab9784ac10ab36815010c61af2fc
  Author: Richard Purdie <richard.purdie@linuxfoundation.org>
  Date:   Mon Jul 25 19:03:24 2011 +0100

    Add ARM tune file overhaul based largely on work from Mark Hatle

(From OE-Core rev: 4827232077e4a059d6aa818f89c83c42bb91949a)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agotune-xscale: replace TUNE_CCARGS for webkit-gtk and cairo only with xscale in TUNE_FE...
Martin Jansa [Thu, 4 Oct 2012 10:37:05 +0000 (10:37 +0000)]
tune-xscale: replace TUNE_CCARGS for webkit-gtk and cairo only with xscale in TUNE_FEATURES

* without this you'll get different sstate checksum for webkit-gtk and
  cairo even when you build them with DEFAULTTUNE == armv5te
* maybe this isn't needed at all anymore or if it is then it should be
  applied in arm-armv5.inc for all armv5te devices, not only xscale?

(From OE-Core rev: c51643a510da6d1c3426b3de8f18ae864cb073a4)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogst-plugins-base: add dep on libsm and libice
Gilbert Coville [Tue, 20 Nov 2012 22:34:11 +0000 (16:34 -0600)]
gst-plugins-base: add dep on libsm and libice

If libICE exists when this package configures, libICE and libSM are
added to the list of included libraries.  Adding libsm and libice to the
list of dependencies ensures they'll be present and makes the contents
of this package more deterministic.

(From OE-Core rev: 0d8adb1b57bf435f888c9357d40d1e2dae10d07f)

Signed-off-by: Gilbert Coville <gilbert_coville@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolicense.bbclass: Collect LICENSE level packages
Flanagan, Elizabeth [Tue, 20 Nov 2012 21:49:56 +0000 (13:49 -0800)]
license.bbclass: Collect LICENSE level packages

Some bad logic in license.bbclass misses certain package level
LICENSEs.

(From OE-Core rev: c5a171d5817233c0371e6f5b19f57f3c4b84f5ac)

Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoarchiver.bbclass: DISTRO is not required variable so deal with it
Marcin Juszkiewicz [Thu, 22 Nov 2012 10:15:01 +0000 (11:15 +0100)]
archiver.bbclass: DISTRO is not required variable so deal with it

(From OE-Core rev: 3e7f411e6eb428f6d49a6f1a396e70a2bd1ceadc)

Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoeglibc: always compile with optimization.
Jackie Huang [Thu, 15 Nov 2012 05:19:52 +0000 (13:19 +0800)]
eglibc: always compile with optimization.

eglibc fails to compile if someone tries to compile an entire image as -O0:
error "glibc cannot be compiled without optimization"
so in this case, force to use -O2 and give a note about it.

[YOCTO #3405]

(From OE-Core rev: 9ca1c6120fad5dcae1694e8e37331c1b903f1fd0)

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopython-pygtk: add gtk-types.defs into gdk.c dependence
Jackie Huang [Mon, 19 Nov 2012 10:11:08 +0000 (18:11 +0800)]
python-pygtk: add gtk-types.defs into gdk.c dependence

gdk.c depends on gtk-types.defs but
gdk/Makefile.am miss this. This will cause
build error sometimes when built
with multi-jobbing, so add gtk-types.defs into
gdk.c dependence.

[YOCTO #3460]

(From OE-Core rev: 0e97ef30c3819e22f43d88e817e8a8b39ca30e5d)

Signed-off-by: Song.Li <Song.Li@windriver.com>
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agodb: update gnu-config files in do_configure()
Marcin Juszkiewicz [Tue, 20 Nov 2012 10:47:15 +0000 (11:47 +0100)]
db: update gnu-config files in do_configure()

(From OE-Core rev: c675b53b9f3f3d858e2fa93170f731656d3fc3f6)

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 agostrace: backport AArch64 support
Marcin Juszkiewicz [Tue, 20 Nov 2012 08:57:58 +0000 (09:57 +0100)]
strace: backport AArch64 support

This changeset updates existing OE patches to commits from upstream git
tree and adds everything needed to get AArch64 support working.

(From OE-Core rev: f67ad1c2634b3c7a46c43ebdbdffbe7a083e99ed)

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 agocurl: eliminate forced setting of -g0 when compiling
Joe Slater [Thu, 15 Nov 2012 19:17:50 +0000 (11:17 -0800)]
curl: eliminate forced setting of -g0 when compiling

Do not invoke CURL_SET_COMPILER_DEBUG_OPTS in configure.ac.
This will allow debug options set in our CFLAGS to be
used.

(From OE-Core rev: ba151faad47e6874b295ebd9699ce154bc4ff741)

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 agounzip: pay some attention to our CFLAGS
Joe Slater [Thu, 15 Nov 2012 18:41:00 +0000 (10:41 -0800)]
unzip: pay some attention to our CFLAGS

Makefile makes use of CFLAGS_NOOPT.  If we set that
when calling make we can enable options like -g.  The
Makefile will override any optimization to -O3.

(From OE-Core rev: 7f26794dc9f2e78ee8aed1e23752acb709345c6f)

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 agozip: pay some attention to our CFLAGS
Joe Slater [Thu, 15 Nov 2012 18:21:25 +0000 (10:21 -0800)]
zip: pay some attention to our CFLAGS

Makefile makes use of CFLAGS_NOOPT.  If we set that
when calling make we can options like -g.  The Makefile
will override any optimization to -O3.

Upstream-Status: Pending

(From OE-Core rev: df2c260f9cda2e291c72f7debe1e6d53846ce058)

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 agomingetty: replace cflags hard-coded into Makefile
Joe Slater [Thu, 15 Nov 2012 17:59:12 +0000 (09:59 -0800)]
mingetty: replace cflags hard-coded into Makefile

Add CFLAGS to EXTRA_OEMAKE to allow us control over
debugging and optimization.

(From OE-Core rev: 2e123bb1b3ee023a020798972821f32b1e0054e6)

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 agoiproute2: pass CFLAGS to Makefile\
Joe Slater [Thu, 15 Nov 2012 17:47:49 +0000 (09:47 -0800)]
iproute2: pass CFLAGS to Makefile\

Makefile computes CFLAGS, but we can see that our
defaults get included by using CCOPTS to pass them
to make.

Upstream-Status: Pending

(From OE-Core rev: 8d71f7d33c18bb0a975eb86d602bda42db4baa2c)

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 agobind: make "/etc/init.d/bind stop" work
Roy Li [Thu, 15 Nov 2012 02:27:54 +0000 (02:27 +0000)]
bind: make "/etc/init.d/bind stop" work

Add some configurations, make rndc command be able to controls
the named daemon.

(From OE-Core rev: 9ad8f7c2bae021269e9a8e35f9fc44a16d23bb6f)

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoprocps: pass CFLAGS to make
Joe Slater [Thu, 15 Nov 2012 17:29:54 +0000 (17:29 +0000)]
procps: pass CFLAGS to make

EXTRA_OEMAKE in the recipe currently discards the
environment CFLAGS when setting CFLAGS passed to make.
We change that to include these options.

(From OE-Core rev: 67924616963fee9cb9f2405d93c74a8cc10b6eab)

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 agometa-toolchain-qte: add --sysroot option to OE_QMAKE_(CC|CXX|LD)
Laurentiu Palcu [Fri, 23 Nov 2012 13:18:11 +0000 (15:18 +0200)]
meta-toolchain-qte: add --sysroot option to OE_QMAKE_(CC|CXX|LD)

When building a QT application using OE_QMAKE_CC/OE_QMAKE_CXX, the
--sysroot was not included and the compilation would fail. The user had
to add the option manually which was not very user friendly. This
happened only when installing the SDK in another location than the
default one. Since CC/CXX/LD had this option already included, reuse them.

[YOCTO #3409]

(From OE-Core rev: 758f56523daa7d8c8b459757c70b50421d28b8dd)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogtk+: update to upstream version 2.24.13
Marko Lindqvist [Fri, 23 Nov 2012 07:36:14 +0000 (09:36 +0200)]
gtk+: update to upstream version 2.24.13

(From OE-Core rev: 77cd1218bbd0760f674811eb748037deb4478db5)

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoxf86-video-omap: drop RPROVIDES/RREPLACES/RCONFLICTS
Martin Jansa [Fri, 23 Nov 2012 00:47:18 +0000 (01:47 +0100)]
xf86-video-omap: drop RPROVIDES/RREPLACES/RCONFLICTS

* without _${PN} suffix they are invalid:
  opkg install bash-4.2# opkg install xf86-video-omapfb
  Package xf86-video-omap-doc is already installed on root.

* it's not upgrade to omapfb driver but different driver,
  so let BSP maintainers decide which one works for their MACHINE

* without this xf86-video-omap (or -doc, -dbg, ...) can be pulled
  to image even when XSERVER clearly says xf86-video-omapfb

(From OE-Core rev: ef0f8611001c435abab60c464d31134ef027d7c2)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoxf86-video-omapfb: revive driver which actually works and is tested on real devices
Martin Jansa [Fri, 23 Nov 2012 00:47:17 +0000 (01:47 +0100)]
xf86-video-omapfb: revive driver which actually works and is tested on real devices

* 0006-omapfb-port-to-new-xserver-video-API.patch added to port it to
  new xserver video API
* other patches just updated headers to be able to git am them

(From OE-Core rev: 58e600ae3cc955ebe30b2756540404a267c7cb26)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoxserver-xorg: disable dri2 too when building without glx PACKAGECONFIG
Martin Jansa [Fri, 23 Nov 2012 00:47:16 +0000 (01:47 +0100)]
xserver-xorg: disable dri2 too when building without glx PACKAGECONFIG

* it was enabled when dri2proto was built before xserver-xorg

(From OE-Core rev: 1668b4d4f373292ea4d611712ef56148ededfce5)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoxf86-video-omap: add xf86driproto dependency, drop --enable-neon and improve DESCRIPTION
Martin Jansa [Fri, 23 Nov 2012 00:47:15 +0000 (01:47 +0100)]
xf86-video-omap: add xf86driproto dependency, drop --enable-neon and improve DESCRIPTION

* xf86driproto was missing
* --enable-neon isn't supported by omap driver
* DESCRIPTION merged from meta-ti
  http://git.yoctoproject.org/cgit/cgit.cgi/meta-ti/tree/recipes-graphics/xorg-driver/xf86-video-omap_git.bb?id=410dc026f2ee24a2346e7563a83f0181c79809cf
* this driver also depends PACKAGECONFIG[glx] used in xserver-xorg,
  without it dri2.h sometimes isn't built (it is autodetected only
  when dri2proto is built before xserver-xorg) and without dri2.h it now
  passes do_configure but fails later in do_compile

(From OE-Core rev: 19951d2583b4ed08bbc871128d90aefd062e7da9)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoperl: use the exported LDDLFLAGS in generate_config_sh script
Laurentiu Palcu [Thu, 22 Nov 2012 15:22:10 +0000 (17:22 +0200)]
perl: use the exported LDDLFLAGS in generate_config_sh script

The perl shared libraries did not have RPATHs set and that made
autoreconf fail when using the SDK. The LDDLFLAGS environment variable
was already exported in the recipe but was not used when generating the
config.sh.

[YOCTO #3338]

(From OE-Core rev: f6f5bdace473d0dd1dd5b8bdc7ebbb24fc6ee90d)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agokern-tools: report missing config fragments by name
Bruce Ashfield [Thu, 22 Nov 2012 17:48:29 +0000 (12:48 -0500)]
kern-tools: report missing config fragments by name

If a configuration fragment was missing, the previous error output
was not clear about the error:

  | [INFO] doing kernel configme
  | [INFO] Configuring target/machine combo: "standard/atom-pc"
  | [INFO] collecting configs in ./meta/meta-series
  | ERROR: could not sanitize configuration fragments
  |    errors are logged in ... linux/meta/cfg/standard/atom-pc/config.log

but we know the name of the missing fragment and can improve the error
message to be this:

  | [ERROR] kernel configuration fragment fragment 'virto.cfg' cannot be found
  | ERROR. A meta series could not be created for branch yocto/standard/common-pc/atom-pc
  | ERROR. Could not locate meta series for atom-pc
  | ERROR. Could not apply patches for atom-pc.
  |        Patch failures can be resolved in the devshell (bitbake -c devshell linux-yocto)

[YOCTO #3473]

(From OE-Core rev: 8e5dc511ffce4f4b512457dbc5d3dd510f6e4a95)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolinux-yocto-3.4: gcc optimization config feature
Bruce Ashfield [Thu, 22 Nov 2012 17:48:28 +0000 (12:48 -0500)]
linux-yocto-3.4: gcc optimization config feature

Updating the meta SRCREV to include a x86 gcc optimization feature, and
its use by several BSPs:

  1c59807 meta: rangeley: Remove the shortcut path
  b5477d0 meta: crystalforest: Enable GCC inline compiler option
  ab2b874 meta: rangeley: Enable GCC inline compiler option
  8287750 meta: Add New feature for GCC optimizing

(From OE-Core rev: b042d1cce535fe88dd6f5b5c0cd1a608a27afbd6)

Signed-off-by: Kishore Bodke <kishore.k.bodke@intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoopkg: bump SRCREV and drop applied patches
Martin Jansa [Thu, 22 Nov 2012 20:10:23 +0000 (21:10 +0100)]
opkg: bump SRCREV and drop applied patches

* only change upstream which wasn't in oe-core is
  http://code.google.com/p/opkg/source/detail?r=635
  and added testcase for that

(From OE-Core rev: 5fd1d515db5966f45a3b2f936f3c4225f59186e2)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolsbsetup: drop it
Kang Kai [Thu, 22 Nov 2012 03:25:45 +0000 (11:25 +0800)]
lsbsetup: drop it

lsbsetup provides script LSB_Setup.sh to setup LSB test on image. But
script LSB_Test.sh provided by lsbtest replaces its function now. So
drop lsbsetup.

lsbsetup links /etc/localtime to HongKong zoneinfo file to make LSB
wcsftime test case pass(Yocto 1079). But the test case PASS without
this link, so remove the link.

Other 2 links are moved to packages lsb.

[Yocto 3278]

(From OE-Core rev: d991393207af90fe73de76f89ac6949ef291904e)

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopackagegroup-core-lsb: remove lsbsetup
Kang Kai [Thu, 22 Nov 2012 03:25:46 +0000 (11:25 +0800)]
packagegroup-core-lsb: remove lsbsetup

package lsbsetup has been dropped, so remove it from packagegroup
core-lsb.

(From OE-Core rev: 9b6ca9bd8dcf7e7d3eed9f0120a4ffcac80e441f)

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolsb: move links from lsbsetup to here
Kang Kai [Thu, 22 Nov 2012 03:25:47 +0000 (11:25 +0800)]
lsb: move links from lsbsetup to here

Because package lsbsetup is dropped, move the links created for LSB test
to package lsb.

(From OE-Core rev: 7659ad17799672d48c4d8614e830b7e60a1e971a)

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogcc: Add --enable-linker-build-id
Colin Walters [Wed, 21 Nov 2012 18:00:30 +0000 (13:00 -0500)]
gcc: Add --enable-linker-build-id

See https://fedoraproject.org/wiki/Releases/FeatureBuildId for the
benefits this brings.  As far as I can tell from searching the
discussion archives, there doesn't appear to be a reason not to enable
this, and the benefits are real.

Both the Red Hat Enterprise Linux 6, all Fedora, and Ubuntu Quantal
GCC builds are configured with this on.  I plan to use it in
gnome-ostree.

(From OE-Core rev: f3be2b1e5e100a953d6d7fbbb19a77a5c4d547e1)

Signed-off-by: Colin Walters <walters@verbum.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoinsane.bbclass : Disable tests for unsafe references in binaries and scripts.
Philip Balister [Wed, 21 Nov 2012 17:21:13 +0000 (12:21 -0500)]
insane.bbclass : Disable tests for unsafe references in binaries and scripts.

These test look for programs in / that depend on programs in /usr. After
a brief discussion in #oe, we decided these tests should be disabled so
we can focus on more serious QA issues.

If you are working on a system where / and /usr are on different partitions,
you should turn these tests back on and resolving the QA warnings.

(From OE-Core rev: 2fb58da56e8e7044de21fd10fe9164d204587236)

Signed-off-by: Philip Balister <philip@balister.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobinutils-crosssdk: do not set .interp size to 0x1000 for partial linked objects
Laurentiu Palcu [Wed, 21 Nov 2012 14:57:42 +0000 (16:57 +0200)]
binutils-crosssdk: do not set .interp size to 0x1000 for partial linked objects

When building the SDK, the final .interp section size should be set to a
bigger value (0x1000) in order to be able to change the dynamic loader's
path later. However, we shouldn't do that for partial linked objects
(when -r or -rU is used). That's because those objects will then have an
.interp section of 0x1000 even if it contains no data and when the final
linking is done we will end up with a "cannot move location counter
backwards" error. That's because the linker will try to squeeze all the data in
the .interp sections found in various partial linked objects into one 0x1000
bytes final .interp section.

[YOCTO #3264]

(From OE-Core rev: b25d0c5fe286e44ded46aefdcbe35ed259087759)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoimage classes: use PN for depends, not IMAGE_BASE_NAME
Koen Kooi [Wed, 21 Nov 2012 14:44:34 +0000 (15:44 +0100)]
image classes: use PN for depends, not IMAGE_BASE_NAME

Some images override IMAGE_BASE_NAME in the recipe causing targets using image-{live,vmdk} to fail.

(From OE-Core rev: 7e000fef0bf917f27dcad66dd90fae6c155c4d1d)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogcc-cross: Explicitly depend on linux-libc-headers
Richard Purdie [Thu, 22 Nov 2012 21:36:19 +0000 (21:36 +0000)]
gcc-cross: Explicitly depend on linux-libc-headers

gcc-cross cannot build without linux-libc-headers but doesn't explicitly depend on
it relying on the implied dependency through libc. With cases where pieces
can be installed through sstate, we now need this explicit dependency to
ensure builds with partial sstate work.

(From OE-Core rev: 65e5670ef429bb6c348decb1804e425f1c4d7c61)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosstate: Explicitly define populate_sysroot task relationships
Richard Purdie [Thu, 22 Nov 2012 21:39:28 +0000 (21:39 +0000)]
sstate: Explicitly define populate_sysroot task relationships

Clean up and clarify the populate_sysroot task dependencies. Target sysroot
packages do need their dependencies installed, as do some target/cross
relationships. We can whitelist the *-initial dependencies as these are
never needed indirectly.

(From OE-Core rev: eeec307917234d97be2674beeadef71599fb1487)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosstate: Add a rule for target sysroot requirements from cross dependencies
Richard Purdie [Thu, 22 Nov 2012 21:38:20 +0000 (21:38 +0000)]
sstate: Add a rule for target sysroot requirements from cross dependencies

For example gcc-cross depends on linux-libc-headers and needs it to be present
to build/work correctly.

(From OE-Core rev: 43ce7a1d86bf82d976ad241057a4207b1a340b3b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobuild-appliance-image: Add explict dependency on do_unpack
Richard Purdie [Thu, 22 Nov 2012 21:37:23 +0000 (21:37 +0000)]
build-appliance-image: Add explict dependency on do_unpack

The code called by do_rootfs explicitly needs the code obtained during
do_unpack. If built from sstate, it might not be present so we ensure
it is by adding an explicit dependency. This fixes build failures when
building from sstate.

(From OE-Core rev: 53d3c3caf1894e088ebf10fdf233cdf109b04da6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoscripts/sstate-cache-management.sh: Fix stamp handling after recent layout change
Richard Purdie [Fri, 23 Nov 2012 20:20:48 +0000 (20:20 +0000)]
scripts/sstate-cache-management.sh: Fix stamp handling after recent layout change

(From OE-Core rev: 8df3350d107322380582c807ccc92ea353b543ab)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoscripts/cleanup-workdir: Adpat to new workdir layout
Richard Purdie [Fri, 23 Nov 2012 20:19:56 +0000 (20:19 +0000)]
scripts/cleanup-workdir: Adpat to new workdir layout

(From OE-Core rev: d967a498cb464c3858dc280db5e67b7e7b281b02)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoRevert "kern-tools: report missing config fragments by name"
Richard Purdie [Thu, 22 Nov 2012 08:58:56 +0000 (08:58 +0000)]
Revert "kern-tools: report missing config fragments by name"

This reverts commit 46cc0d0a2f1486bf541c1a1b11075de3da396cc2 since
the revision in question isn't in the repository.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agokern-tools: report missing config fragments by name
Bruce Ashfield [Wed, 21 Nov 2012 21:32:26 +0000 (16:32 -0500)]
kern-tools: report missing config fragments by name

If a configuration fragment was missing, the previous error output
was not clear about the error:

  | [INFO] doing kernel configme
  | [INFO] Configuring target/machine combo: "standard/atom-pc"
  | [INFO] collecting configs in ./meta/meta-series
  | ERROR: could not sanitize configuration fragments
  |    errors are logged in ... linux/meta/cfg/standard/atom-pc/config.log

but we know the name of the missing fragment and can improve the error
message to be this:

  | [ERROR] kernel configuration fragment fragment 'virto.cfg' cannot be found
  | ERROR. A meta series could not be created for branch yocto/standard/common-pc/atom-pc
  | ERROR. Could not locate meta series for atom-pc
  | ERROR. Could not apply patches for atom-pc.
  |        Patch failures can be resolved in the devshell (bitbake -c devshell linux-yocto)

[YOCTO #3473]

(From OE-Core rev: 46cc0d0a2f1486bf541c1a1b11075de3da396cc2)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agokernel-yocto: clarify KMETA branch comments
Bruce Ashfield [Wed, 21 Nov 2012 21:32:25 +0000 (16:32 -0500)]
kernel-yocto: clarify KMETA branch comments

Having a meta branch is not strictly required by the tools (and
recipes like linux-yocto-custom do not have meta branches), but the
comments in the kernel-yocto.bbclass could lead someone to think that
it was required.

This commit clearifies the comment to the following:

  # We can fix up the kernel repository even if it wasn't a bare clone.
  # If KMETA is defined, the branch must exist, but a machine branch
  # can be missing since it may be created later by the tools.

[YOCTO #3422]

(From OE-Core rev: 421a2e2523a8f2c461479a1c0d44908cc1eaca6b)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolinux-yocto/3.4: uprobes: reinstate config options for 'uprobe' feature
Bruce Ashfield [Wed, 21 Nov 2012 21:32:24 +0000 (16:32 -0500)]
linux-yocto/3.4: uprobes: reinstate config options for 'uprobe' feature

bumping the meta SRCREV to import the following fix:

[
    uprobes: reinstate config options for 'uprobe' feature

    commit 17ec51adfff (meta: cleanup invalid/obselete 3.4 CONFIG options)
    removed the uprobes config options, this restores them.
]

(From OE-Core rev: 8c637986e063fcb087babecfc0192f96d3981515)

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 agolinux-yocto/3.0: fix virtio configuration typo
Bruce Ashfield [Wed, 21 Nov 2012 21:32:23 +0000 (16:32 -0500)]
linux-yocto/3.0: fix virtio configuration typo

The recent tools updates in master exposed a typo that has existed
in the 3.0 kernel meta data and that breaks the build for boards still
using the 3.0 kernel.

Bumping the meta SRCREV to pickup the following fix:

[
  commit fa9b8c24e84bb9d75d08d197c84c50ce4f99c424
  Author: Bruce Ashfield <bruce.ashfield@windriver.com>
  Date:   Wed Nov 21 09:24:46 2012 -0500

    meta: fix typo in virtio.scc

    virtio.scc was referring to an invalid/incorrect virto.cfg. Fixing
    this typo fixes the build for boards still using the 3.0 kernel.
]

(From OE-Core rev: b16d72a749ac73a2bd0434f36102c00f6c476bc1)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopython-smart-backend: Remove bogus runtime virtual/
Richard Purdie [Thu, 22 Nov 2012 07:47:22 +0000 (07:47 +0000)]
python-smart-backend: Remove bogus runtime virtual/

At runtime virtual/ providers make *no* sense at all. They also break debian
packaging since the "/" character is not allowed in debian package names.

This patch removes this runtime provider selection code since it is not
workable and breaks builds.

(From OE-Core rev: 887059e9c0082cb4e7fa8b5d7c9646207acd62a6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoxf86-video-omapfb: drop
Richard Purdie [Thu, 22 Nov 2012 07:26:35 +0000 (07:26 +0000)]
xf86-video-omapfb: drop

This driver has been superceeded by a dri omap driver. This driver
no longer builds against current versions of the xserver. If someone
wants to do the work to resurect it, that is fine but until that happens
there is no point in keeping broken code in the tree which won't even
compile. It can be easily brought back from git history.

(From OE-Core rev: 75858ad8cb19ee24f2c418515cb9d2b649a4de46)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoxf86-video-omap: don't use AC_CHECK_FILE
Ross Burton [Wed, 21 Nov 2012 23:50:59 +0000 (23:50 +0000)]
xf86-video-omap: don't use AC_CHECK_FILE

Upstream uses AC_CHECK_FILE to find dri.h, but that errors out when
cross-compiling.  Until oe-core 1b0d9cb1801a8eb68c82dfcda5a1da420ac8dd83 this
wasn't a problem because we patched AC_CHECK_FILE to always pass, which was a
nasty hack.

Patch configure.ac to use pkg-config like it should, and not AC_CHECK_FILE.

(From OE-Core rev: a7fe0d17c50d9b38ce33fe39e677da349d1d358c)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobuild-appliance-image: Update to dee77eca39f406f90e60d9c5ef7a66fcc8f57dbf commit
Cristian Iorga [Wed, 21 Nov 2012 19:54:23 +0000 (21:54 +0200)]
build-appliance-image: Update to dee77eca39f406f90e60d9c5ef7a66fcc8f57dbf commit

There are a lot of improvements in Hob
and a critical fix to bitbake affecting
Build Appliance, so the poky revision
is upped to include these changes.

(From OE-Core rev: 654d5816f8ff696d42d72cfb881d5e51330a79b6)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobuilder: fix adduser breakage with password
Cristian Iorga [Wed, 21 Nov 2012 19:54:24 +0000 (21:54 +0200)]
builder: fix adduser breakage with password

Build Appliance needs to have for the builder
user a password set. However, the useradd.bbclass
requires the last parameter to be the user's group
name. Previously, the password was the last
parameter to useradd command.
Fixed using the right order for parameters.

(From OE-Core rev: 29f2ae0305b9a3db9632a8fe078fedc88f89a9ad)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoRevert "bitbake.conf: Drop obsolete FILESDIR setting"
Richard Purdie [Wed, 21 Nov 2012 20:35:52 +0000 (20:35 +0000)]
Revert "bitbake.conf: Drop obsolete FILESDIR setting"

This reverts commit d6e5ceafcaef06b8a3f9acc2aa826a40a016f913 since
the value is clearly still being used in local file urls that are
only hit at do_unpack time.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoldconfig/cdrtools/icecc-create-env/linuxdoc-tools/python: Set FILESPATH to find ...
Richard Purdie [Mon, 19 Nov 2012 22:16:22 +0000 (22:16 +0000)]
ldconfig/cdrtools/icecc-create-env/linuxdoc-tools/python: Set FILESPATH to find -native files

In a small number of cases we need to have ${PN} in FILESPATH rather
than ${BPN}. Rather than hurt readability for all other recipes,
set FILESPATH in these recipes so we can prune the default.

(From OE-Core rev: d61ef6ce86abe5b484a2a2602982f4ded54b3f9a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoclasses: Drop do_package stamp-extra-info
Richard Purdie [Tue, 20 Nov 2012 08:13:44 +0000 (08:13 +0000)]
classes: Drop do_package stamp-extra-info

This was needed when do_package for target recipes was target specific
however since it now isn't we can remove these stale references.

(From OE-Core rev: 1c54d8c3639659bc8cf8fa2786a1aa9ed785b723)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoutils: Optimise looping in base_set_filespath
Richard Purdie [Mon, 19 Nov 2012 22:27:17 +0000 (22:27 +0000)]
utils: Optimise looping in base_set_filespath

Calling split on the same expression, once per loop iteration is
inefficent and pointless, particularly in a function called by
every recipe during parsing.

(From OE-Core rev: 566c0e874fc1610f3f97737b5601ef22026c918a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibffi: Use a more standard layout for patch files
Richard Purdie [Mon, 19 Nov 2012 21:55:13 +0000 (21:55 +0000)]
libffi: Use a more standard layout for patch files

(From OE-Core rev: cc2d2abad25a82ce722ac255a631430058f8de30)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agotrace-cmd: Simplify SRC_URI patch entry
Richard Purdie [Mon, 19 Nov 2012 21:54:31 +0000 (21:54 +0000)]
trace-cmd: Simplify SRC_URI patch entry

(From OE-Core rev: dd4cf48b5a5d181d507356a845fecdbb26f37390)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agomatchbox-panel-2: Use a more standard layout for patch files
Richard Purdie [Mon, 19 Nov 2012 21:52:41 +0000 (21:52 +0000)]
matchbox-panel-2: Use a more standard layout for patch files

(From OE-Core rev: 7e78c5901be4d684669146b2f9ab845507156034)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake.conf: Drop obsolete FILESDIR setting
Richard Purdie [Mon, 19 Nov 2012 21:26:15 +0000 (21:26 +0000)]
bitbake.conf: Drop obsolete FILESDIR setting

FILESPATH is the preferred way of finding files now. Having a value
for FILESDIR which defaults to paths which will have already been
searched is pointless at best. This is the final step in letting
us drop FILESDIR support entirely from bitbake at some future date.

(From OE-Core rev: d6e5ceafcaef06b8a3f9acc2aa826a40a016f913)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agox-load: Replace FILESDIR with FILESPATH
Richard Purdie [Mon, 19 Nov 2012 21:25:27 +0000 (21:25 +0000)]
x-load: Replace FILESDIR with FILESPATH

(From OE-Core rev: 0f7ca16c01f6206cd03d103861b77ce2b540c834)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoopkg: Drop unnecessary FILESDIR setting
Richard Purdie [Mon, 19 Nov 2012 21:23:33 +0000 (21:23 +0000)]
opkg: Drop unnecessary FILESDIR setting

(From OE-Core rev: e869731f80d8c0059b44a7029543b8943fd07653)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>