scm/bb/tizen-distro.git
12 years agoltp: Add patch to correct failing build
Cristian Iorga [Tue, 5 Jun 2012 18:51:17 +0000 (21:51 +0300)]
ltp: Add patch to correct failing build

ltp makefile does not interpret correctly the result of git describe
command and assumes that it is working with a git repo, while in fact
working with a source code archive.
Added a patch to corect makefile system.

(From OE-Core rev: 13e52fafae0fb06b26d179a5cac6898babbadc51)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopulseaudio: fix typo in the patch name, pulseaudo -> pulseaudio
Denys Dmytriyenko [Tue, 5 Jun 2012 18:15:30 +0000 (14:15 -0400)]
pulseaudio: fix typo in the patch name, pulseaudo -> pulseaudio

No PR bump is needed.

(From OE-Core rev: f7a1fdfd82be60b92f4aa4a53fdae3192d1cec8b)

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolsbinitscripts: Missing popt DEPENDS
Elizabeth Flanagan [Sun, 3 Jun 2012 17:58:42 +0000 (10:58 -0700)]
lsbinitscripts: Missing popt DEPENDS

Missing DEPENDS causes build to fail.

(From OE-Core rev: 44634755289ef6f10da5bdd46d45a2ef18626f20)

Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolicense.bbclass: optimize pkg runtime data
Elizabeth Flanagan [Wed, 30 May 2012 19:01:15 +0000 (12:01 -0700)]
license.bbclass: optimize pkg runtime data

This fixes an ugly way I was trying to find pkg runtime
data for package and license manifest creation.

rootfs generation times for core-image-minimal:

Prior to patch
real 0m41.570s
user 1m40.466s
sys 0m6.768s

With patch
real 0m27.527s
user 0m9.833s
sys 0m3.496s

(From OE-Core rev: 664bbf3207c229eef5ef94a08713a652f33a8466)

Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com>
Conflicts:

meta/classes/license.bbclass
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolicense.bbclass: Adding PV to package.manifest
Elizabeth Flanagan [Wed, 30 May 2012 23:34:40 +0000 (16:34 -0700)]
license.bbclass: Adding PV to package.manifest

Per request, adding the package version to the package manifest
file.

(From OE-Core rev: bf216369f3131ad38c0b2b92620e4805ca9eecb9)

Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodbus: update to version 1.4.20
Radu Moisan [Thu, 31 May 2012 09:17:48 +0000 (12:17 +0300)]
dbus: update to version 1.4.20

Unstable version 1.5.12 also supported

(From OE-Core rev: 1a5ae9b47c6294f1969a6a36f9ffddc39a707849)

Signed-off-by: Radu Moisan <radu.moisan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoconnman: just give xuser the extra rights it needs
Ross Burton [Tue, 29 May 2012 20:43:54 +0000 (21:43 +0100)]
connman: just give xuser the extra rights it needs

12 years agoarchiver.bbclass: Improve the usability for the archiver classes
Xiaofeng Yan [Wed, 30 May 2012 09:03:56 +0000 (17:03 +0800)]
archiver.bbclass: Improve the usability for the archiver classes

The usability of the archiver classes can be improved, beyond the
simple addition of default values for the variables. A user could
well inherit just archiver rather than the individual useful classes,
and not realize it will do nothing.

