scm/bb/tizen-distro.git
12 years agolib/bb/ui/crumbs/builder: change dialogue title to Layers
Joshua Lock [Thu, 22 Mar 2012 23:13:08 +0000 (16:13 -0700)]
lib/bb/ui/crumbs/builder: change dialogue title to Layers

(Bitbake rev: 03e645cda56e9f8cf1fa94775534369b77518767)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolib/bb/ui/crumbs: make use of HobButton for existing primary action buttons
Joshua Lock [Thu, 22 Mar 2012 23:06:42 +0000 (16:06 -0700)]
lib/bb/ui/crumbs: make use of HobButton for existing primary action buttons

Replace all gtk.Button instances that have the orange style applied with
HobButton.

(Bitbake rev: f4dfdc23a6498fdaa164a1bfccf616ff8fcbd251)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolib/bb/ui/crumbs/hobwidget: add HobButton widget for the primary action
Joshua Lock [Thu, 22 Mar 2012 23:05:42 +0000 (16:05 -0700)]
lib/bb/ui/crumbs/hobwidget: add HobButton widget for the primary action

The design uses a big, bold labelled, orange button for the primary action
on each dialogue. The HobButton implements this design as a reusable widget.

HobButton makes use of Pango Markup to use a relative size, x-large, for
the button text to ensure it's relative to the system configured font
sizes.

(Bitbake rev: 9aa477f7bd16d3e360bf9b51c1f9d5032a6c5288)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolib/bb/ui/crumbs: fix 'Back to image configuration' alt button text
Joshua Lock [Thu, 22 Mar 2012 23:02:56 +0000 (16:02 -0700)]
lib/bb/ui/crumbs: fix 'Back to image configuration' alt button text

Design calls for these buttons to include << at the beginning of the label

(Bitbake rev: 08cc5ec196a51c29f936eccba1644607be2ed759)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolib/bb/ui/crumbs: add colour for HobAltButton per visual design
Joshua Lock [Thu, 22 Mar 2012 23:02:00 +0000 (16:02 -0700)]
lib/bb/ui/crumbs: add colour for HobAltButton per visual design

The visual design calls for the alternative button to have a pale blue
colour.

(Bitbake rev: c9f61765216a013c7ebc02157ea47c3478252e7c)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolib/bb/ui/crumbs/hig: tweak 'Add Layer' button per visual design
Joshua Lock [Thu, 22 Mar 2012 23:00:29 +0000 (16:00 -0700)]
lib/bb/ui/crumbs/hig: tweak 'Add Layer' button per visual design

Use a separate, pre-lit, icon when the button has the cursor over it.

(Bitbake rev: 535d23921dfb7310022099d39b1092edfee51c1a)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolib/bb/ui/crumbs/builder: only show a close button on the Layer Selector
Joshua Lock [Thu, 22 Mar 2012 22:56:30 +0000 (15:56 -0700)]
lib/bb/ui/crumbs/builder: only show a close button on the Layer Selector

Per discussion with the design team the LayerSelectionDialog should only
have a close button.

See: https://bugzilla.yoctoproject.org/show_bug.cgi?id=2083#c10

(Bitbake rev: 65d92efe2786f21b8a2790ef0383f87b6dc15b57)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolib/bb/ui/crumbs: replace HobXpmLabelButtonBox with HobImageButton
Joshua Lock [Thu, 22 Mar 2012 22:54:37 +0000 (15:54 -0700)]
lib/bb/ui/crumbs: replace HobXpmLabelButtonBox with HobImageButton

HobImageButton is an gtk.Button subclass, and therefore behaves like a
button with prelight and focus states, with an icon and two lines of text -
primary and secondary. The secondary text is displayed in a lighter colour
using a new module method, soften_color(), per the design.

(Bitbake rev: b91cc96c4ff4195ac26fdfd1fb0c2ff8db06aff8)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolib/bb/ui/icons: add new icons for use in Hob, autocrop some existing ones
Joshua Lock [Thu, 22 Mar 2012 20:21:50 +0000 (13:21 -0700)]
lib/bb/ui/icons: add new icons for use in Hob, autocrop some existing ones

Add add-hover and remove-hover icons for the Layer Selection Dialogue.
Autocrop layers_hover, packages_hover and recipe_hover images.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
12 years agobitbake/fetch2: Ensure mirror tarballs have .done stamps so we don't redownload and...
Richard Purdie [Fri, 23 Mar 2012 14:52:23 +0000 (14:52 +0000)]
bitbake/fetch2: Ensure mirror tarballs have .done stamps so we don't redownload and corrupt them

