scm/bb/tizen-distro.git
13 years agofeature-arm-thumb: respect ARM_INSTRUCTION_SET
Martin Jansa [Sat, 30 Jul 2011 01:04:33 +0000 (01:04 +0000)]
feature-arm-thumb: respect ARM_INSTRUCTION_SET

(From OE-Core rev: e23f9ce928353c9da2b9c4bfa9a1a125a7d160f2)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agotune-xscale: fix xscale/xscale-be confusion
Dmitry Eremin-Solenikov [Fri, 29 Jul 2011 23:37:38 +0000 (23:37 +0000)]
tune-xscale: fix xscale/xscale-be confusion

Currently tune-xscale.inc has options wrt. setting of xscale/xscale-be tunes.
Fix that.

(From OE-Core rev: 90ce6e4b7ffaaf1e3af39583ca62b20f08e78959)

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoarch-armv6, arch-armv5-dsp: correct endianness confusion
Phil Blundell [Fri, 29 Jul 2011 00:31:15 +0000 (00:31 +0000)]
arch-armv6, arch-armv5-dsp: correct endianness confusion

PACKAGE_EXTRA_ARCHS_tune-armv5eb needs to be defined in terms of
the non-e with the same endianness, i.e. PACKAGE_EXTRA_ARCHS_tune-armv5b
not PACKAGE_EXTRA_ARCHS_tune-armv5, otherwise PACKAGE_EXTRA_ARCHS will
end up containing a semi-random mixture of endiannesses and disaster
will ensue.  Likewise for the vfp and armv6 variants.

This is all a bit confusing because TUNE_FEATURES is done the opposite
way around, i.e. TUNE_FEATURES_tune-armv5eb is derived by taking the
armv5e version and adding bigendian.  But fixing that is probably
a subject for a separate patch.

(From OE-Core rev: 391c0102a81455c76244d13b6878e3a76cca65dc)

Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agotune-cortex{m1, m3, r4}: correct spelling of "cortex"
Phil Blundell [Thu, 28 Jul 2011 23:06:55 +0000 (23:06 +0000)]
tune-cortex{m1, m3, r4}: correct spelling of "cortex"

Otherwise the test in TUNE_CCARGS will never match.

(From OE-Core rev: 3b7784021259ac745c80043bec16189fa8f4e45e)

Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobitbake.conf: remove PACKAGE_EXTRA_ARCHS_tune-XXX default
Paul Eggleton [Thu, 28 Jul 2011 22:18:28 +0000 (22:18 +0000)]
bitbake.conf: remove PACKAGE_EXTRA_ARCHS_tune-XXX default

Because of the way BitBake handles ??= under certain circumstances, this
default setting ends up stepping all over the real setting from the arch
include file. Since virtually all arch include files or tune files define
a real value for this we shouldn't need to have a default (or it needs to
be done in a different way).

(From OE-Core rev: 6c43ca6fc6a7fffc84cf28684cac0c0eb4129902)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Acked-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agorootfs_rpm: Disable debug messages
Richard Purdie [Wed, 27 Jul 2011 16:26:13 +0000 (17:26 +0100)]
rootfs_rpm: Disable debug messages

