]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/log
thirdparty/openembedded/openembedded-core-contrib.git
12 years agoutil-linux: Ensure that ${sbindir} is respected
Phil Blundell [Mon, 24 Sep 2012 06:24:51 +0000 (07:24 +0100)] 
util-linux: Ensure that ${sbindir} is respected

The configure script uses a hard-coded value for ${usrsbin_execdir},
which is the path that we know as ${sbindir}.  Adjust configure to take
this from the environment if it's set there, and have do_configure()
pass it in.

(From OE-Core rev: 6fdca45ec85e226f570917d2d1aaa2aa39ab6b42)

Signed-off-by: Phil Blundell <pb@pbcl.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobash: Make it possible to run bash 3.2.48 instead of 4.2.
Martin Ertsaas [Wed, 19 Sep 2012 07:16:55 +0000 (09:16 +0200)] 
bash: Make it possible to run bash 3.2.48 instead of 4.2.

bash-3.2.48 did not provide the linking from sh to bash, making it unusable.
Moving the license part out of the bash.inc file, and into bash_4.2.bb file makes
us able to use that file also for bash_3.2.48.bb, which makes maintaining both
at the same time a lot easier.

(From OE-Core rev: e7b82cb4d107bfbfa5c939d406dd6ce6615b24e1)

Signed-off-by: Martin Ertsaas <mertsas@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoadt-installer: add sudo when relocating symlinks
Laurentiu Palcu [Sun, 23 Sep 2012 14:14:27 +0000 (17:14 +0300)] 
adt-installer: add sudo when relocating symlinks

This is needed if installation is done in a directory that needs root
privileges.

(From OE-Core rev: 28823486ba8ce4d88bbad3cea696ce9fba0cc165)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogcc: Use 4.7.2 release tarball
Khem Raj [Thu, 20 Sep 2012 20:54:35 +0000 (13:54 -0700)] 
gcc: Use 4.7.2 release tarball

This avoids the SVN or git fetcher issues for gcc
and the tar is mirrored around the world so it will
not be slow

