scm/bb/tizen-distro.git
13 years agoscripts/hob: notify the user when the GUI won't launch immediately
Joshua Lock [Fri, 2 Sep 2011 21:47:18 +0000 (14:47 -0700)]
scripts/hob: notify the user when the GUI won't launch immediately

If the wrapper script needs to build pseudo before we can launch hob we need
to notify the user so they aren't shocked by the action of launching a GUI
and seeing a bunch of text whiz by on the console.

Fixes [YOCTO #1435]

(From OE-Core rev: a160f4dd48b91c5e6f8c290c7572e29a39a3e693)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoscripts/hob: update to match recent hob changes
Joshua Lock [Fri, 2 Sep 2011 21:30:43 +0000 (14:30 -0700)]
scripts/hob: update to match recent hob changes

hob now uses both a pre and post file, update the wrapper script to generate
and use both of these.

Addresses [YOCTO #1281]

(From OE-Core rev: b68f90b765e7c8923033ee7ff7746f39a2e91ff7)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolinux-yocto: clean configuration for v3.0.4
Bruce Ashfield [Sat, 3 Sep 2011 03:03:26 +0000 (23:03 -0400)]
linux-yocto: clean configuration for v3.0.4

Fixes [YOCTO #940]

Since v3.0.4 is likely the last stable update in the the release
timeframe a configuration audit was performed. This updates the
SRCREV to remove obselete, and improperly defined configuration
items. With this, all qemu* BSPs configure with no warnings.

(From OE-Core rev: d19eaf7ca92c6632d42d12120800028f77ef21aa)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolinux-yocto: update to v3.0.4
Bruce Ashfield [Sat, 3 Sep 2011 03:03:25 +0000 (23:03 -0400)]
linux-yocto: update to v3.0.4

The v3.0.4 stable kernel is available and it can now be merged
into linux-yocto. Build and boot tested on all qemu* machines.

(From OE-Core rev: 0f3750ee83b8fe012cced2e376ec780a6e7f189b)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolinux-yocto: generalize kernel config search pattern
Bruce Ashfield [Sat, 3 Sep 2011 03:03:24 +0000 (23:03 -0400)]
linux-yocto: generalize kernel config search pattern

After constructing a kernel configuration file it then needs
to be located in the tree so it can be audited against the
final .config. The previous string that was used for the search
pattern contains the kernel version. If the recipe space kernel
version and internal tree version are out of sync, this will
cause the constructed config to not be found. By removing the
version from the search string, we can still find out config and
gracefully adapt to minor version skew.

(From OE-Core rev: f072ddc43828ebe8df4dd7433726775dd547580b)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoimage_types.bbclass: use per-image dirs for extX.gz images generation
Dmitry Eremin-Solenikov [Sat, 3 Sep 2011 19:27:17 +0000 (23:27 +0400)]
image_types.bbclass: use per-image dirs for extX.gz images generation

Currently image_types.bbclass uses deploy/images/${MACHINE}tpm.gz dir for
temporary files when generating extX.gz images. This can lead to races
and strange errors during image generation. To overcome this use
deploy/images/${MACHINE}tpm.gz-${PN} dir for temporary files.

(From OE-Core rev: 3016f8f13e86034cc1c5686fc01a3bf39eb33d79)

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agorunqemu: standardize ability to specify custom qemu/kenel boot options
Scott Garman [Sat, 3 Sep 2011 22:50:30 +0000 (15:50 -0700)]
runqemu: standardize ability to specify custom qemu/kenel boot options

The old manner of specifying custom options to QEMU in this script
using angle brackets was a frequent source of confusion. Meanwhile,
Otavio Salvador added a decent method of specifying custom kernel
boot options to this script. This patch documents the bootparams
option and adds a similar way of specifying custom QEMU options
using qemuparams="".

This fixes [YOCTO #1019]

(From OE-Core rev: 1038df14a96d789b3f9e9e1692305ba1fea67886)

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agotask-core-tools: add systemtap to qemuarm
Tom Zanussi [Sun, 4 Sep 2011 04:18:36 +0000 (23:18 -0500)]
task-core-tools: add systemtap to qemuarm

Systemtap now works with arm, so include it in task-core-tools-profile
for qemuarm.

(From OE-Core rev: 69a776eab96776ab33191cd6eeda4560e3f3f357)

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agosystemtap: upgrade to 1.6
Tom Zanussi [Sun, 4 Sep 2011 04:18:32 +0000 (23:18 -0500)]
systemtap: upgrade to 1.6

Also enable for arm, since systemtap now works on arm and remove the
gcc-4.6 compile fix patch since the problems it addresses have been
fixed upstream.

(From OE-Core rev: 09fa8e139b0c06f961927ac192d644bebdf31abf)

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoqt4e-demo-image: Ensure a shell is present
Xiaofeng Yan [Mon, 5 Sep 2011 01:47:41 +0000 (09:47 +0800)]
qt4e-demo-image: Ensure a shell is present

"/bin/sh" is needed by qt4e-demo-image, So I add busybox for fixing this problem.

[YOCTO #999]

(From OE-Core rev: 5f06d5012bfa8b2bd83092e41ab29babdfd4605e)

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agogit: fix sstate relocation for git-native
Paul Eggleton [Mon, 5 Sep 2011 15:37:04 +0000 (16:37 +0100)]
git: fix sstate relocation for git-native

Create a wrapper for git to set GIT_EXEC_PATH and GIT_TEMPLATE_DIR so
that git-native is relocatable.

Fixes specific example given in [YOCTO #1137]

(From OE-Core rev: 9a3e25b5a3aa5e3b6ba543c4f789f66b240b38a7)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolib/bb/siggen.py: return a string from noop get_taskhash
Dmitry Eremin-Solenikov [Sun, 21 Aug 2011 07:57:40 +0000 (11:57 +0400)]
lib/bb/siggen.py: return a string from noop get_taskhash

OpenEmbedded is expecting to get a string from get_taskhash, but noop siggen
returns just 0 (number), so OE classes/sstate.bbclass barfs badly. Fix that.

(Bitbake rev: 24272dae15ccf641ece11ef5a6e2bfa3ebb6f5f9)

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agohob: fix segfault on second build
Paul Eggleton [Mon, 5 Sep 2011 12:30:11 +0000 (13:30 +0100)]
hob: fix segfault on second build

Some internal lists were not being cleared, resulting in incorrect
program flow on the second build, causing a structure to be accessed
incorrectly which resulted in a segfault.

Fixes [YOCTO #1332]

(Bitbake rev: 71ac7fda51ed80e9ef6d1a3bca653683893e4770)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agohob: clear out temporary file list after deleting
Paul Eggleton [Mon, 5 Sep 2011 12:30:10 +0000 (13:30 +0100)]
hob: clear out temporary file list after deleting

If you don't clear out files_to_clean after the files get deleted and
then you run a second build, it will try to delete the files from the
first build and you will get a "No such file or directory" error.

(Bitbake rev: 069d85cde01d14f8da31ad5cbd843a4d99628d42)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agohob: disable removal of packages
Joshua Lock [Fri, 2 Sep 2011 23:53:32 +0000 (16:53 -0700)]
hob: disable removal of packages

It's felt that the stability of package deselection is not sufficient for
the upcoming release and thus package removal should be disabled.

I'd actually like to see this patch, or its effects, reverted as soon as
the release bits have been frozen so that this issue can continue to be
worked on.

(Bitbake rev: 73b6ff4654d10baae59d83e8568d58d989e99dd7)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoui/crumbs/runningbuild: mask run_buildstats failure
Joshua Lock [Fri, 2 Sep 2011 23:39:23 +0000 (16:39 -0700)]
ui/crumbs/runningbuild: mask run_buildstats failure

The buildstats handler causes an exception with: "'NoneType' object has no
attribute 'startswith'" early a build via hob, leaving a glaring red row
which means nothing to the user.
Mask this error until such a time as we have opportunity to correctly
diagnose and fix the root problem.

Workaround fix for [YOCTO #1433]

(Bitbake rev: b0cce5b52a20c0dad5ec0c4053f437cae89b6137)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoui/crumbs/hobprefs: disable 'build toolchain with headers'
Joshua Lock [Fri, 2 Sep 2011 23:02:50 +0000 (16:02 -0700)]
ui/crumbs/hobprefs: disable 'build toolchain with headers'

The generic meta-toolchain-sdk we are currently building when this option
is enabled is likely unsuitable for the majority of images built with hob.
Remove this option from the Preferences UI until such a time as we can
correctly implement this feature to include the library headers for the
selected packages.

Addresses [YOCTO #1302]

(Bitbake rev: 3157967d08266b8d1ac563ba609ac3027b60d040)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agohob: add a test to ensure hob is run with the required pre and post files
Joshua Lock [Fri, 2 Sep 2011 21:29:38 +0000 (14:29 -0700)]
hob: add a test to ensure hob is run with the required pre and post files

hob requires pre and post configuration files to store configuration values
in, whilst this should (and will) be fixed long-term for so long as we
require these files we should alert the user should they run without them.

Fixes [YOCTO #1383]

(Bitbake rev: bb3e9113074ea1254aa03a247a1a1070682df9c8)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agohob: reflect defaultsetup being default distro
Joshua Lock [Fri, 2 Sep 2011 17:17:52 +0000 (10:17 -0700)]
hob: reflect defaultsetup being default distro

If no value is set for DISTRO the defaultsetup policy is used, reflect this
in the UI by having defaultsetup selected in the Distribution combo when no
other DISTRO is set.

(Bitbake rev: 126267c545ede65042959d134ea75c0345577747)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agohob: use both pre and post files for hob configuration
Joshua Lock [Fri, 2 Sep 2011 03:38:10 +0000 (20:38 -0700)]
hob: use both pre and post files for hob configuration

We need to set various variables *before* parse begins, the simplest way
to ensure this is to use a pre configuration file for the relevant
configuration entries.

This series adapts hob to use both pre and post files to store its
configuration. Any variables which affect initial parse are set in the pre
file and all others in the post file.

Unfortunately this requires hob related code to have even more hard-coded
data as to what is relevant but this is the simplest way to solve issues
with variables and parse order at this time.

Addresses [YOCTO #1281]

(Bitbake rev: 02ab0e11d8dd42f5ca440b3d8d2073e23f55113a)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoopensp: Fix sstate relocation issue
Saul Wold [Sun, 4 Sep 2011 03:52:12 +0000 (20:52 -0700)]
opensp: Fix sstate relocation issue

[YOCTO #1440]

This fixes a problem where the native nsgmls has a path hard coded into
it, therefor add a wrapper to set the environment with the correct
paths for catalog files.

(From OE-Core rev: ce236234831ebc05ffdf1e0a368692ac2818a388)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agogroff: Fix sstate relocation issue
Saul Wold [Sun, 4 Sep 2011 03:51:02 +0000 (20:51 -0700)]
groff: Fix sstate relocation issue

[YOCTO #1439]

This fixes a problem where the native groff has a path hard coded into
it, therefor add a wrapper to set the command line with the correct
paths for fonts and tmac directories.

(From OE-Core rev: 9106e2922ba5972e3b87436372a12c2e04e9eb65)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agopopulate_sdk: We need to ensure that the SDK sysroot reflects PACKAGE_ARCH
Richard Purdie [Tue, 9 Aug 2011 17:54:27 +0000 (18:54 +0100)]
populate_sdk: We need to ensure that the SDK sysroot reflects PACKAGE_ARCH

If we don't do this, the SDK target sysroot is named generically even
when it contains package architecture specific optimisations.

(From OE-Core rev: 0616557a8c29b42bae0ffd5fd665a046810047e4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agosanity.bbclass: fix splitting on newlines of SANITY_TESTED_DISTROS
Paul Eggleton [Thu, 1 Sep 2011 11:36:12 +0000 (12:36 +0100)]
sanity.bbclass: fix splitting on newlines of SANITY_TESTED_DISTROS

This variable should be split with \n sequences and these need to be
specified literally in the string. A corrected version of the example
given in the original commit (OE-core rev
75e3875341ddc8940e9ee2ccbbb2ec18194a68e6):

SANITY_TESTED_DISTROS = " \
        Ubuntu 11.04 \n \
        Fedora release 14 (Laughlin) \n \
        "

(From OE-Core rev: cfc72d5796b6f83a01e06f3a1f044869db2d5d18)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agouseradd.bbclass: remove hardcoded reference to /usr/bin
Phil Blundell [Thu, 1 Sep 2011 15:03:52 +0000 (16:03 +0100)]
useradd.bbclass: remove hardcoded reference to /usr/bin

Otherwise the class doesn't work if ${bindir} is set to a different value;
likewise for /var vs ${localstatedir}.

(From OE-Core rev: 21371df16917cd82642b39763793783d61ee5516)

Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agogcc: Fix multilib baselib confusion
Richard Purdie [Mon, 15 Aug 2011 13:05:21 +0000 (14:05 +0100)]
gcc: Fix multilib baselib confusion

Commit 35fa8dc5f7da90fdd40091a3c3600d3fcd232922 changed the gcc recipes to use
baselib for the compiler location. This is fine as long as baselib happens to
match the platform multilib definition which is enabled at the time.

This patch fixes things so that gcc will honour whatever ${base_libdir} is
set to re-allowing suitable customisation of the system layout.

[YOCTO #1362]

(From OE-Core rev: bc5f293b151b9ba0d6660814d88ee5041efce318)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agomultilib: Only build one kernel
Richard Purdie [Mon, 15 Aug 2011 22:59:32 +0000 (23:59 +0100)]
multilib: Only build one kernel

For a given system we only want one kernel to be built. This change makes
the main kernel recipe provide all of the provides of the various enabled
multilibs hence allowing it to fulfil all the appropriate dependencies.

To make this work a global multilib class file needed to be created.

This patch also enables this multi provider functionality for "allarch"
packages.

[YOCTO #1361]

(From OE-Core rev: 2fd257f6c610624f05c8dd3fe1486364af04696f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agomultilib: extend multilib prefix for libsdl
Dongxiao Xu [Fri, 2 Sep 2011 03:52:06 +0000 (11:52 +0800)]
multilib: extend multilib prefix for libsdl

libsdl is required by sato image, so extend it for multilib.

(From OE-Core rev: 88abab9ba9632e87f3a081915a69cbc5c36b4d3c)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agomultilib: Using different sysroot for multilib recipes
Dongxiao Xu [Fri, 2 Sep 2011 03:45:01 +0000 (11:45 +0800)]
multilib: Using different sysroot for multilib recipes

Thinking of the senario that, if we already built out a 64bit image
along with the full toolchain bootstrapped, then we need to build some
32bit libraries, which needs lib32 versions of gcc and eglibc. These
toolchain recipes will bootstrap again in the same sysroot, resulting
that lib32-gcc-cross-initial will find some macros owned by eglibc have
already been defined and thus it includes non-existed headers that
provided by later lib32-eglibc.

The solution for the above issue is to use different sysroot for
multilib recipes, here we add ${MLPREFIX} in front of the machine
specific sysroot directory name.

[YOCTO #1372]

(From OE-Core rev: a1508ad1aec2d2f9ee040aa217c33193cd5bd871)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agorootfs_rpm: setting DEFAULTTUNE for multilib archs
Dongxiao Xu [Fri, 2 Sep 2011 03:38:43 +0000 (11:38 +0800)]
rootfs_rpm: setting DEFAULTTUNE for multilib archs

To get the MULTILIB_PACKAGE_ARCHS, we need to get the corresponding
DEFAULTTUNE value. This fixes the multilib arch directory missing issue
in solvedb-ml_archs.conf.

(From OE-Core rev: 54306ff373e13696637b547fa1514e0ef8633248)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agohal: Remove build time dependency of virtual/kernel
Dongxiao Xu [Fri, 2 Sep 2011 03:54:30 +0000 (11:54 +0800)]
hal: Remove build time dependency of virtual/kernel

hal has runtime dependency on kernel, but not build time. Remove it from
"DEPENDS" list.

Also fix a wrong PACKAGE_ARCH setting when building multilib lib32-hal,
because ":=" will be extended immediately which is not the right value.
Using TUNE_PKGARCH instead.

(From OE-Core rev: 74646a2b2d7d452dfe95b08940389a686e8addcb)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agodropbear: add missing files
Koen Kooi [Fri, 2 Sep 2011 07:08:38 +0000 (09:08 +0200)]
dropbear: add missing files

(From OE-Core rev: 4bc94f1896aad7f540ac520cd69edf3e96029319)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agotzcode: Update to 2011i
Saul Wold [Thu, 1 Sep 2011 05:13:54 +0000 (22:13 -0700)]
tzcode: Update to 2011i

(From OE-Core rev: 2c0c78fc777a7dbe098f2518ecbaf24d03227f5d)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agosato recipes: Update PR because of libowl conversion to git
Saul Wold [Thu, 1 Sep 2011 05:17:25 +0000 (22:17 -0700)]
sato recipes: Update PR because of libowl conversion to git

(From OE-Core rev: 8216888c1caba6d469a5443ba74fce0f1392792e)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoo-hand recipes: convert from svn.o-hand.org to git.yoctoproject.org
Saul Wold [Thu, 25 Aug 2011 18:20:21 +0000 (11:20 -0700)]
o-hand recipes: convert from svn.o-hand.org to git.yoctoproject.org

(From OE-Core rev: 4e7218c19775ef81caed27742e9d203af10b7416)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoutil-linux: fix packaging of readprofile
Joshua Lock [Thu, 1 Sep 2011 22:25:25 +0000 (15:25 -0700)]
util-linux: fix packaging of readprofile

We rename readprofile to readprofile.util-linux so we need to use that binary
name in the FILES entry for the readprofile package.

(From OE-Core rev: 55168655ec95e8eff70f90a462ed0a8d87d8d87f)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobitbake/event: Allow event handlers to quietly raise SkipPackage events
Richard Purdie [Fri, 2 Sep 2011 12:58:54 +0000 (13:58 +0100)]
bitbake/event: Allow event handlers to quietly raise SkipPackage events

(Bitbake rev: 2a7c92bdadf9a86d9ea2ea0c128108e38e0e97e5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agofetch2/git: Allow to specify the name of the checkout directory
Holger Hans Peter Freyther [Wed, 22 Jun 2011 20:50:13 +0000 (04:50 +0800)]
fetch2/git: Allow to specify the name of the checkout directory

(Bitbake rev: 639db8c766cada7180f9447f51303f9b30d7e817)

Signed-off-by: Holger Hans Peter Freyther <holger@moiji-mobile.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoscripts: Show sensible warning messages if expected binaries don't exist
Richard Purdie [Thu, 1 Sep 2011 21:04:48 +0000 (22:04 +0100)]
scripts: Show sensible warning messages if expected binaries don't exist

[YOCTO #1438]

(From OE-Core rev: 6b5706d1f9ce7a3fd4d8f819ff8f3fd789665647)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoscripts: Don't show errors from which ifconfig failing
Richard Purdie [Thu, 1 Sep 2011 19:49:44 +0000 (20:49 +0100)]
scripts: Don't show errors from which ifconfig failing

(From OE-Core rev: 06625096f897235ed85f0d9a1355497f92938454)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoFix powerpc term and provide more template for different arches
Jessica Zhang [Wed, 31 Aug 2011 19:03:07 +0000 (12:03 -0700)]
Fix powerpc term and provide more template for different arches

(From OE-Core rev: bf9e9961ec4e7b2d10f25b550b902df62b3939b1)

Signed-off-by: Jessica Zhang <jessica.zhang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoRevert "Fix adt-installer for consistent naming for powerpc and add all arch template...
Jessica Zhang [Wed, 31 Aug 2011 19:03:06 +0000 (12:03 -0700)]
Revert "Fix adt-installer for consistent naming for powerpc and add all arch template for installation"

This reverts commit ae4ad20edbb6ea023155f7ae2b00871d479e370d.

(From OE-Core rev: 13d713dccd7fedb5a223f1292227e177d7a44164)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibcap: only enable pam if DISTRO_FEATURES requests it
Phil Blundell [Tue, 30 Aug 2011 16:27:13 +0000 (17:27 +0100)]
libcap: only enable pam if DISTRO_FEATURES requests it

(From OE-Core rev: 9864b0a8253922e044f61506a4a8e9064aac2bd7)

Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoshadow: Fix rpm failed dependencies when install
Zhai Edwin [Tue, 30 Aug 2011 08:05:01 +0000 (16:05 +0800)]
shadow: Fix rpm failed dependencies when install

There are some links become invalid after rename, so that failed dependencies
detected when install rpm package. This commit update links to resolve it.

[YOCTO #1158] got fixed.

(From OE-Core rev: 48ec20d1331eb665d9fc1a06bdb1ea79e4513159)

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agodropbear: Change the path to find configuration file and add a configuration file...
Xiaofeng Yan [Wed, 31 Aug 2011 02:48:11 +0000 (10:48 +0800)]
dropbear: Change the path to find configuration file and add a configuration file for dropbear

dropbear will check "/etc/pam.d/sshd" which comes from package "openssh" \
When enabling pam supporting. But if we only install dropbear \
package without package "openssh", then "dropbear" will not \
find a configuration file.
The changes are as follow for fixing this bug:

- Change the path to find configuration file (/etc/pam.d/sshd --> /etc/pam.d/dropbear)
- Add a configuration file "/etc/pam.d/dropbear"

(From OE-Core rev: 48dcb8fc7b669b27160dde33079f40551853702b)

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoqt-demo-init: Fix bug 999
Xiaofeng Yan [Wed, 31 Aug 2011 01:39:58 +0000 (09:39 +0800)]
qt-demo-init: Fix bug 999

[YOCTO #999]
qt4e-demo-image needs qt-demo-init when starting qtdemoE.
qt-demo-init was pulled from Openembeded.

(From OE-Core rev: e21e8b502ab2f982836cf1f7a30e33bff1bd5b7b)

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoconnman-gnome: Fix WiFi security display issue
Dongxiao Xu [Wed, 31 Aug 2011 06:47:33 +0000 (14:47 +0800)]
connman-gnome: Fix WiFi security display issue

Latest connman-0.75 change the WiFi security type, causing the
incompatibility of connman-gnome. Fix connman-gnome accordingly to show
the correct security informtion.

[YOCTO #1343]

(From OE-Core rev: 38589c37923ecfe34f1dbd5f12d89d55dfb11e2a)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agogdb: Further S vs. PV fixups
Richard Purdie [Wed, 31 Aug 2011 18:43:27 +0000 (19:43 +0100)]
gdb: Further S vs. PV fixups

(From OE-Core rev: 5c9ae426a058908be2e43d249c284e122b8a5444)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoxserver-nodm: Disable dbus-wait as it causes users too much confusion
Richard Purdie [Tue, 30 Aug 2011 21:23:38 +0000 (22:23 +0100)]
xserver-nodm: Disable dbus-wait as it causes users too much confusion

In the event the xserver fails to start the dbus-wait has to time out and
this causes many users a lot of confusion. If we wish to reinstate this,
we need to find a safer mechanism to do it where X failing to start cancels
the timeout (sends a dbus event at that point?) The comments are left in the
file as an example in case some user does wish to enable is.

(From OE-Core rev: 0471b17b061e57231387ef90c95fc0c34fc0e66b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agosanity.bbclass: Clean up various MACHINE checks
Richard Purdie [Tue, 30 Aug 2011 16:14:55 +0000 (17:14 +0100)]
sanity.bbclass: Clean up various MACHINE checks

[YOCTO #1398]

Firstly we should start checking if MACHINE is set. It if isn't lets
make this a sanity warning since its very hard to successfully build
without setting one (and anyone wanting to do that can disable the
sanity checks easily enough anyway).

Some of the checks depend on a MACHINE being specified. This change
moves those checks to a separate function so they only run if MACHINE
has been set correctly.

Both these issues combine to ensure the user sees a sane message
and avoids the nasty tracebacks in the bug report referenced above.

(From OE-Core rev: 02aceca132f9e259cdc5283c4bfe84e6a55df54d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agosanity.bbclass: Fix broken whitespace
Richard Purdie [Tue, 30 Aug 2011 13:53:15 +0000 (14:53 +0100)]
sanity.bbclass: Fix broken whitespace

(From OE-Core rev: ab44ec9618109b0852d9441b6dd065c72c86acb2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agosanity.bbclass: Fix broken indentation leading to code being skipped unintentionally
Richard Purdie [Tue, 30 Aug 2011 13:52:41 +0000 (14:52 +0100)]
sanity.bbclass: Fix broken indentation leading to code being skipped unintentionally

(From OE-Core rev: 5200d38222c3188e695080b45b975daa20c8a9fa)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agopackage.bbclass: Ensure task's variable dependencies are correctly caputred in the...
Richard Purdie [Tue, 30 Aug 2011 13:22:21 +0000 (14:22 +0100)]
package.bbclass: Ensure task's variable dependencies are correctly caputred in the sstate checksum

[YOCTO #1388]

This change is needed to correctly add the dependencies for the do_package
task which bitbake is unable to automatically detect itself.

(From OE-Core rev: 0614b9aa62a46f81d334ca4230080cc707347f3c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobitbake/fetch2/git: Ensure .gitconfig file is ignored
Richard Purdie [Tue, 30 Aug 2011 20:39:58 +0000 (20:39 +0000)]
bitbake/fetch2/git: Ensure .gitconfig file is ignored

If a user has a ~/.gitconfig file, git fetch --all will reference it. To avoid
this we should run git fetch with an explicit url telling it to fetch all
references (which includes tags).

I'm assured this means git won't reference the file, see the discussion on the
git mailing list (subject Overriding ~/.gitconfig using GIT_CONFIG).

[YOCTO #1134]

(Bitbake rev: 8540c09d4e509e3277940464c71174d8a0aca6ab)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobitbake: Correctly handle multiline comments including whitespace
Richard Purdie [Tue, 30 Aug 2011 16:46:46 +0000 (16:46 +0000)]
bitbake: Correctly handle multiline comments including whitespace

If metadata contains:

"""

FOO = "bar"
"""

The variable FOO should get set to "bar" but doesn't due to the empty lines
be swallowed by the parser and FOO becomming part of the multiline comment.
This patch corrects that behaviour so FOO is set as expected.

[YOCTO #1377]

This patch fixes parsing of multiline comments so lines ending with \
behave consistently and we warn users where there is something happening
they likely don't expect.

(Bitbake rev: 30eaef7f50fff855cf8830772a7088dd83a4240e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agointltool: Fix perl paths
Richard Purdie [Wed, 31 Aug 2011 10:26:58 +0000 (11:26 +0100)]
intltool: Fix perl paths

Currently in the native case we have a path that can easily exceed the
interpretor limit so use "env nativeperl" in that case.

This patch also fixes up the target version's interpretor path but
to do this we need to bypass the configure checks.

(From OE-Core rev: b9fa8fd4f09b68cbcc12b557451a58a1f218d7f3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibc-package: restore correct mangling behavior for locale names
Phil Blundell [Fri, 26 Aug 2011 16:51:47 +0000 (17:51 +0100)]
libc-package: restore correct mangling behavior for locale names

This reverts 19fb07bf337e1d724798e2eb4479c35fc45b1941 and restores
the behaviour of the code to the way it was prior to 561d875404ef1783f94f37314b6e756766db8411.

See http://lists.linuxtogo.org/pipermail/openembedded-core/2011-August/007407.html and subsequent messages.

(From OE-Core rev: e5810439cc394d8ebfc264b05e1fbfad19e8fcd3)

Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agogdb: Fix broken source directory
Richard Purdie [Tue, 30 Aug 2011 23:46:57 +0000 (00:46 +0100)]
gdb: Fix broken source directory

(From OE-Core rev: 3f4017e36410a6435f50183e76b9adb1db1f4126)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoeglibc-locale.inc: Add eglibc-binaries, eglibc-localedatas, eglibc-gconvs and eglibc...
Xiaofeng Yan [Fri, 26 Aug 2011 09:29:44 +0000 (17:29 +0800)]
eglibc-locale.inc: Add eglibc-binaries, eglibc-localedatas, eglibc-gconvs and eglibc-charmps to variable PACKAGE

There are no locales resources in an lsb image because the locale resources were splitted from eglibc-package.inc \
and putted into a new file "eglibc-locale.inc". So the above variables lost their function in eglibc-package.inc and
caused no locale resources in an lsb image. The purpose of moving the above variables from eglibc-package.inc to \
eglibc-locale.inc is to make the above variables to take effect.

eglibc-binaries include packages "eglibc-binary-*"
eglibc-localedatas include packages "eglibc-localedata-*"
eglibc-gconvs include packages "eglibc-gconv-*"
eglibc-charmaps include packages "eglibc-charmap-*"

(From OE-Core rev: 0903a2c62a58f94b7d424162e8c852b502d3840a)

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agogdb: upgrade from 7.3 to 7.3a
Sebastian Krzyszkowiak [Mon, 29 Aug 2011 13:13:32 +0000 (15:13 +0200)]
gdb: upgrade from 7.3 to 7.3a

* because 7.3 archive is not fetchable anymore

(From OE-Core rev: c27690a04acf3870f6e0133cd05ba93d6c66126e)

Signed-off-by: Sebastian Krzyszkowiak <dos@dosowisko.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibidn_1.22: add SRC_URI checksums
Sebastian Krzyszkowiak [Mon, 29 Aug 2011 13:16:23 +0000 (15:16 +0200)]
libidn_1.22: add SRC_URI checksums

(From OE-Core rev: 9f4a66bffa03142f30bb91352c0219ab010316f0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoimage.bbclass: use ${TARGET_PREFIX}depmod
Chris Larson [Mon, 29 Aug 2011 16:26:46 +0000 (09:26 -0700)]
image.bbclass: use ${TARGET_PREFIX}depmod

Currently it uses ${TARGET_SYS}-. This is inconsistent, as the recipe
and kernel bbclass both use the prefix. While there aren't many cases
where the two differ, it is harmless to ensure that we are behaving
consistently.

(From OE-Core rev: 8aec52f4fd1ad3e4148e2ad32700a4378e69dcd3)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoimage_types_uboot: fix a number of issues
Chris Larson [Mon, 29 Aug 2011 18:00:29 +0000 (11:00 -0700)]
image_types_uboot: fix a number of issues

- Don't use a variable reference in the IMAGE_DEPENDS
- Inherit kernel-arch to get UBOOT_ARCH
- Don't include the .bz2 variants, since the base types aren't in
  oe-core
- Add the new types to IMAGE_TYPES
- Inherit image_types, to be certain we load after it

(From OE-Core rev: f67789b83599b86be052b3f2d686791cbf24f540)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoimage_types: add ext4 types from OE
Chris Larson [Mon, 29 Aug 2011 18:00:28 +0000 (11:00 -0700)]
image_types: add ext4 types from OE

(From OE-Core rev: c407d31a42786230062f21c8cf8dc8700dbc6f54)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agodistro_tracking_fields: update binutils to 2.21.1a
Paul Eggleton [Mon, 29 Aug 2011 18:44:21 +0000 (19:44 +0100)]
distro_tracking_fields: update binutils to 2.21.1a

(From OE-Core rev: fbd404a3dc57aa14f4e8ba0d594d00f024a3516b)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agotcmode-default: update binutils version
Paul Eggleton [Mon, 29 Aug 2011 18:43:53 +0000 (19:43 +0100)]
tcmode-default: update binutils version

binutils is now at version 2.21.1a.

(From OE-Core rev: 92808484b1dfa55afa1af3a365898aab6d45f746)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoui/crumbs/tasklistmodel: don't add empty entries to COL_BINB
Joshua Lock [Tue, 30 Aug 2011 17:55:14 +0000 (10:55 -0700)]
ui/crumbs/tasklistmodel: don't add empty entries to COL_BINB

(Bitbake rev: 85c5b8b3b9c805883537900a46eddb2301ee93f9)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoui/crumbs/tasklistmodel: loop optimisation in include_item()
Joshua Lock [Tue, 30 Aug 2011 16:32:48 +0000 (09:32 -0700)]
ui/crumbs/tasklistmodel: loop optimisation in include_item()

Rather than trying to iterate the model to find whether the item is already
included and then iterate the model again to find the items path attempt to
find the path first and if the path is found test whether the COL_INC of
the row is set.

(Bitbake rev: 82845569c37591f6b097b9db071484f8171a39ea)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoui/crumbs/tasklistmodel: remove unnecessary check
Joshua Lock [Tue, 30 Aug 2011 16:31:05 +0000 (09:31 -0700)]
ui/crumbs/tasklistmodel: remove unnecessary check

Cheaper to set COL_INC to True regardless of whether it's already set.

(Bitbake rev: 12c6f98ba7a68baeeaee00594d910e1be8d55d87)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoui/crumbs/tasklistmodel: optimise find_path_for_item()
Joshua Lock [Tue, 30 Aug 2011 16:15:35 +0000 (09:15 -0700)]
ui/crumbs/tasklistmodel: optimise find_path_for_item()

Rather than calling get_path() for each iterated value use the get_value()
method to lookup the COL_NAME value and only call get_path() for a match.

This should save some time by potentially removing N-1 calls to get_path()
from the loop.

(Bitbake rev: d2450536269996147a22d6eafbdf72aa62afa4f6)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoui/crumbs/tasklistmodel: prevent packages depending on each other
Joshua Lock [Tue, 30 Aug 2011 00:02:39 +0000 (17:02 -0700)]
ui/crumbs/tasklistmodel: prevent packages depending on each other

Don't add y to x's COL_BINB if x is in y's COL_BINB - prevent circular
dependencies.

Further this patch improves the variable naming to make this code easier to
follow.

Fixes [YOCTO #1423]

(Bitbake rev: 01ef2ab0d201f3cb3666462558c9cf485592e04f)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoui/crumbs/tasklistmodel: don't add same item to binb column more than once
Joshua Lock [Mon, 29 Aug 2011 23:29:06 +0000 (16:29 -0700)]
ui/crumbs/tasklistmodel: don't add same item to binb column more than once

In the same vein as a similar, earlier, patch where I missed the second
loop which modifies the binb column.

Fixes [YOCTO #1420]

(Bitbake rev: 6ad1103b5fd592afa9ea03ef5a0d706604cc0e0f)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agodata_smart.py: make use of expand cache in getVar()
Dongxiao Xu [Mon, 29 Aug 2011 07:33:58 +0000 (15:33 +0800)]
data_smart.py: make use of expand cache in getVar()

Currently if passing expand=True to getVar() function, it will pass the
handling to getVarFlag(), which doesn't get any benefit from the expand
cache.

Call the expand() function separately in getVar() to make use of the
expand cache, which can decrease the parsing time by 40%.
(from current 49s to 27s)

(Bitbake rev: 6555a77c199f41bf35460138764e03e30c56d29f)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobinutils: update to 2.21.1a
Paul Eggleton [Sun, 28 Aug 2011 20:43:31 +0000 (21:43 +0100)]
binutils: update to 2.21.1a

2.21.1 has disappeared upstream. There is no ChangeLog information for
2.21.1a, however diff reports only the addition of some cpu/opc files in
cgen/ subdirectory; the source code is otherwise identical.

(From OE-Core rev: 4ecf379aba11983b66be4fbe26e65aa28740ddfd)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoui/crumbs/runningbuild: add a 'Copy' item to the messages right-click menu
Joshua Lock [Sat, 27 Aug 2011 00:19:58 +0000 (17:19 -0700)]
ui/crumbs/runningbuild: add a 'Copy' item to the messages right-click menu

Add another item to the right-click menu enabled for log messages to copy
the message to the clipboard.

(Bitbake rev: 419b52e832f506504778d4d5957d1e77477bb513)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoui/crumbs/tasklistmodel: don't add same item to binb column more than once
Joshua Lock [Fri, 26 Aug 2011 22:13:33 +0000 (15:13 -0700)]
ui/crumbs/tasklistmodel: don't add same item to binb column more than once

(Bitbake rev: 5e95098be1c1f92c2d72fb371c94bab31c46cf83)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agokernel.bbclass: Find the kernel consistently.
Mike Crowe [Fri, 26 Aug 2011 09:21:19 +0000 (10:21 +0100)]
kernel.bbclass: Find the kernel consistently.

Use KERNEL_OUTPUT variable to find the generated kernel image rather than
duplicating the existing path. This also means it can be overridden simply.

(From OE-Core rev: de5b502330ded38c0efe2c4e30967ef12dbad72a)

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agopango: make x11 support conditional on DISTRO_FEATURES
Phil Blundell [Fri, 26 Aug 2011 14:23:02 +0000 (15:23 +0100)]
pango: make x11 support conditional on DISTRO_FEATURES

This allows pango to build on DISTROs which don't enable x11.
Also adjust the SECTION since pango isn't really an X library.

(From OE-Core rev: ac92a573dd38270a28967c76472435cfd7f9bdfe)

Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoopkg-utils: ignore packages disapperaring filelist generation
Dmitry Eremin-Solenikov [Fri, 26 Aug 2011 13:49:25 +0000 (17:49 +0400)]
opkg-utils: ignore packages disapperaring filelist generation

Package files disappearing during index generation don't cause a fatal
error. Make package file disappearing during filelist generation also
a non-fatal error.

(From OE-Core rev: f55c96b6d53ecff865145fa22f286c89c7336515)

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoeglibc: fix gconv packaging after 5486cac29db6e67051fff7637a0abc9aeab661e5
Martin Jansa [Fri, 26 Aug 2011 11:41:18 +0000 (13:41 +0200)]
eglibc: fix gconv packaging after 5486cac29db6e67051fff7637a0abc9aeab661e5

* gconv is directory so test -f was always false as reported by Phil Blundell in
  http://lists.linuxtogo.org/pipermail/openembedded-core/2011-August/008973.html
* -e used also for localedef which is file, just to be more consistent

(From OE-Core rev: feaf1bab56138cc1bc998a4201a60202a5b8cd28)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agomultilib.bbclass: add renaming for INITSCRIPT related variables
Dongxiao Xu [Fri, 26 Aug 2011 05:04:07 +0000 (13:04 +0800)]
multilib.bbclass: add renaming for INITSCRIPT related variables

Initscripts are missing in target image in multilib case. This commit
adds the renaming logic for the related variables in multilib.bbclass.

This fixes the no response of mouse/keyboard in target system due to
the missing of udev startup script.

(From OE-Core rev: 477fc6e2fc034c68a250005461774bc8ecf91a52)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agomultilib.bbclass: add "pkg_postinst" and "pkg_postrm" as renaming elements
Dongxiao Xu [Fri, 26 Aug 2011 00:27:41 +0000 (08:27 +0800)]
multilib.bbclass: add "pkg_postinst" and "pkg_postrm" as renaming elements

Add "pkg_postinst" and "pkg_postrm" as renaming elements, which fixes
missing post install/rm scripts in target image.

(From OE-Core rev: a5c9f8af79c1632d2f3de5dd9627a7ca24fa0b76)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agomultilib.bbclass: Fix renaming logic for "FILES_", "RDEPENDS_", etc
Dongxiao Xu [Thu, 25 Aug 2011 13:30:12 +0000 (21:30 +0800)]
multilib.bbclass: Fix renaming logic for "FILES_", "RDEPENDS_", etc

In the orignal logic, the renaming will not work for "FILES_" if defined
variables as:

PACKAGES = "${PN}"
FILES_abc = "/usr/include/abc.h"

It is because ${PN} is "lib64-abc" so it will not be contained in
pkgrename.

This commit enumerates all element in PACKAGES, getting the original
packages and multilib packages, then doing renaming for "FILES_",
"RDEPENDS_", etc. This fixes a lot of missing files and incorrect
dependencies.

(From OE-Core rev: ea7c196b4097d64b4f42faccaf075334c297ba20)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobitbake.conf: Use BPN in FILES paths
Dongxiao Xu [Thu, 25 Aug 2011 08:29:09 +0000 (16:29 +0800)]
bitbake.conf: Use BPN in FILES paths

Use BPN instead of PN in FILES path to support multilib.

(From OE-Core rev: cb247225a96d57e67ce32c5674bb13b703e30a7c)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobase-passwd: Use BPN in FILES paths
Dongxiao Xu [Thu, 25 Aug 2011 08:27:51 +0000 (16:27 +0800)]
base-passwd: Use BPN in FILES paths

Use BPN instead of PN in FILES paths.
This fixes the login issue by /etc/passwd missing in multilib images.

(From OE-Core rev: ec62502988f0d79a69013513f2246980e0d8c01c)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoqt4e-demo-image: Fix bug 999
Xiaofeng Yan [Fri, 26 Aug 2011 02:13:11 +0000 (10:13 +0800)]
qt4e-demo-image: Fix bug 999

[YOCTO #999]
Copy metadata of qt4e-demo-image from OE for easy testing qt4embeded on embedded platform.
This image was tested on qemuarm and can run program "qtdemoE".

(From OE-Core rev: 612ab0aaf3e693b90bb18234e2517bfc87ee3f7c)

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolinux-yocto-rt: qemumips: fix boot panic
Bruce Ashfield [Thu, 25 Aug 2011 20:45:57 +0000 (16:45 -0400)]
linux-yocto-rt: qemumips: fix boot panic

Fixes [YOCTO #1392]

Updating the SRCREVs to pickup:

[
    mips/rt: convert cascade interrupt non threaded

    The preempt_rt kernel forces all irq interrupts to be threaded,
    but special interrupts can be excluded from this conversion.
    The cascade interrupt should be part of these exceptions.

    In this case, irq2 is initialized before "kthreadd" task, which
    converts irq interrupt to threaded.

    If this irq is threaded, the kernel calls "try_to_wake_up" function
    to wake up "kthreadd" task, but at that moment, "kthreadd" task
    has no been initialize and try_to_wake_up wakes up a NULL task.

    (From OE-Core rev: 7ceb78a42f7d9b6aa4b984d04ac13f8dc23a9095)

Signed-off-by: Liming Wang <liming.wang@windriver.com>
]

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoscripts/runqemu: disable unfs boot mode for qemuppc
Liming Wang [Thu, 25 Aug 2011 14:45:29 +0000 (22:45 +0800)]
scripts/runqemu: disable unfs boot mode for qemuppc

Because unfs boot mode is unstable for qemuppc, disable
it temporarily.

(From OE-Core rev: 74ff1bc8c248824116ba4b787b10fa6ee0c13ce1)

Signed-off-by: Liming Wang <liming.wang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agokernel.bbclass: support kernel image type of vmlinux.gz
Mike Crowe [Thu, 25 Aug 2011 12:59:28 +0000 (13:59 +0100)]
kernel.bbclass: support kernel image type of vmlinux.gz

Add support for a gzipped vmlinux kernel by specifying:

  KERNEL_IMAGETYPE = "vmlinux.gz"

(From OE-Core rev: cb17b6c2a72f260c61b0ec46887c2a04ac5b3f80)

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agocmake-nativesdk: remove gcc standard paths
Kang Kai [Thu, 25 Aug 2011 02:55:40 +0000 (10:55 +0800)]
cmake-nativesdk: remove gcc standard paths

Because of the gcc-crosssdk bug, cmake-nativesdk needs to search gcc
standard paths itself. Right now it was fixed, so remove the additional
CXXFLAG for cmake-nativesdk.

(From OE-Core rev: bac15cc98e136892d4c09f2470622965bd9dbbeb)

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoqt4-tools-nativesdk: remove gcc standard paths
Kang Kai [Thu, 25 Aug 2011 02:41:57 +0000 (10:41 +0800)]
qt4-tools-nativesdk: remove gcc standard paths

gcc-crosssdk can't find the standard headers before, and it was fixed.
So it is not needed to search the gcc standard paths by
qt4-tools-nativesdk itself.

(From OE-Core rev: be86cbf54f3aeeda1105acd153fe09348a7ac267)

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobitbake.conf: set includedir_nativesdk
Kang Kai [Thu, 25 Aug 2011 02:25:55 +0000 (10:25 +0800)]
bitbake.conf: set includedir_nativesdk

Fixes [Yocto #1231]

crosssdk.bbclass uses ${includedir_nativesdk} to define target_includedir,
but includedir_nativesdk is not defined before. This makes gcc-crosssdk
can NOT search the correct standard headers and libraries search path.

Define includedir_nativesdk in bitbake.conf.

(From OE-Core rev: 46a02c30d372692282f2784870df6fd63c660b10)

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoFix adt-installer for consistent naming for powerpc and add all arch template for...
Jessica Zhang [Thu, 25 Aug 2011 18:19:53 +0000 (11:19 -0700)]
Fix adt-installer for consistent naming for powerpc and add all arch template for installation

(From OE-Core rev: 299402832cc461f2db58481ccbb1a3a8ac92a7d0)

Signed-off-by: Jessica Zhang <jessica.zhang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agopackage.bbclass: Fix recrdeptask of image type recipes
Dongxiao Xu [Thu, 25 Aug 2011 03:40:11 +0000 (11:40 +0800)]
package.bbclass: Fix recrdeptask of image type recipes

For image type of recipes, we need to define do_package_write as its
do_build recrdeptask, which ensures that all packaging types listed in
PACKAGE_CLASSES will be built out.

[YOCTO 1370]

(From OE-Core rev: b68cd33673fdc17711d7b9fde9cc23b0d8498c17)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoscript/runqemu: change boot command line for qemuppc
Liming Wang [Wed, 24 Aug 2011 08:48:27 +0000 (16:48 +0800)]
script/runqemu: change boot command line for qemuppc

Because qemuppc has no graphic emulation, remove console=tty0
and make it run into 3 run level. This can reduce boot time
for qemuppc booting.

(From OE-Core rev: ba02844fd3c3e09b4c40bfff50c32bdcc27899fc)

Signed-off-by: Liming Wang <liming.wang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agogcc-4.5.1: Drop gcc-poison-parameters.patch, replace with bug fix patch
Kumar Gala [Fri, 26 Aug 2011 14:33:53 +0000 (09:33 -0500)]
gcc-4.5.1: Drop gcc-poison-parameters.patch, replace with bug fix patch

The gcc-poison-parameters was added specifically to deal with an issue
on ppc targets and a bug when we build with -Os -frename-registers.

This bug below reports the issue and is fixed in gcc-4.6.x/mainline:

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44618

Backport patch to gcc 4.5.1.

(From OE-Core rev: fef385e37e82a0eec743fbd1da11021b9e7158b5)

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agogcc-4.6: Drop gcc-poison-parameters.patch as its not need
Kumar Gala [Wed, 24 Aug 2011 05:08:50 +0000 (00:08 -0500)]
gcc-4.6: Drop gcc-poison-parameters.patch as its not need

The gcc-poison-parameters was added specifically to deal with an issue
on ppc targets and a bug when we build with -Os -frename-registers.

This bug below reports the issue and is fixed in gcc-4.6.x:

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44618

(From OE-Core rev: 0fabe078a31591f41c3fdabe5aa9de1111ef82c7)

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoclasses/sanity: enhance the network connectivity test
Joshua Lock [Thu, 25 Aug 2011 15:29:30 +0000 (08:29 -0700)]
classes/sanity: enhance the network connectivity test

Switch to use the checkstatus fetcher API for the network connectivity test,
this has several advantages:
* we no longer print any messages to the console whilst the check is
being run
* we don't actually download anything, removing the need for tidy up and
making the code more concise

(From OE-Core rev: 81aa4bfbde871af1d569b64499c34a315bf6218e)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolinux-yocto: update meta SRCREV to sync version strings
Bruce Ashfield [Thu, 25 Aug 2011 04:36:34 +0000 (00:36 -0400)]
linux-yocto: update meta SRCREV to sync version strings

During the update of the bitbake recipe's string to 3.0.3 the internal
version marker in the kernel stayed at v3.0. This meant that kernel
configuration auditing the constructed file couldn't be found and audit
warnings were thrown. This syncs all the recipes and get back to
clean configurations.

(From OE-Core rev: 2be439c14790fec8ad7ffe1b6c531d41d0329eaf)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agohob: disable some menu entries whilst build is in progress
Joshua Lock [Tue, 23 Aug 2011 23:35:05 +0000 (16:35 -0700)]
hob: disable some menu entries whilst build is in progress

It doesn't make sense to be able to modify the preferences and add/remove
layers whilst a build is in progress - disable the relevant menu items once
the build has started and re-enable them once the user has returned to the
creation view.

(Bitbake rev: 0423587db09f6f28cf9d801f5657a84157f42dbe)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>