(From OE-Core rev: 59c26a280f909470e19a2be04b8ea9dd3aa5c24b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agopackage_rpm.bbclass: Fix mistake reported by Mark Hatle
Richard Purdie [Wed, 27 Jul 2011 15:50:51 +0000 (16:50 +0100)]
package_rpm.bbclass: Fix mistake reported by Mark Hatle

(From OE-Core rev: 78a1a915d660d6039ac532239e25ead8507bc2df)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobitbake/providers: list PREFERRED_VERSION candidates when unavailable
Paul Eggleton [Mon, 25 Jul 2011 13:54:43 +0000 (14:54 +0100)]
bitbake/providers: list PREFERRED_VERSION candidates when unavailable

If the specified PREFERRED_VERSION is not available then list the
available versions in the output. (PR is omitted.)

(Bitbake rev: eea5ff9f34bb9b2e29f5fa43deb80d4aa6ef7ddc)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobitbake/taskdata: fix incorrect usage of rdependees instead of dependees
Paul Eggleton [Mon, 25 Jul 2011 13:54:42 +0000 (14:54 +0100)]
bitbake/taskdata: fix incorrect usage of rdependees instead of dependees

This looked like a copy-paste error - the code around is dealing with
depends and not rdepends.

(Bitbake rev: bb688635c2050da3cbbaa5aa5b00e882887695de)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobitbake: show more information for NoProvider errors
Paul Eggleton [Mon, 25 Jul 2011 13:54:41 +0000 (14:54 +0100)]
bitbake: show more information for NoProvider errors

"Nothing PROVIDES" errors often come up when a recipe has been skipped
for some reason, and therefore it is useful to print out that reason
information when showing the error so that the user understands why the
error has occurred.

Given that we already feed the reason information into the skiplist for
various situations (COMMERCIAL_LICENSE, COMPATIBLE_MACHINE etc.) this
should now output a useful error message for skipped recipes.

Fixes [YOCTO #846], [YOCTO #1127]

(Bitbake rev: 6765218430e31c165888f26fbc75023c89a6eab2)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoui/crumbs/hobprefs: trigger reparse when package format changed
Jessica Zhang [Wed, 27 Jul 2011 00:18:20 +0000 (17:18 -0700)]
ui/crumbs/hobprefs: trigger reparse when package format changed

reload_data after package format change to make the change take effects in
next build.

Fixes [YOCTO #1287].

(Bitbake rev: fb47c7452455f3f8d943b21dd61300ec55eea141)

Signed-off-by: Jessica Zhang <jessica.zhang@intel.com>
Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agocooker: populate rdepends-pkg in generatePkgDepTreeData
Joshua Lock [Wed, 27 Jul 2011 00:50:45 +0000 (17:50 -0700)]
cooker: populate rdepends-pkg in generatePkgDepTreeData

The rdepends-pkg field of the generated depend_tree model was not populated
in the original implementation of this method, this series adds in the
loop to populate the rdepends-pkg column of the model.

(Bitbake rev: 4f9a6f6f43cf2ef38115285897fbbde01964e892)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agohob: fix loading customised image recipe
Joshua Lock [Wed, 27 Jul 2011 00:44:34 +0000 (17:44 -0700)]
hob: fix loading customised image recipe

The signal handler of the 'Base image' combo was still connected during load
such that updating the UI to reflect the loaded base image triggered a change
of the model. Fix this by disconnecting the signal handler when updating the
displayed 'Base image'.

Fixes [YOCTO #1282]

(Bitbake rev: 58036a79cb79d1dff307e2cfed0e684493178507)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoui/crumbs/tasklistmodel: work around overly aggressive package removal
Joshua Lock [Tue, 26 Jul 2011 03:32:53 +0000 (20:32 -0700)]
ui/crumbs/tasklistmodel: work around overly aggressive package removal

The mark() method, which removes dependent and rdependent items, is overly
aggressive removing items which are actually required by user selected
items and then causing a removal of those items. Because the data
structures used are not fine grained enough to do more intelligent
dependency tracking the simplest "fix" is to track removals which are
marked as "User Selected" and re-add those (and therefore their
dependencies) once the aggressive removal is completed.

Because the aggressive removal already ignores images and tasks this should
make the removal behave as expected though certainly leaves area for
improvement in future.

Fixes [YOCTO #1280].

(Bitbake rev: 1e1055262450de994202fc3e5943b8b19f628681)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoghostscript: fix parallel build issue
Kang Kai [Wed, 27 Jul 2011 09:34:45 +0000 (17:34 +0800)]
ghostscript: fix parallel build issue

ghostscript fails some time on autobuilder, it seems a parallel build issue.
Add patch to fix it.

Fixes [Yocto #1202]

(From OE-Core rev: 90c0eabcce04e8358ce8df9cd9ed60fdeea68cf5)

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoopkg svn: bump SRCREV to 625
Koen Kooi [Wed, 27 Jul 2011 09:47:33 +0000 (11:47 +0200)]
opkg svn: bump SRCREV to 625

tested on beagleboard/angstrom and qemuarm/angstrom

(From OE-Core rev: 19145d0cd27c5c7e732c06dee9fce4cd60cbd0b3)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobase bbclass: add TUNE_FEATURES to the default banner
Koen Kooi [Wed, 27 Jul 2011 15:13:39 +0000 (17:13 +0200)]
base bbclass: add TUNE_FEATURES to the default banner

This makes debugging the new tune code easier since it doesn't involve staring at 'bitbake -e' output anymore.

(From OE-Core rev: c1903b1221e9b419aefe49e40a8acd61575de797)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibpam 1.1.4: fix packaging
Koen Kooi [Wed, 27 Jul 2011 15:21:31 +0000 (17:21 +0200)]
libpam 1.1.4: fix packaging

| ERROR: QA Issue: non debug package contains .debug directory: libpam-xtests path /work/armv7a-angstrom-linux-gnueabi/libpam-1.1.4-r0/packages-split/libpam-xtests/usr/share/Linux-PAM/xtests/.debug/tst-pam_dispatch4

(From OE-Core rev: 4acbbefd67ac02322bb2ca455e6aaf5b78652dff)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoconnman: Change hard coded package name to support multilib
Dongxiao Xu [Wed, 27 Jul 2011 08:01:50 +0000 (16:01 +0800)]
connman: Change hard coded package name to support multilib

connman plugins have dependency on bluez4, wpa-supplicant, and ofono.
These names are hardcoded, fix the issue to support multilib.

(From OE-Core rev: a27503dc76652afef6eaf7330c8e6a421d72a6fc)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agopackage(rootfs)_ipk.bbclass: support multilib in opkg backend.
Lianhao Lu [Tue, 5 Jul 2011 05:18:06 +0000 (13:18 +0800)]
package(rootfs)_ipk.bbclass: support multilib in opkg backend.

Support install multiple multilib in opkg backend.

The installation is done in 3 phases.

Phase 1: install normal packages to IMAGE_ROOTFS.

Phase 2: install multilib packages under MULTILIB_TEMP_ROOTFS. Packages
belongs to the same multilib arch would be installed to a unique
directory.

Phase 3: check file confliction between IMAGE_ROOTFS and
MULTILIB_TEMP_ROOTFS, install multilib packages to IMAGE_ROOTFS only if
the sanity check passed.

(From OE-Core rev: 9d81c2166be7ed388e5616e01ca2b4059e524c8e)

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoimage.bbclass: Added variables for multilib support.
Lianhao Lu [Tue, 5 Jul 2011 05:55:41 +0000 (13:55 +0800)]
image.bbclass: Added variables for multilib support.

1. Added MULTILIB_PACKAGE_INSTALL for multilib instances of packages to
be installed in the rootfs.

2. MULTILIBRE_ALLOW_REP contains the regular expression to match the
files allow to be replaced by the conflicting files.

3. MULTILIBRE_FORCE_SAME contains the regular expression to match the
files allow to be replaced only if the conflicting files are identical.

4. Added shell function multilib_sanity_check() to check whether the
overwring for multilib situation is allowed.

(From OE-Core rev: 137a4626a7e8107fc8a71724d5124f44236293b9)

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agopackage/rootfs_rpm: Implement RPM multilib package handling
Mark Hatle [Mon, 18 Jul 2011 20:55:28 +0000 (15:55 -0500)]
package/rootfs_rpm: Implement RPM multilib package handling

This is a first pass at adding multilib support to the RPM package
and image handling code.

(From OE-Core rev: 1939a4395997098862912e013a2b13ed2f385f9f)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agomultilib: Add missing files from broken patch merge
Richard Purdie [Wed, 27 Jul 2011 15:21:48 +0000 (16:21 +0100)]
multilib: Add missing files from broken patch merge

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobase.bbclass: Fix PACKAGE_ARCH typo
Richard Purdie [Wed, 27 Jul 2011 14:04:24 +0000 (15:04 +0100)]
base.bbclass: Fix PACKAGE_ARCH typo

(From OE-Core rev: 22a42df1843c8a95cf3be214a413d660adaadb32)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agomodule-init-tools-cross: Drop static binaries patch as a better fix has been merged
Richard Purdie [Wed, 27 Jul 2011 10:58:19 +0000 (11:58 +0100)]
module-init-tools-cross: Drop static binaries patch as a better fix has been merged

(From OE-Core rev: 4f6783b83d722d040707d0b7cd69f27b133bd562)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agogcc: Drop part of the 64bithack patch which is no longer used
Richard Purdie [Wed, 27 Jul 2011 09:19:30 +0000 (10:19 +0100)]
gcc: Drop part of the 64bithack patch which is no longer used

Since we now handle GLIBC_DYNAMIC_LINKER in gcc-configure-common.inc:

's#\(GLIBC_DYNAMIC_LINKER[^ ]*\)\( *"/lib.*\)#\1 SYSTEMLIBS_DIR\2#'

we can drop the patch which changes a hardcoded value for this.

No PR bump since there is no code change resulting from this, its just
a cleanup.

There is still a valid question over the remainder of this patch and its
interaction with multilib configurations.

(From OE-Core rev: 036faf66c3889cd8bf4cd3c9b97c80f008f3c6e2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolinux-yocto: revise the dependency for multilib
Yu Ke [Thu, 21 Jul 2011 11:53:54 +0000 (19:53 +0800)]
linux-yocto: revise the dependency for multilib

(From OE-Core rev: b9a0fd48570a603692c8a177b2b0583429639592)

Signed-off-by: Yu Ke <ke.yu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoeglibc: fix for multilib RPROVIDES issue
Yu Ke [Fri, 22 Jul 2011 05:51:33 +0000 (13:51 +0800)]
eglibc: fix for multilib RPROVIDES issue

in eglibc-package.inc, the "PACKAGES" variable use the ${PN} reference,
while RPROVIDES does not use ${PN}. This will lead multilib.bbclass
not mapping its RPROVIDES, and cause "NO RPROVIDER: lib64-glibc-utils"
error.

This patch unify the recipe to fix this issue

(From OE-Core rev: 37ff0fea8f7180b1a9d91d24dfe1735730427497)

Signed-off-by: Yu Ke <ke.yu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agodo_split_packages: revise for multilib case
Yu Ke [Sat, 16 Jul 2011 02:02:53 +0000 (10:02 +0800)]
do_split_packages: revise for multilib case

in multilib case, the PACKAGE_DYNAMIC is overrided with multilib
prefix. Take multilib:lib64-perl as example. the "perl-module-*"
will become "lib64-perl-module-*"

the output_pattern in do_split_packages is designed to work with
PACKAGE_DYNAMIC, so it should be applied with the same logic, i.e.
overriding with multilib prefix. otherwise the do_split_package will
split incorrect files

this patch implements the mulitlib override logic for do_split_packages

We also need to rename the extra_depends to support multilib case
(from Dongxaio Xu).

(From OE-Core rev: a4bc86713892502aeefbbdb3053e8cf1e1fc0bdb)

Signed-off-by: Yu Ke <ke.yu@intel.com>
Signed-off-by: Xu Dongxiao <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolib/oe/util.py: Add MLPREFIX support to prune_suffix()
Richard Purdie [Tue, 7 Jun 2011 09:19:41 +0000 (17:19 +0800)]
lib/oe/util.py: Add MLPREFIX support to prune_suffix()

prune_suffix() also needs be aware of MLPREFIX when changing PN for
use in BPN.

(From OE-Core rev: 20dd241052afa5ff80b91ebf09b0b48765bc3412)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agomultilib: Add support for compiling recipes against multiple ABIs
Richard Purdie [Tue, 7 Jun 2011 09:27:03 +0000 (17:27 +0800)]
multilib: Add support for compiling recipes against multiple ABIs

This patch adds the core multilib class which can be used along with a
parameter specifying the mutlilib to use in BBCLASSEXTEND.

The MLPREFIX variable is added and can be used in cases where its too
difficult to dynmaically work out where a mutltilib prefix is needed
to be added to a variable.

This includes:
  * SHLIBSDIR and PACKAGE_ARCH fixes from Lianhao Lu.
  * PACKAGE_DYNAMIC mapping from Yu Ke
  * PACKAGE_INSTALL mapping from Yu Ke
  * RPROVIDES mapping from Yu Ke
  * TARGET_VENDOR fix from Mark Hatle
  * Ignorning *-native-runtime dependnecies as well as *-native from Yu Ke
  * Map PKG and ALLOW_EMPTY from Dongxiao Xu
  * Ensure RCONFLICTS and PKG field dependencies are remapped (from Dongxiao Xu)
  * Ensure PN and MLPREFIX are set at the same time to ensure consistent BPN values (Yu Ke)

(From OE-Core rev: 5d9453049915db48ec4b5972e12287417ebb61a2)

Signed-off-by: Yu Ke <ke.yu@intel.com>
Signed-off-by: Xu Dongxiao <dongxiao.xu@intel.com>
Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolinux-yocto: update SRCREVs
Bruce Ashfield [Wed, 27 Jul 2011 03:55:12 +0000 (23:55 -0400)]
linux-yocto: update SRCREVs

Updating the linux-yocto SRCREVs to pickup changes from the
continuing uprev to korg 3.0. With this set of update, the
meta/feature audits are complete.

qemumips and qemuppc are fixed with this update and can now
boot to a prompt.

(From OE-Core rev: b4ec5c27b51c15e8bde7ca2597329c4f5b801240)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobase.bbclass: Add compatibility package name mapping handler
Richard Purdie [Wed, 27 Jul 2011 08:17:53 +0000 (09:17 +0100)]
base.bbclass: Add compatibility package name mapping handler

This means if PKGARCHCOMPAT_ARMV7A is set, "armv7a-vfp-neon" is renamed
to be "armv7a". Other compatibility mappings can be added as needed.

(From OE-Core rev: 08c0b7060009113e8dffdef51ff6b9b4b7f28894)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agocmake.bbclass: add ${libdir} for multilib case
Yu Ke [Sun, 24 Jul 2011 13:40:29 +0000 (21:40 +0800)]
cmake.bbclass: add ${libdir} for multilib case

    (From OE-Core rev: e198b72bc03c7545417944dcb3c930aaf2376488)

Signed-off-by: Yu Ke <ke.yu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoRPM: multilib file class/color
Mark Hatle [Wed, 29 Jun 2011 20:41:59 +0000 (15:41 -0500)]
RPM: multilib file class/color

We need to include file class and file color in order to do the conflict
resolution required with a multilib design.  This is normally disabled when
we don't use the internal dependency generator, patch enables it in
all cases.

(From OE-Core rev: 4c43ea3440ecca02d2945b02017f56a8de9ff808)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agodistcc: fix makefile parameter order
Dongxiao Xu [Tue, 26 Jul 2011 00:26:08 +0000 (08:26 +0800)]
distcc: fix makefile parameter order

When linking with gcc, the parameter is read from left to write, if *.o
calls a function contained in libxxx, the parameter order should be

"gcc ... *.o -lxxx".

This commit fixes the problem in distcc.

(From OE-Core rev: 782499eaa817f1beecc0aea5bfa075196f8e2a53)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoAdd basic PowerPC core tune config
Richard Purdie [Tue, 26 Jul 2011 11:36:53 +0000 (12:36 +0100)]
Add basic PowerPC core tune config

(From OE-Core rev: 3212029f0967dd353fec8cc147d2b95031d1018a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoAdd basic Mips core tune config
Richard Purdie [Tue, 26 Jul 2011 11:32:29 +0000 (12:32 +0100)]
Add basic Mips core tune config

Acked-by: Mark Hatle <mark.hatle@windriver.com>
(From OE-Core rev: b33cdc23c04acfa55df0f764e1648bf030ae5e9c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoAdd ARM tune file overhaul based largely on work from Mark Hatle
Richard Purdie [Mon, 25 Jul 2011 18:03:24 +0000 (19:03 +0100)]
Add ARM tune file overhaul based largely on work from Mark Hatle

(From OE-Core rev: 789dcb8e68a2ab9784ac10ab36815010c61af2fc)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agopackage.bbclass: fixup_perms - change symlink processing
Mark Hatle [Tue, 26 Jul 2011 19:28:33 +0000 (14:28 -0500)]
package.bbclass: fixup_perms - change symlink processing

We switch to using os.lchown in order to avoid following a symlink.

We also now check if an item is a symlink, if so we avoid the
os.chmod as a symlink inherits the mode of it's target.

(From OE-Core rev: c64d075b3d367e6c76aafa17782585d026b1f31e)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoncurses: Resolve header and man page multilib conflicts
Mark Hatle [Fri, 15 Jul 2011 14:24:41 +0000 (09:24 -0500)]
ncurses: Resolve header and man page multilib conflicts

By default man pages are compressed, the way ncurses compresses
them causes differences (timestamp and name) to be embedded into
the gziped file.  So each build will end up with a slightly
different file.  Avoid this, by not compressing the man pages.

Avoid header conflict with curses.h using the multilib header
helper.

(From OE-Core rev: ae5269039511d0f3d8aa6a87cb8d9fcf01d79ddd)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoeglibc_2.13: Resolve multilib header conflicts
Mark Hatle [Tue, 26 Jul 2011 19:17:11 +0000 (14:17 -0500)]
eglibc_2.13: Resolve multilib header conflicts

Due to mismatches between various header definitions in i386 and x86_64
we need to overwrite the i386 versions of the headers with their x86_64
equivalents.

This can not be done for the syscall.h as it's dynamically generated,
so use the header conflict resolution helper for that.

(From OE-Core rev: 019a33236f76aacb989e8f37b09b81599c27f296)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolinux-libc-headers: Fix file conflict -- ..install.cmd
Mark Hatle [Tue, 26 Jul 2011 18:00:27 +0000 (13:00 -0500)]
linux-libc-headers: Fix file conflict -- ..install.cmd

The ..install.cmd conflicts between various configure runs.

This isn't used anywhere, so remove it to avoid the conflict.

(From OE-Core rev: f7b1ccfaa15e2dd4ff25f2a5f56ac3aff63c7288)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobeecrypt: Fix multilib header conflict - beecrypt/gnu.h
Mark Hatle [Tue, 26 Jul 2011 17:59:49 +0000 (12:59 -0500)]
beecrypt: Fix multilib header conflict - beecrypt/gnu.h

beecrypt/gnu.h conflicts between 32-bit and 64-bit versions.

(From OE-Core rev: f520b91f878bb16b4b351ddb5f2240e318181044)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoapr: Fix multilib header conflict - apr.h
Mark Hatle [Tue, 26 Jul 2011 17:58:58 +0000 (12:58 -0500)]
apr: Fix multilib header conflict - apr.h

apr.h conflicts between 32-bit and 64-bit versions

(From OE-Core rev: 6e280bf3e2edf3a9e7dfe0e86bcc5c763d52211a)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobinutils: Fix multilib header conflict - bfd.h
Mark Hatle [Tue, 26 Jul 2011 17:57:54 +0000 (12:57 -0500)]
binutils: Fix multilib header conflict - bfd.h

bfd.h conflicts between 32-bit and 64-bit versions.

(From OE-Core rev: cd2975f7ad380aaac8c88bc151a2c34a42d4c540)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agomultilib_header.bbclass: Add oe_multilib_header wrapper
Mark Hatle [Fri, 1 Jul 2011 16:36:41 +0000 (11:36 -0500)]
multilib_header.bbclass: Add oe_multilib_header wrapper

This helper function and associated header will allow us to
resolve two/three header files that conflict due to contents
that change based on wordsize and ABI.

(From OE-Core rev: 1fe66d01b7bce70a37245d47b1abce155fae926e)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoclasses/image*: Revamp creation of live images
Saul Wold [Tue, 26 Jul 2011 15:30:08 +0000 (08:30 -0700)]
classes/image*: Revamp creation of live images

This creates a live image as an IMAGE_FSTYPES, thus removing the
need to have additional -live.bb recipes.  To create a live image
one just needs to add live to the IMAGE_FSTYPES list

(From OE-Core rev: b3ff63796cd6629975ff0a726ba18cc168e0a2b2)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoutils.bbclass: Don't forget to pass the cmdline options
Saul Wold [Tue, 26 Jul 2011 20:31:45 +0000 (13:31 -0700)]
utils.bbclass: Don't forget to pass the cmdline options

This ensure that the command line options from the creation of the wrapper
are actaully passed into the wrapper.

(From OE-Core rev: 190b4f17f5fc9879e680278dd0e31e26e5f5bca0)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoRemove -directdisk.bb recipes
Saul Wold [Mon, 25 Jul 2011 22:33:02 +0000 (15:33 -0700)]
Remove -directdisk.bb recipes

(From OE-Core rev: bdcd377eb54b5af34151b7c20459771901a65f4b)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoRemove -live.bb recipes
Saul Wold [Mon, 25 Jul 2011 22:32:25 +0000 (15:32 -0700)]
Remove -live.bb recipes

(From OE-Core rev: 3b29e2c94cb696a22602f99d7714950a38b4eb8e)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agositeinfo: Rework the siteinfo for powerpc to fix uclibc fallout
Khem Raj [Sat, 23 Jul 2011 01:59:48 +0000 (18:59 -0700)]
siteinfo: Rework the siteinfo for powerpc to fix uclibc fallout

I believe that powerpc-linux is now a common file across 32bit/64bit
linux for powerpc be it uclibc or glibc. I compared the differences
between powerpc-linux-uclibc and powerpc-linux files and it
powerpc-linux was more uptodate and all the new stuff it had was needed
for uclibc anyway so we do not need to keep exact copy of powerpc-linux
as powerpc-linux-uclibc instead we use powerpc-linux for powerpc/uclibc
targets.

Secondly linux specific files were added in archinfo dictionary
which I think logically belongs to targetinfo dictionary therefore
moved them to targetinfo

now uclibc/powerpc is buildable again

(From OE-Core rev: 0fc798640ba60cbb9074d617ba18518b113b7186)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agositeinfo: Move (getpgrp|setpgrp|setgrent|*get{pwuid,grgid}) to common-libc
Tom Rini [Fri, 22 Jul 2011 00:17:35 +0000 (17:17 -0700)]
siteinfo: Move (getpgrp|setpgrp|setgrent|*get{pwuid,grgid}) to common-libc

These functions are determined by the C library so move them to common-glibc
and common-uclibc

(From OE-Core rev: 9226635ab28b5ca44ec04931d27c5c3313d56e61)

Signed-off-by: Tom Rini <tom_rini@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agositeinfo: Move general realloc/malloc values to common-$libc
Tom Rini [Thu, 14 Jul 2011 19:59:11 +0000 (12:59 -0700)]
siteinfo: Move general realloc/malloc values to common-$libc

These are tests for glibc behavior which we have enabled in uclibc.
Note that if we ever disable MALLOC_GLIBC_COMPAT the uclibc tests
will need to be changed (but I believe this would also entail massive
patching to the rest of userspace so this should be unlikely).

(From OE-Core rev: cab512d7ee50fb55b9412c0e1a52a589de09e0a7)

Signed-off-by: Tom Rini <tom_rini@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agositeinfo: Move certain db entries to common-linux
Tom Rini [Thu, 14 Jul 2011 19:49:19 +0000 (12:49 -0700)]
siteinfo: Move certain db entries to common-linux

Note that we had a number of unused and ignored settings wrt mutex
support.  These have been dropped as they weren't being used and
implied some odd things to boot.  This is also a partial resync with
oe.dev which had some, but not all of these changes.

(From OE-Core rev: 7cc52fca921259e331a34263d8113e29b9e0dee9)

Signed-off-by: Tom Rini <tom_rini@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agositeinfo: Move certain mysql entries to common-linux
Tom Rini [Wed, 13 Jul 2011 21:06:16 +0000 (14:06 -0700)]
siteinfo: Move certain mysql entries to common-linux

More re-sync with oe.dev

(From OE-Core rev: a1ce2e6039652c94ba34bfe7343a4424a1cc133b)

Signed-off-by: Tom Rini <tom_rini@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agox86_64-linux siteinfo: Add bash info
Tom Rini [Wed, 13 Jul 2011 20:06:35 +0000 (13:06 -0700)]
x86_64-linux siteinfo: Add bash info

Taken from oe.dev

(From OE-Core rev: 0844b64ea8b43719edfe1a887d56b9f5e3ceefaa)

Signed-off-by: Tom Rini <tom_rini@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agositeinfo: Move certain bash entries to common-linux
Tom Rini [Wed, 13 Jul 2011 19:52:52 +0000 (12:52 -0700)]
siteinfo: Move certain bash entries to common-linux

More re-sync with oe.dev

(From OE-Core rev: 75aa86f4800a8344e1dfe721a729fdd281e26a20)

Signed-off-by: Tom Rini <tom_rini@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agositeinfo: Move certain samba entries to common-linux
Tom Rini [Wed, 13 Jul 2011 19:29:08 +0000 (12:29 -0700)]
siteinfo: Move certain samba entries to common-linux

Part of re-syncing with oe.dev, move samba_cv_HAVE_IFACE_* to common-linux

(From OE-Core rev: bf1e4b1f4952d2dd8e4acd6babb96b3c65999df0)

Signed-off-by: Tom Rini <tom_rini@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agopolkit: Support pam
Xiaofeng Yan [Tue, 26 Jul 2011 09:08:02 +0000 (17:08 +0800)]
polkit: Support pam

Modify configuration "polkit-1" in /etc/pam.d/ for supporting pam.

(From OE-Core rev: 6bc6406b019ebc104a4abfb15c2d2e1263968664)

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agodropbear: Support pam
Xiaofeng Yan [Tue, 26 Jul 2011 09:06:29 +0000 (17:06 +0800)]
dropbear: Support pam

I make a patch and some changes in dropbear.inc for supporting pam.
- Enable pam in configure
- Modify file option.h to open pam supporting

(From OE-Core rev: e8f19e8616fb1b0c2d977fb63eaa64f504fb774b)

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoopenssh: Support PAM
Xiaofeng Yan [Tue, 26 Jul 2011 09:04:24 +0000 (17:04 +0800)]
openssh: Support PAM

Adding configuration file "sshd" in /etc/pam.d/ for supporting pam.

(From OE-Core rev: 8279f771a482d890ad897971cba1d656fdcaefe9)

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoat: enable pam support
Wenzong Fan [Wed, 20 Jul 2011 02:29:22 +0000 (10:29 +0800)]
at: enable pam support

add patches to make at enable pam support

(From OE-Core rev: eabf5a639c94a016316bfd6707ee6e5bd676d85d)

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoshadow: update pam related configure files
Kang Kai [Wed, 20 Jul 2011 11:18:14 +0000 (19:18 +0800)]
shadow: update pam related configure files

add shadow-update-pam-conf.patch to update the pam related configure files
in oe way rather than Fedora.

(From OE-Core rev: 10e6fdd7e8fed5733f65a504148bba54bccb3c48)

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agocronie: enable PAM support for cronie
Wenzong Fan [Wed, 20 Jul 2011 02:42:28 +0000 (02:42 +0000)]
cronie: enable PAM support for cronie

Enable PAM support for cronie and update its pam config file 'crond'.

(From OE-Core rev: fec92e4b0c34adc9d512f61ff22de9026b83e3b4)

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agosudo: add pam support
Kang Kai [Wed, 20 Jul 2011 03:17:07 +0000 (11:17 +0800)]
sudo: add pam support

According to DISTRO_FEATURES to add pam support for sudo, and import
configure file from Fedora.

(From OE-Core rev: 1f7e088f2d570d33c2344e32a05193b37a75ea76)

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoscreen: add pam support
Kang Kai [Wed, 20 Jul 2011 02:16:47 +0000 (10:16 +0800)]
screen: add pam support

According to DISTRO_FEATURES then add screen pam support or not.
Press "Ctrl+a x" will lock the screen terminal, then unlock it will
use pam.
Add pam related configure file sceen.pam from Fedora.

(From OE-Core rev: 7c08305f8008ab322d19d0a0852a851fd44ae510)

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agocups: add pam support
Kang Kai [Wed, 20 Jul 2011 01:57:12 +0000 (09:57 +0800)]
cups: add pam support

According to distro_feature then add pam support for cups or not.

(From OE-Core rev: d1e0482bf7fb8e31746cb0e53bbd708fc08c9846)

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibpam: update to 1.1.4 and add subpackage xtests
Kang Kai [Tue, 19 Jul 2011 09:08:31 +0000 (17:08 +0800)]
libpam: update to 1.1.4 and add subpackage xtests

Update libpam to 1.1.4, and add dependecy cracklib because run xtexts will
need pam-plugin-cracklib.
There are some additional checks under subdirectory xtests and make it
as a subpackage libpam-xtests.

(From OE-Core rev: f9158bf219479c2da56dd21a13ecee3176cd6f8a)

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibcap: Update to 2.22 with License Clarification
Saul Wold [Mon, 25 Jul 2011 17:35:42 +0000 (10:35 -0700)]
libcap: Update to 2.22 with License Clarification

(From OE-Core rev: 4f4e1ee82cff6a9e3103366169ef9f21964db3ba)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agomachine/qemu: set preferred linux-yocto kernel version
Bruce Ashfield [Mon, 25 Jul 2011 14:44:55 +0000 (10:44 -0400)]
machine/qemu: set preferred linux-yocto kernel version

The introduction of the linux-yocto-3.0 kernel is taking
precedence over the known working 2.6.37 version. Forcing
2.6.37 until 3.0 is validated on the qemu machines.

(From OE-Core rev: 77a41ab5ca92606ee08f002a8dfc631f642a3179)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoscripts/combo-layer: keep carriage returns at the end of lines
Paul Eggleton [Mon, 25 Jul 2011 08:08:10 +0000 (09:08 +0100)]
scripts/combo-layer: keep carriage returns at the end of lines

Use --keep-cr option to "git am" or otherwise we lose carriage returns
which can be important for patches against files that use CRs.

(From OE-Core rev: bab4952075245563787293428e031fa11d6cb2b4)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoeglibc: remove unnecessary FILESPATHPKG usage
Paul Eggleton [Fri, 22 Jul 2011 09:15:50 +0000 (10:15 +0100)]
eglibc: remove unnecessary FILESPATHPKG usage

This was not doing anything (we don't even have the eglibc-svn directory).

(From OE-Core rev: f707be7ad16003af6e260297b29e30c92f02a612)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agomodule-init-tools: do not build static utilities for -cross
Enrico Scholz [Mon, 25 Jul 2011 14:34:45 +0000 (16:34 +0200)]
module-init-tools: do not build static utilities for -cross

There is no need to have static module-init-tools for the cross
tools.  Building such binaries requires a static libc which is not
required by the rest of OE and which is deprecated and not installed
by distributions like Fedora.

(From OE-Core rev: ff98be5bd096edc9728ab21d0a344d88c0d5add8)

Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoconsole-tools: removed wildcard from SRC_URI
Enrico Scholz [Mon, 25 Jul 2011 14:27:42 +0000 (16:27 +0200)]
console-tools: removed wildcard from SRC_URI

Wildcards in SRC_URI are not supported by oe-core and work only
when last (or first?) FILESPATH element points to the containing
directory. Specifying plain dir works fine for this recipe.

(From OE-Core rev: 104d9076efbba26c524649baa602d139e79ac47c)

Signed-off-by: Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agodropbear: don't override DISTRO_TYPE if it is already set
Koen Kooi [Mon, 25 Jul 2011 08:08:59 +0000 (10:08 +0200)]
dropbear: don't override DISTRO_TYPE if it is already set

The long term solution is to remove the IMAGE_FEATURE check since images are not allowed to influence recipe compile options.

(From OE-Core rev: 1c24f36e982e680871bf7a05ac6e820314e19c7c)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibxcb: Add missing DEPENDS on libxdmcp
Khem Raj [Sat, 23 Jul 2011 01:59:49 +0000 (18:59 -0700)]
libxcb: Add missing DEPENDS on libxdmcp

Observed this to fail when populating new tmpdir
from shared state

(From OE-Core rev: 7bdc14b0537afa004830f1f23253b2778bb0e098)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agotune-core2.inc: Drop X86ARCH32 usage
Richard Purdie [Wed, 27 Jul 2011 09:34:31 +0000 (10:34 +0100)]
tune-core2.inc: Drop X86ARCH32 usage

Using i686 doesn't work well with locale generation and doesn't gain anything
so revert to the i586 default.

(From OE-Core rev: 79b7b1aab5d3d002bfa7a49887d5d834c29eae45)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoarch-ia32.inc: Fix up TUNE_ARCH variable conflicts
Richard Purdie [Tue, 26 Jul 2011 17:51:02 +0000 (18:51 +0100)]
arch-ia32.inc: Fix up TUNE_ARCH variable conflicts

The current approach causes duplicate values to appear in the TUNE_ARCH
field and this patch addresses that.

(From OE-Core rev: 02031d766f983cd7e01e468cb2c926604313cd2a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoui/crumbs/tasklistmodel: fix loading a saved recipe
Jessica Zhang [Mon, 25 Jul 2011 18:17:02 +0000 (11:17 -0700)]
ui/crumbs/tasklistmodel: fix loading a saved recipe

use the correct variable userpkgs instead of packages during reload saved
bb file that contains user customization.

Fixes [YOCTO #1289]

(Bitbake rev: 2650be190afc05f9472aca8b11af99205a342838)

Signed-off-by: Jessica Zhang <jessica.zhang@intel.com>
Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoui/crumbs/tasklistmodel: don't iterate whole model in find_alt_dependency()
Joshua Lock [Tue, 26 Jul 2011 02:44:57 +0000 (19:44 -0700)]
ui/crumbs/tasklistmodel: don't iterate whole model in find_alt_dependency()

The method needs to find an included item anyway so rather than iterating
the entire model and checking the included status of each entry iterate
over the contents gtk.TreeFilter.

(Bitbake rev: 79bdd501075ff5164a8ee673a6a2a0e402978ae5)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoui/crumbs/tasklistmodel: handle items added in by base image being removed
Joshua Lock [Wed, 20 Jul 2011 23:51:21 +0000 (16:51 -0700)]
ui/crumbs/tasklistmodel: handle items added in by base image being removed

When building an image based on an existing image we need to correctly
handle removals from that images package set. Do so by testing if any of
the items brought in by the base image are removed and, if so, building
an image from scratch with all of the selected packages included.

Fixes [YOCTO #1232]

(Bitbake rev: 812ead4900714545850698d8ce29194f4ee8db0e)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoui/hob: enable building an image with minimal contents
Joshua Lock [Wed, 20 Jul 2011 22:35:29 +0000 (15:35 -0700)]
ui/hob: enable building an image with minimal contents

This patch enables a user to build a rootfs containing only the selected
packages without having to have first selected a 'Base image'.

Fixes [YOCTO #1239]

(Bitbake rev: 05c82da31a69c910e72b58b07afcd9fca8c55479)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoui/hob: Force the 'Base image combo' to be drawn correctly
Joshua Lock [Tue, 19 Jul 2011 23:06:32 +0000 (16:06 -0700)]
ui/hob: Force the 'Base image combo' to be drawn correctly

As the combo is created before its backing model it's common for the combo to
be drawn at its minimum size and then grow the first time the user activates
it. This slight ugly patch forces the combo to be resized as soon as the
model is associated so that by the time the user interacts with the widget it
is less likely to change size.

(Bitbake rev: 65819447ccc96ae2af8d42cf3a31769ef3d2d26e)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoui/hob: change wording in build complete dialog
Joshua Lock [Mon, 18 Jul 2011 23:23:35 +0000 (16:23 -0700)]
ui/hob: change wording in build complete dialog

The 'View Log' button is potentially confusing to existing users of the
system who may be expecting to be shown the on disk logs of the build.
Instead use 'View Messages'.

Addresses [YOCTO #1222]

(Bitbake rev: 105bfe3562235fb586be4b4179bb34b2e94ef234)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoui/hob: don't offer to show built output if build fails
Joshua Lock [Mon, 18 Jul 2011 23:22:18 +0000 (16:22 -0700)]
ui/hob: don't offer to show built output if build fails

The link to open the deploy directory should only be shown if the build
completed succesfully.

(Bitbake rev: d947f9880c2205be66fbd61cf7d3728275979a56)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoui/hob: switch from buildFile to buildTargets for custom image builds
Joshua Lock [Fri, 15 Jul 2011 17:30:48 +0000 (10:30 -0700)]
ui/hob: switch from buildFile to buildTargets for custom image builds

We need to use the buildTargets command to ensure dependencies, such as
native tools to build the rootfs, are correctly included. This patch
achieves this by modifying BBPATH and BBFILES to include matches for the
location of the generated recipe file and reparsing the metadata before
calling buildTargets.

Fixes [YOCTO #1228]

(Bitbake rev: 5840d59098141e773c12bea8ed8d9f4f1a706132)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoui/crumbs/hobeventhandler: reparse files before running other commands
Joshua Lock [Thu, 14 Jul 2011 22:43:27 +0000 (15:43 -0700)]
ui/crumbs/hobeventhandler: reparse files before running other commands

Integrate reparseFiles into the run_next_command() method rather than calling
reparseFiles on the server and immediately calling other methods.

(Bitbake rev: 20f7218992cfe18f1d3dcea53f2e5a7bf96346db)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoui/hob: replace the ugly static command map
Joshua Lock [Wed, 13 Jul 2011 23:01:43 +0000 (16:01 -0700)]
ui/hob: replace the ugly static command map

The command_map was never a good idea, what's implemented here is a
fraction less ugly but a significant factor more readable and therefore
easy to maintain.
The method implemented in this patch also has the advantage of not being
static meaning we can determine the desired runCommand arguments
dynamically at call time.

(Bitbake rev: 8b11c68ffcda355d0ba49cfc27790d245192ae24)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoclasses/image_types: IMAGE_TYPES was missing some entries
Joshua Lock [Tue, 26 Jul 2011 04:21:56 +0000 (21:21 -0700)]
classes/image_types: IMAGE_TYPES was missing some entries

Some of these entries are required by the GUI to enable the expected workflow
of the ADT, namely a compressed rootfs image.

(From OE-Core rev: dad2169cfb331b7af5c6d380347ea279a59bd716)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoupstream status: add for libsdl and xserver patches
Yu Ke [Tue, 26 Jul 2011 07:12:58 +0000 (15:12 +0800)]
upstream status: add for libsdl and xserver patches

(From OE-Core rev: 8afcc3551be8d608a2082ab7da7a6bfdba490f15)

Signed-off-by: Yu Ke <ke.yu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoUpstream-Status: Add Upstream-Status for some missing patches
Dongxiao Xu [Tue, 26 Jul 2011 08:36:57 +0000 (16:36 +0800)]
Upstream-Status: Add Upstream-Status for some missing patches

(From OE-Core rev: 66ec3774f99229ca6c25c047372f45ccd834d77a)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agometa: Rename SITEINFO_ENDIANESS to SITEINFO_ENDIANNESS
Khem Raj [Tue, 26 Jul 2011 05:09:13 +0000 (22:09 -0700)]
meta: Rename SITEINFO_ENDIANESS to SITEINFO_ENDIANNESS

There is this discrepency in spelling. Lets fix it in
core. There are lot of layers using SITEINFO_ENDIANNESS
This was shielded since meta-oe had its own copy of
siteinfo class. But that class has now been deleted in
favor of oe-core

(From OE-Core rev: 54a54778fad39931ac7d43daaf37ce7c1946a29b)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agocooker: only append files once
Joshua Lock [Mon, 25 Jul 2011 18:48:58 +0000 (11:48 -0700)]
cooker: only append files once

A list can contain the same value twice, therefore only append to the
appendlist for a recipe if the append file is not already in the list.

(Bitbake rev: d11f9dd33cdcc97a4a937e8bf7e97558d813cadd)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agocommand|cooker: Add reparseFiles command
Joshua Lock [Thu, 14 Jul 2011 22:25:59 +0000 (15:25 -0700)]
command|cooker: Add reparseFiles command

Add command reparseFiles to reparse bb files in a running cooker instance.

Fixes [YOCTO #1249]

(Bitbake rev: de035ad99feb7644f99ad54804bf9f98cc776877)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobitbake-layers: adapt to cooker change for saved environment
Joshua Lock [Mon, 25 Jul 2011 18:29:53 +0000 (11:29 -0700)]
bitbake-layers: adapt to cooker change for saved environment

The Cooker requires a copy of the environment mapping, modify
bitbake-layers to take one and pass it to the cooker.

(Bitbake rev: f5653e557b68a27e99a2a6a5c5a31d0ba0b56bcb)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agodata|cooker: use saved environment variables when calling inheritFromOS
Joshua Lock [Mon, 25 Jul 2011 18:27:55 +0000 (11:27 -0700)]
data|cooker: use saved environment variables when calling inheritFromOS

Now that we have a pristine copy of the variables available at launch time
we can use them when looking to inherit the OS's environment.

(Bitbake rev: 21c21fcc5871e81d8d497b6baed605cdd74c4571)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolib/oe/utils: 'Fix' oe.utils.contains() behaviour
Richard Purdie [Mon, 25 Jul 2011 18:03:08 +0000 (19:03 +0100)]
lib/oe/utils: 'Fix' oe.utils.contains() behaviour

Currently oe.utils.contains(X, "A", true, false) will return true for substring matches,
e.g. if X = "ABC". This is not what most users expect from the function.

In the common OE use of this function there is the case of "touchscreen" and "screen" being
used as independent variables. Whilst it could be argued there isn't a problem in that
specific case (touchscreens are usually on screens), there is no substring usage of this
function is OE-Core so this patch changes the behaviour to match only full strings.

It also fixes a bug where duplicate entries would confuse multiple matches, e.g.
contains(X, ["A", "B"], ...) would match X = "A A" which is clearly wrong.

(From OE-Core rev: 5c09cbe3bf456e968fc853827698eb18b62e8348)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobitbake/utils: 'Fix' bb.utils.contains() behaviour
Richard Purdie [Mon, 25 Jul 2011 18:02:48 +0000 (19:02 +0100)]
bitbake/utils: 'Fix' bb.utils.contains() behaviour

Currently bb.utils.contains(X, "A", true, false) will return true for substring matches,
e.g. if X = "ABC". This is not what most users expect from the function.

In the common OE use of this function there is the case of "touchscreen" and "screen" being
used as independent variables. Whilst it could be argued there isn't a problem in that
specific case (touchscreens are usually on screens), there is no substring usage of this
function is OE-Core so this patch changes the behaviour to match only full strings.

It also fixes a bug where duplicate entries would confuse multiple matches, e.g.
contains(X, ["A", "B"], ...) would match X = "A A" which is clearly wrong.

(Bitbake rev: 3d8647b68a8e66c7b240ed5fed7406e1b78fabf6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoMove architecture specific TARGET_OS mangling into tune files
Richard Purdie [Fri, 22 Jul 2011 16:54:32 +0000 (17:54 +0100)]
Move architecture specific TARGET_OS mangling into tune files

(From OE-Core rev: f10a3457cdfbb4a94978da998d178d4254632fa7)

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