Fixes [YOCTO #2908]

(From OE-Core rev: 5e03d1e83d0536a2fc69a88d3e5407108836203f)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake.conf/gcc-common.inc: Fix STAMPCLEAN expression
Richard Purdie [Fri, 21 Sep 2012 13:18:05 +0000 (14:18 +0100)] 
bitbake.conf/gcc-common.inc: Fix STAMPCLEAN expression

The globs used for STAMPCLEAN were too greedy matching gcc-cross-initial
stamps for gcc-cross for example. This patch resolves that problem making
the assumption that PV starts with something numeric. This assumption
should hold in most cases and has a better failure case that the current
situation.

(From OE-Core rev: d7fbc70b6c6ac629d2a23ac16ab45461f88b4b26)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoinsane.bbclass: Improve ability to detect enabled tests
Richard Purdie [Fri, 21 Sep 2012 10:16:24 +0000 (11:16 +0100)] 
insane.bbclass: Improve ability to detect enabled tests

Define an ALL_QA variable which can be used to determine which tests to
run. Improve the libdir test to work in the case it is set to raise an
error rather than a warning.

(From OE-Core rev: 069992a502658e8e44b870601e2e189cd9596ec9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoinsane.bbclass: add library dir sanity check
Radu Moisan [Wed, 19 Sep 2012 09:32:39 +0000 (12:32 +0300)] 
insane.bbclass: add library dir sanity check

Check in ${PKGD} for libraries in wrong locations.
Trigger a warning if so.
Eg. Catch recipe installing /lib/bar.so when ${base_libdir}="lib32"
or installing in /usr/lib64 when ${libdir}="/usr/lib"

[Yocto #2038]

(From OE-Core rev: 534fa3a55de19f249583207aaeec58fec8154a1d)

Signed-off-by: Radu Moisan <radu.moisan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolinux-yocto/3.4: use profiling and latencytop features in yocto bsps
Bruce Ashfield [Thu, 20 Sep 2012 17:34:43 +0000 (13:34 -0400)] 
linux-yocto/3.4: use profiling and latencytop features in yocto bsps

Updating the meta SRCREVs to pickup the following configuration change:

    594994c meta: use profiling and latencytop features in yocto bsps

(From OE-Core rev: df0197810e72337093ea6ced1c8b28eeeef8a7a8)

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoSDK: allow toolchain installation from another directory
Laurentiu Palcu [Thu, 20 Sep 2012 12:52:30 +0000 (15:52 +0300)] 
SDK: allow toolchain installation from another directory

This patch will allow one to run the installer from another directory
than the one where it's actually located.

Suppose the installer is in /home/user/test/my/sdk and the current
directory is in a different place. With this patch, one can run the
installer like this:

$ sh ~/test/my/sdk/poky-eglibc-x86_64-arm-toolchain-gmae-1.2+snapshot-20120920.sh

[YOCTO #3135]

(From OE-Core rev: 3c7aac33cb63dc63b989db4e9d7389a7f4d3c18d)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoSDK: relocate symlinks too
Laurentiu Palcu [Thu, 20 Sep 2012 11:58:48 +0000 (14:58 +0300)] 
SDK: relocate symlinks too

The directory usr/libexec/ in the SDK sysroot contains the default
symlinks to the toolchain binaries and these, too, need to point to the
correct toolchain path.

[YOCTO #3090]

(From OE-Core rev: 6e4923c0c9b218271fd44d78df9987b5cabb1c03)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoSDK: remove references to Poky distro from tarball installer
Laurentiu Palcu [Tue, 18 Sep 2012 09:07:26 +0000 (12:07 +0300)] 
SDK: remove references to Poky distro from tarball installer

The installer should be generic.

(From OE-Core rev: eba5cdf10aa49da844ac141f00b79327da0cb8c3)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoadt-installer: ensure directory exists before copying/removing
Laurentiu Palcu [Tue, 18 Sep 2012 07:34:35 +0000 (10:34 +0300)] 
adt-installer: ensure directory exists before copying/removing

If the installation is done in a directory which already contains a
valid installation, opkg will not install anything and the moving the
contents of /install/dir/opt/poky/1.2 (for example) to /install/dir will
throw some errors. However, the install directory will not be affected.
This patch will ensure that the /install/dir/opt/poky/1.2 exists.

(From OE-Core rev: 1cd01533cbec0e9ed61bbd33ecdf5dc306a32eec)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoSDK: fix installation into symlinked directories
Laurentiu Palcu [Mon, 17 Sep 2012 08:19:08 +0000 (11:19 +0300)] 
SDK: fix installation into symlinked directories

The SDK installation scripts should not canonicalize symlinked
directories because the entire relocation would be done to the directory
to which the symlink points. Instead, if the installation is a symlink,
use that path to relocate the binaries.

For example, if we have the following symlink: /opt/sdk -> ~/my/test/sdk
the binaries will be relocated to /opt/sdk not ~/my/test/sdk as it is
done now.

[YOCTO #3102]

(From OE-Core rev: 9e6a25e2e9a7f37c3baa0b2949a43ac4127868da)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoadt-installer: fix package installation issue
Laurentiu Palcu [Mon, 17 Sep 2012 08:06:49 +0000 (11:06 +0300)] 
adt-installer: fix package installation issue

When the cross canadian toolchains are installed, for different
architectures, they might contain common files. This leads to
installation failures since the opkg, by default, does not overwrite
files. This issue happens, for example, for binutils packages (that
contain the same locale files) or gdb (which installs some syscalls xml
files). The locale files could be removed from the binutils
cross-canadian package but we cannot do the same for the syscalls GDB
files which are used by GDB to display user friendly names for the
syscall numbers. Hence, the best solution is to force opkg to overwrite
these files.

[YOCTO #3109]

(From OE-Core rev: 3396545467df05421c3adeb4b5ec532fa95dcb06)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agointltool: include intltool.m4 and add missing rdepends
Constantin Musca [Wed, 19 Sep 2012 09:59:14 +0000 (12:59 +0300)] 
intltool: include intltool.m4 and add missing rdepends

- include /usr/share/aclocal/intltool.m4 into the intltool
package (the files from intltool-dev must be included into the
main package, as intltool is a development tool)
- add missing rdepends: gettext-dev, libxml-parser-perl

[YOCTO #2597]

(From OE-Core rev: f5f3d3fb14e983af114afc6425dc339053927f25)

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoopkg svn: respect to the arch priority
Robert Yang [Thu, 20 Sep 2012 07:47:55 +0000 (15:47 +0800)] 
opkg svn: respect to the arch priority

This is for fixing the problem:
1) bitbake core-image-sato-sdk with MACHINE=qemux86
2) bitbake core-image-sato with with MACHINE=crownbay

The qemux86's PACKAGE_ARCH is i586, the crownbay's is core2, but several
i586 packages will be installed into crownbay's rootfs though there are
core2 packages. For example, there are:

xserver-xorg*_1.11.2-r7_i586.ipk
xserver-xorg*_1.9.3-r1_core2.ipk

The crownbay.conf says:
PREFERRED_VERSION_xserver-xorg ?= "1.9.3"

What the crownbay's image needs is xserver-xorg*_1.9.3-r1_core2.ipk, but
the xserver-xorg*_1.11.2-r7_i586.ipk will be installed, this is
incorrect.

This is caused by opkg's selecting mechanism: when more than one
candidate is found, it will use the higher version one and ignore the
arch priority.

we have several conf files which set the PREFERRED_VERSION_pkg = "..." ,
but there is no such a mechanism which can let us tell the opkg to
install the preferred version. When the preferred version is higher,
this is OK, but if the preferred version is lower, there would be
problems:

1) Most of the packages are core2 in the image, but several of them are
   i586, though we have built the core2 ones, this seems strange.

2) What's worse is that the image may not work since the preferred
   version pkg is not installed.

We have set the arch priority clearly in the opkg.conf, I think that
respect to the arch priority is reasonable during the image generation.

Add the "--select-higher-version" option to let the user have another
choice, the default is no.

[YOCTO #2575]

(From OE-Core rev: 0a80a02644f624443cef8cc4f604edb5ef8e6975)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogdb: Upgrade 7.4 -> 7.5
Khem Raj [Wed, 19 Sep 2012 21:57:32 +0000 (14:57 -0700)] 
gdb: Upgrade 7.4 -> 7.5

This is a simple upgrade. Dropping the unneeded patches
and adding --disable-werror to configure since thats is
what one of the patch was doing which was dropped.

(From OE-Core rev: 452f26b6d189b9fafba644e41921091925fb6a47)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoopkg-nogpg: drop SRCREV
Martin Jansa [Wed, 19 Sep 2012 17:16:31 +0000 (19:16 +0200)] 
opkg-nogpg: drop SRCREV

* use SRCREV from opkg_svn.bb, because with 596 patches we have won't apply

(From OE-Core rev: 2bf865a9b89eb88c3f7c754362315841195cd8ca)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoopkg: add patch to fix SIGSEGV when printing status file
Martin Jansa [Wed, 19 Sep 2012 17:40:52 +0000 (19:40 +0200)] 
opkg: add patch to fix SIGSEGV when printing status file

* it was triggered by c02364f36e228835ea5d7fd4e1d347fd451f8544 when new package had 2 entries in Provides and old version just 1

(From OE-Core rev: d98d6ec9425bd8764405c9812cddfcfd2a2b025b)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoopkg: replace local patches with git patches submitted upstream
Martin Jansa [Wed, 19 Sep 2012 17:41:13 +0000 (19:41 +0200)] 
opkg: replace local patches with git patches submitted upstream

(From OE-Core rev: 1f1ae93d8cd5140028e86d92483e349868b4f3f6)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoopkg 0.1.8: remove it since it doesn't work
Robert Yang [Wed, 19 Sep 2012 09:33:03 +0000 (17:33 +0800)] 
opkg 0.1.8: remove it since it doesn't work

Remove opkg_0.1.8.bb and the related files since it doesn't work:

- It doesn't support the "--force_postinstall" option which is used by
  package_ipk.bbclass.

- It still doesn't work after remove the "--force_postinstall" option,
  it can't install the packages in complementary_pkgs.txt.

[YOCTO #3136]

(From OE-Core rev: 526da07578de2c6261d21bc339bca0d3b94d93cf)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoqemux86-64: Support for KVM, paravirt and virtio added
Cristian Iorga [Wed, 19 Sep 2012 07:06:55 +0000 (10:06 +0300)] 
qemux86-64: Support for KVM, paravirt and virtio added

    KVM, paravirtualization and virtio drivers are now activated
    in runqemu using the kvm option flag for qemux86-64.
    Host CPU features are also exported to guest OS (Yocto Linux).
    Usage example: runqemu qemux86-64 core-image-x11 kvm

    Implements [YOCTO #2550].

(From OE-Core rev: cbb6431b3ee9128ea15c9ae0a19e7d2998ffc561)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoqemux86: Support for KVM, paravirt and virtio added
Cristian Iorga [Wed, 19 Sep 2012 07:06:54 +0000 (10:06 +0300)] 
qemux86: Support for KVM, paravirt and virtio added

KVM, paravirtualization and virtio drivers are now activated
in runqemu using the kvm option flag for qemux86.
Host CPU features are also exported to guest OS (Yocto Linux).
Usage example: runqemu qemux86 core-image-x11 kvm

Implements [YOCTO #2550].

(From OE-Core rev: a35d03e2eb905de4eadc9c7df5b50bff1fb7f897)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agorunqemu: show bitbake errors to user
Scott Garman [Wed, 19 Sep 2012 05:50:50 +0000 (22:50 -0700)] 
runqemu: show bitbake errors to user

In certain edge cases, bitbake may fail to run and cause setup_tmpdir()
within runqemu to fail, and not give the user a helpful error message.
Catch this case and show the user the output of bitbake -e.

This fixes [YOCTO #3112]

(From OE-Core rev: 465d7b6e66b5a55706535e194b3e44e11ee542c6)

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibrsvg: make the libcroco dependency a PACKAGECONFIG option
Ross Burton [Fri, 7 Sep 2012 09:55:55 +0000 (10:55 +0100)] 
librsvg: make the libcroco dependency a PACKAGECONFIG option

Default to enabling it as we were build-depending on it already.  If a user
needs the disk space and the limitations imposed by not using libcroco are
acceptable they can override this.

(From OE-Core rev: e177f1475c55c7d0bf3e2752e6502a7e8577a075)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomkefidisk.sh: Add script to do an EFI install on the host
Darren Hart [Tue, 18 Sep 2012 18:45:14 +0000 (11:45 -0700)] 
mkefidisk.sh: Add script to do an EFI install on the host

Sometimes it is convenient to prepare a bootable image from the
host rather than using a live-image to install to a disk on the
target.

This script takes a live image as input, partitions a device, and
performs the installation just as the installer would if run on
the target.

(From OE-Core rev: 7225c6739f9f1e51741a42437692868165aa1dfe)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agorpm 5.4.9: DEPENDS on bison-native
Robert Yang [Tue, 18 Sep 2012 11:26:17 +0000 (19:26 +0800)] 
rpm 5.4.9: DEPENDS on bison-native

The rpm should depend on bison-native, otherwise errors when "bitbake
rpm-native" in a fresh build:

| make[4]: Entering directory `/path/to/rpm-native-5.4.9-r46/rpm-5.4.9/syck/lib'
| bison -d -t -v -p syck -o gram.c gram.y
| make[4]: bison: Command not found

Basically, both the rpm-native and rpm should depend on bison-native,
but don't need depend on bison, but it seems that it isn't necessary
to add another depend line:

DEPENDS_virtclass-native = "libpcre-native ... bison-native"

So just add it to the DEPENDS.

[YOCTO #3123]

(From OE-Core rev: 839faed2e7ef554668f647732c7ee1c8d339c123)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogtk+: enable gtk+-native
Laurentiu Palcu [Wed, 19 Sep 2012 11:49:19 +0000 (14:49 +0300)] 
gtk+: enable gtk+-native

This is needed in order to run postinst scriplets at do_rootfs time
rather than first boot time.

(From OE-Core rev: 9db6ea4981fe22dd430c13d9f5a838ad92d1afe6)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoReplace "echo -e" with "printf" to have the same behavior in dash or bash
Andrei Gherzan [Thu, 20 Sep 2012 09:56:59 +0000 (12:56 +0300)] 
Replace "echo -e" with "printf" to have the same behavior in dash or bash

oe-core removed the prerequisite to have sh as bash. POSIX doesn't define
any options and furthermore allows 'echo -e' to be the default behavior.
This means that in dash 'echo -e' will actually print '-e' and interpret
backslashes by default. We use instead 'printf' builtin command with or
without '\n' to simulate 'echo -e' or 'echo -n'.
'printf' needs format while 'echo' can be used without any arguments. So
'echo >' was replaced by 'printf "" >'.
'echo' without '-n' flag adds a new line by default so to keep the same
behavior of two new lines while using 'echo "\n"', 'printf "\n\n"' is
used.

[YOCTO #3138]

(From OE-Core rev: a19880ad10ccb5d7d909dcf9de5c3dc58a0ebcd3)

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobyacc: update config.{sub, guess} before running configure
Marcin Juszkiewicz [Thu, 20 Sep 2012 10:56:34 +0000 (12:56 +0200)] 
byacc: update config.{sub, guess} before running configure

(From OE-Core rev: 6d8aeb0c9b939082cc8d54a940d615b33d81348d)

Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoxcursor-transparent-theme: switch SRC_URI as matchbox-project is dead
Marcin Juszkiewicz [Thu, 20 Sep 2012 11:02:59 +0000 (13:02 +0200)] 
xcursor-transparent-theme: switch SRC_URI as matchbox-project is dead

(From OE-Core rev: bcd5ea36bd5e0dbb063f45fbc6d5d3272841fb0f)

Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: hob: Don't set busy cursor on the root window, just our window
Ross Burton [Tue, 18 Sep 2012 14:55:24 +0000 (15:55 +0100)] 
bitbake: hob: Don't set busy cursor on the root window, just our window

[ YOCTO #3127 ]

(Bitbake rev: 5ef9d98b343b9ed05167e5471eb9f7f12e97b045)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: hob: add a top bar when building process is stopped
Cristiana Voicu [Tue, 18 Sep 2012 15:15:55 +0000 (18:15 +0300)] 
bitbake: hob: add a top bar when building process is stopped

When a build was stopped, it wasn't obvious what to do next.
Now, on the page it appers a top bar with 3 buttons: "edit image",
"open log", "build new image"

[YOCTO #2537]
(Bitbake rev: a6afd15b7a40919313e26777b514ae44b587a0f6)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: cooker: Clarify package/recipe wording
Trevor Woerner [Wed, 19 Sep 2012 03:00:33 +0000 (23:00 -0400)] 
bitbake: cooker: Clarify package/recipe wording

When the '-s' option is run, change the heading above the list of recipes
to say "Recipe Name" instead of "Package Name".

(Bitbake rev: d1c3a9de875fb488a56ab5cb1d2f8e2f24f31d69)

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: hob/packageselectionpage: "Cancel" button returns to "Image configuration...
Cristiana Voicu [Wed, 19 Sep 2012 07:36:57 +0000 (10:36 +0300)] 
bitbake: hob/packageselectionpage: "Cancel" button returns to "Image configuration" screen

Once package building completes, you can customise the list of
packages that will go into the final image. Once you have made
the changes you need, you can either build your image, or you
can exit the process and go back to the 'Image configuration'
screen by selecting 'Cancel'.

[YOCTO #3105]
(Bitbake rev: c5fd1824c9794923576ec1e747536c0430542fd1)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake.conf/gcc: Add clean masks for stamp files
Richard Purdie [Mon, 17 Sep 2012 10:04:27 +0000 (10:04 +0000)] 
bitbake.conf/gcc: Add clean masks for stamp files

This takes advantage of new bitbake functionality to clean up stale stamp
files when creating new stamp files.

[YOCTO #2961]

(From OE-Core rev: e21b6c04e512a3bc2339a20045b7041f1d26e859)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: hob: report event handler failures
Paul Eggleton [Wed, 19 Sep 2012 10:25:42 +0000 (11:25 +0100)] 
bitbake: hob: report event handler failures

If an event handler failed we were not recieving an error message -
parsing just "froze" at 99%. This is because we were expecting a
CommandFailure event and this never happened in the case of
RequestPackageInfo which is where the failure was occurring.

This also required tweaking the error formatting slightly, taking the
return value of the format function rather than the message property
since the latter only seems to contain the first line without the
traceback in the case of event handler failure. Other error cases were
tested and their message formatting is unaffected by this change.

Final part of the fix for [YOCTO #2651].

(Bitbake rev: 5bab81b124087d63d6eb62a861e1241714fcd483)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: hob/settings: Remove stray "distro" combobox from simple settings
Bogdan Marinescu [Thu, 20 Sep 2012 10:27:56 +0000 (13:27 +0300)] 
bitbake: hob/settings: Remove stray "distro" combobox from simple settings

The "distro" combobox was moved to advanced settings, but it
was also present in simple settings. This patch removed it
from simple settings.

(Bitbake rev: 6d56bec4464da14d7fde0e60946be43293ad6e52)

Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: build/siggen: Add support for stamp 'clean' masks
Richard Purdie [Tue, 18 Sep 2012 10:32:04 +0000 (11:32 +0100)] 
bitbake: build/siggen: Add support for stamp 'clean' masks

Currently when we execute a task, we don't remove other potentially stale
stamps. This can mean if you switch between two different versions of a
recipe without a clean, the build can get very confused.

This patch adds in functionality to allow a wildcard expression of stamp
files to be removed when creating a new stamp file. This patch adds in
the core of the code to enable this but it also requires metadata support
to enable it.

When writing this improvement I went through several different options but
this was the only way I could find to allow things like noexec tasks to
function correctly (where stamps need to be created without the data store).

[YOCTO #2961]

(Bitbake rev: e026469b307522e5b6a680e0ae5587749d33dcae)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: fetch2/cvs: Fix parameter spacing
Richard Purdie [Thu, 20 Sep 2012 10:34:18 +0000 (11:34 +0100)] 
bitbake: fetch2/cvs: Fix parameter spacing

Add in misssing space between the parameters. Reported by
Jate Sujjavanich <Jate.Sujjavanich@myfuelmaster.com>.

(Bitbake rev: 55382f0aac84b8f81cad0b82053c0b8295c33e54)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: fetch2/cvs: Clean up various data store references
Richard Purdie [Thu, 20 Sep 2012 10:32:02 +0000 (11:32 +0100)] 
bitbake: fetch2/cvs: Clean up various data store references

The code in the CVS fetcher is elderly and there are simpler ways of
using the data store. This updates to use the modern APIs.

(Bitbake rev: 78eee8c70a80997293df99475153aed0b2ad0a17)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: fetch2/cvs: Fix localdata variable reference
Richard Purdie [Thu, 20 Sep 2012 10:25:19 +0000 (11:25 +0100)] 
bitbake: fetch2/cvs: Fix localdata variable reference

The localdata variable was removed, fix up a lost reference to this.

(Bitbake rev: 02ccc1396005ce0b7a2150a5ce12b723df21d464)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: hob: Fix settings dialog issues
Bogdan Marinescu [Fri, 14 Sep 2012 14:17:13 +0000 (17:17 +0300)] 
bitbake: hob: Fix settings dialog issues

Fix some issues with the settings dialog that were introduced as
a result of merging the fix for #2162.

[YOCTO #3117]

(Bitbake rev: a363f59579e01cb7bd39be2ce73f22c875c62ce7)

Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: hob: rename 'View log' to 'Open log'
Constantin Musca [Fri, 14 Sep 2012 09:58:53 +0000 (12:58 +0300)] 
bitbake: hob: rename 'View log' to 'Open log'

Rename all the 'View log' buttons to 'Open log' for
consistency.

[YOCTO #3045]

(Bitbake rev: 7bc9b0c1c2544b494959b13ac79ac3e52edb4fe3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: compat, event: use OrderedDict from py2.7 for the event handlers
Christopher Larson [Mon, 10 Sep 2012 22:23:19 +0000 (22:23 +0000)] 
bitbake: compat, event: use OrderedDict from py2.7 for the event handlers

This ensures that our event handlers get run in registration order, making the
behavior more deterministic. I pulled in the python2.7 OrderedDict to avoid
essentially reimplementing a version of it ourselves, figuring we can drop it
when we bump our required python version next.

(Bitbake rev: 44aa0b0537d3fbd1272015e7677948f84d8c0607)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopoky.conf: Silence unsafe reference warnings
Richard Purdie [Mon, 17 Sep 2012 19:08:16 +0000 (19:08 +0000)] 
poky.conf: Silence unsafe reference warnings

These QA warnings undermine the quality impression of OE-Core. They are
useful in some specific circumstances but until the system has been audited
and these warnings are reduced, they shouldn't be showing by default.

Therefore disable them for now.

(From meta-yocto rev: e1dcffb66317b98fe5a0f545bbea80a6a48fc02b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoimage_types: fix squashfs-lzma image creation
Saul Wold [Wed, 19 Sep 2012 15:28:05 +0000 (08:28 -0700)] 
image_types: fix squashfs-lzma image creation

This removes the dependency on a seperate binary which we
don't seem to have. So, use mksquashfs's -comp lzma to
replace that functionality

[YOCTO #3126]

(From OE-Core rev: 8e82713724dfcb40f2ae24a166ec94f50f8b4cd0)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agorootfs_rpm: Add Multilib prefix to installed_packages list
Saul Wold [Wed, 19 Sep 2012 16:47:06 +0000 (09:47 -0700)] 
rootfs_rpm: Add Multilib prefix to installed_packages list

RPM does not name it's packages with the Multilib prefix,
but the rootfs_rpm class keeps track of the Multilib prefixs
in a list. Use that list to re-attach the prefix for use with
the license bbclass, buildhistory bbclass will also use this
and make it more accurate between multilib and non-multilib.
Use the embedded "Platform" information to ensure we get all
the correct matching.

(From OE-Core rev: f72abd80b0cc9d27aad2e31ecb548b4ab0fd8f67)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoeglibc: Do not use fsqrt in libm when building for fsl ppc with fpu
Khem Raj [Tue, 11 Sep 2012 23:38:20 +0000 (16:38 -0700)] 
eglibc: Do not use fsqrt in libm when building for fsl ppc with fpu

(From OE-Core rev: f06097f4581e4c728c2950a86e025384e4bdcdf0)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoeglibc: Fix fcntl.h for powerpc
Khem Raj [Sun, 9 Sep 2012 06:06:13 +0000 (23:06 -0700)] 
eglibc: Fix fcntl.h for powerpc

This fix is needed for systemd to work on powerpc

(From OE-Core rev: 76f3a1979ea166238e26a2569fb06a4a403bd864)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agonfs-utils: add x32 patch to fix nfsctl issue
Saul Wold [Mon, 17 Sep 2012 17:58:06 +0000 (10:58 -0700)] 
nfs-utils: add x32 patch to fix nfsctl issue

nfsservctl syscall does not exist for x32, so return an error.

(From OE-Core rev: fddcb9dd086cfb396255ae5c8f717a39c6b9c4b0)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoxserver-xorg: Modify RREPLACES for RCONFLICTS
Saul Wold [Mon, 17 Sep 2012 16:17:01 +0000 (09:17 -0700)] 
xserver-xorg: Modify RREPLACES for RCONFLICTS

fix bad runtime dependency that was causing -exa to be a suitable candidate for xserver-xorg, thus resulting in no X server in some situations

(From OE-Core rev: 467c59495d83748d35846e8b37548182fea99cbf)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoutil-linux: Fix bloken swapoff symlink
Andrei Gherzan [Mon, 17 Sep 2012 10:49:58 +0000 (13:49 +0300)] 
util-linux: Fix bloken swapoff symlink

There were 2 issues with this symlink.
1. Is was installed in base_bindidir but packaged in bindir. Fixed to
be packaged in base_bindir
2. The symlink swapoff was created to point to swapon. The problem is
that swapoff is an alternative so it would end up pointing to
swapoff.util-linux which was an inexistent file. The fix is to create
a symlink swapoff.util-linux to swapon.util-linux.

(From OE-Core rev: 0ff32e8fb5463a23af9966afcb58eb00772af65b)

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogrub: disable lzma, device-mapper, zfs and nvpair
Constantin Musca [Fri, 14 Sep 2012 09:48:27 +0000 (12:48 +0300)] 
grub: disable lzma, device-mapper, zfs and nvpair

check-if-liblzma-is-disabled.patch: added
- add support for the --enable_liblzma option

[YOCTO #2750]

(From OE-Core rev: 1773a98b68dd223b016fe408b022c2c5475669c2)

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibtelepathy: PR bump to rebuild after libffi5 -> libffi6
Martin Jansa [Mon, 17 Sep 2012 17:17:01 +0000 (19:17 +0200)] 
libtelepathy: PR bump to rebuild after libffi5 -> libffi6

(From OE-Core rev: 08dbc9790074fdb315d286849afbbda72d19cbd6)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agorecipes: few more PR bumps to rebuild after libffi5 -> libffi6
Martin Jansa [Mon, 17 Sep 2012 10:54:00 +0000 (12:54 +0200)] 
recipes: few more PR bumps to rebuild after libffi5 -> libffi6

(From OE-Core rev: e95835742d2f27820d654c309bd9828305276c90)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agorecipes: bump PR to rebuild after libffi5 -> libffi6
Martin Jansa [Sun, 16 Sep 2012 18:47:26 +0000 (20:47 +0200)] 
recipes: bump PR to rebuild after libffi5 -> libffi6

(From OE-Core rev: 211200fb98a72ba815e7c411fbebfd781879064c)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoupstream_tracking: update lsb and ltp
Kang Kai [Wed, 5 Sep 2012 09:31:05 +0000 (17:31 +0800)] 
upstream_tracking: update lsb and ltp

Update version information of packages lsb and ltp.

(From meta-yocto rev: 347f9ff4d49412c58a45094bc21a5e3e87b93e53)

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolocal.conf.sample: change valgrind support architecture comment
Jack Mitchell [Thu, 13 Sep 2012 12:27:21 +0000 (13:27 +0100)] 
local.conf.sample: change valgrind support architecture comment

The comment for debug-tools states valgrind will only be installed for x86
targets. This is not true as valgrind now supports x86*, PPC* and ARMv7a;
delete the comment as the architecture support is now so varied.

(From meta-yocto rev: bbb44a247ab3d3d2b9630a258a4b24338ffe12e8)

Signed-off-by: Jack Mitchell <jack.mitchell@dbbroadcast.co.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopatch.bbclass: increase security
Constantin Musca [Fri, 14 Sep 2012 14:25:02 +0000 (17:25 +0300)] 
patch.bbclass: increase security

- Use mkdtemp for generating temp dir names
- Use bb.utils.remove for removing temp dirs
- Add comment for explaining the "patch" workaround

[YOCTO #3070]

(From OE-Core rev: fbe9fc4d5ece1e66b03b4c4bce9b7ffad3b5b138)

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodocumentation: Toolchain corrections from tarball to .sh file
Scott Rifenbark [Thu, 13 Sep 2012 21:01:58 +0000 (14:01 -0700)] 
documentation: Toolchain corrections from tarball to .sh file

For 1.3 there is not longer a toolchain tarball.  Instead, there
is a wrapper script that lets you install the tarball.  This
fundamental usage model change caused several ripples throughout
the documentation set.  I have changed wordings and examples
to reflect the new paradigm.

(From yocto-docs rev: afb2069daa91e04c0f78ba425a6b184cb820d888)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodocumentation/dev-manual/dev-manual-model.xml: updates to project creation
Scott Rifenbark [Fri, 7 Sep 2012 21:08:34 +0000 (14:08 -0700)] 
documentation/dev-manual/dev-manual-model.xml: updates to project creation

The steps for creating a project in Eclipse vary a bit between Juno
and Indigo.  These changes reflect that.

(From yocto-docs rev: a020ecde8ed02a29f67498ef1511261d2054f784)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodocumentation/adt-manual/adt-prepare.xml: Notes about installing sysroot
Scott Rifenbark [Fri, 7 Sep 2012 21:03:23 +0000 (14:03 -0700)] 
documentation/adt-manual/adt-prepare.xml: Notes about installing sysroot

I added a couple of reminders and some links to information about
separately extracting and installing the sysroot filesystem.

(From yocto-docs rev: d340dcb5021fe1dcdaae0830ef8624c0fc54bedf)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodocumentation/adt-manual/adt-prepare.xml: updated ADT Installer example
Scott Rifenbark [Fri, 7 Sep 2012 18:19:13 +0000 (11:19 -0700)] 
documentation/adt-manual/adt-prepare.xml: updated ADT Installer example

Added text indicating that the user is prompted to verify the
cross-toolchain installation location.

(From yocto-docs rev: 3226eb2f0807687e8685702850a3a12b3d60ae5f)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodocumentation/adt-manual/adt-prepare.xml: Update adt_install example
Scott Rifenbark [Fri, 7 Sep 2012 17:56:54 +0000 (10:56 -0700)] 
documentation/adt-manual/adt-prepare.xml: Update adt_install example

I added a command to the example that places the user in the
adt-installer folder before they attempt to run scripts/adt_installer
for completeness.

(From yocto-docs rev: f098e1095d24d0271fb21f50aa848ebc05b828b1)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodocumentation/dev-manual/dev-manual-model.xml: Updates to plug-in install
Scott Rifenbark [Fri, 7 Sep 2012 15:58:36 +0000 (08:58 -0700)] 
documentation/dev-manual/dev-manual-model.xml: Updates to plug-in install

Edits to test out the lastes version of installing the Yocto Eclipse
plug-in from the latest source.  Small changes to be more complete
on the step-by-step process with regard to being in the right
branch.  Also, inserted 1.3_beta as the version.  This will change
later.

(From yocto-docs rev: 1326916a7d03bdbb0613e6e26a4089b3bd87d204)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodocumentation/dev-manual/dev-manual-bsp-appendix.xml: Fix repo example
Scott Rifenbark [Fri, 7 Sep 2012 15:24:51 +0000 (08:24 -0700)] 
documentation/dev-manual/dev-manual-bsp-appendix.xml: Fix repo example

I fixed the repo example so that the -b option is right after the
git checkout command and so that the "origin/" string is part of the
example.

(From yocto-docs rev: ba7ed26cf308a69e1ec8cfb0072dd10742af4ac5)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodocumentation/poky-ref-manual/ref-variables.xml: Wording change PACKAGE_BEFORE_PN
Scott Rifenbark [Thu, 6 Sep 2012 17:32:27 +0000 (10:32 -0700)] 
documentation/poky-ref-manual/ref-variables.xml: Wording change PACKAGE_BEFORE_PN

Slight wording change to the description of the
PACAGE_BEFORE_PN variable description based on feedback from
Paul Eggleton.

Reported-by: Paul Eggleton <paul.eggleton@intel.com>
(From yocto-docs rev: 8f7dcdb8edf461133d2149eb4728ee3682affc98)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodocumentation/poky-ref-manual/ref-bitbake.xml: Fix BB_ENV_EXTRAWHITE example
Scott Rifenbark [Thu, 6 Sep 2012 14:05:34 +0000 (07:05 -0700)] 
documentation/poky-ref-manual/ref-bitbake.xml: Fix BB_ENV_EXTRAWHITE example

I changed the variable from BB_ENV_WHITELIST to BB_ENV_EXTRAWHITE
in the text before the example line.  I had the wrong variable
in there.

(From yocto-docs rev: f909a7336ae2f95baa751231beeae08081576e1f)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodocumentation/yocto-project-qs/yocto-project-qs.xml: Added glib-gettextize
Scott Rifenbark [Wed, 5 Sep 2012 20:37:01 +0000 (13:37 -0700)] 
documentation/yocto-project-qs/yocto-project-qs.xml: Added glib-gettextize

Fixes [YOCTO #2904]

Added glib-gettextize package to the list of required Fedora
packages.

(From yocto-docs rev: c46f8e46ad70bf979d2e51e58d461bcd9456b773)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodocumentation/poky-ref-manual/ref-bitbake.xml: remove refs to Dates and Contacts
Paul Eggleton [Wed, 5 Sep 2012 19:46:36 +0000 (12:46 -0700)] 
documentation/poky-ref-manual/ref-bitbake.xml: remove refs to Dates and Contacts

Update the BitBake "Preferences and Providers" section to remove
references to these two Pimlico applications that have been removed,
and tweak the example slightly so it is technically correct.

(From yocto-docs rev: 744624a40d02a859b3c526f5ea6657d32edd39c6)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodocumentation/yocto-project-qs/yocto-project-qs.xml: Adjust GUI component feature...
Paul Eggleton [Wed, 5 Sep 2012 19:39:52 +0000 (12:39 -0700)] 
documentation/yocto-project-qs/yocto-project-qs.xml: Adjust GUI component feature listing

List frameworks we provide that are likely to be used by people these
days - Pimlico has been removed and GuPNP and Matchbox don't really
belong. Also slightly modify the sentence following so that it is clear
that these are optional.

In addition to Paul's patch, I cleaned up one of his sentences with
some simple grammar edits.

(From yocto-docs rev: 1cdeb057bab0d69fe6656e33e643962dd2086567)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodocumentation/poky-ref-manual/ref-images.xml: Update list of images
Paul Eggleton [Wed, 5 Sep 2012 19:33:05 +0000 (12:33 -0700)] 
documentation/poky-ref-manual/ref-images.xml: Update list of images

* core-image-core was renamed to core-image-x11 and the editor and file
  manager were removed.
* core-image-basic's description has been updated to reflect its
  intended purpose
* core-image-lsb is intended to be standalone - should not be
  associated with core-image-basic.
* The Pimlico applications have been removed so they are no longer
  present in the Sato images.

In addition to Paul's patch, I removed the "etc." word.  This word
is better replaced by "and so forth".  Also, consistent with the
YP documentation.

(From yocto-docs rev: aba7ae60a38dfeda9ef52237b81f387984621847)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodocumentation/poky-ref-manual/ref-classes.xml: update undocumented classes
Paul Eggleton [Wed, 5 Sep 2012 19:25:11 +0000 (12:25 -0700)] 
documentation/poky-ref-manual/ref-classes.xml: update undocumented classes

(From yocto-docs rev: 607fd73aa2e5bcc042839e2a0f840463f2fd1c2b)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodocumentation/poky-ref-manual/ref-classes.xml: Add packagegroup.bbclass
Paul Eggleton [Wed, 5 Sep 2012 18:55:59 +0000 (11:55 -0700)] 
documentation/poky-ref-manual/ref-classes.xml: Add packagegroup.bbclass

Add a short section about packagegroup.bbclass.

In addition to Paul's patch, I changed the title of the cross-reference
to be the actual title used in the YP Development Manual.

(From yocto-docs rev: bfd4db7e0ef61a2dd7159cdc841dcffc2d9c53d4)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodocumentation/poky-ref-manual/ref-variables.xml: variable edits
Paul Eggleton [Wed, 5 Sep 2012 18:32:48 +0000 (11:32 -0700)] 
documentation/poky-ref-manual/ref-variables.xml: variable edits

* For PE/PV/PR/PN these pertain to a recipe ("package" was used here
  historically).
* References to variables should not be prefixed with $ in the text
* Add text about suffixing RCONFLICTS as per other package variables
* Make ALLOW_EMPTY example complete
* Clarify and add example for AUTOREV

In addition to Paul's patch, I re-worded two instances.  One
to get rid of "package(s)", which is poor form.  And a second
to get rid of "unstable/development", which is also poor form.

(From yocto-docs rev: 498349f8d82f46433626521d148ff6c1d72e2b1c)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodocumentation/poky-ref-manual/ref-variables.xml: PACKAGE_BEFORE_PN grammar edits
Scott Rifenbark [Wed, 5 Sep 2012 18:21:23 +0000 (11:21 -0700)] 
documentation/poky-ref-manual/ref-variables.xml: PACKAGE_BEFORE_PN grammar edits

Clarifying who picks up files that would normally be included
in the default package.  This is a wording change to try and
eliminate the ambiguous "they".

(From yocto-docs rev: 63f87b6616c1a93d39e198f0b02d01d36ac09467)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodocumentation/poky-ref-manual: Section name change
Scott Rifenbark [Wed, 5 Sep 2012 18:06:04 +0000 (11:06 -0700)] 
documentation/poky-ref-manual: Section name change

I changed the "Reference: Images" section to "Images".  This old
name was a hold over from when the book had appendices that were
reference-like.  Along with changing the name I also fixed two
links to the section that were found in the variables chapter.

(From yocto-docs rev: e21a973cfe07d21acdfe02b49aa86c7672905968)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodocumentation/documentation/poky-ref-manual/ref-variables.xml: Update PACKAGES default
Paul Eggleton [Wed, 5 Sep 2012 17:38:51 +0000 (10:38 -0700)] 
documentation/documentation/poky-ref-manual/ref-variables.xml: Update PACKAGES default

Also add a definition for PACKAGE_BEFORE_PN since the default
value of PACKAGES now includes this.

In addition to Paul's changes I reformatted the default to be
<literallayout> to appear as code.

(From yocto-docs rev: 187390e2589b886e524700db9dc2e89cf28c6e90)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodocumentation/poky-ref-manual/ref-variables.xml: replace reference to old files
Paul Eggleton [Wed, 5 Sep 2012 17:21:53 +0000 (10:21 -0700)] 
documentation/poky-ref-manual/ref-variables.xml: replace reference to old files

These file paths are no longer valid, instead point to the section
of the reference manual with more information on valid IMAGE_FEATURES.

In addition to Paul's patch, I provided the actual section name for
the cross-reference link he inserte.

(From yocto-docs rev: ad356708bfe3a14e82d678510df15cb93dc2f057)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodocumentation/poky-ref-manual/ref-features.xml: edits to IMAGE_FEATURES list
Paul Eggleton [Wed, 5 Sep 2012 16:54:41 +0000 (09:54 -0700)] 
documentation/poky-ref-manual/ref-features.xml: edits to IMAGE_FEATURES list

* apps-console-core has been effectively replaced by splash
* apps-x11-core, apps-x11-games have been removed
* ssh-server-* were added quite a while ago, add these here
* x11 has been added
* x11-base has changed behaviour slightly
* doc-pkgs was added
* nfs-server never exported the entire /, so remove this comment

In addition to Paul's changes.  I performed some general edits to the
list so that it is active voice and has a parallel structure for
all the list items.  Changes involved some of Paul's stuff and some
of mine.

(From yocto-docs rev: fec6f162506a59124b137a7d1640944114ebb5c2)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodocumentation/dev-manual/dev-manual-common-tasks.xml: package group changes
Paul Eggleton [Wed, 5 Sep 2012 15:48:29 +0000 (08:48 -0700)] 
documentation/dev-manual/dev-manual-common-tasks.xml: package group changes

Task has been renamed to package group, and there are some minor changes
in how package group recipes should be constructed - in particular the
inherit of packagegroup.bbclass is now highly recommended as it will set
appropriate defaults and automatically add complementary -dev and -dbg
packages.

In addition to Paul's patch, I added a couple <filename>/</filename>
tags around some switch names to be consistent with manual
formatting.

(From yocto-docs rev: 598d18507ace2054f8c8bb5f496557c98f066b5a)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodocumentation/poky-ref-manual: fix for rename of task to packagegroup
Paul Eggleton [Wed, 5 Sep 2012 15:40:19 +0000 (08:40 -0700)] 
documentation/poky-ref-manual: fix for rename of task to packagegroup

(From yocto-docs rev: da0c9fa6d43d32f59bd935ae0fee533fc94fda95)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodocumentation: remove references to task bbappend
Paul Eggleton [Wed, 5 Sep 2012 15:32:53 +0000 (08:32 -0700)] 
documentation: remove references to task bbappend

The meta-intel BSPs and yocto-bsp tool no longer use a bbappend of
task-core-tools-profile to add systemtap, so these sections should be
removed.

(From yocto-docs rev: cdc12163dd95f0a78cc0f35c03b5eb3d7b1476e3)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodocumentation: Fixed links to BitBake User Manual
Scott Rifenbark [Tue, 4 Sep 2012 19:05:21 +0000 (12:05 -0700)] 
documentation: Fixed links to BitBake User Manual

Robert P. J. Day pointed out a link in the development manual that
was for the BitBake User Manual.  The link resolved to an old,
non-maintained version of BitBake documentation.  According to
Richard Purdie, the BitBake docs referenced should be the ones
that ship in the bitbake/doc/manual directory of poky.  The
YP docs had been using a variable named BITBAKE_DOCS_URL that
also resolved to the antiquated user manual site.  Consequently,
there were many links that needed fixed across both the YP
Development Manual and the YP Reference Manual.  Each of these
references now points in general to the bitbake/doc/manual
directory in poky for more information.

Reported-by: Robert P. J. Day <rpjday@crashcourse.ca>
(From yocto-docs rev: 12f77236b602e9ec43e845c8cec060ad342af19c)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodocumentation/dev-manual/dev-manual-common-tasks.xml: note on readme
Scott Rifenbark [Tue, 4 Sep 2012 17:48:47 +0000 (10:48 -0700)] 
documentation/dev-manual/dev-manual-common-tasks.xml: note on readme

Added a note in the "Creating Layers" section noting that to be
Yocto Project compliant, a layer must contain a README file.  This
change was prompted by a discussion over the fact between Robert
P. J. Day and Mark Hatle.

(From yocto-docs rev: 2e073763a81125699a2d962031ca29ca64c81595)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: Implement 'settings' dialog as designed
Valentin Popa [Thu, 6 Sep 2012 07:58:32 +0000 (10:58 +0300)] 
bitbake: Implement 'settings' dialog as designed

[YOCTO #2162]

(Bitbake rev: ac75b06744e73399ca1fbda322ef851ae5754b0a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: cooker: Fix priority for virtual recipes
Richard Purdie [Thu, 13 Sep 2012 14:25:51 +0000 (15:25 +0100)] 
bitbake: cooker: Fix priority for virtual recipes

When making filename comparisons for recipes for priority calculations,
we need to split off any virtual prefix. Without this, BBCLASSEXTEND
version of recipes don't follow the priority settings they should.

[YOCTO #2933]

(Bitbake rev: 055b72a230e6b0b1cababd65372c62d9ddce385e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: hob/builddetailspage: Add tooltips to the build failed notification
Constantin Musca [Thu, 13 Sep 2012 11:33:34 +0000 (14:33 +0300)] 
bitbake: hob/builddetailspage: Add tooltips to the build failed notification

[YOCTO #3046]

(Bitbake rev: 69ad4ebd1379e804d0753bd4ee704b602b5efcc4)

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: lib/bb/event: improve handling of event queue on exit
Paul Eggleton [Tue, 11 Sep 2012 09:37:22 +0000 (10:37 +0100)] 
bitbake: lib/bb/event: improve handling of event queue on exit

If BitBake exits before a UI handler (server) has been registered, we
print the event queue; if there are any errors or other non-debug
messages just print these and suppress the rest of the message queue.

This improves the output when sanity check failures occur with OE-Core
by avoiding printing a long stream of uninformative debug messages.

(Bitbake rev: 8668a94cb1841798636b68fe123400d6b81f6574)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: hob: format error messages properly
Paul Eggleton [Tue, 11 Sep 2012 11:00:05 +0000 (12:00 +0100)] 
bitbake: hob: format error messages properly

Error messages that use arguments need to be formatted properly, or we
don't get the full message. Use a formatter to do this when an error
occurs.

Partial fix for [YOCTO #2983].

(Bitbake rev: 6783538884adecd914909a9ab4ca73c27575f3ad)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: hob/imagedetailspage: change "FileCreated" label to "Files created"
Cristiana Voicu [Tue, 11 Sep 2012 07:40:06 +0000 (10:40 +0300)] 
bitbake: hob/imagedetailspage: change "FileCreated" label to "Files created"

[YOCTO #2998]

(Bitbake rev: ca2464561d54d59d1146359e41eb08201954fc21)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: Fixed hob proxy tab tooltip text per review suggestions [YOCTO #2499]
Jessica Zhang [Tue, 11 Sep 2012 23:55:52 +0000 (16:55 -0700)] 
bitbake: Fixed hob proxy tab tooltip text per review suggestions [YOCTO #2499]

(Bitbake rev: 485e69d41e220ed4e8efc89a357a8d395e44da9f)

Signed-off-by: Jessica Zhang <jessica.zhang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: hob: sort base image drop-down list
Paul Eggleton [Tue, 11 Sep 2012 16:52:01 +0000 (17:52 +0100)] 
bitbake: hob: sort base image drop-down list

Sort the list of base images to make it easier to find a specific image
in the list. Note that "Create your own image" still remains the last
item in the list.

(Bitbake rev: db16f575a774de7d9d44b4bc727b252de5d0f34d)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: lib/bb/command.py: ensure setVariable only sets values as strings
Paul Eggleton [Tue, 11 Sep 2012 16:52:00 +0000 (17:52 +0100)] 
bitbake: lib/bb/command.py: ensure setVariable only sets values as strings

This is the interface Hob uses to set variable values in many instances,
and at the moment it is possible that some of the values it passes are
not strings. If a non-string value gets into the datastore it can
trigger exceptions during parsing when we attempt to expand the variable
and substitute in the non-string value.

This fixes using the meta-ti layer within Hob - it currently has a
reference to BB_NUMBER_THREADS within a shell function and since this
is a variable that Hob was setting from its configuration as an integer,
due to the above this was triggering an ExpansionError.

Fixes [YOCTO #2875].

(Bitbake rev: 855b71d8a8e468bfeff9e1a6699d79d68ab27aa1)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: hob: don't reorder layers list
Paul Eggleton [Tue, 11 Sep 2012 16:51:59 +0000 (17:51 +0100)] 
bitbake: hob: don't reorder layers list

We cannot reorder this list - it must stay in the order shown in the
dialog (which may in future be configurable by the user).

Fixes [YOCTO #2649].

(Bitbake rev: eca0352195d2d8ae8ef15baab9737884ec674a46)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolinux-yocto/3.4: make uprobes select perf events
Bruce Ashfield [Fri, 14 Sep 2012 04:57:27 +0000 (00:57 -0400)] 
linux-yocto/3.4: make uprobes select perf events

uprobes depends on functionality provided by perf events. After
uprobes was enabled in the standard kernel the mpc8315 board showed
link errors due to missing perf event functions.

This problem isn't isolated to the board or powerpc arch, but all
other boards have PERF_EVENTS enabled. To fix this, we make UPROBE_EVENT
select PERF_EVENTS, and any new boards will be protected from the
same failure.

We also update the configuration fragments since CONFIG_UPROBES depends on
CONFIG_PERF_EVENTS being set, so PERF_EVENTS needs to be added whenever
uprobes are enabled.

[YOCTO #3111]

(From OE-Core rev: b681b74624d1c8c4c98b2a121828e010fc5c3a25)

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake.conf: Assign SRCPV so that it will be tracked correcting in the sstate checksum
Richard Purdie [Fri, 14 Sep 2012 08:41:59 +0000 (09:41 +0100)] 
bitbake.conf: Assign SRCPV so that it will be tracked correcting in the sstate checksum

Currently, SRCPV is just listed as having a value of ${@bb.fetch2.get_srcrev(d)}
which isn't helpful. This can mean that if PV changes, two recipes can have the
same sstate checksum despite having different PV values since the PV value itself
isn't tracked anywhere.

Adding this line means that the real PV value is expanded and recorded in the sstate
checksum, meaning the sstate packages no longer overlap. This is critical in ensuring
consistent builds for revipes using SRCPV.

(From OE-Core rev: a9fffadec4fb60547257cb3d7496b6e39ed07be8)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoopkg: Fix package dependency issue for preinsts
Richard Purdie [Thu, 13 Sep 2012 22:40:29 +0000 (23:40 +0100)] 
opkg: Fix package dependency issue for preinsts

When processing dependencies, we need to look for both the SW_INSTALL and
SW_UNKNOWN states. If we don't do this, dependencies can be missed
and preinst scripts can run before dependencies are all installed.

This leads to package installation errors for packages like dbus-1
and associated user permission errors.

(From OE-Core rev: 119ef2789484222b94559675a09adc399f3b6bf0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agotaglib: Update to v1.8
Andrei Gherzan [Thu, 13 Sep 2012 22:22:26 +0000 (01:22 +0300)] 
taglib: Update to v1.8

Patches not needed anymore - they switched to cmake.
LGPL license was replaced with the actual LGPL 2.1 file.
License section in audioproperties.h file was modified as it includes the
new address of Free Software Foundation.
libtag static library is not built by default anymore and if cmake is
instructed to build static library than shared library is deactivated.
So actually this is a switch now.

(From OE-Core rev: 312efe73dad8a9baf32578bd11a1654219d759df)

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>