[YOCTO #2472]

(From OE-Core rev: ce91f495e0c4ef3bf53ee8b2ea570061da38e14f)

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogenerate-manifest-2.7.py: replace os.popen with os.unlink
Robert Yang [Wed, 30 May 2012 09:18:15 +0000 (17:18 +0800)]
generate-manifest-2.7.py: replace os.popen with os.unlink

The os.popen function would fail (more or less) silently if the executed
program cannot be found, and here what we need is os.system not os.popen
since it doesn't use the return value, use os.unlink() and ignore
exceptions from it would be better as Chris suggested.

[YOCTO #2454]

(From OE-Core rev: bc9f7d7b7eda1c45ad1aaee469ebe28ee1c0c96b)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoexternal-sourcery-toolchain: forcibly create usr/lib
Christopher Larson [Fri, 1 Jun 2012 22:53:58 +0000 (15:53 -0700)]
external-sourcery-toolchain: forcibly create usr/lib

If the usr/lib directory doesn't exist, the toolchain can fail to even try to
find crti.o in a completely different directory. This causes a failure for the
case where baselib is lib64.

(From OE-Core rev: 3c368f4c989bee68953b6d0fbf2adc44f97cc100)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agotcmode-external-sourcery: pass -msgxx-glibc for x86
Christopher Larson [Fri, 1 Jun 2012 22:53:57 +0000 (15:53 -0700)]
tcmode-external-sourcery: pass -msgxx-glibc for x86

This is needed to work around an issue with the toolchain search paths. It can
pick up the wrong features.h without it, it seems, even with the system32
symlink in the oe sysroot. Investigate this further in the future.

(From OE-Core rev: fb94ed0eb11b2efc1d814b80a2a7c99b29e746b3)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoexternal-sourcery: extract src and dest sysroot paths from gcc
Christopher Larson [Fri, 1 Jun 2012 22:53:56 +0000 (15:53 -0700)]
external-sourcery: extract src and dest sysroot paths from gcc

Rather than hardcoding the multilib path in a map, and hardcoding dest sysroot
symlink creation in a hook, now we just use -print-sysroot for both, and pass
the appropriate multilib args to the toolchain for particular tunes.

(From OE-Core rev: b9a9c28f7052884b2a6a33cf73cb6d7e2e3d11ff)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agotask-core-lsb: Add another initscripts to an lsb image
Xiaofeng Yan [Mon, 28 May 2012 07:48:44 +0000 (15:48 +0800)]
task-core-lsb: Add another initscripts to an lsb image

Initscripts with stronger functions will replace the simple one,
which will avoid error when some packages need functions which could
be absent in the simple initscripts.

[YOCTO #2133]

(From OE-Core rev: b0d45a7bca3e448ceb4802540d42972a625997f8)

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolsbinitscripts: Patch file functions for confirming to an lsb image
Xiaofeng Yan [Mon, 28 May 2012 07:38:32 +0000 (15:38 +0800)]
lsbinitscripts: Patch file functions for confirming to an lsb image

Add the condition judgment to functions for avoiding to print error
information when system start up at first.

[YOCTO #2133]

(From OE-Core rev: 4b829c42ffaa878537fa2005e4d80324515a5ba8)

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolsbinitscripts: Add initscripts to enhance init functions in an lsb image
Xiaofeng Yan [Mon, 28 May 2012 07:30:52 +0000 (15:30 +0800)]
lsbinitscripts: Add initscripts to enhance init functions in an lsb image

The version of initscripts has more functions than the simple.
There could be some errors for current initscripts when running
some programe because of absent some functions provided by initscripts.

[YOCTO #2133]

(From OE-Core rev: ca60a9092e4131d7029c77f2ed7842eea928abe5)

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodirectfb-examples: upgrade to 1.5.3
Laurentiu Palcu [Fri, 1 Jun 2012 11:41:25 +0000 (14:41 +0300)]
directfb-examples: upgrade to 1.5.3

(From OE-Core rev: b7f4a43e96ccf8982bab0b7df2eff0f170486e2a)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodirectfb: upgrade to 1.5.3
Laurentiu Palcu [Fri, 1 Jun 2012 11:41:24 +0000 (14:41 +0300)]
directfb: upgrade to 1.5.3

Also, backported a couple of patches from upstream that fix some
compilations issues for ARM and PPC.

(From OE-Core rev: 8acb86dfdae782c7627e36e23e1bcb703f8c79db)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agocpan.bbclass: Fix config error while patches to Makefile.PL
Xin Ouyang [Thu, 31 May 2012 07:46:12 +0000 (15:46 +0800)]
cpan.bbclass: Fix config error while patches to Makefile.PL

If there is a patch to Makefile.PL, a Makefile.PL but no Makefile
will be placed in ${B}/.pc/xxx.patch/ after do_patch.
And no Makefile will be generated for *this* Makefile.PL.
While do_configure, the original code tries to sed Makefiles
matching with each Makefile.PL in {B}, so this would fail.

(From OE-Core rev: 7c99105d70a16aa9e42429224abed28743e627b2)

Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agokernel.py: replace os.popen with subprocess.Popen
Robert Yang [Fri, 1 Jun 2012 08:03:58 +0000 (16:03 +0800)]
kernel.py: replace os.popen with subprocess.Popen

Replace os.popen with subprocess.Popen since the older function would
fail (more or less) silently if the executed program cannot be found

More info:
http://docs.python.org/library/subprocess.html#subprocess-replacements

[YOCTO #2454]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
12 years agowebkit-gtk: Use glib as unicode backend to avoid browser crash
Zhai Edwin [Wed, 30 May 2012 09:08:28 +0000 (17:08 +0800)]
webkit-gtk: Use glib as unicode backend to avoid browser crash

webkit-gtk depends on ICU for the unicode, but ICU is not safe when build and
target system owns different endian. ICU's community is not responsive to make
a patch for this, so glib is used as work around here.

[YOCTO #1570] got fixed

(From OE-Core rev: e3113827810e98eb1b012f0b280fb917199704c1)

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake.conf: set an exclusion list for varflags in checksums
Paul Eggleton [Wed, 30 May 2012 16:25:04 +0000 (17:25 +0100)]
bitbake.conf: set an exclusion list for varflags in checksums

Set BB_SIGNATURE_EXCLUDE_FLAGS, which is used by the new varflag
checksum code in BitBake. The list is intended to cut out most of the
varflags that are generated internally, don't influence the output or
are already included in the checksum in some way. If need be this list
can be extended in the future. The existing vardepsexclude mechanism
can also be used to exclude undesired varflags, but they must be fully
specified, e.g.:

do_patch[vardepsexclude] += "do_patch[someflag]"

Implements [YOCTO #2517].

(From OE-Core rev: 2bed83c6237669b6fc6fa25b2a554efb73395ca6)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobash: Update to new update-alternatives syntax
Richard Purdie [Wed, 30 May 2012 11:55:31 +0000 (12:55 +0100)]
bash: Update to new update-alternatives syntax

(From OE-Core rev: 6176dbd6ee770c0c2849f53b213866b61ac29ff1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobzip2: Update to new update-alternatives syntax
Richard Purdie [Wed, 30 May 2012 11:54:55 +0000 (12:54 +0100)]
bzip2: Update to new update-alternatives syntax

(From OE-Core rev: 75cd7692c97b07e05f304893995231e2d3390f8f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agokmod: Remove bashism from recipe
Richard Purdie [Wed, 30 May 2012 11:54:19 +0000 (12:54 +0100)]
kmod: Remove bashism from recipe

Without this, the installed files get mangled when a dash shell is used.

(From OE-Core rev: 59db7976fa870084af19d880e594b0e94678cf19)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoupdate-alternatives: Fix absolute symlink handling
Richard Purdie [Wed, 30 May 2012 11:53:39 +0000 (12:53 +0100)]
update-alternatives: Fix absolute symlink handling

After the class changes, absolute symlinks are not being handled correctly
by the class file. This adds handling for absolute symlinks to account for the
pkgdest directory, removing dangling symlink messages from recipes like bzip2.

(From OE-Core rev: ecea2fab2063a3c478a63e62ba0e80305674c5e0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopackage.bbclass: Add warning about FILES containing '//'
Richard Purdie [Wed, 30 May 2012 10:59:01 +0000 (11:59 +0100)]
package.bbclass: Add warning about FILES containing '//'

'//' in a FILES variable causes hard to track down issues with
packaging. This adds a warning and attempts to auto-correct the issue to
try and make the problem more user friendly.

[YOCTO #2448]

(From OE-Core rev: 0e33e314b1d2d3779658696f13a274b20d698667)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolayer.conf/bitbake.conf: Tweak PATH
Richard Purdie [Wed, 30 May 2012 16:04:21 +0000 (17:04 +0100)]
layer.conf/bitbake.conf: Tweak PATH

We want the help2man script in scripts/ to be found in preference to any from
the host system and from the native sysroot. It turns out to be tricky to
get the order right from layer.conf so we move the addition of the scripts
directory to bitbake.conf.

Without this, "bitbake libtasn1 -c cleansstate; bitbake help2man-native; bitbake libtasn1"
will fail due to finding the host system help2man before ours.

(From OE-Core rev: 859255dd30958db018d40ede94a76db36a98da7f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: include varflags in checksums
Paul Eggleton [Wed, 30 May 2012 16:17:18 +0000 (17:17 +0100)]
bitbake: include varflags in checksums

Add a dependency to each variable on a filtered list of its varflags.
This is intended to catch things such as SRC_URI checksums, varflags
controlling extra functionality from classes (e.g. the recently updated
update-alternatives class in OE-Core), etc. and ensure their values
influence the sstate checksums.

There is an exclusion list which needs to be set via bitbake.conf
(BB_SIGNATURE_EXCLUDE_FLAGS), if this is not set then the functionality
is disabled. The existing vardepsexclude mechanism can also be used to
exclude undesired varflags, but they must be fully specified, e.g.:

do_patch[vardepsexclude] += "do_patch[someflag]"

Implements [YOCTO #2517].

(Bitbake rev: 56c1ab18fcaf4ac245dcb412ed55e8e0af07883b)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolib/bb/fetch2: ignore remote URIs when doing file checksums
Paul Eggleton [Wed, 30 May 2012 16:17:17 +0000 (17:17 +0100)]
lib/bb/fetch2: ignore remote URIs when doing file checksums

Skip evaluating remote URIs when doing local file checksums, because we
don't need to process them and doing so will trigger a parse failure if
SRCREV is not fully specified. Whilst this is just delaying a check
until runtime (when do_fetch runs for the recipe) we're only validating
this here accidentally and if we did wish to check it during parsing it
ought to be done explicitly.

Fixes [YOCTO #2512]

(Bitbake rev: 99feb77c2de707f2d825566cf48371c48f450e3e)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agocooker: report recipe being parsed when ExpansionError occurs
Paul Eggleton [Wed, 30 May 2012 16:17:16 +0000 (17:17 +0100)]
cooker: report recipe being parsed when ExpansionError occurs

When an ExpansionError occurs during parsing it is useful to know which
recipe was being parsed when it occurred.

(Bitbake rev: a2a8e8c9f5a1a30aacab696fd2b434939ee2c4e2)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agocooker: fix UnboundLocalError when exception occurs during parsing
Paul Eggleton [Wed, 30 May 2012 16:17:15 +0000 (17:17 +0100)]
cooker: fix UnboundLocalError when exception occurs during parsing

Fix a recent regression where we see the following additional error
after an error occurs during parsing:

ERROR: Command execution failed: Traceback (most recent call last):
  File "/home/paul/poky/poky/bitbake/lib/bb/command.py", line 84, in runAsyncCommand
    self.cooker.updateCache()
  File "/home/paul/poky/poky/bitbake/lib/bb/cooker.py", line 1202, in updateCache
    if not self.parser.parse_next():
  File "/home/paul/poky/poky/bitbake/lib/bb/cooker.py", line 1672, in parse_next
    self.virtuals += len(result)
UnboundLocalError: local variable 'result' referenced before assignment

(Bitbake rev: 1ae0181ba49ccfcb2d889de5dd1d8912b9e49157)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolib/bb/data_smart.py: don't report variable in ExpansionError if not set
Paul Eggleton [Wed, 30 May 2012 16:17:14 +0000 (17:17 +0100)]
lib/bb/data_smart.py: don't report variable in ExpansionError if not set

If the variable name is not specified then don't confuse the error message
by starting off with "Failure expanding variable None...".

(Bitbake rev: 9cb16f3c73751e7cf6d495586a6193f06eb97b1f)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agohob: handle sanity check failures as a separate event
Paul Eggleton [Mon, 28 May 2012 17:10:39 +0000 (18:10 +0100)]
hob: handle sanity check failures as a separate event

In order to show a friendlier error message that does not bury the
actual sanity error in our typical preamble about disabling sanity
checks, use a separate event to indicate that sanity checks failed.

This change is intended to work together with the related change to
sanity.bbclass in OE-Core.

Fixes [YOCTO #2336].

(Bitbake rev: 24b631acdaa143a4de39c6e1328849660c66f219)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoHob: add the 'build new' be as the primary action for 'Image detail' page
Liming An [Wed, 30 May 2012 12:01:11 +0000 (20:01 +0800)]
Hob: add the 'build new' be as the primary action for 'Image detail' page

As ui design, we should set at least one primary action for 'My Image' and
'Image detail' screen as the differnt selected image. if no 'run image' or
no 'save as template' or no 'deploy image' we should set 'build new image'

[YOCTO #2326]

(Bitbake rev: d848af637e9a14b627533bee65bf16f680dff854)

Signed-off-by: Liming An <limingx.l.an@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoHob: Fixed a compatible issue for indicator icon view
Liming An [Wed, 30 May 2012 12:01:10 +0000 (20:01 +0800)]
Hob: Fixed a compatible issue for indicator icon view

Because some screen not support the alpha visual channel, so the function
'screen.get_rgba_colormap()' will return None, it's a compatible issue, so
change it by another way.

(Bitbake rev: e58ba1ad944ea1ba95a5ada80d4c88f0165bd1ca)

Signed-off-by: Liming An <limingx.l.an@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoHOB: 'str' object has no attribute 'close'
Robert Yang [Wed, 30 May 2012 10:19:08 +0000 (18:19 +0800)]
HOB: 'str' object has no attribute 'close'

For builddetailspage.py:
  The "f" was a stream in the past, it is a string now, so it doesn't
  need f.close(), and change its name to "branch".

  And we don't need the "2>&1" since bb.process.run() can handle it, it
  will raise exception when error occurs, we should handle the exception
  ourselves if we want to ignore the error.

For hig.py:
  Use bb.process.Popen() since it doesn't need the return value. If we
  use bb.process.run(), the parent process will wait for the child process
  to terminate to get the result.

[YOCTO #2511]

(Bitbake rev: ab10f3da1976581c371c43cdb88f405cf6fbcd95)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agohob2: set beginning folders for FileChooserDialog
Kang Kai [Wed, 30 May 2012 08:13:47 +0000 (16:13 +0800)]
hob2: set beginning folders for FileChooserDialog

Set begining folders FileChooserDialog for the select images and
some local directory configurations. That may make user feel more
convenient.

(Bitbake rev: 047ad35c0c869883509557aeb982e0b784ad2e71)

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoRevert "meta: replace os.popen with subprocess.Popen"
Richard Purdie [Wed, 30 May 2012 13:20:04 +0000 (14:20 +0100)]
Revert "meta: replace os.popen with subprocess.Popen"

This reverts commit e83d8e58a6b107eea87df0ec233a1bc932b2c6e as the conversion
is not correct. Its replacing readlines() calls which generate an array with
what are effectively strings. There are split("\n") calls missing in many
cases so this needs to be reverted until it gets fixed.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoclasses/sanity: fix a couple of grammatical errors in messages
Paul Eggleton [Mon, 28 May 2012 17:10:51 +0000 (18:10 +0100)]
classes/sanity: fix a couple of grammatical errors in messages

(From OE-Core rev: 004ba67298e3e6e618df29597e9166c971a1941c)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoccache: Separate out into its own class
Richard Purdie [Tue, 29 May 2012 12:29:44 +0000 (13:29 +0100)]
ccache: Separate out into its own class

Currently, ccache is used if it is present. When building from scratch it gives
no performance improvement and creates a ton of empty directories even when its
not in use.

This change moves ccache support to a bbclass file which the user can choose to
enable. This should make builds more determinstic and make it easier/clearer
to the end user when its being used and when it is not.

(From OE-Core rev: 2acf8da4f13c175ea818b9514677b7059de1e3e2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoscripts/cp-noerror: Add a special copy function to fix autotools issues
Richard Purdie [Tue, 29 May 2012 12:28:48 +0000 (13:28 +0100)]
scripts/cp-noerror: Add a special copy function to fix autotools issues

Currently we copy the aclocal directory to the build so that autotools
doesn't see .m4 files disappear when its processing them. This can happen
if for example, package X is being rebuilt at the same time as Y and it
gets uninstalled from sstate (assuming there are no dependencies between
X and Y). This code making the copy was added to avoid races but introduces
a race of its own, namely that the files can disappear during the copy.

This patch adds a cp-noerror script which silently ignores such errors
and gives the behaviour we need in this case. It hence fixes issues which
crop up for users and the autobuilder occasionally.

[YOCTO #2485]

(From OE-Core rev: 0f81fbc0df73675aeb79c724858799a3b6a02f85)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoxz: updated to version 5.1.1alpha
Valentin Popa [Wed, 23 May 2012 11:08:58 +0000 (14:08 +0300)]
xz: updated to version 5.1.1alpha

The licenses are the same, only some white spaces added/removed.

(From OE-Core rev: da98266f3a228cf65f279db9810a5326c8bd5422)

Signed-off-by: Valentin Popa <valentin.popa@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoqemu: Add an option to remove host sdl/gl checking
Zhai Edwin [Tue, 29 May 2012 08:30:33 +0000 (16:30 +0800)]
qemu: Add an option to remove host sdl/gl checking

Add an PACKAGECONFIG in qemu to disable GL acceleration:
* By default configure try best to enable GL acceleration and fail when missing
  host dependency(libSDL and libGL).
* End user can also choose to turn off GL capability, thus remove the host
  dependence in building.

[YOCTO #2407] got fixed.

(From OE-Core rev: cfa93553e17057a1ea9d81e3a415fc8260c54067)

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoclasses/sanity: send sanity check failure as a separate event for Hob
Paul Eggleton [Mon, 28 May 2012 17:10:50 +0000 (18:10 +0100)]
classes/sanity: send sanity check failure as a separate event for Hob

In order to show a friendlier error message within Hob that does not
bury the actual sanity error in our typical preamble about disabling
sanity checks, use a separate event to indicate that sanity checks
failed.

This change is intended to work together with the related change to
BitBake, however it has a check to ensure that it does not fail with
older versions that do not include that change.

Fixes [YOCTO #2336].

(From OE-Core rev: 49d8b7b8c3b18da64583637db207f1f064a5bdb2)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agofoomatic-filters: update to version 4.0.15
Radu Moisan [Fri, 25 May 2012 08:50:55 +0000 (11:50 +0300)]
foomatic-filters: update to version 4.0.15

(From OE-Core rev: 8bfec8bf80b111174e4a6cf01db019b38638b31a)

Signed-off-by: Radu Moisan <radu.moisan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomtd-utils: Update to version 1.5.0
Radu Moisan [Fri, 25 May 2012 14:02:10 +0000 (17:02 +0300)]
mtd-utils: Update to version 1.5.0

(From OE-Core rev: f53a8aed0db26c6464751f340a7e010c45f76ebb)

Signed-off-by: Radu Moisan <radu.moisan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoman-pages: update to version 3.41
Radu Moisan [Fri, 25 May 2012 13:56:50 +0000 (16:56 +0300)]
man-pages: update to version 3.41

(From OE-Core rev: b48cd36fd40d6784e203b3bac85b63643813a6db)

Signed-off-by: Radu Moisan <radu.moisan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoclasses/sanity: remove broken TARGET_ARCH check
Paul Eggleton [Mon, 28 May 2012 14:34:17 +0000 (15:34 +0100)]
classes/sanity: remove broken TARGET_ARCH check

The variable name has been typo'd as TARGE_ARCH since it was introduced
some time ago, so the check has never worked. Fixing the typo shows that
the test is not quite functional, so let's just remove it:

http://lists.linuxtogo.org/pipermail/openembedded-core/2011-October/010613.html

(From OE-Core rev: 897a9b1dddef385253b16ea7c193483e0ea679b6)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibpciaccess: upgrade to 0.13.1
Laurentiu Palcu [Mon, 28 May 2012 05:48:00 +0000 (08:48 +0300)]
libpciaccess: upgrade to 0.13.1

Removed also the fix_deletion_of_last_handle.patch because the new
version includes it.

(From OE-Core rev: b5753796e7f8b52e40aed51f4d5c8d329a31265e)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agofontsproto: upgrade to 2.1.2
Laurentiu Palcu [Mon, 28 May 2012 05:47:59 +0000 (08:47 +0300)]
fontsproto: upgrade to 2.1.2

(From OE-Core rev: c718f63b263f41e48b2293b2cd67371940b10804)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agofontconfig: upgrade to 2.9.0
Laurentiu Palcu [Mon, 28 May 2012 05:47:58 +0000 (08:47 +0300)]
fontconfig: upgrade to 2.9.0

Other changes:
- licence checksums because the licence headers changed slightly:
  several other authors were added and Keith Packard's name has been
  replaced with "author(s)". That's it.
- rebased the fix-pkgconfig.patch to apply on 2.9.0
- removed all sed instructions in do_configure_append() that were
  changing fc-arch/Makefile. In the new version the fc-arch/ directory
  has been removed in order to make the package cross-compiling safe

(From OE-Core rev: 8e219dea0373dc3a37d51f63c41f1a8449029dd5)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoscripts/buildhistory-diff: add GitPython version check
Paul Eggleton [Mon, 28 May 2012 12:57:12 +0000 (13:57 +0100)]
scripts/buildhistory-diff: add GitPython version check

Display an error if the user does not have at least version 0.3.1 of
GitPython installed.

(From OE-Core rev: 2f0f5a895504924b5a21699854678e9bc25b447c)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobuildhistory_analysis: fix error when version specifier missing
Paul Eggleton [Mon, 28 May 2012 12:57:11 +0000 (13:57 +0100)]
buildhistory_analysis: fix error when version specifier missing

Passing None to split_versions() will raise an exception, so check that
the version is specified before passing it in.

(From OE-Core rev: 90caa605bd24279e4a9204e279492754119a8a55)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agometa: replace os.popen with subprocess.Popen
Robert Yang [Tue, 29 May 2012 14:53:08 +0000 (22:53 +0800)]
meta: replace os.popen with subprocess.Popen

Replace os.popen with subprocess.Popen since the older function would
fail (more or less) silently if the executed program cannot be found

There are both bb.process.run() and bb.process.Popen() which wraps the
subprocess module, use it for simplifying the code.

Note: We don't need the "2>/dev/null" or "2>&1" since bb.process.run()
can handle it, it will raise exception when error occurs, we should
handle the exception ourselves if we want to ignore the error.

More info:
http://docs.python.org/library/subprocess.html#subprocess-replacements

[YOCTO #2454]

(From OE-Core rev: e83d8e58a6b107eea87df0ec233a1bc932b2c6ea)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoscripts: replace os.system with subprocess.call
Robert Yang [Tue, 29 May 2012 14:53:07 +0000 (22:53 +0800)]
scripts: replace os.system with subprocess.call

Replace os.system with subprocess.call since the older function would
fail (more or less) silently if the executed program cannot be found

More info:
http://docs.python.org/library/subprocess.html#subprocess-replacements

[YOCTO #2454]

(From OE-Core rev: 57f843146ed62c04c23bc380dc8cb38aba264f1c)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agometa: replace os.system with subprocess.call
Robert Yang [Tue, 29 May 2012 14:53:06 +0000 (22:53 +0800)]
meta: replace os.system with subprocess.call

Replace os.system with subprocess.call since the older function would
fail (more or less) silently if the executed program cannot be found

More info:
http://docs.python.org/library/subprocess.html#subprocess-replacements

[YOCTO #2454]

(From OE-Core rev: a07d03cc6f67c88feb9813ae7deb6e4a93552dfe)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoshadow-utils-native: remove unnecessary alternatives
Mark Hatle [Mon, 21 May 2012 21:18:41 +0000 (16:18 -0500)]
shadow-utils-native: remove unnecessary alternatives

(From OE-Core rev: b1ea93143a473f006b31ab22f88baf41661971a7)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agokmod: use new update-alternatives
Mark Hatle [Mon, 21 May 2012 21:19:18 +0000 (16:19 -0500)]
kmod: use new update-alternatives

(From OE-Core rev: 5879e0d3a2b3a6d000e33cadf4407c38ae1eb1ab)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosysklogd: use new update-alternatives
Mark Hatle [Mon, 21 May 2012 21:18:58 +0000 (16:18 -0500)]
sysklogd: use new update-alternatives

(From OE-Core rev: c32dca4013d851aeb9d661a25cab81daf213121f)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopsmisc: use new update-alternatives
Mark Hatle [Mon, 21 May 2012 21:18:21 +0000 (16:18 -0500)]
psmisc: use new update-alternatives

(From OE-Core rev: 867864451baa875f48d87f4b8dbce80a90038243)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoiputils: use new update-alternatives
Mark Hatle [Mon, 21 May 2012 21:18:08 +0000 (16:18 -0500)]
iputils: use new update-alternatives

(From OE-Core rev: dbd81c151305faf20f8e9e6f1a588d6ce4cfd49b)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogrep: use new update-alternatives
Mark Hatle [Mon, 21 May 2012 21:17:55 +0000 (16:17 -0500)]
grep: use new update-alternatives

(From OE-Core rev: ca478f563575ff2262741821ec35d4dfbf9f4487)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agocpio: use new update-alternatives
Mark Hatle [Mon, 21 May 2012 21:17:40 +0000 (16:17 -0500)]
cpio: use new update-alternatives

(From OE-Core rev: 6dee3050a4a0c4f3cc9fec23a0bc02155d680863)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoopkg: use new update-alternatives
Mark Hatle [Mon, 21 May 2012 21:17:22 +0000 (16:17 -0500)]
opkg: use new update-alternatives

(From OE-Core rev: fc9c2fd512e592806b10d0273ca490c90072ff3f)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agotar: use new update-alternatives
Mark Hatle [Mon, 21 May 2012 18:18:49 +0000 (13:18 -0500)]
tar: use new update-alternatives

(From OE-Core rev: ed48d4b382dae08ac47bccdcb98b1e87dc6449cc)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobinutils: use new update-alternatives
Mark Hatle [Mon, 21 May 2012 18:17:41 +0000 (13:17 -0500)]
binutils: use new update-alternatives

(From OE-Core rev: f0ad3c8ce298ca492938e4ded2263c54213786f6)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoutil-linux: use new update-alternatives
Mark Hatle [Mon, 21 May 2012 17:42:34 +0000 (12:42 -0500)]
util-linux: use new update-alternatives

In addition to switching to the new update-alternatives, it was discovered
that the sln, shutdown, halt, reboot and related commands were never generated.
Remove these from the list.  (These appear to have been removed from util-linux
some time ago.)

(From OE-Core rev: 55c01de28a28a4cfe16d36663c190a874ef2e85d)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopsplash: use new update-alternatives
Mark Hatle [Tue, 15 May 2012 23:35:15 +0000 (18:35 -0500)]
psplash: use new update-alternatives

(From OE-Core rev: dc68ad07676833a2b8dba9540f35c0b70bf2fdfe)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoncurses: use new update-alternatives
Mark Hatle [Tue, 15 May 2012 23:35:04 +0000 (18:35 -0500)]
ncurses: use new update-alternatives

(From OE-Core rev: 54a92bdd0555d776efe92f7cf57a75039562556a)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodropbear: use new update-alternatives
Mark Hatle [Tue, 15 May 2012 23:34:50 +0000 (18:34 -0500)]
dropbear: use new update-alternatives

(From OE-Core rev: e7164da229d8ccccb043a790b25c995a46a83c88)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agocoreutils: use new update-alternatives
Mark Hatle [Tue, 15 May 2012 23:34:39 +0000 (18:34 -0500)]
coreutils: use new update-alternatives

(From OE-Core rev: 4bed7f31535f16dbe1f8bbab58921f12f1696f6f)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobusybox: use new update-alternatives
Mark Hatle [Tue, 15 May 2012 23:34:17 +0000 (18:34 -0500)]
busybox: use new update-alternatives

(From OE-Core rev: fbbc96aed5086f853a1179f1478ccd252af24094)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoopenssh: use new update-alternatives
Mark Hatle [Tue, 15 May 2012 23:34:02 +0000 (18:34 -0500)]
openssh: use new update-alternatives

(From OE-Core rev: b417ced0573acde896332827bcc13b0f7c5bd9fe)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolrzsz: use new update-alternatives
Mark Hatle [Tue, 15 May 2012 23:33:46 +0000 (18:33 -0500)]
lrzsz: use new update-alternatives

(From OE-Core rev: df53826b5ee66bcafd7d091630b2d18477f3a672)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosysvinit: use new update-alternatives
Mark Hatle [Tue, 15 May 2012 23:33:05 +0000 (18:33 -0500)]
sysvinit: use new update-alternatives

Also remove postinst and prerm which were not being used.

(From OE-Core rev: 60fd9974e5c9a0576059ebded6de7b599f9574e5)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agotinylogin: use BPN for alternatives
Mark Hatle [Tue, 22 May 2012 17:40:00 +0000 (12:40 -0500)]
tinylogin: use BPN for alternatives

(From OE-Core rev: 60884b6bee6be7250caca2f229eda174bcefd959)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopatch: use BPN for alternatives
Mark Hatle [Tue, 22 May 2012 17:39:33 +0000 (12:39 -0500)]
patch: use BPN for alternatives

(From OE-Core rev: aa092530d3fdbfe6671ab6a05ecea2d71c4e11e4)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoless: use BPN for alternatives
Mark Hatle [Tue, 22 May 2012 17:39:03 +0000 (12:39 -0500)]
less: use BPN for alternatives

(From OE-Core rev: 3361ebfd61dc0d5914a506b1a06b92bd80734114)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomktemp: use BPN for alternatives
Mark Hatle [Tue, 22 May 2012 17:38:45 +0000 (12:38 -0500)]
mktemp: use BPN for alternatives

(From OE-Core rev: c1285844b9a46221c8e0b24ef29642bec312035b)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosed: use BPN for alternatives
Mark Hatle [Tue, 22 May 2012 17:38:19 +0000 (12:38 -0500)]
sed: use BPN for alternatives

(From OE-Core rev: cd059cb57efa2aad332ef2fc7f1f411afce82b73)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoshadow: use BPN for alternatives
Mark Hatle [Tue, 22 May 2012 17:38:09 +0000 (12:38 -0500)]
shadow: use BPN for alternatives

(From OE-Core rev: 87d43530b434e5be139b845d6b96bbf2d885867d)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agotime: use BPN for alternatives
Mark Hatle [Tue, 22 May 2012 17:37:40 +0000 (12:37 -0500)]
time: use BPN for alternatives

(From OE-Core rev: 0a621679772d7996c6342ad1e99de484082d9987)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agowget: use BPN for alternatives
Mark Hatle [Tue, 22 May 2012 17:37:27 +0000 (12:37 -0500)]
wget: use BPN for alternatives

(From OE-Core rev: 7e5c325df40012cf21cbbf9a38f4d476f62d7100)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agowhich: use BPN for alternatives
Mark Hatle [Tue, 22 May 2012 17:37:16 +0000 (12:37 -0500)]
which: use BPN for alternatives

(From OE-Core rev: 3ddf0dbfe5b0dae2baa2719aa96f0bdea1fe7b80)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoupdate-alternatives.bbclass: Change from using PN to BPN
Mark Hatle [Tue, 15 May 2012 23:24:58 +0000 (18:24 -0500)]
update-alternatives.bbclass: Change from using PN to BPN

In order to better support multilib processing, switch from PN
to BPN.

(From OE-Core rev: 75f70ab534f6dfef961906fb5c252f9e5310d38f)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoupdate-alternatives.bbclass: Refactor the implementation
Mark Hatle [Tue, 15 May 2012 16:06:22 +0000 (11:06 -0500)]
update-alternatives.bbclass: Refactor the implementation

Refactor in order to:
  * Deprecate the old interfaces, but keep them for compatibility
  * Provide a new, interface -- capable of working with split packages
  * Each update-alternative will now set proper "per-file" provides

Note: this adds a warning message when the older deprecated behavior is
used.  The older behavior has been fully tested using oe-core.

(From OE-Core rev: 309117d26de6a87b16406a44a0cefcbaaf7b5d7a)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agocooker.py: terminate the Parser processes
Kang Kai [Wed, 23 May 2012 09:40:19 +0000 (17:40 +0800)]
cooker.py: terminate the Parser processes

[Yocto 2142]

Force to exit HOB when hob is parsing recipes, the bitbake doesn't stop.
It hangs on function BitBakeServerConnection::terminate in file
server/process.py:
    else:
        self.procserver.join()
It is waiting for the children process quit.

In stage of parse recipes BBCooker spawns Parser processes as many as
cpu numbers. When quit the Parser processes they make their internal
Queue to call cancel_join_thread() to avoid block but don't work at
this time.
So force to terminate the Parser processes.

(Bitbake rev: bebef58b21bdff7a3ee1fa2449b7df19144f26fd)

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoimage.bbclass: Ensure ${S} is cleaned at the start of rootfs generation
Richard Purdie [Fri, 11 May 2012 14:16:07 +0000 (14:16 +0000)]
image.bbclass: Ensure ${S} is cleaned at the start of rootfs generation

Some image classes such as bootimg save files into ${S} as part of rootfs
generation. For correctness we should therefore clean this at the start of
image generation to ensure reproducibility.

I found this issue when some files I thought should disappear from my rootfs
would not disappear.

(From OE-Core rev: 363424cdc78cafa278008f973c2b4288297ebf8c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoglib-2.0: Clean up OECONF flags into one variable
Richard Purdie [Fri, 25 May 2012 07:59:02 +0000 (07:59 +0000)]
glib-2.0: Clean up OECONF flags into one variable

Without this change, libelf was "floating" for linuxstdbase for example,
leading to build failures. This patch moves all the common options
into a common variable.

(From OE-Core rev: 382bd564d0675bded38459943ab1fe5dbc1e9ee7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibxml2/libxslt: Don't depend on ansidecl.h header
Richard Purdie [Fri, 25 May 2012 09:15:39 +0000 (09:15 +0000)]
libxml2/libxslt: Don't depend on ansidecl.h header

We don't DEPEND on binutils for ansidecl.h so ensure we should never
use the header. This makes builds determinstic and means something like:

bitbake binutils
bitbake libxml2 -c configure
bitbake binutils -c clean
bitbake libxml2

doen't fail to build.

(From OE-Core rev: fe6cabfb0c6f382ef6131e07437b90c2afbf5488)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoltp: Add attr to DEPENDS list
Saul Wold [Thu, 24 May 2012 23:40:04 +0000 (16:40 -0700)]
ltp: Add attr to DEPENDS list

(From OE-Core rev: a6d6432b508451d0847336dc980bc0541396e310)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobinutils: Drop old/stale/broken csl recipe
Richard Purdie [Thu, 24 May 2012 10:00:12 +0000 (11:00 +0100)]
binutils: Drop old/stale/broken csl recipe

The patches this recipe refers to don't exist so nobody can have
been using this so lets just remove it.

(From OE-Core rev: 29916bfbbea3bb785e8e4d332848b19ebc0a3ea9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agowpa-supplicant: don't let postinst fail when dbus-1 reload fails
Martin Jansa [Thu, 24 May 2012 20:51:37 +0000 (22:51 +0200)]
wpa-supplicant: don't let postinst fail when dbus-1 reload fails

* e.g. when upgrading in chroot
  Configuring wpa-supplicant.
  Reloading system message bus config: Failed to open connection to system message bus: Failed to connect to socket /var/run/dbus/system_bus_socket: Connection refused
  but that shouldn't be fatal

(From OE-Core rev: 96a1b26c62ef33f6d10fe7ac9dcf5f93c683d6e8)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopackage.bbclass: Add additional debugging for dependencies
Mark Hatle [Wed, 23 May 2012 20:24:37 +0000 (15:24 -0500)]
package.bbclass: Add additional debugging for dependencies

When trying to understand why a QA wanring such as:

ERROR: QA Issue: foo rdepends on bar-dev

it is very difficult to figure out where the bar-dev dependency
comes from, since many of them are added dynamically.

This adds a debug statement that says which dependency adds an
rdepends to the system.

Also, while doing this work, it was noted that the same dependencies
were being scanned for over and over.  Instead we shorten the list
by only added to the dep list if the dependency was not already there.

(From OE-Core rev: 257b9e371143421b78a6991ef5401e564918c164)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoUpdated distro-tracking-fields.inc
Bogdan Marinescu [Thu, 24 May 2012 19:49:20 +0000 (22:49 +0300)]
Updated distro-tracking-fields.inc

Updated metadata for lttng-tools.

(From OE-Core rev: fad8456ccfbc7b182465fc7f6508c004d106bfdb)

Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolttng-tools: updated to 2.0.1
Bogdan Marinescu [Thu, 24 May 2012 19:49:19 +0000 (22:49 +0300)]
lttng-tools: updated to 2.0.1

Removed patch for ARM compilation, as it seems that the upstream fixed
the ARM compilation problem in a slightly different way (tested by compiling
lttng-tools for MACHINE=qemuarm)

(From OE-Core rev: aa43a37da4f14b5a184f79b2ff43b0cd491e49af)

Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolttng2-ust: updated to version 2.0.2
Bogdan Marinescu [Thu, 24 May 2012 19:49:18 +0000 (22:49 +0300)]
lttng2-ust: updated to version 2.0.2

Tested with 'lttv' on core-image-lsb.

(From OE-Core rev: 871353ca368ef668750251b1d6a4d9de327f3131)

Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoavahi: fix install issue
Nitin A Kamble [Thu, 3 May 2012 18:31:55 +0000 (11:31 -0700)]
avahi: fix install issue

(From OE-Core rev: eb69c7f1063174e95a42cac7c83384ea9e4bec90)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomake-3.81: fix build with automake 1.12
Nitin A Kamble [Fri, 4 May 2012 20:23:10 +0000 (13:23 -0700)]
make-3.81: fix build with automake 1.12

(From OE-Core rev: 8dbb71a8bf33c6d2494dbbb74d3e944d788eca50)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agofindutils-4.2.31: fix build with automake 1.12
Nitin A Kamble [Fri, 4 May 2012 20:16:33 +0000 (13:16 -0700)]
findutils-4.2.31: fix build with automake 1.12

(From OE-Core rev: d91b315f602d60705e79381807810e20dd9bdc8d)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>