[YOCTO #2154]

(Bitbake rev: 521d6b14151d3bf934b9597557f7ae46e50a3d7a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogdb-cross-canadian: Fix linking issues when python support is enabled
Khem Raj [Fri, 23 Mar 2012 12:50:41 +0000 (05:50 -0700)]
gdb-cross-canadian: Fix linking issues when python support is enabled

gdb-cross-canadian was linking with static version of libpython
and looking for build host python when run. This could be mismatch
between python-nativesdk and build host provided python. So we
make it consistent to always use python-nativesdk

Instead of adding bunch of -L we add -rpath and -rpath-link
so that gdb finds all needed libraries in SDK and does not
reach out into host

This should fix yocto PR# 2077 as well.

(From OE-Core rev: d56177c59b5e237a501281d806724885456f0193)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoRevert "bitbake.conf/sstate.bbclass: Change PATH when installing sstate files to...
Richard Purdie [Fri, 23 Mar 2012 12:29:21 +0000 (12:29 +0000)]
Revert "bitbake.conf/sstate.bbclass: Change PATH when installing sstate files to avoid issues"

Reluctantly revert this since it breaks the tar-native workaround we have
for old versions of tar :(

This reverts commit 01218e29f963120c77885964702198d9bce77e11.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopigz: Add update-alternatives support since this otherwise conflicts with busybox...
Richard Purdie [Wed, 21 Mar 2012 14:29:49 +0000 (14:29 +0000)]
pigz: Add update-alternatives support since this otherwise conflicts with busybox/gzip

(From OE-Core rev: 8903327ff483cd3dbde8cf692be2092462265188)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomirrors.bbclass: remove dead kernel.org mirrors
Andreas Oberritter [Wed, 21 Mar 2012 15:55:21 +0000 (16:55 +0100)]
mirrors.bbclass: remove dead kernel.org mirrors

* ftp.{us,uk,hk,au,jp}.kernel.org don't have DNS A records.

(From OE-Core rev: c74af4b29179fa1e6c59672803f5d69f74976dbe)

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosstate.bbclass: Remove possibility of file corruption and make package writing atomic
Richard Purdie [Thu, 22 Mar 2012 22:47:24 +0000 (22:47 +0000)]
sstate.bbclass: Remove possibility of file corruption and make package writing atomic

There is currently a race window when creating sstate packages since we don't
atomically write the files to SSTATE_DIR. This change ensures we do so by writing
to a temporary file and then doing an atomic move.

(From OE-Core rev: 52bf113e786a57123a9da98f64442afbc2f1471e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogst-plugins: remove obsolete orcc hack
Andreas Oberritter [Thu, 22 Mar 2012 18:20:45 +0000 (19:20 +0100)]
gst-plugins: remove obsolete orcc hack

* The sed script replacing ${bindir}/orcc with
  ${STAGING_BINDIR_NATIVE}/orcc causes orcc to not be found.
  It may have been a workaround for older versions of pkg-config
  or older gst-plugins. Removing it makes gst-plugins use
  orcc from 'orc-native' successfully, if available.

(From OE-Core rev: a5e2277c53a8345a096eee8ccd9622838574a240)

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoscripts/combo-layer: handle diffs in commit messages
Paul Eggleton [Thu, 22 Mar 2012 17:15:05 +0000 (17:15 +0000)]
scripts/combo-layer: handle diffs in commit messages

A few recent commits in the OE-Core repository contain diffs in their
commit messages, which totally confuses git-am when applying them to the
combo repository during update. Add some code to detect and indent any
diff text in the commit message so that this does not happen (and show a
warning).

(From OE-Core rev: 6e70c95dc69be6708c3bc231cc2a99eac1360815)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoscripts/combo-layer: limit component repo dirty check
Paul Eggleton [Thu, 22 Mar 2012 17:15:04 +0000 (17:15 +0000)]
scripts/combo-layer: limit component repo dirty check

If one or more components are specified for update, only check if their
repository/repositories are dirty rather than checking all of the
configured repositories.

(From OE-Core rev: b03e710c88ad0c66cf731647f26e8441d0074cae)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopixman: disable iwmmxt
Khem Raj [Fri, 23 Mar 2012 02:56:58 +0000 (19:56 -0700)]
pixman: disable iwmmxt

Pixman build system is borked and always wants iwmmxt intrinsics
it errors like below

| ../pixman/.libs/libpixman-1.so: error: undefined reference to
'__builtin_arm_wand'
| ../pixman/.libs/libpixman-1.so: error: undefined reference to
'__builtin_arm_wsrlhi'
| ../pixman/.libs/libpixman-1.so: error: undefined reference to
'__builtin_arm_walign'

(From OE-Core rev: 413449897eed0b7382ae52d59b5e289958220ad5)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agouseradd.bbclass: retry useradd/groupadd commands to avoid lock race issues
Scott Garman [Fri, 23 Mar 2012 04:43:42 +0000 (21:43 -0700)]
useradd.bbclass: retry useradd/groupadd commands to avoid lock race issues

A race condition can occur when adding users and groups to the
passwd and group files, causing errors like the following:

 ERROR: Function 'useradd_sysroot' failed
 Tried to access "/etc/group" but this was locked.

This fix will cause the useradd code to retry the useradd and
groupadd commands up to 10 times (with a 1s sleep in between
attempts) before failing.

This fixes [YOCTO #1794]

(From OE-Core rev: 68c589f1b5ee36f0aff151b728447ffdae14622c)

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopackage_rpm.bbclass: ensure base-passwd and shadow get installed first
Scott Garman [Fri, 23 Mar 2012 04:43:41 +0000 (21:43 -0700)]
package_rpm.bbclass: ensure base-passwd and shadow get installed first

When generating images, we need to make sure that base-passwd and
shadow get installed before other packages, which might need to create
custom user accounts.

Thanks to Richard Purdie for the initial version of this fix.

This fixes [YOCTO #2127]

(From OE-Core rev: 3d2d3cb379608301b17ce57787d324c2f06bf4f9)

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibgcc: corrected -nativesdk package namings.
Lianhao Lu [Fri, 23 Mar 2012 04:31:52 +0000 (12:31 +0800)]
libgcc: corrected -nativesdk package namings.

1. Corrected the -nativesdk package namings.

2. Fixed package QA warnings:
WARNING: QA Issue: non -staticdev package contains static .a library:
libgcc-nativesdk-dev path
'/work/x86_64-nativesdk-pokysdk-linux/libgcc-nativesdk-4.6.3+svnr184847-r23/packages-split/libgcc-nativesdk-dev/opt/poky/1.1+snapshot/sysroots/x86_64-pokysdk-linux/usr/lib/x86_64-pokysdk-linux/4.6.4/libgcc.a'
WARNING: QA Issue: non -staticdev package contains static .a library:
libgcc-nativesdk-dev path
'/work/x86_64-nativesdk-pokysdk-linux/libgcc-nativesdk-4.6.3+svnr184847-r23/packages-split/libgcc-nativesdk-dev/opt/poky/1.1+snapshot/sysroots/x86_64-pokysdk-linux/usr/lib/x86_64-pokysdk-linux/4.6.4/libgcc_eh.a'

(From OE-Core rev: aff0373d8bfb7e9ea600fcc558433387818c520a)

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agonativesdk/misc: set PKGSUFFIX for correct variable name expansion.
Lianhao Lu [Fri, 23 Mar 2012 04:31:51 +0000 (12:31 +0800)]
nativesdk/misc: set PKGSUFFIX for correct variable name expansion.

Set PKGSUFFIX in nativesdk.bbclass for correct variable name expansion.
This would fix bunch of "not shipped" packaging warnings in "-nativesdk"
recipes. And also bumping the corresponding PR.

(From OE-Core rev: c69268305e6f814800b64f3a4be724c40b41108c)

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoncurses: ship clear/reset in package.
Lianhao Lu [Fri, 23 Mar 2012 04:31:50 +0000 (12:31 +0800)]
ncurses: ship clear/reset in package.

Fixed not shipped packaging warnings.

WARNING: For recipe ncurses-nativesdk, the following files/directories
were installed but not shipped in any package:
WARNING:
/opt/poky/1.1+snapshot/sysroots/x86_64-pokysdk-linux/usr/bin/reset
WARNING:
/opt/poky/1.1+snapshot/sysroots/x86_64-pokysdk-linux/usr/bin/clear

(From OE-Core rev: c09a2058f6b2f24ab2ae9c5ea357111dd82af39e)

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogdb-cross-canadian: not shipping libiberty.
Lianhao Lu [Fri, 23 Mar 2012 04:31:49 +0000 (12:31 +0800)]
gdb-cross-canadian: not shipping libiberty.

Fixed package QA warnings.

WARNING: QA Issue: non -staticdev package contains static .a library:
gdb-cross-canadian-i586 path
'/work/x86_64-nativesdk-pokysdk-linux/gdb-cross-canadian-i586-7.4-r6.3/packages-split/gdb-cross-canadian-i586/opt/poky/1.1+snapshot/sysroots/x86_64-pokysdk-linux/usr/lib/lib/libiberty.a'

(From OE-Core rev: 231cdeec05f82a8b16141098ca9ca6df41ebe396)

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopseudo: package the var/pseudo directory.
Lianhao Lu [Fri, 23 Mar 2012 04:31:48 +0000 (12:31 +0800)]
pseudo: package the var/pseudo directory.

Fixed the "not shipped" packaging warnings.

WARNING: For recipe pseudo-nativesdk, the following files/directories
were installed but not shipped in any package:
WARNING:   /opt/poky/1.1+snapshot/sysroots/x86_64-pokysdk-linux/usr/var
WARNING:
/opt/poky/1.1+snapshot/sysroots/x86_64-pokysdk-linux/usr/var/pseudo

(From OE-Core rev: 91f6d5777e4fc9f261c361f41eda397a4903b334)

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agometa-toolchain: Popluated the libc siteconfig files.
Lianhao Lu [Fri, 23 Mar 2012 08:33:05 +0000 (16:33 +0800)]
meta-toolchain: Popluated the libc siteconfig files.

Fixed bug [YOCTO #2159] by correctly populate the libc's siteconfig
files.

(From OE-Core rev: eeee4b8c097e60070e4654a223b41fea0c96a12b)

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: Fix icon paths that were mismerged
Richard Purdie [Fri, 23 Mar 2012 11:28:02 +0000 (11:28 +0000)]
bitbake: Fix icon paths that were mismerged

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogst-plugins-bluetooth: Don't install headers, man pages or .pc files
Richard Purdie [Thu, 22 Mar 2012 22:01:53 +0000 (22:01 +0000)]
gst-plugins-bluetooth: Don't install headers, man pages or .pc files

We were seeing weird autobuilder failures where the bluetooth headers could disappear.
The reason why is that this recipe was conflicting with them. bluez4 should be handling
them and the plugin shouldn't be installing them so lets not.

(From OE-Core rev: b92aaf764e6de94fb9fdee610e8f6643ccf74894)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoyocto-kernel: new script
Tom Zanussi [Tue, 24 Jan 2012 06:32:01 +0000 (00:32 -0600)]
yocto-kernel: new script

Implementation of the 'yocto-kernel' command-line tool, for modifying
the kernel portion of a Yocto BSP.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
12 years agoyocto-bsp: new script
Tom Zanussi [Tue, 24 Jan 2012 06:30:21 +0000 (00:30 -0600)]
yocto-bsp: new script

Implementation of the 'yocto-bsp' command-line tool, for creating BSPs
and listing BSP properties.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
12 years agoyocto-bsp: add some useful constants
Tom Zanussi [Tue, 24 Jan 2012 06:29:02 +0000 (00:29 -0600)]
yocto-bsp: add some useful constants

Some constants used by the templating engine.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
12 years agoyocto-bsp-tools: add help/usage
Tom Zanussi [Tue, 24 Jan 2012 06:26:56 +0000 (00:26 -0600)]
yocto-bsp-tools: add help/usage

This is essentially 'the documentation' for the Yocto BSP tools, along
with a few related functions.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
12 years agoyocto-bsp: add kernel interface
Tom Zanussi [Tue, 24 Jan 2012 06:25:45 +0000 (00:25 -0600)]
yocto-bsp: add kernel interface

Yocto BSP kernel-related functions, for interacting with the kernel
tools and implementing the machinery behind the 'yocto-kernel'
command.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
12 years agoyocto-bsp: add templating engine
Tom Zanussi [Tue, 24 Jan 2012 06:20:15 +0000 (00:20 -0600)]
yocto-bsp: add templating engine

The main implementation of the Yocto BSP templating engine,
essentially containing the internal implementation of the 'yocto-bsp
create' and yocto-bsp list' commands.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
12 years agoyocto-bsp-tools: add bsp library
Tom Zanussi [Tue, 24 Jan 2012 06:18:54 +0000 (00:18 -0600)]
yocto-bsp-tools: add bsp library

Create a home for the yocto bsp tools.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
12 years agoyocto-bsp: add BSP template files
Tom Zanussi [Tue, 24 Jan 2012 06:15:25 +0000 (00:15 -0600)]
yocto-bsp: add BSP template files

BSP template files for all supported Yocto architectures, plus qemu
versions of the same.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
12 years agoddimage: Add script for writing images to boot media
Darren Hart [Tue, 13 Mar 2012 19:02:51 +0000 (12:02 -0700)]
ddimage: Add script for writing images to boot media

Fixes [YOCTO #1806]

Standard practice is to use the Linux "dd" command to write images to boot
media. This can be error prone and the results of sloppy usage can be
disastrous. Locating the device you want to use is a clumsy process, especially
on a headless build system.

The ddimage script does the following:

o Check the image and device exist
o Check the device is writable
o Compare the device to a blacklist and abort if it's listed
  Blacklist defaults to "/dev/sda"
o Display useful identifying information about the image and device
o Prompt the user before commencing the write

The output looks something like this:

$ sudo ~/bin/ddimage tmp/deploy/images/core-image-sato-fri2-noemgd.hddimg /dev/sdk
Image details
=============
    image: `tmp/deploy/images/core-image-sato-fri2-noemgd.hddimg' -> `core-image-sato-fri2-noemgd-20111202214038.hddimg'
     size: 318568448 bytes
 modified: 2011-12-02 13:45:05.298897861 -0800
     type: x86 boot sector, code offset 0x58, OEM-ID "SYSLINUX", sectors/cluster 16, root entries 512, Media descriptor 0xf8, sectors/FAT 152, heads 64, hidden sectors 32, sectors 622204 (volumes > 32 MB) , serial number 0x4ed946e0, label: "boot       ", FAT (16 bit)

Device details
==============
  device: /dev/sdk
  vendor: Kingston
   model: DT 101 G2

Write tmp/deploy/images/core-image-sato-fri2-noemgd.hddimg to /dev/sdk [y/N]? y
Writing image...
303+1 records in
303+1 records out
318568448 bytes (319 MB) copied, 53.6766 s, 5.9 MB/s

(From OE-Core rev: 87e581bb7da9f1530d190cd023fcf892c8b858f5)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Dexuan Cui <dexuan.cui@intel.com>
CC: Joshua Lock <josh@linux.intel.com>
CC: Kishore K Bodke <kishore.k.bodke@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agotask-self-hosted: add pseudo
Saul Wold [Tue, 20 Mar 2012 23:05:12 +0000 (16:05 -0700)]
task-self-hosted: add pseudo

(From OE-Core rev: 2f8c8beec3c6054bf4047f23184ae0ab873c6ce5)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibc-common: Apply Debian-naming to libc debug symbols too
Mike Crowe [Tue, 20 Mar 2012 17:27:43 +0000 (17:27 +0000)]
libc-common: Apply Debian-naming to libc debug symbols too

Ensure that the eglibc-dbg package follows Debian naming too if
enabled. Retain backward compatibility with old libc-dbg naming.

(From OE-Core rev: e338607f36fcad89af7d796b2e9f3a31f11e54d6)

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoarch-powerpc.inc: use default value of TUNE_PKGARCH
Matthew McClintock [Thu, 22 Mar 2012 16:53:43 +0000 (11:53 -0500)]
arch-powerpc.inc: use default value of TUNE_PKGARCH

We can use the default value for TUNE_PKGARCH, and now we just
append "-nf" if TARGET_FPU is fpu-soft

(From OE-Core rev: c2d96179c00e6600698d3fbc5cf5c95313ab7535)

Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoconsolekit: use systemd_unitdir
Andreas Müller [Thu, 22 Mar 2012 11:06:02 +0000 (12:06 +0100)]
consolekit: use systemd_unitdir

(From OE-Core rev: 9c52e4b8d4ea63177558a096477b23e8f907ba8e)

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoalsa-utils: use systemd_unitdir
Andreas Müller [Thu, 22 Mar 2012 11:06:01 +0000 (12:06 +0100)]
alsa-utils: use systemd_unitdir

(From OE-Core rev: 94c05ac1eed246a00ea65853952f947deba200d5)

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodbus: use systemd_unitdir
Andreas Müller [Thu, 22 Mar 2012 11:06:00 +0000 (12:06 +0100)]
dbus: use systemd_unitdir

(From OE-Core rev: f014feb73cd96c35735811737a80ee8cd1528f61)

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoofono: use systemd_unitdir
Andreas Müller [Thu, 22 Mar 2012 11:05:59 +0000 (12:05 +0100)]
ofono: use systemd_unitdir

(From OE-Core rev: d05480ddcfb3270357f578fefba5855f5209714c)

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobluez4: use systemd_unitdir
Andreas Müller [Thu, 22 Mar 2012 11:05:58 +0000 (12:05 +0100)]
bluez4: use systemd_unitdir

(From OE-Core rev: 8df5971aa3656cc3a608c231ec5b4538656f3e3e)

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoavahi.inc: use systemd_unitdir
Andreas Müller [Thu, 22 Mar 2012 11:05:57 +0000 (12:05 +0100)]
avahi.inc: use systemd_unitdir

(From OE-Core rev: 979923d67fec5e9e9d3bb55152fbbff7d86e96eb)

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake.conf: add systemd_unitdir
Andreas Müller [Thu, 22 Mar 2012 11:05:56 +0000 (12:05 +0100)]
bitbake.conf: add systemd_unitdir

Some of oe-core's recipes need to know where systemd units are. Since the
directory might change in the future [1], we set the location once globally to
reduce maintenance efforts

[1] http://www.gossamer-threads.com/lists/gentoo/dev/245758

(From OE-Core rev: bac4871105bc6bfa820955f28b4657740ea41961)

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoFix common typoes "existant", "dependant" and variations
Robert P. J. Day [Thu, 22 Mar 2012 10:05:59 +0000 (06:05 -0400)]
Fix common typoes "existant", "dependant" and variations

Fix a couple common typoes, all contained within comments so there
should be no effect on functionality.

(From OE-Core rev: dc52c3cbf3a7b7242d53019f7643495eb40c0566)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoinsane.bbclass: maybe no log.do_compile or log.do_install
Robert Yang [Thu, 22 Mar 2012 09:55:34 +0000 (17:55 +0800)]
insane.bbclass: maybe no log.do_compile or log.do_install

The insane.bbclass grep in log.do_compile and log.do_install
unconditionally, but there maybe no such logs when mirror the pkg from
sstate cache file. We should check whether the log file exists or not
before grep in it.

Additionally, break the one too long line into two (Add a "\n").

[YOCTO #2153]

(From OE-Core rev: bbf38aa898454a2bb9a4ac993eb2696fbd5f4e57)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agotcf-agent: Using git repository instead of svn.
Lianhao Lu [Thu, 22 Mar 2012 06:22:26 +0000 (14:22 +0800)]
tcf-agent: Using git repository instead of svn.

Fixed bug [YOCTO #2152].

(From OE-Core rev: 6c785bcd4368ea49941ec00bc8c34f334a39d8f3)

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agort-tests: add patch to support passing CFLAGS/LDFLAGS
Denys Dmytriyenko [Thu, 22 Mar 2012 02:46:05 +0000 (22:46 -0400)]
rt-tests: add patch to support passing CFLAGS/LDFLAGS

Enable passing OE and Distro-specific CFLAGS/LDFLAGS to the Makefile.

(From OE-Core rev: fb89e4585644db0958a633a637fc70f0459af26a)

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agort-tests: replace dependency on eglibc with virtual/libc
Denys Dmytriyenko [Thu, 22 Mar 2012 02:46:04 +0000 (22:46 -0400)]
rt-tests: replace dependency on eglibc with virtual/libc

That is to support alternative providers of libc, such as glibc, uclibc
or even an external binary toolchain.
No PR bump is necessary here.

(From OE-Core rev: 053f1a0200047949765f34a6c99940adbe8f2c9f)

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake.conf: fix distro-less failure expanding FILESPATH
Denys Dmytriyenko [Thu, 22 Mar 2012 01:33:03 +0000 (21:33 -0400)]
bitbake.conf: fix distro-less failure expanding FILESPATH

If DISTRO is not set, FILESPATH becomes littered with directories like
files/${DISTRO} etc. It won't bomb until you try to eval it - i.e.
manipulating FILESPATH directly with .= works fine, but calling e.g.
base_set_filespath() throws this:

ERROR: Failure expanding variable FILESPATH, expression was ${@blah} which
triggered exception SyntaxError: EOL while scanning string literal (FILESPATH,
line 1)

(From OE-Core rev: abacd7243a2e4cca216797c4a36ff66ae968ddbd)

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoHob: Revert interfaces of callbacks for layer_button, view_recipes_button, and view_p...
Shane Wang [Thu, 22 Mar 2012 13:46:02 +0000 (21:46 +0800)]
Hob: Revert interfaces of callbacks for layer_button, view_recipes_button, and view_packages_button.

(From Poky rev: 35942a7dd973796673ab0215f68b4a25356ec053)

(Bitbake rev: 96e235a151fa04f5a15cd8b46f50a5852e2ba739)

Signed-off-by: Shane Wang <shane.wang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolib/bb/ui/crumbs/hig: disable removal of meta-hob layer
Joshua Lock [Thu, 22 Mar 2012 01:55:33 +0000 (18:55 -0700)]
lib/bb/ui/crumbs/hig: disable removal of meta-hob layer

The Hob GUI requires the meta-hob layer to function so prevent its removal
as we do with the core meta layer.

(From Poky rev: a64d71e1e4475236e286cb20dde29c4d099d3693)

(Bitbake rev: 431624678025b3d3fe04f1c6e8fc50820b3129fb)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoui/crumbs/hig: make the layer selection dialogue more closely match design
Joshua Lock [Tue, 20 Mar 2012 16:39:45 +0000 (09:39 -0700)]
ui/crumbs/hig: make the layer selection dialogue more closely match design

The layer dialogue design includes in-line remove/delete widgets next to
the layer path in the tree view for all layers other than the meta layer as
well as an in-line notice that the meta layer cannot be removed.

This is achieved  in this patch through the use of custom cell_data_func's
for the treeview to render the meta layer differently and a custom
CellRenderer implementation, CellRendererPixbufActivatable, which renders a
pixbuf and emits a clicked signal when the user clicks on it.

Fixes [YOCTO #2083]

(From Poky rev: 83c96b7a0ec4412716090098385a665045909a9a)

(Bitbake rev: b2d8f28c0059992200457a15aef8be09e015a5dd)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Shane Wang <shane.wang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolib/bb/ui/crumbs: add icons for use in the layer dialogue
Joshua Lock [Thu, 22 Mar 2012 01:53:35 +0000 (18:53 -0700)]
lib/bb/ui/crumbs: add icons for use in the layer dialogue

(From Poky rev: 5e5b488952ef2a0dd886fd67993411760855fcee)

(Bitbake rev: e68c37cee0c9fb1b88479888656eae43bfd144d7)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolib/ui/icons: autocrop images
Joshua Lock [Thu, 22 Mar 2012 01:44:01 +0000 (18:44 -0700)]
lib/ui/icons: autocrop images

Remove transparent border from the edge of the layers_display,
packages_display and recipe_display images.

(From Poky rev: d240f17687f34a0c5733a7744e8689420f45381c)

(Bitbake rev: e439de09eb073a50e12021b196f10fc87e33b858)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolib/bb/ui/crumbs: Add HobAltButton and use it
Joshua Lock [Thu, 22 Mar 2012 01:42:35 +0000 (18:42 -0700)]
lib/bb/ui/crumbs: Add HobAltButton and use it

This adds a gtk.Button subclass for secondary actions which unsets the
relief so that the user is aware that the button is clickable and yet it is
more subtle than the primary action (such that the primary action is the
most obvious one) - this is per the interaction design.

Further we replace all uses of gtk.LinkButton with the new HobAltButton

Partially addresses [YOCTO #2105], a follow on patch will theme the button
so that it matches the visual design.

(From Poky rev: c3f17fed243180678264168968333463b203bfa0)

(Bitbake rev: 601521c2d7f5568d94529a77b2cbe19fef7cbf48)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoui/crumbs/persistenttooltip: fix whitespace
Joshua Lock [Wed, 21 Mar 2012 00:05:03 +0000 (17:05 -0700)]
ui/crumbs/persistenttooltip: fix whitespace

We use 4 spaces, not a tab, in BitBake

(From Poky rev: 7d9c9fd7c267d69bab51590074d66a2d68e98ca6)

(Bitbake rev: 7658cd6d8e0e558f60df72b294019a40c27bc703)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoui/crumbs/persistenttooltip: fix colours on darker themes
Joshua Lock [Tue, 20 Mar 2012 22:45:33 +0000 (15:45 -0700)]
ui/crumbs/persistenttooltip: fix colours on darker themes

Darker gtk+ themes, such as the one used in Ubuntu Unity, revealed that the
PersistentTooltip styling wasn't setting the label colour correctly.

Set the label foreground colour to the tooltip_fg_colour value as read from
gtk-color-scheme property of the system settings.

(From Poky rev: 0934cfcea5986dbdc50e7159ee907c70b0b3e587)

(Bitbake rev: ab15ef585e51e4c85a4a55aa6b35fbf3b53f3805)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoui/crumbs/persistenttooltip: tweak borders
Joshua Lock [Tue, 20 Mar 2012 22:38:27 +0000 (15:38 -0700)]
ui/crumbs/persistenttooltip: tweak borders

Change the layout and borders so that the close button is flush with the
edge of the tooltip window yet leave the contents with a small border such
that text isn't flush with the window edge.

(From Poky rev: 5a0891d144de5d3f73c51adef5a30492a679c66a)

(Bitbake rev: f652d9d28d69a04bc9361599d173625378ac8d33)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoui/crumbs/hobwidget: add clear icon to search entries in HobNotebook
Joshua Lock [Tue, 20 Mar 2012 16:50:15 +0000 (09:50 -0700)]
ui/crumbs/hobwidget: add clear icon to search entries in HobNotebook

It's a common pattern on Gtk+ desktops to be able to clear a search/filter
entry using an icon in that entry.

(From Poky rev: 6394283522ef2f259397d8bd294291fb20354c8b)

(Bitbake rev: f55372d542995fd0797b11f42dcfdbe57858449a)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoHob: Use inherit information to judge if a recipe is image type
Dongxiao Xu [Wed, 21 Mar 2012 08:27:25 +0000 (16:27 +0800)]
Hob: Use inherit information to judge if a recipe is image type

Previously we use pattern "-image-" to match recipe name to judge if
it is image type. This will ignore some images whose name doesn't
match the pattern. The new method is to use the inherit information,
that is, if a recipe inherits image.bbclass, we treat it as an image.

(From Poky rev: 981b81bd39529d2ba9af0d4e2a25bda3d32bd8fc)

(Bitbake rev: bdbee0c899e115ad08b9a77d3e58d6767766da75)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agocooker: add inherit information when generating package tree
Dongxiao Xu [Wed, 21 Mar 2012 08:27:10 +0000 (16:27 +0800)]
cooker: add inherit information when generating package tree

Inherit information could be used to judge if a recipe is image type
or not.

(From Poky rev: 203f112a84b3971dc71da3dc455fd054d1c16a12)

(Bitbake rev: fe52af99918f61abec8f779efb02926b713f2aac)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoHob: Change the titles for recipe view and package view
Shane Wang [Wed, 21 Mar 2012 03:34:26 +0000 (11:34 +0800)]
Hob: Change the titles for recipe view and package view

(From Poky rev: cccbf0cc8a3d8c93a141d96bed4763beb7b85786)

(Bitbake rev: 98dd4f20f2e6f50c1cad2c480eebde14eeadc41a)

Signed-off-by: Shane Wang <shane.wang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoHob: Change "View Packages" description
Shane Wang [Wed, 21 Mar 2012 03:15:23 +0000 (11:15 +0800)]
Hob: Change "View Packages" description

Change 'View Packages' button description from 'Add/remove packages' to 'Add/remove previously built packages to/from your image'.
And we adjust the size to make "View Packages" button fit into the window.

[Yocto #2146]

(From Poky rev: 279dbff3ef9f8e8bc58b86f8c4f5ffe70d4a2e8b)

(Bitbake rev: 594f5936c2450d596967f062c14434f5357cb5aa)

Signed-off-by: Shane Wang <shane.wang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoHob: Change window title from HOB to Hob
Shane Wang [Wed, 21 Mar 2012 03:04:33 +0000 (11:04 +0800)]
Hob: Change window title from HOB to Hob

[Yocto #2147]

(From Poky rev: 9291e6b751171a49fcd8cd0d13c6b22479e542bd)

(Bitbake rev: 6d9dc83e566b7d3a4903fdba30053233d97e8381)

Signed-off-by: Shane Wang <shane.wang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoHob: Move "Create your own image" to the bottom of image list
Dongxiao Xu [Wed, 21 Mar 2012 03:19:51 +0000 (11:19 +0800)]
Hob: Move "Create your own image" to the bottom of image list

Move "Create your own image" item to the bottom of base image list.
Besides, remove an un-used hob list entry.

This fixes [YOCTO #2104]

(From Poky rev: f215ce518ad644ca4747ae17279db4b82d0c715d)

(Bitbake rev: 7e00723a6508023ffbefed2c2de1bc9c55564faa)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoHob: Change package selection tab order
Dongxiao Xu [Wed, 21 Mar 2012 02:14:09 +0000 (10:14 +0800)]
Hob: Change package selection tab order

In the package screen, change the tab order to be:
"Included" and "All packages".

Also change some descriptions in tab.

This fixes [YOCTO #2111]

(From Poky rev: 25628f43d16bcc35874bdac3e1ce1b552c049633)

(Bitbake rev: e12a5e478635a0de87060ac20aff8c9b1858596e)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Shane Wang <shane.wang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoHob: Change recipe selection tab order
Dongxiao Xu [Wed, 21 Mar 2012 02:09:16 +0000 (10:09 +0800)]
Hob: Change recipe selection tab order

In the recipe screen, change the tab order to be:
"Included", "All recipes", and "Tasks".

Also change some description name in tab.

This fixes [YOCTO #2110]

(From Poky rev: 400b1092f1bad578b26d1e41aeb87dcb852aa4e3)

(Bitbake rev: f7168e891ce4af5234d53896a7f51489a7c84a6f)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Shane Wang <shane.wang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoHob: Change template button name from "Template" to "Templates"
Dongxiao Xu [Tue, 20 Mar 2012 07:58:16 +0000 (15:58 +0800)]
Hob: Change template button name from "Template" to "Templates"

Change the button name according to UI team's design.

This fixes [YOCTO #2126]

(From Poky rev: 1e4477f9b121b2523685cc6440050c47d3ae1cde)

(Bitbake rev: f75dde11f2d73119702026d4dd531c0b242303c7)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoHob: change package classes selection GUI
Dongxiao Xu [Tue, 20 Mar 2012 07:49:44 +0000 (15:49 +0800)]
Hob: change package classes selection GUI

This commit change the GUI for package classes selection in advanced
setting dialog, which conforms with UI team's design.

(From Poky rev: 7bbcabdb71d76cdb2ec1de15618d1e47f1149a21)

(Bitbake rev: 4ebce01dde18e67e01ff7c4736c229a3364c04b0)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoHob: Remove split model in GTK Hob
Dongxiao Xu [Mon, 19 Mar 2012 03:08:45 +0000 (11:08 +0800)]
Hob: Remove split model in GTK Hob

Since the GTK Hob will not use the server/client split model, thus
remove it from current Hob code. But we still keep the core mechanism
in bitbake server.

(From Poky rev: 983ea0265a53e0725dcbf9085ea767ebbc155ae5)

(Bitbake rev: 8c129e05a94d457860d883c9b2934a5559de8d9b)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoHob: Still use initcmd != None as the if judgement
Dongxiao Xu [Wed, 21 Mar 2012 02:58:14 +0000 (10:58 +0800)]
Hob: Still use initcmd != None as the if judgement

This commit reverts part of change in 491c87d1, since initcmd has a
possible value of 0, therefore we must explicitly compare the initcmd
with None in if judgement.

(From Poky rev: 5736972974a769ea7ce6c92fdf6842db044f770d)

(Bitbake rev: ee55ca82c94080ef825d6de094e38ba40ee62e8b)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoxserver-kdrive: Fix packaging warnings
Saul Wold [Wed, 21 Mar 2012 20:01:17 +0000 (13:01 -0700)]
xserver-kdrive: Fix packaging warnings

WARNING: For recipe xserver-kdrive, the following files/directories were installed but not shipped in any package:
WARNING:   /usr/lib
WARNING:   /usr/lib/xorg
WARNING:   /usr/lib/xorg/protocol.txt
WARNING:   /usr/share/X11
WARNING:   /usr/share/X11/xkb
WARNING:   /usr/share/X11/xkb/compiled
WARNING:   /usr/share/X11/xkb/compiled/README.compiled
(From OE-Core rev: d036265de1d9931bedb660e01a763d3d1d9e4097)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoreadline: Fix RPATH Warnings for GPLv2
Saul Wold [Wed, 21 Mar 2012 22:54:34 +0000 (15:54 -0700)]
readline: Fix RPATH Warnings for GPLv2

the norpath.patch with v2 and it worked correctly?
WARNING: QA Issue: readline: /work/i586-poky-linux/readline-5.2-r7/packages-split/readline/usr/lib/libhistory.so.5.2 contains probably-redundant RPATH /usr/lib
WARNING: QA Issue: readline: /work/i586-poky-linux/readline-5.2-r7/packages-split/readline/usr/lib/libreadline.so.5.2 contains probably-redundant RPATH /usr/lib
WARNING: QA Issue: readline: /work/i586-poky-linux/readline-5.2-r7/packages-split/readline/usr/lib/libreadline.so.5 contains probably-redundant RPATH /usr/lib
WARNING: QA Issue: readline: /work/i586-poky-linux/readline-5.2-r7/packages-split/readline/usr/lib/libhistory.so.5 contains probably-redundant RPATH /usr/lib

(From OE-Core rev: 511a9e72f7deac4d31bad6c2d94117d9fd0b97f5)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolttng-ust: Increase PE due to incompatible version changes related to lttng-ust2
Richard Purdie [Wed, 21 Mar 2012 23:04:57 +0000 (23:04 +0000)]
lttng-ust: Increase PE due to incompatible version changes related to lttng-ust2

(From OE-Core rev: 732b9d6f3528c4c76be0afa911e7e1d5cf781c41)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoAdd bitbake-dumpsig to make it more obvious how to dump a signatures file
Richard Purdie [Wed, 21 Mar 2012 17:08:04 +0000 (17:08 +0000)]
Add bitbake-dumpsig to make it more obvious how to dump a signatures file

[YOCTO #2057]

(Bitbake rev: c5fdc6c02fe4712d3114caccfd759a626bd9677b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogettext/awk/sed/grep: Backport WARNING fixes to GPLv2 versions
Richard Purdie [Wed, 21 Mar 2012 16:30:37 +0000 (16:30 +0000)]
gettext/awk/sed/grep: Backport WARNING fixes to GPLv2 versions

(From OE-Core rev: b60d0c57a2e16d690fd11c6349917efc57630004)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogzip/pigz-native: Install into a prefix to avoid clashing with system binaries
Richard Purdie [Wed, 21 Mar 2012 11:26:09 +0000 (11:26 +0000)]
gzip/pigz-native: Install into a prefix to avoid clashing with system binaries

Due to the system providing a copy of gzip, we face some issues when we
'shadow' that copy with our own leading to a varient of race type bugs,
and issues for example if a dependency such as libz is missing but the
binary is still present. We usually rely on our dependency logic to protect
us from this but for gzip, we don't have this protection since its not listed
by all its users (and doing so would be impractical).

This patch installed pigz and gzip into their own directory which we only
add to PATH when we explictly want these binaries in much the same way we do
with perl-native. This means dependency logic is correct when we use the binary
and everything should work well.

The patch adds an explict dependency into image.bbclass since the accelerated
speed of compression is most appreciated at rootfs time.

(From OE-Core rev: 7a98c0ef28822ae1fcee45b14db3edcfd4c7ad8f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake.conf/sstate.bbclass: Change PATH when installing sstate files to avoid issues
Richard Purdie [Wed, 21 Mar 2012 10:44:43 +0000 (10:44 +0000)]
bitbake.conf/sstate.bbclass: Change PATH when installing sstate files to avoid issues

This resolves issues related to pigz-native when installing from sstate that people
have been seeing. It also gives us a way to solve issues like the gzip-native race
during sstate package creation covered in Yocto #1774.

(From OE-Core rev: 518dffe20178f5969dddccb17d6ab347afb72beb)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobuildhistory_analysis: avoid printing PE/PV/PR more than once
Paul Eggleton [Tue, 20 Mar 2012 16:06:28 +0000 (16:06 +0000)]
buildhistory_analysis: avoid printing PE/PV/PR more than once

Don't print PE/PV/PR changes as related field changes of related field
changes (i.e. only print them once at the top level).

(From OE-Core rev: 33046605549501bed9ceff102614d86ba54a5891)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobuildhistory_analysis: report if all items removed from a list
Paul Eggleton [Tue, 20 Mar 2012 16:06:27 +0000 (16:06 +0000)]
buildhistory_analysis: report if all items removed from a list

If all items have been removed from a list then state that explicitly.

(From OE-Core rev: 2434a751e9684058786d4595cef3678d397f3c39)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobuildhistory_analysis: skip FILELIST changes for dbg packages
Paul Eggleton [Tue, 20 Mar 2012 16:06:26 +0000 (16:06 +0000)]
buildhistory_analysis: skip FILELIST changes for dbg packages

Don't report when files are added or removed from dbg packages unless
it results in the package being empty.

(From OE-Core rev: ee57a989188519dd40310cb5576cbff4b247ad95)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobuildhistory_analysis: hide version number increases in dependencies
Paul Eggleton [Tue, 20 Mar 2012 16:06:25 +0000 (16:06 +0000)]
buildhistory_analysis: hide version number increases in dependencies

If an item in RDEPENDS or RRECOMMENDS only increases in its version
number then don't report it as a change, since we don't care about
it. This significantly reduces the noise after upgrades.

(From OE-Core rev: f72b2a1bda35a99292063c1cc6ff563b397e190d)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobuildhistory_analysis: use bb.utils.explode_dep_versions
Paul Eggleton [Tue, 20 Mar 2012 16:06:24 +0000 (16:06 +0000)]
buildhistory_analysis: use bb.utils.explode_dep_versions

Previously this had its own implementation of splitting a list of
packages with optional version e.g. "libncurses-dev (>= 5.9)"; switch to
using the already existing bitbake function which does this as it is
much better tested.

(From OE-Core rev: de21a483063d9803c4ce1d62b03913ccad2931bd)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolttng-2.0/lttng-ust: Change recipe name to lttng2-ust.
Lianhao Lu [Wed, 21 Mar 2012 09:41:07 +0000 (17:41 +0800)]
lttng-2.0/lttng-ust: Change recipe name to lttng2-ust.

Change the recipe name lttng-ust from lttng-2.0 to lttng2-ust so that
that both the lttng-ust of the old framework and of the new framework
lttng-2.0 can coexist.

Fixed bug [YOCTO #2062].

(From OE-Core rev: 0d9fc8185945328837aa1a3d9d705afa56856853)

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoparted: update to version 3.1
Andreas Oberritter [Wed, 21 Mar 2012 14:08:25 +0000 (14:08 +0000)]
parted: update to version 3.1

* Supports disks > 2TB

[RP:Add in missing delta of fixed in subsequent version]
(From OE-Core rev: daa6d80d902cb35af1b3f3f1e9e55cb944eb2de0)

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosyslinux: fix stripped file warnings
Paul Eggleton [Wed, 21 Mar 2012 12:12:42 +0000 (12:12 +0000)]
syslinux: fix stripped file warnings

Fix the following package warnings:
WARNING: File '/usr/bin/memdiskfind' from syslinux was already stripped, this will prevent future debugging!
WARNING: File '/usr/bin/syslinux' from syslinux was already stripped, this will prevent future debugging!
WARNING: File '/usr/bin/gethostip' from syslinux was already stripped, this will prevent future debugging!
WARNING: File '/usr/bin/isohybrid' from syslinux was already stripped, this will prevent future debugging!

(From OE-Core rev: 90bf61226d1bebd846ad9dc028affc334862e794)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibacpi: fix stripped file warning
Paul Eggleton [Wed, 21 Mar 2012 12:12:41 +0000 (12:12 +0000)]
libacpi: fix stripped file warning

Fix the following package warning:
WARNING: File '/usr/bin/test-libacpi' from libacpi was already stripped, this will prevent future debugging!

(From OE-Core rev: 678b895fba610c71fcbb13555bf96322dcb15aea)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agohdparm: fix stripped file warning
Paul Eggleton [Wed, 21 Mar 2012 12:12:40 +0000 (12:12 +0000)]
hdparm: fix stripped file warning

Fix the following package warning:
WARNING: File '/sbin/hdparm.hdparm' from hdparm was already stripped, this will prevent future debugging!

(From OE-Core rev: d2625ddfdee752ed790aa6b9a8b8ceade8358093)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodistro_tracking: update openssl
Scott Garman [Wed, 21 Mar 2012 00:33:38 +0000 (17:33 -0700)]
distro_tracking: update openssl

(From OE-Core rev: 486c0abeaaf9e4467d3f72a24cc6956595c955f3)

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoopenssl: upgrade to 1.0.0.h
Scott Garman [Tue, 20 Mar 2012 06:11:25 +0000 (23:11 -0700)]
openssl: upgrade to 1.0.0.h

Removed pkg-config.patch, which was incorporated upstream.

Addresses CVE-2012-0884.

Fixes bug [YOCTO #2139].

(From OE-Core rev: 50d99fc8c5a158c7f3ce3e72377827f53406d88f)

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoscripts/qemuimage-testlib: fix typos
Yi Zhao [Wed, 21 Mar 2012 06:33:49 +0000 (14:33 +0800)]
scripts/qemuimage-testlib: fix typos

(From OE-Core rev: 69f019c48b40ac3b7a8bce2da819f03072e78020)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agotask-self-hosted: add nfs-utils and nfs-utils-client into the target
Dexuan Cui [Mon, 19 Mar 2012 03:13:54 +0000 (11:13 +0800)]
task-self-hosted: add nfs-utils and nfs-utils-client into the target

Without this, in the target, we don't have the mount.nfs utility.

(From OE-Core rev: 42fb0129c701c52df978430da3d237c924d1d5ee)

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agocleanup-workdir: add a script to clean up WORKDIR
Kang Kai [Tue, 6 Mar 2012 03:19:15 +0000 (11:19 +0800)]
cleanup-workdir: add a script to clean up WORKDIR

[Yocto 1561]
Add script cleanup-workdir to clean up WORKDIR. It checks every
package build directories under WORKDIR then parse the directory
name to get package name and version. If the version is not the
package prefer version then delete the directory.

(From OE-Core rev: 5eecfa7e504970a9ffde95e568ed7f8e7d6288b9)

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoparted: update to version 3.1
Andreas Oberritter [Thu, 15 Mar 2012 22:17:52 +0000 (23:17 +0100)]
parted: update to version 3.1

* Supports disks > 2TB

(From OE-Core rev: 27dd817838647d43769b400e7829730f7180a79a)

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodistro_tracking: updates for upgraded recipes and manual checks
Scott Garman [Thu, 15 Mar 2012 21:55:25 +0000 (14:55 -0700)]
distro_tracking: updates for upgraded recipes and manual checks

Upgraded e2fsprogs recipe.

Manual checks done for libpng, libgdbus, expat, chrpath, opensp,
and nfs-utils.

(From OE-Core rev: 4ab84358f072e29c618d4e7532ab903747bbe618)

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>