scm/bb/tizen-distro.git
12 years agopython: Add Upstream-Status entries for bsddb patches, no code changes
Jackie Huang [Fri, 17 Aug 2012 07:27:02 +0000 (15:27 +0800)]
python: Add Upstream-Status entries for bsddb patches, no code changes

(From OE-Core rev: 62187bdbaf39b116c2ce4d924dd9b670716b744c)

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agowebkit-gtk: update to 1.8.2
Andreas Müller [Fri, 17 Aug 2012 08:55:17 +0000 (10:55 +0200)]
webkit-gtk: update to 1.8.2

run tested with midori 0.4.5:
* google maps
* google mail (https)

(From OE-Core rev: 8a2ecf231851ae0c4bde0c4edb43c64883b91c5c)

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoadt-installer: add support for relocatable SDK
Laurentiu Palcu [Fri, 17 Aug 2012 10:38:11 +0000 (13:38 +0300)]
adt-installer: add support for relocatable SDK

Since we made the SDK relocatable, we have to add this functionality to
adt-installer too.

(From OE-Core rev: 0fa784c261050c632b7237ba3d43a148ab71b0ca)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopackage.bbclass: change RPATHs for cross-canadian binaries
Laurentiu Palcu [Fri, 17 Aug 2012 10:38:10 +0000 (13:38 +0300)]
package.bbclass: change RPATHs for cross-canadian binaries

When building the meta-toolchain, the binaries didn't get relocatable
RPATHs. They were hardcoded to the default path. Hence, if one had
already installed one SDK in the default path and one in another
location, the later toolchain's binaries would search and load libraries
from the first location, ending in a "Segmentation Fault".

