scm/bb/tizen-distro.git
13 years agocml1/kernel: Update do_menuconfig to use oe.terminal()
Richard Purdie [Thu, 15 Sep 2011 10:22:39 +0000 (11:22 +0100)]
cml1/kernel: Update do_menuconfig to use oe.terminal()

The recent environment fixes broke the menuconfig task since it couldn't access
variables like DISPLAY. This patch updates it to use oe.terminal instead
allowing it to work again.

(From OE-Core rev: e876a44fa8ed0aa2e09084c1e7ddfc876c3f981b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agodistro-tracking: Update alias
Zhai Edwin [Tue, 13 Sep 2011 22:57:45 +0000 (06:57 +0800)]
distro-tracking: Update alias

(From OE-Core rev: 80f930550b696c92f2fab25a4ee8f7d51d4f1860)

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agodistro_tracking: update package alias
Dongxiao Xu [Wed, 14 Sep 2011 05:34:50 +0000 (13:34 +0800)]
distro_tracking: update package alias

Update package alias which exist in other two distributions.

(From OE-Core rev: 81388937aefbba9f57bf6351b43cff042e93ebf0)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agotask-core-sdk: change task-core -> task-core-console
Saul Wold [Wed, 14 Sep 2011 21:40:00 +0000 (14:40 -0700)]
task-core-sdk: change task-core -> task-core-console

(From OE-Core rev: 504103ba42783e937c7201a8aa079a52cdde2846)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agogrub2: new recipe
Tom Zanussi [Wed, 14 Sep 2011 18:44:29 +0000 (13:44 -0500)]
grub2: new recipe

This adds the grub-1.98 from meta-intel while upgrading it to 1.99.

(From OE-Core rev: ccd2148e686f93518dc1a80376f7ddb24587a3da)

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoinitramfs-live-install: add support for grub2
Tom Zanussi [Wed, 14 Sep 2011 18:01:55 +0000 (13:01 -0500)]
initramfs-live-install: add support for grub2

grub2 needs a different set of install steps from grub 0.97.  This
adds them to init-install.sh and adds an install-time check that
determines which version is being used and which steps to use
depending on the version of grub selected.

(From OE-Core rev: c67d03eb3684acab89e5972609e397087727e74e)

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolinux-yocto-rt: correct 3.0.3->3.0.4 mismerge for, stop_machine.c
Bruce Ashfield [Wed, 14 Sep 2011 17:30:59 +0000 (13:30 -0400)]
linux-yocto-rt: correct 3.0.3->3.0.4 mismerge for, stop_machine.c

Merging the following commit for the -rt machines:

[
    preempt-rt/base: correct 3.0.3->3.0.4 mismerge for, stop_machine.c

    Commit 0b805cce57f61a244eb3b8fce460b14f1be442b3 dropped a change making
    stop_cpus_mutex non-static, resulting in a build failure for 3.0.4-rt
    kernels.

    Restore the move to non-static from commit
    6857336c7fddaf460a13adc0c395698fcf9423ff.

Reported-by: Kishore Bodke <kishore.k.bodke@intel.com>
    (From OE-Core rev: 1bc26dca631da53d956008a4570c46012c478435)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
]

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolinux-yocto: split e100 and e1000 support
Bruce Ashfield [Sat, 10 Sep 2011 04:04:58 +0000 (00:04 -0400)]
linux-yocto: split e100 and e1000 support

Merging the following meta changes:

12574e5 meta: create seperate feature for 10/100 LAN support
c8b37bf meta: Remove 10/100 LAN support.

(From OE-Core rev: 4ab79c8e02f9fe7a02c56019d5b169ad4f0e3aec)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolinux-yocto: move common tasks to a common location
Bruce Ashfield [Fri, 9 Sep 2011 22:27:46 +0000 (18:27 -0400)]
linux-yocto: move common tasks to a common location

During the initial development of the linux-yocto recipes there were
several additional tasks that needed to be run in any inheriting
recipe. At that time, they didn't seem to fire if they were in the
include file versus the recipes themselves. As it turns out, these
tasks do work fine if placed in the linux-yocto.inc file, and the
rest of the recipes can be simplified as a result.

(From OE-Core rev: a1ab7c5e03df97e630dfee470ff7959d3143bf41)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agotask-core: split into task-core-console and task-core-x11
Paul Eggleton [Wed, 14 Sep 2011 16:19:55 +0000 (17:19 +0100)]
task-core: split into task-core-console and task-core-x11

[YOCTO #1481]

Since tasks are referred to almost exclusively via RDEPENDS, and bitbake
will build an entire task recipe when only one of its task packages are
actually needed, building a console-only image that uses
task-core-apps-console (or less directly, has apps-console in its
IMAGE_FEATURES) will cause a build of a whole list of X11 applications
that aren't needed. Splitting the task-core recipe into X11 and console
portions prevents this issue.

(From OE-Core rev: 07407baafb728c5ae1bb283f5b02a2ac773360bc)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agodistro_tracking_field: add distro checking field
Yu Ke [Wed, 14 Sep 2011 02:23:55 +0000 (10:23 +0800)]
distro_tracking_field: add distro checking field

add the missing distro checking field for some recipes

(From OE-Core rev: eaef15630c38b8dd60f83df766e6b17cb3838130)

Signed-off-by: Yu Ke <ke.yu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoqt4: add blacklist-diginotar-certs patch
Eric Bénard [Sat, 10 Sep 2011 20:07:45 +0000 (22:07 +0200)]
qt4: add blacklist-diginotar-certs patch

- this patch comes from Nokia and blacklist all DigiNotar intermediates
and root certificates, more details are available here :
http://labs.qt.nokia.com/2011/09/07/what-the-diginotar-security-breach-means-for-qt-users-continued/

(From OE-Core rev: abf51c33aba51782246a9136dddb53893216f518)

Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agopackage_deb.bbclass, populate_sdk_deb.bbclass: fix meta-toolchain-gmae build
Dexuan Cui [Wed, 14 Sep 2011 14:30:14 +0000 (22:30 +0800)]
package_deb.bbclass, populate_sdk_deb.bbclass: fix meta-toolchain-gmae build

[YOCTO #1070]

Currently with deb packaging, we have 2 issues when running
"bitbake meta-toolchain-gmae".

1) when MACHINE="qemux86", SDKMACHINE="i686", INSTALL_BASEARCH_DEB is "i686",
too. This causes the following ERROR:
| E: Couldn't find package task-sdk-host-nativesdk
NOTE: package meta-toolchain-gmae-1.0-r6: task do_populate_sdk: Failed

This is becasue: due to the DPKG_ARCH mapping, we create such a deb package
tmp/deploy/deb/i686-nativesdk/task-sdk-host-nativesdk_1.0-r10_i386.deb; dpkg
can't recoginze the package. We need to map INSTALL_BASEARCH_DEB in the same
way.

2) when MACHINE="qemux86", SDKMACHINE="x86_64", INSTALL_BASEARCH_DEB is
"x86_64", too.
We get such an ERROR:
| E: Couldn't find package task-cross-canadian-i586
NOTE: package meta-toolchain-gmae-1.0-r6: task do_populate_sdk: Failed

This is because: dpkg can't recognize the generated package
tmp/deploy/deb/x86_64-nativesdk/task-cross-canadian-i586_1.0-r0_i386.deb
Here the "i386" suffix is incorrect and should be "x86_64" -- the i386
comes from the line
DPKG_ARCH_i586 ?= "i386" in package_deb.bbclass.
However, for canadian package, actually here the overriding of DPKG (from
"x86-64" to "i386") should not happen -- it accidently happens just because
TARGET_ARCH exists in OVERRIDES. We can move the overriding logic to the
anonymous python function to work this around.

(From OE-Core rev: 63010b9ee89643c8e83656783231f0a7848d9e45)

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoUprev to latest version of prelink_git, fixing TLS issues
Mark Hatle [Wed, 14 Sep 2011 00:38:02 +0000 (19:38 -0500)]
Uprev to latest version of prelink_git, fixing TLS issues

[YOCTO #1473]

From the upstream cross prelink respository:

    Fix printf typecast problem

    Without this fix the printed TLS(...) information is incorrect, which
    causes the core prelinker code to incorrectly prelink.  This bug triggers
    primarily on x86 (32-bit) hosts, targeting x86 (32-bit) targets and arm
    targets.

(From OE-Core rev: 2fc778068ebbd97b0fb473fb35a3eca03da86542)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agocore-image-minimal: Add missing POKY_EXTRA_IMAGE variable
Richard Purdie [Wed, 14 Sep 2011 00:27:08 +0000 (01:27 +0100)]
core-image-minimal: Add missing POKY_EXTRA_IMAGE variable

Whilst this needs renaming it at least brings this image into
line with the other images and ensures consistent behaviour.
Renaming can take place at a future point.

This fixes the problem where extra packages could be added to other
image types using this varibale but not in the case of the minimal
image.

(From OE-Core rev: 8df322abfd3fa8c460fd73c83c1ef0b5e419dc11)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibzypp: move package-manger to it own package
Saul Wold [Tue, 13 Sep 2011 23:10:24 +0000 (16:10 -0700)]
libzypp: move package-manger to it own package

[YOCTO #1234]

This moves a couple of files to a pkgmgt package so that
they will not be installed by default. This removes the
Add/Remove Software Icon from rpm based rootfs.

(From OE-Core rev: 3be290aac4da885fe5bc31797c4a689196c63b7a)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agohob: correctly set the selected image when loading a recipe
Joshua Lock [Fri, 9 Sep 2011 01:10:29 +0000 (18:10 -0700)]
hob: correctly set the selected image when loading a recipe

When the user saves their recipe based on an existing image type, loads it
in a newly run hob instance and clicks bake they should not be asked about
building packages vs an empty image up.

Partially addresses [YOCTO #1468]

(Bitbake rev: f4be83aae77a713e2b5a2d094651639b6e641031)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agohob: correctly handle an exception
Joshua Lock [Fri, 9 Sep 2011 01:00:13 +0000 (18:00 -0700)]
hob: correctly handle an exception

It doesn't matter if we can't remove the temprorary file, for some reason,
so catch the exception and ignore it.

Partially addresses [YOCTO #1468]

(Bitbake rev: 4394e38b038e1bc9845adf01d73363157d98c96d)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoui/crumbs/hobeventhandler: don't check BBPATH and BBFILES each build
Joshua Lock [Fri, 9 Sep 2011 00:59:20 +0000 (17:59 -0700)]
ui/crumbs/hobeventhandler: don't check BBPATH and BBFILES each build

There's no need to check the BBPATH and BBFILES are set correctly each
build when running multiple builds for one launch of the UI.

Partially addresses [YOCTO #1468]

(Bitbake rev: 39ed18e70e9f3a13b522b4ea02bf6f4bdb7de89c)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoui/crumbs/hobeventhandler: fix test for BBFILES
Joshua Lock [Thu, 8 Sep 2011 21:50:01 +0000 (14:50 -0700)]
ui/crumbs/hobeventhandler: fix test for BBFILES

It seems we have a race whereby the image_dir variable may not be set
before it's tested for, since the variable is always the same set it in the
initialiser.

Partially addresses [YOCTO #1468]

(Bitbake rev: 09f5aed2edb0b8f4a6570e1041b5db66cf2d17cc)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agodpkg: fix pkg_postinst_dpkg, don't supply {bindir}/update-alternatives
Dexuan Cui [Tue, 13 Sep 2011 13:30:37 +0000 (21:30 +0800)]
dpkg: fix pkg_postinst_dpkg, don't supply {bindir}/update-alternatives

[YOCTO #1070].

The pkg_postinst_dpkg seems buggy, e.g., for dpkg-native,
${IMAGE_ROOTFS}/${sysconfdir}/rcS.d doesn't exist.
I think OE's version(do_install_prepend) at
http://git.openembedded.org/cgit.cgi/openembedded/tree/recipes/dpkg/dpkg.inc
is correct, so let's change to OE's version.

And, bth dpkg and update-alternatives-cworth supply
/usr/bin/update-alternatives and this causes conflict. e.g., bug 1070.
We can resolve the issue by ask dpkg not to supply the binary.

(From OE-Core rev: c7af358ec427487ccc053316d2f68f6121b97181)

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agomultilib: Remove recipe from multilib.conf that inherits allarch
Dongxiao Xu [Tue, 13 Sep 2011 11:52:45 +0000 (19:52 +0800)]
multilib: Remove recipe from multilib.conf that inherits allarch

Recipes like update-rc.d and qemu-config inherit "allarch", thus we
shouldn't add multilib BBCLASSEXTEND for them in multilib.conf.

Besides, we need to add multilib packages as the RPROVIDER contents for
those recipes, in order to avoid the NoProvider error when parsing.

[YOCTO #1471]

(From OE-Core rev: 329d864f9bbf94ad3aae8df43d63fe10e4237e4f)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobase.bbclass: do not expand PREFERRED_PROVIDER for kernel recipe
Dongxiao Xu [Tue, 13 Sep 2011 11:52:44 +0000 (19:52 +0800)]
base.bbclass: do not expand PREFERRED_PROVIDER for kernel recipe

With Richard's commit f9c36392, we only build one kernel for a system,
thus we shouldn't extend PREFERRED_PROVIDER for virtual/kernel.

[YOCTO #1471]

(From OE-Core rev: 90ad70fe13a9f8409387ca70289998bdca649aeb)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoRevert "pango: use qemu to generate pango.modules during rootfs construction"
Richard Purdie [Tue, 13 Sep 2011 16:04:55 +0000 (17:04 +0100)]
Revert "pango: use qemu to generate pango.modules during rootfs construction"

This reverts commit 62381fd3a135318794f14dc3740b04facd32446e.

This commit has issues with the rpm rootfs generation which need
resolving before it can be accepted.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoopensp: Fix hard path in native nsgmls.
Zhai Edwin [Tue, 13 Sep 2011 16:02:51 +0000 (17:02 +0100)]
opensp: Fix hard path in native nsgmls.

This relocation issues caused following bug and introduce one partial fix bb024d:
[YOCTO #1440]

But the environment val hacking is not working all the time, as nsgmsl may
append wrong path in some case. This fix use search directory "-D" as solution.
And more important, change the iputils' way to make doc: Use the sysid in
current directory instead of parent directory, as "../" is also appended to the
search directory then lead searching failure.

(From OE-Core rev: a5aeb873b943300e18493031ffa9e9f8ab56c2d2)

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
CC: Saul Would <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agorunqueue.py: Ensure fakeroot variables are reflected in the datastore
Richard Purdie [Fri, 9 Sep 2011 18:07:40 +0000 (19:07 +0100)]
runqueue.py: Ensure fakeroot variables are reflected in the datastore

Without this, variables can be set to one thing in one part of the environment and something
different in another part. This change ensures the datastore and the environment
are consistent.

(Bitbake rev: 459addf13721a6847406f215650fa1882fb83ea9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoshadow: add patch for useradd lossage
Phil Blundell [Wed, 7 Sep 2011 12:02:10 +0000 (13:02 +0100)]
shadow: add patch for useradd lossage

This fixes (or, at least, papers over) a failure in do_install for recipes which
inherit useradd.bbclass.  Rewinding optind in this way is not entirely portable
but in practice it seems to work on GNU-ish build hosts at least.

(From OE-Core rev: 8fce8180c802ad187c4df44c17207bfb026ce6c7)

Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agorunqemu: improve auto-detection of rootfs filenames
Scott Garman [Fri, 9 Sep 2011 09:59:27 +0000 (02:59 -0700)]
runqemu: improve auto-detection of rootfs filenames

This refactors the way rootfs filenames are auto-detected when you
run the runqemu script without an explicit rootfs filename argument.
It allows the script to use rootfs files generated by hob, and when
there are mutliple rootfs files to choose from, it will pick the
most recently created one.

Fixes [YOCTO #1437].

(From OE-Core rev: 094453f443ed592d814dfb4182a0a02f0a2552e4)

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobitbake.conf: Default to explicitly setting the variable to disable pseudo
Richard Purdie [Fri, 9 Sep 2011 17:21:24 +0000 (18:21 +0100)]
bitbake.conf: Default to explicitly setting the variable to disable pseudo

If we don't do this, sometimes pseudo can end up enabling itself when
it isn't required. Setting this value into the environment explicitly
ensures that does not happen.

(From OE-Core rev: 72252799e8c51a633a231a2cd1fe797b7faae713)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agorunqemu-internal: Hide some harmless warning messages
Richard Purdie [Fri, 9 Sep 2011 17:18:44 +0000 (18:18 +0100)]
runqemu-internal: Hide some harmless warning messages

If sudo is used in the pseudo environment, as done in image tests when
the user hasn't pre-setup the tap device, ensure the LD_PRELOAD error
message isn't seen by the user.

(From OE-Core rev: 86234ac514cbd33a0058f3b74f158daeda325c0d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoimagetest-qemu/runqueue: Since we no longer support BUILDDIR, use TMPDIR
Richard Purdie [Fri, 9 Sep 2011 17:14:56 +0000 (18:14 +0100)]
imagetest-qemu/runqueue: Since we no longer support BUILDDIR, use TMPDIR

Commit 993672fa2739794a6dd0dbd7bb232fa60522b897 removed the BUILDDIR
support from runqueue which broke the imagetest-qemu integration. We now
therefore need to set TMPDIR and pass this through the environment to
ensure the runqueue script finds the right locations without running
bitbake directly.

This patch also adds a sleep to the qemu command in the error case so that
this remains on the screen for a period of time so the user can see errors
more easily.

This change unbreaks automated testing failures on the autobuilder.

(From OE-Core rev: de470333dbdeea444199340e4cd458c13fed6a5a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoRevert "opensp: Fix sstate relocation issue"
Saul Wold [Thu, 8 Sep 2011 22:22:56 +0000 (22:22 +0000)]
Revert "opensp: Fix sstate relocation issue"

This patch causes the linuxdoc-tools-native to fail, cause it's
overriding the SGML_CATALOG_FILES, need to find a better way to
set the CATALOG_FILE information for opensp / nsgmls

(From OE-Core rev: e9ecf5f22b5aa1f58b3104f7d058d04ab08e8839)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
This reverts commit bb024d7a8c771c189b94b1ae177e29f3c318e236.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoterminal.bbclass: Improve environment handling
Richard Purdie [Wed, 7 Sep 2011 17:39:54 +0000 (18:39 +0100)]
terminal.bbclass: Improve environment handling

Currently the environment handling for terminals is inconsistent. There
are two fixes here:

a) Ensure the environment is setup before all oe.terminal call

b) Actually set the environment before the spawn calls since we need
variables like DISPLAY when the commands are being executed, not just
within the terminal environment. If this doesn't happen, DISPLAY can end
up not set with the errors that brings with it when trying to run X
commands.

(From OE-Core rev: 6b680c8da02017bdb17a4826f1819fe0e5f68652)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agorunqueue: Ensure task environment is correct
Richard Purdie [Fri, 9 Sep 2011 17:25:41 +0000 (17:25 +0000)]
runqueue: Ensure task environment is correct

This fixes two problems:

a) Variables which were in the parent environment but not set as "export"
   variables in the datastore could end up in the task environment

b) oe.environ.update() can't cope with the generator returned by
   bb.data.exported_vars()

Whilst the updated code isn't as neat, it does do the expected thing,
sets the environment correctly and stops unwanted values leaking into
the task environment.

(Bitbake rev: 67e5e23034c5ec2b9efcca935242830306c0048d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agopython-native: add link for python2
Saul Wold [Thu, 8 Sep 2011 07:18:20 +0000 (00:18 -0700)]
python-native: add link for python2

Add link for python2 as some configuration tools search from a python2
and could find the host python instead of the python-native.

(From OE-Core rev: ae4db0bacb9d40489499f77905f26502f3bcaa19)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobase.bbclass: fix substring matching in COMMERCIAL_LICENSE
Paul Eggleton [Wed, 7 Sep 2011 16:05:42 +0000 (17:05 +0100)]
base.bbclass: fix substring matching in COMMERCIAL_LICENSE

Previously, if for example you had a package called "mx", and a second
package called "libomxil" listed in COMMERCIAL_LICENSE (without mx being
listed there), it would match mx as being commercially licensed because
mx is a substring of libomxil. Fix the search to ensure it only matches
the listed package name exactly.

(From OE-Core rev: b23e51e6c961cf3f7e2aaf89648fecce78424c99)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoavahi: only use gtk if DISTRO_FEATURES includes x11
Phil Blundell [Wed, 7 Sep 2011 20:23:48 +0000 (21:23 +0100)]
avahi: only use gtk if DISTRO_FEATURES includes x11

Otherwise avahi isn't buildable for an x11-less DISTRO.

(From OE-Core rev: fa8dad209247b780590bc8476b5b16e6608d7907)

Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agouseradd.bbclass: use correct value for $D in postinst functions
Phil Blundell [Wed, 7 Sep 2011 20:20:12 +0000 (21:20 +0100)]
useradd.bbclass: use correct value for $D in postinst functions

This corrects the location of the password file used during package installation.

See http://lists.linuxtogo.org/pipermail/openembedded-core/2011-September/009183.html and subsequent discussion.

(From OE-Core rev: 848bb277769af5b094031aeb54d287c158256724)

Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoresolvconf: switch to 1.59 as 1.58 was removed from debian ftp
Eric Bénard [Wed, 7 Sep 2011 06:35:43 +0000 (08:35 +0200)]
resolvconf: switch to 1.59 as 1.58 was removed from debian ftp

(From OE-Core rev: 11b466546533c6c2ad1f24d61d02a5bf6c1329e1)

Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agosstate: Avoid contention between sstate packages
Richard Purdie [Wed, 7 Sep 2011 17:34:47 +0000 (18:34 +0100)]
sstate: Avoid contention between sstate packages

If several sstate packages are decompressing at the same time, they can
conflict over the "fixmepath". If two packages try to write to this at
the same time it results in an error. To avoid this we remove the file
once we've finished processing it.

(From OE-Core rev: c08d7093bf654ffedb155c5627972e9ecfeb0b60)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agogettext: use included libxml and libcroco
Saul Wold [Fri, 2 Sep 2011 22:25:02 +0000 (15:25 -0700)]
gettext: use included libxml and libcroco

[YOCTO #1400]

By using the included libxml and libcroco, we do not create additional
on this core library. There was an ordering issue that when one library
was not built, but gettext detected the other library a compliation would
fail, this will force it to always use the included libraries.

(From OE-Core rev: 0c12210f63f9705af98bcf5de8ccd715026bace3)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agogcc: add patch for ice 50099, which caused lttng-ust not to build
Saul Wold [Wed, 7 Sep 2011 17:19:34 +0000 (10:19 -0700)]
gcc: add patch for ice 50099, which caused lttng-ust not to build

[YOCTO #1381]

This patch came from from GCC Bugzilla via Khem

Cc: Khem Raj <raj.khem@gmail.com>
(From OE-Core rev: 61dac2f6f68bc46d8f3f6f7a8757924f103c7c54)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agometa/recipes.txt: correct Qt capitalisation
Paul Eggleton [Wed, 7 Sep 2011 16:05:41 +0000 (17:05 +0100)]
meta/recipes.txt: correct Qt capitalisation

"Qt" is correct according to the documentation.

(From OE-Core rev: 429be858090d1c40589cb269a70ed1515119ac1f)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agosanity.bbclass: re-enable DISTRO check
Paul Eggleton [Wed, 7 Sep 2011 16:05:40 +0000 (17:05 +0100)]
sanity.bbclass: re-enable DISTRO check

If DISTRO has been specified, ensure it is valid. (Unset or empty string
is valid for DISTRO in OE-core by the use of defaultsetup.conf.)

(From OE-Core rev: 895aa6b8ee9636a9f9d716c62c0adf951e1ff138)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agocore-image.bbclass: zap root password if debug-tweaks not enabled
Paul Eggleton [Wed, 7 Sep 2011 16:05:39 +0000 (17:05 +0100)]
core-image.bbclass: zap root password if debug-tweaks not enabled

If you do not have debug-tweaks in IMAGE_FEATURES, then zap the root
password so that you can't log in as root without a password in an image
potentially intended for a production system.

Also mention debug-tweaks in the comments listing IMAGE_FEATURES in this
file.

(From OE-Core rev: 5ddda44efc97b4d6cf863033348e57e5cfdcd392)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agohal: Add virtual/kernel as hal's build dependency
Dongxiao Xu [Wed, 7 Sep 2011 08:58:13 +0000 (16:58 +0800)]
hal: Add virtual/kernel as hal's build dependency

hal may need some kernel headers, thus we need virtual/kernel as its
dependency.

(From OE-Core rev: b5db50e280e2547f5428440be5446c4ad267aeef)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agomultilib: Remove the multilib extension for linux-yocto
Dongxiao Xu [Wed, 7 Sep 2011 08:33:42 +0000 (16:33 +0800)]
multilib: Remove the multilib extension for linux-yocto

Kernel should be unique in a multilib system, so we remove the
linux-yocto's extension in multilib.conf

(From OE-Core rev: db78d1289705a38f0069f84101296e9309d67fa3)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agomultilib_global.bbclass: handle kernel-module-* for multilib
Dongxiao Xu [Wed, 7 Sep 2011 08:33:41 +0000 (16:33 +0800)]
multilib_global.bbclass: handle kernel-module-* for multilib

bitbake would report failed dependency of kernel-module-* when testing
multilib. kernel-module-* are recommended by some other recipes.

Do not extend name for kernel-module-* related packages.

[YOCTO #1456]

(From OE-Core rev: 30ac343888dc801614922045b374537c6c54f312)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agotelepathy-python: avoid duplicated installation of errors.py
Dongxiao Xu [Wed, 7 Sep 2011 08:18:06 +0000 (16:18 +0800)]
telepathy-python: avoid duplicated installation of errors.py

telepathy-python install fails on latest Fedora 16 due to the tighter
check of duplicated file installation.

Remove one errors.py entry in Makefile.am to fix this issue.

[YOCTO #1453]

(From OE-Core rev: d84fd7c1e90f080ea0c702cba9a9f81a2c465ee6)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agocpan.bbclass: fix native perl issue
Saul Wold [Wed, 7 Sep 2011 00:06:58 +0000 (17:06 -0700)]
cpan.bbclass: fix native perl issue

(From OE-Core rev: acfe8c657dd2496ae8669ce69def96a0b04d061c)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoprelink: Update to latest upstream version
Mark Hatle [Fri, 2 Sep 2011 16:52:04 +0000 (11:52 -0500)]
prelink: Update to latest upstream version

[YOCTO #1374] - Fixes underlying issue
[YOCTO #1331] - Detects bad GNU_HASH tables

Update to the latest upstream version.  This includes a number of
generic fixes, as well as a complete refresh of the prelink-rtld.

(Prelink-rtld is similar to the ld.so/ldd functionality on a normal
system.)

The new prelink-rtld update syncs to eglibc-2.13 and enables new
symbol resolution, include GNU_UNIQUE, that was causing problems on
x86_64 and potentially other architectures with C++.

An assert has been added to also detect a bad GNU_HASH situation
which was detected on some PPC64 systems.  The underlying problem is
within the toolchain, however prelink was making it worse leaving the
problem undetected.

(From OE-Core rev: 4f401134694bbc1de532aaaab6c9a761649725a1)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoglib-networking: Ensure certificates are consistently disabled
Richard Purdie [Tue, 6 Sep 2011 16:15:59 +0000 (17:15 +0100)]
glib-networking: Ensure certificates are consistently disabled

Currently configure is looking whether the build system has certificates
to determine the certificate paths. This is clear contamination so
this patch disables that functionality to ensure builds are consistent.

We could equally set this option to a consistent path if we start
installing certificates.

[YOCTO #1451]

(From OE-Core rev: 658887961dbb1eea17d9a1ceeef4fe38cb8c33ba)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agopackage_deb.bbclass: put the stderr into log.do_xxx-attemptonly.xxx
Dexuan Cui [Tue, 6 Sep 2011 09:14:52 +0000 (17:14 +0800)]
package_deb.bbclass: put the stderr into log.do_xxx-attemptonly.xxx

Currently the stderr msgs go into log.do_rootfs and can cause a fatal failure
in "log_check rootfs".

However, the err msg could be spurious since we *only attempt* to install the
the packages, which may not exist actually. E.g., without this patch, we can
get a fatal ERROR due to
E: Couldn't find package task-core-tools-dev.

(From OE-Core rev: 5f00bda874ccaebdb00714b5cb5227462d43f8fb)

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agopopulate_sdk_deb.bbclass: add the missing parameter - for tar
Dexuan Cui [Tue, 6 Sep 2011 09:12:20 +0000 (17:12 +0800)]
populate_sdk_deb.bbclass: add the missing parameter - for tar

(From OE-Core rev: a47ceddd6eb91e7564e6e48ddbb5d490f3d2767d)

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobusybox: update to 1.8.5
Denis Carikli [Tue, 6 Sep 2011 07:39:39 +0000 (09:39 +0200)]
busybox: update to 1.8.5

(From OE-Core rev: 77571c4d224d5bcc6be944fe3d00309dafe1d512)

Signed-off-by: Denis Carikli <denis@eukrea.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agosite/x86_64: Add entries to fix conf error on x86_64
Zhai Edwin [Mon, 5 Sep 2011 08:29:20 +0000 (16:29 +0800)]
site/x86_64: Add entries to fix conf error on x86_64

Add entries for ashldi3, bswapsi2... to fix autoconf error of grub on x86_64

[YOCTO #1434] got fixed.

(From OE-Core rev: dba3c3de225f7f8008e638b65b8f31dd0ba91e21)

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoxserver-nodm-init: Change hidraw mode to allow normal user access
Zhai Edwin [Fri, 26 Aug 2011 11:59:54 +0000 (19:59 +0800)]
xserver-nodm-init: Change hidraw mode to allow normal user access

USB HID like touch screen could be presented as hidraw* device, this change
make user under rootless X can access them.

(From OE-Core rev: ddb54d4a467b51f5f8f305f532bd5ea64df92876)

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoinitramfs-live-install: Be consistent with grub.
Lianhao Lu [Mon, 5 Sep 2011 06:00:41 +0000 (14:00 +0800)]
initramfs-live-install: Be consistent with grub.

[YOCTO #1428]
Because the underlying grub 0.97 the initramfs-live-install RDEPDNEDS on
only supports 32bit x86 target, set the COMPATIBLE_HOST accordingly.

(From OE-Core rev: d128b4f2746ee8525352ce982a9c2a5e422630f2)

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoweb: Update SRCREV to address ccs_parser_parse_stylesheet arg mismatch [YOCTO #1454]
Saul Wold [Tue, 6 Sep 2011 16:37:57 +0000 (09:37 -0700)]
web: Update SRCREV to address ccs_parser_parse_stylesheet arg mismatch [YOCTO #1454]

(From OE-Core rev: 5e558237fc22baf1a638eb0e98eb08ff5e2870b4)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agomtd-utils: update to version to 1.4.6
Denis Carikli [Fri, 2 Sep 2011 14:07:32 +0000 (16:07 +0200)]
mtd-utils: update to version to 1.4.6

mtd-utils 1.4.6 is the lastest release of mtd-utils
  at this time.

(From OE-Core rev: e43bec6c7dce3c6f9af5a0c5b7e5c6f740f89996)

Signed-off-by: Denis Carikli <denis@eukrea.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agopango: use qemu to generate pango.modules during rootfs construction
Phil Blundell [Wed, 31 Aug 2011 15:35:31 +0000 (16:35 +0100)]
pango: use qemu to generate pango.modules during rootfs construction

This allows pango to be installed in an image with read-only-rootfs.

(From OE-Core rev: 62381fd3a135318794f14dc3740b04facd32446e)

Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolinux-yocto: re-enable utrace
Bruce Ashfield [Tue, 6 Sep 2011 17:09:29 +0000 (13:09 -0400)]
linux-yocto: re-enable utrace

Upating the meta data and machine branch contents with the up
to date merge of utrace.

(From OE-Core rev: cb8efc0e1ec00892b46325aabfb1b4020a46c078)

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolinux-yocto: re-enable systemtap
Bruce Ashfield [Tue, 6 Sep 2011 17:09:28 +0000 (13:09 -0400)]
linux-yocto: re-enable systemtap

[
  Author: Tom Zanussi <tom.zanussi@intel.com>
  Date:   Fri Sep 2 23:45:12 2011 -0500

    meta: re-enable systemtap feature for linux-yocto

    Re-enable the 'systemtap feature' that turns on the kernel options required
    for systemtap, a system-wide tracing tool.

    (From OE-Core rev: fdaaddbf2a673c7030c3e15e2f65cb13af3db720)

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
]

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoicu-3.6: fix building with big make -j
Dmitry Eremin-Solenikov [Sat, 3 Sep 2011 18:22:44 +0000 (22:22 +0400)]
icu-3.6: fix building with big make -j

icu-3.6 buildsystem contains small problem which causes some parallel
builds to fail. Fix that.

(From OE-Core rev: 41b7c955cfdc7b4d5c667c8a8742237d5edaca4f)

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoqt-demo-init: fix init script
Dmitry Eremin-Solenikov [Sat, 3 Sep 2011 18:22:45 +0000 (22:22 +0400)]
qt-demo-init: fix init script

qt-demo-init initscript lacks some quotes, which makes it bave not fulle
correct. Fix that.

(From OE-Core rev: 84395cd31afd78a84d82a80297fe06f10406d57b)

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoimage_types: Fix ubi images creation
Denis Carikli [Mon, 5 Sep 2011 19:34:34 +0000 (20:34 +0100)]
image_types: Fix ubi images creation

Without that commit ubinize.cfg lack a volume name value,
  and the related ubinize.cfg line looks like that:
    vol_name=
  which result in a broken ubi image,which after beeing flashed produce
  the following error:
    UBI error: vtbl_check: volume table check failed: record 0, error 11
  wich result in a kernel panic because the rootfs can't be mounted.

[RP: Moved from bitbake.conf to the .bbclass file]
(From OE-Core rev: 534dcaba0517ebfb6e48b6b436960a74e642a556)

Signed-off-by: Denis Carikli <denis@eukrea.com>
Acked-by: Anders Darander <anders@chargestorm.se>
Acked-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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>