[YOCTO #2927]

(From OE-Core rev: b40a03c43d5d9d738a9aa5b43b2ecfe74fc95018)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopopulate_sdk_base.bbclass: fix SDK relocation issues
Laurentiu Palcu [Fri, 17 Aug 2012 10:38:09 +0000 (13:38 +0300)]
populate_sdk_base.bbclass: fix SDK relocation issues

The problem appears if multiple setup environment scripts are found. In
order to find only the script we're interested in, I removed globbing in
matching pattern with ${REAL_MULTIMACH_TARGET_SYS} that will be expanded
to the correct string.

Also, fix a problem when changing the scripts/configs. The grep pattern
matched also files that contained "text" in their name.

(From OE-Core rev: d81768560676da201fd730ae3930b080ab8c5c75)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogtk+ remove 2.16.6
Ross Burton [Fri, 17 Aug 2012 11:35:17 +0000 (12:35 +0100)]
gtk+ remove 2.16.6

(From OE-Core rev: a11630f4eb667d78260cec09d2bafe621bad04e1)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogtk+: remove 2.12.7
Ross Burton [Fri, 17 Aug 2012 11:35:16 +0000 (12:35 +0100)]
gtk+: remove 2.12.7

(From OE-Core rev: 8ba09db01ab6ed9a57498528ab20abd12c1fa314)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: bin/bitbake: Remove knotty2 from the list of valid interfaces
Richard Purdie [Thu, 16 Aug 2012 14:15:49 +0000 (15:15 +0100)]
bitbake: bin/bitbake: Remove knotty2 from the list of valid interfaces

(Bitbake rev: e0f91faf195be63803d39fb42fcd115ad558c79f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobase.bbclass: Work even when there's no PNBLACKLIST entries
Peter Seebach [Thu, 16 Aug 2012 16:50:45 +0000 (11:50 -0500)]
base.bbclass: Work even when there's no PNBLACKLIST entries

It turns out that the result of getVarFlags is not a list, it's
a dict. So "getVarFlags(...) or []" does not reliably produce
something with a .items. This escaped detection because our
local build environment never ends up running builds without
PNBLACKLIST entries.

(From OE-Core rev: 491df239170dd20f3e91df6bc1ead2945a78e075)

Signed-off-by: Peter Seebach <peter.seebach@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: bitbake: build.py: Add stampdir argument to cached_mtime_noerror
Andrei Gherzan [Thu, 16 Aug 2012 11:21:33 +0000 (14:21 +0300)]
bitbake: bitbake: build.py: Add stampdir argument to cached_mtime_noerror

After commit 2718537b4b04eb3d80ab4d74171b58e7b8dd68b8 (bitbake:
build.py: Only execute mkdirhier if stampdir doesn't exist) build
failes as cached_mtime_noerror needs an argument - stamp dir. This
argument was forgotten.

(Bitbake rev: e69103c4f7e45c24f1fbe9df0383f39e877abcb4)

Signed-off-by: Andrei Gherzan <andrei.gherzan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: knotty: Fold knotty2 into knotty and make it the default
Richard Purdie [Wed, 15 Aug 2012 16:50:22 +0000 (17:50 +0100)]
bitbake: knotty: Fold knotty2 into knotty and make it the default

There is no good reason knotty2 shouldn't be the default now. If you need
the old behaviour, just pipe the output through cat as non-interactive
terminals get the old output.

(Bitbake rev: b97d50618b2187bcfd7d25f64d1444482ca62ef7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: knotty2: Handle long lines of text and terminal window size changes
Richard Purdie [Wed, 15 Aug 2012 16:00:40 +0000 (17:00 +0100)]
bitbake: knotty2: Handle long lines of text and terminal window size changes

Long lines of text which wrapped on the terminal corrupted the output shown by
knotty2. This patch catches such errors by becomming aware of the terminal size.

It also catches terminal window size change events and adapting to those
changes using a signal handler.

Based on a patch from Jason Wessel with several tweaks and enhancements
such as use of chained signal handlers and covering all output messages.

(Bitbake rev: 9afc9e4d14abec5ac326851d4bb689c1e8d45a43)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: build.py: Only execute mkdirhier if stampdir doesn't exist
Richard Purdie [Wed, 15 Aug 2012 15:57:47 +0000 (16:57 +0100)]
bitbake: build.py: Only execute mkdirhier if stampdir doesn't exist

I noticed this was showing up on profile logs as a sigificant time user
in "bitbake bash" when bash was already built. It reduces the time from
5.2 to 4.5 seconds in my test environment.

We make use of the parser's mtime cache as once a directory exists,
we can assume it continues to exist and this avoids syscalls.

(Bitbake rev: 769b694eeb617bb793bd79d0d7b29c43d2646ece)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: bb/ui/uihelper.py: Ensure task current and total numbers are updated for...
Richard Purdie [Wed, 15 Aug 2012 15:59:57 +0000 (16:59 +0100)]
bitbake: bb/ui/uihelper.py: Ensure task current and total numbers are updated for setscene events too

This avoids task (0 of 0) type messages being displayed during setscene by knotty2.

(Bitbake rev: 53efa01720a61da2cb344cbb7e977baa28deba3b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: knotty: Chain the WINCH signal handler in progressbar so any other handler...
Richard Purdie [Wed, 15 Aug 2012 15:58:46 +0000 (16:58 +0100)]
bitbake: knotty: Chain the WINCH signal handler in progressbar so any other handler is preserved and called

(Bitbake rev: 7753e075dbeee471b9ceb34f1e3165aa656932ed)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoclasses/chrpath: trigger an error if chrpath fails
Paul Eggleton [Wed, 15 Aug 2012 16:44:33 +0000 (17:44 +0100)]
classes/chrpath: trigger an error if chrpath fails

If chrpath failed here we were just silently ignoring it.

(From OE-Core rev: 24babf9316da50c8a4d2f328c4336cb8cd6cf667)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopimlico: Remove
Ross Burton [Thu, 9 Aug 2012 07:46:17 +0000 (08:46 +0100)]
pimlico: Remove

Remove the Pimlico applications (Contacts, Dates, Tasks).  oe-core isn't a
reference PIM stack, so we don't need this.

(From OE-Core rev: 373895e6c691277e15a09aee3504243448c55b50)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogst-plugins-base: remove avahi from DEPENDS
Radek Dostal [Tue, 14 Aug 2012 19:26:43 +0000 (21:26 +0200)]
gst-plugins-base: remove avahi from DEPENDS

avahi is no longer required as gnome_vfs is disabled

(From OE-Core rev: a62a8df59c176be4f32dfddabbed7b2deb0e6283)

Signed-off-by: Radek Dostal <rd@radekdostal.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosstate-cache-management.sh: update it for the new layout
Robert Yang [Tue, 14 Aug 2012 14:01:33 +0000 (22:01 +0800)]
sstate-cache-management.sh: update it for the new layout

Update it for the new layout of sstate-cache.

Note: It doesn't handle the old sstate-cache/sstate-xxx.tgz (or
siginfo), the user should remove it manually (rm -fr
sstate-cache/sstate-* would be OK).

[YOCTO #2897]

(From OE-Core rev: fcb61aa552a641faafdf2216fa57ba5ac6b9991f)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoclasses: add gsettings.bbclass
Ross Burton [Tue, 14 Aug 2012 16:10:31 +0000 (17:10 +0100)]
classes: add gsettings.bbclass

This class registers postinst/postrm hooks to compile the GSetting schemas, and
adds the relevant dependencies.  If possible the postinst happens on the host to
avoid running it on the target.

[ YOCTO #2798 ]

(From OE-Core rev: ba9d5626174c1144b83963755ef310328306c3a3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agorpmresolve: improve debug output
Paul Eggleton [Mon, 13 Aug 2012 09:14:23 +0000 (10:14 +0100)]
rpmresolve: improve debug output

Rename rpmresolve's -d option to -t and make -d enable debug output;
add a -o option to specify the output file (so rpm debug output doesn't
go to the output file) and also add a little more detail to some of the
error messages.

(From OE-Core rev: 163dd734d79fd7040b48b10bca6fde28460ac20c)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibdrm: package update 2.4.35 -> 2.4.37
Constantin Musca [Mon, 13 Aug 2012 06:14:19 +0000 (09:14 +0300)]
libdrm: package update 2.4.35 -> 2.4.37

(From OE-Core rev: eb33c1993e5da05eb4519a2e93409e50f4ac55d6)

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoman: make man actually work by installing custom man.config
Koen Kooi [Mon, 13 Aug 2012 07:49:00 +0000 (09:49 +0200)]
man: make man actually work by installing custom man.config

The default man.conf is named wrong and doesn't work. It references gtbl, while groff installs tbl and other things. This man.conf is imported from OE classic and runtime tested on angstrom.

Before:

root@beaglebone:~# man man
sh: /usr/bin/gtbl: No such file or directory
sh: line 0: echo: write error: Broken pipe
gunzip: write: Broken pipe
gunzip: error inflating
sh: line 0: echo: write error: Broken pipe
sh: line 0: echo: write error: Broken pipe

After:

root@beaglebone:~# man man
MAN(1)                        Manual pager utils                        MAN(1)

NAME
       man - an interface to the on-line reference manuals

SYNOPSIS
       man  [-C  file]  [-d]  [-D]  [--warnings[=warnings]]  [-R encoding] [-L
       locale] [-m system[,...]] [-M path] [-S list]  [-e  extension]  [-i|-I]
       [--regex|--wildcard]   [--names-only]  [-a]  [-u]  [--no-subpages]  [-P
       pager] [-r prompt] [-7] [-E encoding] [--no-hyphenation] [--no-justifi-
       cation]  [-p  string]  [-t]  [-T[device]]  [-H[browser]] [-X[dpi]] [-Z]
       [[section] page ...] ...
       man -k [apropos options] regexp ...
       man -K [-w|-W] [-S list] [-i|-I] [--regex] [section] term ...
       man -f [whatis options] page ...
       man -l [-C file] [-d] [-D] [--warnings[=warnings]]  [-R  encoding]  [-L
       locale]  [-P  pager]  [-r  prompt]  [-7] [-E encoding] [-p string] [-t]
       [-T[device]] [-H[browser]] [-X[dpi]] [-Z] file ...
       man -w|-W [-C file] [-d] [-D] page ...
       man -c [-C file] [-d] [-D] page ...
       man [-hV]

Check for config name:

root@beaglebone:~# rm /etc/man.config
root@beaglebone:~# man man
Warning: cannot open configuration file /etc/man.config
No manual entry for man

As a bonus a bunch of references to the buildhost get removed from the config file.

(From OE-Core rev: edff7ae2d2fbd9ccc69645f9f86f3b9d0a53cb23)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agokernel.bbclass: remove default module_autoload and module_conf values
Bruce Ashfield [Thu, 26 Jul 2012 18:04:31 +0000 (14:04 -0400)]
kernel.bbclass: remove default module_autoload and module_conf values

kernel.bbclass is a common class for many different kernel versions,
and as such the default module_autoload and module_conf values that
it contains are not relevant, or out of date for most builds.

Individual kernel recipes or distros can better specify these
values to meet their needs.

(From OE-Core rev: a134efa7743edc3b7ca8abb651add6d2045c3b44)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoman: fix RDEPENDS and reformat recipe
Koen Kooi [Thu, 9 Aug 2012 16:43:56 +0000 (18:43 +0200)]
man: fix RDEPENDS and reformat recipe

(From OE-Core rev: f50fc40f0382a6ddac6bdf602b4303fde998edbe)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopigz: Update to upstream version 2.2.5
Björn Stenberg [Fri, 10 Aug 2012 09:58:02 +0000 (11:58 +0200)]
pigz: Update to upstream version 2.2.5

Also added beginline/endline to LIC_FILES_CHKSUM to not track whole pigz.c.

(From OE-Core rev: 8bec1f82ab3a53c9b89cdd27b412417b123ce7b1)

Signed-off-by: Bjorn Stenberg <bjst@enea.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosysklogd: removed tabs from syslog.conf
Mihai Lindner [Fri, 10 Aug 2012 09:07:38 +0000 (12:07 +0300)]
sysklogd: removed tabs from syslog.conf

Yocto #2926: syslog.conf should not have tabs within the selector field.
Removed tabs from the selector field of syslog rules. Tabs or spaces
should be used, in syslog.conf, only when separating selectors from
actions.

(From OE-Core rev: 1316be4e597332a629842b3f5a7dde8e45dd057d)

Signed-off-by: Mihai Lindner <mihaix.lindner@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogettext-0.18: explicitly disable acl.
Xin Ouyang [Fri, 10 Aug 2012 11:29:57 +0000 (19:29 +0800)]
gettext-0.18: explicitly disable acl.

gettext-0.18 gets a new option for acl, but we do not place acl
into DEPENDS.
So, explicitly disable acl for deterministic builds.

(From OE-Core rev: 96f5ea19f2b8ba396f92377b93a763af7b6109b6)

Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodbus: Fix pid file in dbus init script
Andy Ross [Fri, 10 Aug 2012 19:00:41 +0000 (12:00 -0700)]
dbus: Fix pid file in dbus init script

The PIDFILE (/var/run/dbus/pid) referenced by /etc/init.d/dbus-1 did
not match the path (/var/run/messagebus.pid) configured in
/etc/dbus-1/system.conf, so the initscript could start the daemon, but
not stop it.  Also remove needless directory ownership logic
(dbus-daemon drops its pid file as root before calling setuid).

(From OE-Core rev: 23cfbff5611c2ed52eedfaa99b1d6eccd326f035)

Signed-off-by: Andy Ross <andy.ross@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobase.bbclass: Expand PNBLACKLIST across multilibs too
Peter Seebach [Fri, 10 Aug 2012 22:32:56 +0000 (17:32 -0500)]
base.bbclass: Expand PNBLACKLIST across multilibs too

The PNBLACKLIST feature does not currently work with multilibs,
because they have different ${PN}. The obvious thing to do is to
do this at the same point that we do the PREFERRED_PROVIDER
and PREFERRED_VERSION fixups. (Making the PNBLACKLIST check
do the for-each-multilib check requires it to do the multilib
list generation repeatedly.)

(From OE-Core rev: 9bc0ca9369d0daee94abf60d3d521cc734c7e8cd)

Signed-off-by: Peter Seebach <peter.seebach@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosysfsutils: install libs to base_libdir
Wenzong Fan [Tue, 7 Aug 2012 12:14:23 +0000 (20:14 +0800)]
sysfsutils: install libs to base_libdir

Fix the warning form pcmciautils building:

"WARNING: QA Issue: pcmciautils: /sbin/pccardctl, installed in the
base_prefix, requires a shared library under exec_prefix (/usr):
libsysfs.so.2 => /usr/lib/libsysfs.so.2"

Just refer to Debian/Ubuntu distributions, install sysfsutils libs
to "/lib*" instead of "/usr/lib*".

[YOCTO #2907]

(From OE-Core rev: f3c93627d4f603f9e4c4491d89eb988aa6241662)

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoat 3.1.13: get 'at' depends on 'flex-native' explicitly
Wenzong Fan [Thu, 9 Aug 2012 02:59:15 +0000 (10:59 +0800)]
at 3.1.13: get 'at' depends on 'flex-native' explicitly

'at' needs flex to generate source file lex.yy.c, but it doesn't
depend on flex-native directly; This maybe cause a do_compile
failure if flex-native is not built or included in project.

Error message is:
    error: lex.yy.c: No such file or directory

Get 'at' depends on flex-native to fix this potential issue.

[YOCTO #2919]

(From OE-Core rev: f5a722a1db6315ba945c41551c60b1ef2c8b647f)

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogdk-pixbuf: fix the postinstall script failure when no icon is installed
Jackie Huang [Thu, 9 Aug 2012 02:30:30 +0000 (10:30 +0800)]
gdk-pixbuf: fix the postinstall script failure when no icon is installed

If gtk+ is added to core-image-minimal, postinstall script failed on boot:

Running postinst /etc/rpm-postinsts/104...
gtk-update-icon-cache: No theme index file.
ERROR: postinst /etc/rpm-postinsts/104 failed.

This patch fixed the postinstall script to check for the icon
file first and not run the gtk-update-icon-cache if no icon
is installed.

[YOCTO #2905]

(From OE-Core rev: 1d4fbe4761d3d97e3c4b6e894719ee41b21559b2)

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>
12 years agogstreamer: gst-ffmpeg: fix build issues for libav
Yao Zhao [Wed, 8 Aug 2012 18:49:40 +0000 (14:49 -0400)]
gstreamer: gst-ffmpeg: fix build issues for libav

1.The included libav configure is not generated by autotools
  modify recipe to use correct toolchain wrapper with configure

2.add bzip2 dependency explicitly.
  or configure will detect whether libbz2 is installed, if bzip2
is triggered earlier then it will be detected, if not then won't

3.backport libav_e500mc.patch from upstream to patch configure to
disable-altivec if it is e500mc.

4.move the GSTREAMER_DEBUG to libav's configure, it is not the
option for the main configure.

(From OE-Core rev: a6384b2bd1d608506557ce151135edffa4cb5e0b)

Signed-off-by: Yao Zhao <yao.zhao@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopango: upgrade to upstream stable 1.30.0
Radu Moisan [Mon, 6 Aug 2012 13:07:02 +0000 (16:07 +0300)]
pango: upgrade to upstream stable 1.30.0

(From OE-Core rev: dec33ee2c8badb64b90ce8230f218c6898f3703c)

Signed-off-by: Radu Moisan <radu.moisan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoqemu: backport patch to fix pl031 RTC
Roy.Li [Wed, 8 Aug 2012 05:35:23 +0000 (13:35 +0800)]
qemu: backport patch to fix pl031 RTC

Intergrate the patch from:
http://repo.or.cz/w/qemu.git/commit/13a16f1d91fc7a46b65b22a33f6ffea1b826a097

(From OE-Core rev: a2a47ebfc3c8afa93bbf28e4a243538ea61079ac)

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>
12 years agotcl: uncomment a line that causing TCL_SRC_DIR point to the workdir.
Jackie Huang [Wed, 8 Aug 2012 05:11:17 +0000 (13:11 +0800)]
tcl: uncomment a line that causing TCL_SRC_DIR point to the workdir.

The line 'sed -i "s+${WORKDIR}+${STAGING_INCDIR}+g" tclConfig.sh'
is commented somehow in previous commit, so that TCL_SRC_DIR
point to the tcl workdir which will cause package that use it
fail to configure or compile when the tcl workdir is removed,
so uncomment it back.

(From OE-Core rev: 1037c80f63922ffdec54b0eade80ec0e89062b22)

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>
12 years agolayer.conf: add udev-extraconf to SIGGEN_EXCLUDERECIPES_ABISAFE
Martin Jansa [Sun, 5 Aug 2012 10:23:07 +0000 (12:23 +0200)]
layer.conf: add udev-extraconf to SIGGEN_EXCLUDERECIPES_ABISAFE

(From OE-Core rev: 4720addb4ce02a33595b1260c43dbc2e1ffe1347)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobase.bbclass: allow specifying an lsb distro hook via the metadata
Christopher Larson [Thu, 2 Aug 2012 22:10:50 +0000 (15:10 -0700)]
base.bbclass: allow specifying an lsb distro hook via the metadata

This is useful when you have a rather large set of compatible distros. For
example: Centos 5.4, 5.5, 5.6, etc, RHEL server 5.x, RHEL workstation 5.x.

(From OE-Core rev: 0e9932b2dba8573736c92bd07e59bad21b9fda2d)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake.conf: store cooker logs in subdirectory of LOG_DIR
Martin Jansa [Thu, 2 Aug 2012 16:45:09 +0000 (18:45 +0200)]
bitbake.conf: store cooker logs in subdirectory of LOG_DIR

* we should probably wait until
  http://git.openembedded.org/bitbake/commit/?id=1e06d8012868ba5a31503dc99cbf18570be629d9
  is in next required bitbake version, but error message if the directory doesn't exist is quite clear
* people with new enough bitbake could just change this in their local.conf

(From OE-Core rev: a1e4d32ede287f73c6acc796b43fe5b90c072fab)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agorun-postinsts: Does not run any scripts on debian rootfs
Kenneth Solbjerg [Mon, 9 Jul 2012 12:19:48 +0000 (14:19 +0200)]
run-postinsts: Does not run any scripts on debian rootfs

On my system (core-image-base, .deb package files), run-postinsts does
not run any scripts due to a failed test in run-postinsts.awk.
As dpkg is not actually installed on target, opkg is identified as the
pkgdir and that is not right...

(From OE-Core rev: e782cefd53cf3d3cc8ad7484335a697f9dde5751)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agonet-tools: cleanup update-alternatives deprecated code
Saul Wold [Fri, 27 Jul 2012 00:44:09 +0000 (17:44 -0700)]
net-tools: cleanup update-alternatives deprecated code

(From OE-Core rev: f8b25d33e154173e2ce022c88563c6be872ce4b4)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogawk: cleanup update-alternatives deprecated code
Saul Wold [Fri, 27 Jul 2012 00:36:56 +0000 (17:36 -0700)]
gawk: cleanup update-alternatives deprecated code

(From OE-Core rev: 85734f44c9e99f4134eec9b64fd90aba1ded1d2e)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosed: cleanup update-alternatives deprecated code
Saul Wold [Fri, 27 Jul 2012 00:34:25 +0000 (17:34 -0700)]
sed: cleanup update-alternatives deprecated code

(From OE-Core rev: c42bff2e0718c40d87b91672bec76c63e4c91c0a)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agowget: cleanup update-alternatives deprecated code
Saul Wold [Fri, 27 Jul 2012 00:26:51 +0000 (17:26 -0700)]
wget: cleanup update-alternatives deprecated code

(From OE-Core rev: 00d0d074a452bb5dc54ad12f44e444a742380860)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agotime: cleanup update-alternatives deprecated code
Saul Wold [Fri, 27 Jul 2012 00:26:09 +0000 (17:26 -0700)]
time: cleanup update-alternatives deprecated code

(From OE-Core rev: 75a086630fdf118db3bd2bda12532370d3175081)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoprocps: cleanup update-alternatives deprecated code
Saul Wold [Fri, 27 Jul 2012 00:24:04 +0000 (17:24 -0700)]
procps: cleanup update-alternatives deprecated code

(From OE-Core rev: 04c412803b7faf7ac87621be2c03b1f17a1f6c8c)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogzip: cleanup update-alternatives deprecated code
Saul Wold [Fri, 27 Jul 2012 00:18:52 +0000 (17:18 -0700)]
gzip: cleanup update-alternatives deprecated code

(From OE-Core rev: b69a6cea664e51b1a127767ecaea94b90b548d75)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agohdparm: cleanup update-alternatives deprecated code
Saul Wold [Fri, 27 Jul 2012 00:18:17 +0000 (17:18 -0700)]
hdparm: cleanup update-alternatives deprecated code

(From OE-Core rev: 32e54fb0cdfdad5bab000aa5edd9eadb7459a9a4)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomingetty: cleanup update-alternatives deprecated code
Saul Wold [Fri, 27 Jul 2012 00:17:20 +0000 (17:17 -0700)]
mingetty: cleanup update-alternatives deprecated code

(From OE-Core rev: eb541c4eac5f87be6bf30f32096bc1adacb883af)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoshadow: cleanup update-alternatives deprecated code
Saul Wold [Fri, 27 Jul 2012 00:14:13 +0000 (17:14 -0700)]
shadow: cleanup update-alternatives deprecated code

(From OE-Core rev: 3c9361606e458ffe3fec1eef621998ab887894c2)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoless: cleanup update-alternatives deprecated code
Saul Wold [Fri, 27 Jul 2012 00:11:33 +0000 (17:11 -0700)]
less: cleanup update-alternatives deprecated code

(From OE-Core rev: a8ad6529b214c1c7b12dffb557d9f7afa3ee1f04)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agowhich: cleanup update-alternatives deprecated code
Saul Wold [Fri, 27 Jul 2012 00:10:28 +0000 (17:10 -0700)]
which: cleanup update-alternatives deprecated code

(From OE-Core rev: 929d7ec6ad5a27b6fcc6ac8c0af1a9f25a7ff6df)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomktemp: cleanup update-alternatives deprecated code
Saul Wold [Fri, 27 Jul 2012 00:00:54 +0000 (17:00 -0700)]
mktemp: cleanup update-alternatives deprecated code

(From OE-Core rev: 4807d938023ce06f2924c8a0503c32d083be23b5)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomsmtp: cleanup update-alternatives deprecated code
Saul Wold [Thu, 26 Jul 2012 23:57:40 +0000 (16:57 -0700)]
msmtp: cleanup update-alternatives deprecated code

(From OE-Core rev: c8344dd884e19144576c994766e49e230c7eca13)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopigz: cleanup update-alternatives deprecated code
Saul Wold [Thu, 26 Jul 2012 23:54:30 +0000 (16:54 -0700)]
pigz: cleanup update-alternatives deprecated code

(From OE-Core rev: ec30a17ca617d9251404938da95ce578ff6402cf)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agometacity: cleanup update-alternatives deprecated code
Saul Wold [Thu, 26 Jul 2012 23:52:08 +0000 (16:52 -0700)]
metacity: cleanup update-alternatives deprecated code

(From OE-Core rev: d0c82d1f45ff7a0a25bcee1b7676b70c29b580b6)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomatchbox-session: cleanup update-alternatives deprecated code
Saul Wold [Thu, 26 Jul 2012 23:51:18 +0000 (16:51 -0700)]
matchbox-session: cleanup update-alternatives deprecated code

(From OE-Core rev: 46ce038d6c06eac7f34023b47bc80ef4ce61fb67)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomatchbox-wm-2: cleanup update-alternatives deprecated code
Saul Wold [Thu, 26 Jul 2012 23:49:23 +0000 (16:49 -0700)]
matchbox-wm-2: cleanup update-alternatives deprecated code

(From OE-Core rev: a19cd0521c181962605250d83327ebeeb7c46366)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomutter: cleanup update-alternatives deprecated code
Saul Wold [Thu, 26 Jul 2012 23:47:05 +0000 (16:47 -0700)]
mutter: cleanup update-alternatives deprecated code

(From OE-Core rev: c54ae0c71580ae363569fdbcb4d096cc6ea405ed)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopowertop: cleanup update-alternatives deprecated code
Saul Wold [Thu, 26 Jul 2012 23:45:28 +0000 (16:45 -0700)]
powertop: cleanup update-alternatives deprecated code

(From OE-Core rev: 443473a88dd94a5fe0d6bc7a5d14d45ea5bbdec5)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agofindutils: cleanup update-alternatives deprecated code
Saul Wold [Thu, 26 Jul 2012 23:33:36 +0000 (16:33 -0700)]
findutils: cleanup update-alternatives deprecated code

(From OE-Core rev: 5f8f9ff0413683d1a1f01fceaa709def723aca91)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agofindutils: refactor common code to findutils.inc
Saul Wold [Thu, 26 Jul 2012 23:29:45 +0000 (16:29 -0700)]
findutils: refactor common code to findutils.inc

(From OE-Core rev: 071a959d430402a78ca5b392c8387489da042c08)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodiffutils: cleanup update-alternatives deprecated code
Saul Wold [Thu, 26 Jul 2012 23:19:46 +0000 (16:19 -0700)]
diffutils: cleanup update-alternatives deprecated code

(From OE-Core rev: 47620d768194fd69a75f4c19d77dcbdd22eadcb6)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodiffutils: refactor to add a common diffutils.inc
Saul Wold [Thu, 26 Jul 2012 23:18:48 +0000 (16:18 -0700)]
diffutils: refactor to add a common diffutils.inc

(From OE-Core rev: f5f3cf1ac4c2dd3cae0cda3c858c8e5b309e1fdc)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobc: cleanup update-alternatives deprecated code
Saul Wold [Thu, 26 Jul 2012 23:10:43 +0000 (16:10 -0700)]
bc: cleanup update-alternatives deprecated code

(From OE-Core rev: 98a5fe8f5382742806235933910de826edc3d09a)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoubootchart: cleanup update-alternatives deprecated code
Saul Wold [Thu, 26 Jul 2012 23:10:04 +0000 (16:10 -0700)]
ubootchart: cleanup update-alternatives deprecated code

(From OE-Core rev: 744fb15df985e74adbb2b03e4543c2fd66adee86)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopatch: cleanup update-alternatives deprecated code
Saul Wold [Thu, 26 Jul 2012 23:09:19 +0000 (16:09 -0700)]
patch: cleanup update-alternatives deprecated code

(From OE-Core rev: 6a76ad8a45b4e099703c051d759f687904442713)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agotinylogin: cleanup update-alternatives deprecated code
Saul Wold [Thu, 26 Jul 2012 23:08:20 +0000 (16:08 -0700)]
tinylogin: cleanup update-alternatives deprecated code

(From OE-Core rev: fc408785ed2b9be00b25a725e666f6428292a418)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agokbd: cleanup update-alternatives deprecated code
Saul Wold [Thu, 26 Jul 2012 23:07:40 +0000 (16:07 -0700)]
kbd: cleanup update-alternatives deprecated code

(From OE-Core rev: 8240556c40a499aff5a405de3e28e1ed749e8ef5)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoconsole-tools: cleanup update-alternatives deprecated code
Saul Wold [Thu, 26 Jul 2012 23:06:24 +0000 (16:06 -0700)]
console-tools: cleanup update-alternatives deprecated code

(From OE-Core rev: 91799f66dcc9f2ba43f16f756a861e0b08e2d340)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomini-x-session: cleanup update-alternatives deprecated code
Saul Wold [Thu, 26 Jul 2012 22:55:30 +0000 (15:55 -0700)]
mini-x-session: cleanup update-alternatives deprecated code

(From OE-Core rev: 6e344e2564456a366682a423d4f061f5d93b2137)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoopenssh: cleanup update-alternatives deprecated code
Saul Wold [Thu, 26 Jul 2012 22:55:23 +0000 (15:55 -0700)]
openssh: cleanup update-alternatives deprecated code

(From OE-Core rev: 11c169a9b289b0412e512c37d380a99fd1630df5)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agorxvt-unicode: cleanup update-alternatives deprecated code
Saul Wold [Thu, 26 Jul 2012 22:53:47 +0000 (15:53 -0700)]
rxvt-unicode: cleanup update-alternatives deprecated code

(From OE-Core rev: 0dc9024cb6e5f75f5b568b42b03925c413093f4e)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agorxvt-unicode: remove setting of LD_LIBRARY_PATH
Saul Wold [Tue, 14 Aug 2012 09:27:47 +0000 (12:27 +0300)]
rxvt-unicode: remove setting of LD_LIBRARY_PATH

This is no longer needed as we do not run tic at install time

(From OE-Core rev: c73ab3c1ef27af0577617b0d992da535958b0aed)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agorpmresolve: Ensure we call the rpm relocation code at init
Richard Purdie [Tue, 14 Aug 2012 08:28:00 +0000 (09:28 +0100)]
rpmresolve: Ensure we call the rpm relocation code at init

We need to call rpmcliInit to ensure the rpm relocation code is called
and it correctly honours the relocation environmental variables.

We can drop the ReadConfigFiles call since the cliInit does this for us.

(From OE-Core rev: eb17fdc1461953382360635480f12357eac4dc43)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agocreaterepo: add wrapper script to fix paths
Paul Eggleton [Mon, 13 Aug 2012 18:58:00 +0000 (18:58 +0000)]
createrepo: add wrapper script to fix paths

Fixes sstate relocation due to the path to /etc/rpm being baked into the
libraries - this manifested in the form of the following assertion at
runtime:

python: dbconfig.c:493: db3New: Assertion `dbOpts != ((void *)0) && *dbOpts != '\0'' failed.

Fixes [YOCTO #2753].

(From OE-Core rev: b5028cc84ad7c40c51cadbdf7fdc892cde4462cb)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agorpmresolve: add wrapper script to fix paths
Paul Eggleton [Mon, 13 Aug 2012 18:54:32 +0000 (18:54 +0000)]
rpmresolve: add wrapper script to fix paths

Fixes sstate relocation due to the path to /etc/rpm being baked into the
libraries - this manifested in the form of the following assertion at
runtime:

rpmresolve: dbconfig.c:493: db3New: Assertion `dbOpts != ((void *)0) && *dbOpts != '\0'' failed.

Fixes [YOCTO #2936].

(From OE-Core rev: 44c2fb7ea0228dd749129d334c76a1bd2983e585)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agowatchdog: fix SRC_URI _ -> -
Saul Wold [Thu, 9 Aug 2012 12:05:06 +0000 (12:05 +0000)]
watchdog: fix SRC_URI _ -> -

(From OE-Core rev: 3d27ee3da296b57b6bc702431437e635c53697f7)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoqemu.inc: disable curl for qemu-nativesdk
Robert Yang [Mon, 13 Aug 2012 13:01:16 +0000 (21:01 +0800)]
qemu.inc: disable curl for qemu-nativesdk

We had added the --disable-curl to EXTRA_OECONF, but there is an
EXTRA_OECONF_virtclass-nativesdk += "foo", the
"EXTRA_OECONF_virtclass-nativesdk +=" equals to
"EXTRA_OECONF_virtclass-nativesdk =" (the "+" has no effect here), so we
should add the "--disable-curl" to EXTRA_OECONF_virtclass-nativesdk.

And change the "+=" to "=" to not confuse people.

[YOCTO #2305]

(From OE-Core rev: a69df1807af3e099685b766dac4d6c6919b01852)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agofoomatic: fix perl path for target
Saul Wold [Wed, 8 Aug 2012 08:56:24 +0000 (11:56 +0300)]
foomatic: fix perl path for target

This problem appears on F17 when configure finds /bin/perl, since the beh
script is a target side script, we need to set PERL in the do_configure_prepend
in order for the correct perl to be used

(From OE-Core rev: 5290e82ecef08b5e573d7442627276d7b42c6b93)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoautomake: Fix version reference in path substitutions
Richard Purdie [Tue, 7 Aug 2012 22:34:17 +0000 (22:34 +0000)]
automake: Fix version reference in path substitutions

Without this the substitutions don't get made potentially resulting in a variety of
different failures.

(From OE-Core rev: 1e873271362b770381903098d46c4aec164d81de)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolinux-yocto-3.2: Apply slang workaround fixing perf builds to 3.2 kernels too
Richard Purdie [Tue, 7 Aug 2012 22:21:38 +0000 (22:21 +0000)]
linux-yocto-3.2: Apply slang workaround fixing perf builds to 3.2 kernels too

(From OE-Core rev: b033000900ef2082a2d2d2be3e36b6b813309902)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolinux-yocto-3.0: Apply slang workaround fixing perf builds to 3.0 kernels too
Richard Purdie [Tue, 7 Aug 2012 22:21:22 +0000 (22:21 +0000)]
linux-yocto-3.0: Apply slang workaround fixing perf builds to 3.0 kernels too

(From OE-Core rev: 6b4ed64c04bbeb019192a7db1f77cfd002281be4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobinutils: Enable threaded linking with gold
Khem Raj [Tue, 7 Aug 2012 21:26:21 +0000 (14:26 -0700)]
binutils: Enable threaded linking with gold

This options will let gold spawn multiple
threads for linking and speeding up linking
on multicore build hosts.

(From OE-Core rev: 210957a58260ec50416649aba799d0e96aeeff24)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopackage-index: Remove the python hack, its not needed after the pythonnative changes
Richard Purdie [Tue, 7 Aug 2012 22:05:57 +0000 (22:05 +0000)]
package-index: Remove the python hack, its not needed after the pythonnative changes

(From OE-Core rev: 247330b515a1f19189e97f3832242c1c965c2782)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogcc: Disable use of sdt.h header
Richard Purdie [Tue, 7 Aug 2012 21:29:00 +0000 (21:29 +0000)]
gcc: Disable use of sdt.h header

The target sysroot might contain sdt.h but we don't list this in DEPENDS
and shouldn't be referencing it. Unfortunately there is no way to tell
configure this since these tests are uncached and we can't force
a particular value. The only option is therefore to patch this out.

(From OE-Core rev: 1409d9b9690e39ecc63aacfdd5785586d83633ee)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoiputils: Break libsysfs dependency
Andy Ross [Mon, 6 Aug 2012 19:41:04 +0000 (12:41 -0700)]
iputils: Break libsysfs dependency

iputils drops a /bin/arping with a runtime linkage against libsysfs in
/usr.  Port Fedora 17 iputils-20071127-infiniband.patch, which inlines
access previously done by libsysfs.

(From OE-Core rev: 99c482124e9f476923f6d5cf0a9e5551507f9d14)

Signed-off-by: Andy Ross <andy.ross@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolinux-yocto-custom: Clarify usage and clear COMPATIBLE_MACHINE
Darren Hart [Mon, 6 Aug 2012 15:56:13 +0000 (08:56 -0700)]
linux-yocto-custom: Clarify usage and clear COMPATIBLE_MACHINE

There has been some confusion over proper use of the linux-yocto-custom
recipe. It is not intended to build as is from meta-skeleton. It should
be modified via a bbappend file to provide a Linux kernel config at the
very least.

Update the commentary to make this requirement more explicit. Add some
additional detail about how to create a bbappend file and how and when
to modify the various variables.

Clear COMPATIBLE_MACHINE so bitbake will not attempt to build the recipe
unless the user explicitly adds there machine to the variable, which
should encourage them to read the recipe comments before attempting to
build it.

(From OE-Core rev: 8ac3d0566e793777ec4f6629ef752d6db6231ca9)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Bruce Ashfield <bruce.ashfield@windriver.com>
CC: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoimage-mklibs: pass correct libdir to mklibs
Jesse Zhang [Tue, 7 Aug 2012 02:31:57 +0000 (10:31 +0800)]
image-mklibs: pass correct libdir to mklibs

libdir should be specified, or else mklibs won't work for 64bit targets.
It wouldn't be able to find the libs.

    Traceback (most recent call last):
      File "<build>/bitbake_build/tmp/sysroots/i686-linux/usr/bin/x86_64-wrs-linux/mklibs", line 553, in <module>
        header = elf_header(find_lib(libraries.copy().pop()))
      File "<build>/bitbake_build/tmp/sysroots/i686-linux/usr/bin/x86_64-wrs-linux/mklibs", line 89, in elf_header
        raise Exception("Cannot find lib: " + obj)
    Exception: Cannot find lib:

(From OE-Core rev: d2cd2ccea8bc4d110647ba3bd202772e5407000a)

Signed-off-by: Jesse Zhang <sen.zhang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopython: Fix RPATH QA issue on non-gplv3 builds
Richard Purdie [Tue, 7 Aug 2012 11:18:13 +0000 (12:18 +0100)]
python: Fix RPATH QA issue on non-gplv3 builds

On non-gplv3 builds, gdbm gets built different due to the different version
which triggers a different codepath in python's db support and then hence
triggers an invalid RPATH QA issue. This change extends the appropriate patch
to cover the code paths we need it to cover and avoid adding the problematic
RPATH.

(From OE-Core rev: 90540692c40719b757b80bdc6e78e679a3df83a7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolinux-yocto-3.4: Disable extra slang header search path
Richard Purdie [Tue, 7 Aug 2012 11:17:16 +0000 (12:17 +0100)]
linux-yocto-3.4: Disable extra slang header search path

Add in a workaround to avoid host infection detection build failures
from the slang include directory in perf. I'll defer to Bruce to
fix this properly but we need a workaround now as this is breaking
builds.

(From OE-Core rev: 4fd4b2eafb5f4ff2ef85d7f5ff3238a41c34313b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolinux-firmware: Ensure PR goes forward, not backwards after the revert
Richard Purdie [Tue, 7 Aug 2012 11:35:55 +0000 (12:35 +0100)]
linux-firmware: Ensure PR goes forward, not backwards after the revert

(From OE-Core rev: 447819db343a93bcc1e079c2a33b592da20f6c1e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoRevert "linux-firware: use ${base_libdir} instead of /lib for packaging"
Richard Purdie [Tue, 7 Aug 2012 10:16:54 +0000 (11:16 +0100)]
Revert "linux-firware: use ${base_libdir} instead of /lib for packaging"

This change breaks firmware loading on 64 bit platforms. This therefore
reverts commit ce2665b6ae77770d69ffbc4d45c96ce829d16738.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agokernel.bbclass: Revert ${base_libdir} change
Richard Purdie [Sun, 5 Aug 2012 19:48:44 +0000 (19:48 +0000)]
kernel.bbclass: Revert ${base_libdir} change

The base_libdir change in 5b8a4798ea2ea7df66bb53c26448251ea7da3dd9
breaks the kernel build for 64 bit machines. Revert this part of the
change.

(From OE-Core rev: 351bdc59f8af915ae203af7799eedc0ce42785f2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agokernelshark: Inherit pythonnative
Richard Purdie [Tue, 7 Aug 2012 09:54:40 +0000 (09:54 +0000)]
kernelshark: Inherit pythonnative

(From OE-Core rev: 2b23cd1c8f81de989bce1ecab2d5b4328328de86)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogdb-cross: Explicitly disable python
Richard Purdie [Tue, 7 Aug 2012 08:30:27 +0000 (08:30 +0000)]
gdb-cross: Explicitly disable python

Python isn't in DEPENDS but can be autodetected from the sysroot. Explicitly
disable it to ensure deterministic builds.

(From OE-Core rev: b8dd9592f844d15cdc8631b56ec42888a07826c9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosubversion: Add missing build dependency on sqlite3
Bogdan Marinescu [Mon, 30 Jul 2012 13:22:24 +0000 (16:22 +0300)]
subversion: Add missing build dependency on sqlite3

subversion needs an explicit dependency on sqlite3, otherwise it
does not build. Tested by building core-image-minimal.

(From OE-Core rev: 47aca0f0f79c30d1df1f89c710d3e354f436145d)

Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agofindutils-4.4.2: add bison-native to DEPENDS
Xin Ouyang [Mon, 30 Jul 2012 12:25:30 +0000 (20:25 +0800)]
findutils-4.4.2: add bison-native to DEPENDS

[YOCTO #2858]

(From OE-Core rev: 09a023e777b1e05b3edbec2bc49232042f6bf088)

Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobison: updated to 2.5.1
Bogdan Marinescu [Mon, 30 Jul 2012 13:51:17 +0000 (16:51 +0300)]
bison: updated to 2.5.1

The gets patch is not needed anymore in this version. The
manpage patch was updated for this version.

(From OE-Core rev: 2f11d409e20d90f2d619b4d92495c3fcd30584ab)

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