scm/bb/tizen-distro.git
11 years agoqemu-0.15: Drop GL passthrough support
Richard Purdie [Mon, 20 Aug 2012 11:20:12 +0000 (11:20 +0000)]
qemu-0.15: Drop GL passthrough support

These patches are a maintenance nightmare and impacting our abaility to
keep up to date with qemu. They are also a source of various bugs.

Remove them until someone is willing to step up and maintain them,
or upstream gains GL support.

(From OE-Core rev: e9a6df98458d9147227659d3888eff01589f2f76)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibpam: Fix missing DESTDIR for a mkdir causing build failures
Richard Purdie [Sun, 19 Aug 2012 12:30:07 +0000 (12:30 +0000)]
libpam: Fix missing DESTDIR for a mkdir causing build failures

(From OE-Core rev: c39e823138cbf4210e17bdb95ca322ec0a6c8f78)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agorandrproto: upgrade to 1.4.0
Constantin Musca [Tue, 14 Aug 2012 12:50:27 +0000 (15:50 +0300)]
randrproto: upgrade to 1.4.0

License change due to addition of missing Copyright

(From OE-Core rev: 4e8df7f9a3f506d69c85b051cad3426fb1b18fb9)

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoavahi: fix packaging of avahi-autoipd
Marc Reilly [Fri, 17 Aug 2012 00:10:35 +0000 (00:10 +0000)]
avahi: fix packaging of avahi-autoipd

- Avahi's "avahi-autoipd" file is in the dhcp/ folder, not dhcp3/
- udhcpc files were being installed but not being shipped in avahi-autoipd
- do_install override for avahi-autoipd was not being called and is not
  required, so join it into regular do_install.
- While at it, fixup string quoting in description.

This makes avahi-autoipd work with simple ifup/down scripts.

(From OE-Core rev: 172e663f1b00733cf956cb118d7a5e1a252c1671)

Signed-off-by: Marc Reilly <marc@cpdesign.com.au>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibxrandr: upgrade to 1.4.0
Constantin Musca [Fri, 17 Aug 2012 16:21:11 +0000 (19:21 +0300)]
libxrandr: upgrade to 1.4.0

Only some spaces changed in the license file.

(From OE-Core rev: a1c2330a514a8fa627c55678afb34aa724734a56)

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibpam: Update recipes from 1.1.5 -> 1.1.6
Khem Raj [Sat, 18 Aug 2012 04:56:41 +0000 (21:56 -0700)]
libpam: Update recipes from 1.1.5 -> 1.1.6

Drop include-sys-resource.patch already fixed upstream
LIC_FILE_CHKSUM change is due to deletion of space in
COPYING file see
http://git.fedorahosted.org/cgit/linux-pam.git/commit/COPYING?id=1814aec611a5f9e03eceee81237ad3a3f51c954a

(From OE-Core rev: 619092b699bfd79e060755fa41645cac7ac4fd0d)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agounifdef-native: Correct LICENSE
Khem Raj [Sun, 19 Aug 2012 00:48:15 +0000 (17:48 -0700)]
unifdef-native: Correct LICENSE

The header in sourcefile says its BSD licensed
not GPL therefore make the correction

(From OE-Core rev: 06bd5b3d10d479fce02cd1d5821faeb9afb4ebac)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agocore: Prefer mesa-dri as virtual/libopengles1/2 provider
Damien Lespiau [Mon, 30 Jul 2012 13:51:14 +0000 (13:51 +0000)]
core: Prefer mesa-dri as virtual/libopengles1/2 provider

Wihtout it, you have both mesa-dri and mesa-xlib as providers. Let's
prefer the accelerated version.

(From meta-yocto rev: 13f847744aa842ef38b3f2adf3764425319b5507)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolinux-yocto/3.0: update meta SRCREV
Bruce Ashfield [Sun, 19 Aug 2012 04:28:41 +0000 (00:28 -0400)]
linux-yocto/3.0: update meta SRCREV

Bumping the meta SRCREV to pickup this fix:

    meta: rename virto.scc to virtio.scc

    The virtio configuration block is misnamed. BSPs that include it with
    the proper name, now throw an error (as they should). So fixing the
    name of the fragment fixes the build.

(From OE-Core rev: c6b335099224d590109a8bcda22bf54c597c7eee)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolinux-yocto-tiny: set default branch
Bruce Ashfield [Sun, 19 Aug 2012 04:18:19 +0000 (00:18 -0400)]
linux-yocto-tiny: set default branch

To streamline the creation of build time branches (branches that are
not always present in the upstream kernel repository), linux-yocto-tiny
should specify a default kernel branch. By setting the default branch
(KBRANCH_DEFAULT) and also setting the build branch (KBRANCH) to that
default, the tools will allow the board description to be processed
and no branching forced.

(From OE-Core rev: 07e422138b89e4f4a0cc911db70e2ce953b7623b)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopseudo: Fix pseudo-native rebuild when triggered by dep change
Mark Hatle [Fri, 17 Aug 2012 21:24:52 +0000 (16:24 -0500)]
pseudo: Fix pseudo-native rebuild when triggered by dep change

When NO32LIBS = 0, building 32-bit version of pseudo-native and
building on a 64-bit host -- if the build was triggered by a
dependency change on something pseudo uses, the build could fail
due to left over files from the previous build.  Fix this by
ensuring we run make distclean (and ignoring any failure codes) to
ensure we start over.

(From OE-Core rev: 30ae7320265efe039730cd2faf7bd86a264412ed)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agorunqemu: work with yocto-bsp created kernel filenames
Scott Garman [Fri, 17 Aug 2012 17:54:40 +0000 (10:54 -0700)]
runqemu: work with yocto-bsp created kernel filenames

The yocto-bsp tool generates kernels with additional strings within
the filename, e.g. zImage-myqemuarm.bin. Loosen the MACHINE detection
regex to work with these filenames.

Fixes [YOCTO #2890].

(From OE-Core rev: 17d616adffc3514b6778acc6ab5d6da34a7366b5)

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agocross-localedef-native_2.16.bb: fix for CentOS 5.X
Matthew McClintock [Fri, 17 Aug 2012 17:54:07 +0000 (12:54 -0500)]
cross-localedef-native_2.16.bb: fix for CentOS 5.X

| gcc -isystem/home/mattsm/git/poky/build-master/tmp/sysroots/x86_64-linux/usr/include -isystem/home/mattsm/git/poky/build-master/tmp/sysroots/x86_64-linux/usr/include -O2 -pipe -DNOT_IN_libc=1 -DNO_SYSCONF -DNO_UNCOMPRESS -DLOCALE_PATH='"/usr/local/lib/locale:/usr/local/share/i18n"' -DLOCALEDIR='"/usr/local/lib/locale"' -DLOCALE_ALIAS_PATH='"/usr/local/share/locale"' -DCHARMAP_PATH='"/usr/local/share/i18n/charmaps"' -DREPERTOIREMAP_PATH='"/usr/local/share/i18n/repertoiremaps"' -DLOCSRCDIR='"/usr/local/share/i18n/locales"' -DNOT_IN_libc -DIN_GLIBC_LOCALEDEF -Iglibc/locale/programs -I./include -Iglibc/locale -I. -I. -include ./include/always.h -Wall -Wno-format -c -o ld-address.o glibc/locale/programs/ld-address.c
| In file included from glibc/locale/programs/localedef.h:24,
|                  from glibc/locale/programs/ld-address.c:30:
| ./include/locale.h:6: error: conflicting types for 'locale_t'
| glibc/locale/xlocale.h:42: error: previous declaration of 'locale_t' was here
| make: *** [ld-address.o] Error 1
| ERROR: oe_runmake failed

(From OE-Core rev: 48a698bf97a47a346d5b7d79c2709301e98b4c2c)

Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoconnman: upgrade to 1.4
Constantin Musca [Fri, 17 Aug 2012 16:10:46 +0000 (19:10 +0300)]
connman: upgrade to 1.4

The removed patch is included in connman 1.4.

(From OE-Core rev: a1f16a0f3a015628f3d2d02d980311537a3a2c00)

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogst-fluendo-mpegdemux: upgrade to 0.10.71
Constantin Musca [Fri, 17 Aug 2012 15:46:11 +0000 (18:46 +0300)]
gst-fluendo-mpegdemux: upgrade to 0.10.71

(From OE-Core rev: dfd5d3a7112dc312606675cc3fca9783f58ae121)

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogst-fluendo-mp3: upgrade to 0.10.19
Constantin Musca [Fri, 17 Aug 2012 16:03:11 +0000 (19:03 +0300)]
gst-fluendo-mp3: upgrade to 0.10.19

Only the copyright year has changed in the license file.

(From OE-Core rev: b7502532ba7bc5a14ccb2b9fe2b2752a3fa89bbc)

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoperf_3.4.bb: update to build against older kernels
Matthew McClintock [Fri, 17 Aug 2012 02:54:56 +0000 (21:54 -0500)]
perf_3.4.bb: update to build against older kernels

Removes a make install-python_ext when not present since
older versions of perf lack this install rule

This also fixes a library issue on older kernels building with
a newer toolchain where libaries that would previously be pulled
in are no longer. So we add them manually.

(From OE-Core rev: 70b17a893bd2e1bbba8ea16619b02a60e7c4b8d8)

Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agomesa: enable EGL, with DRM and X11 platforms
Ross Burton [Mon, 30 Jul 2012 15:54:26 +0000 (16:54 +0100)]
mesa: enable EGL, with DRM and X11 platforms

Patch originally by Damien Lespiau <damien.lespiau@intel.com>.

(From OE-Core rev: 03136ebc529dbc82f2db14055e124114da7e84b3)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agomesa: respect x11 DISTRO_FEATURE
Ross Burton [Mon, 30 Jul 2012 16:17:28 +0000 (17:17 +0100)]
mesa: respect x11 DISTRO_FEATURE

Patch originally by Damien Lespiau <damien.lespiau@intel.com>.

(From OE-Core rev: d3e60b835c5abcf2345e761027aa520409c19efc)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agomesa-demos: fix GLES2 build
Ross Burton [Wed, 1 Aug 2012 12:17:10 +0000 (13:17 +0100)]
mesa-demos: fix GLES2 build

(From OE-Core rev: 58047dcf547b582211f84c6f24c21cc1aa895f1e)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agocore: Prefer mesa-dri as virtual/libopengles1/2 provider
Damien Lespiau [Mon, 30 Jul 2012 13:51:14 +0000 (14:51 +0100)]
core: Prefer mesa-dri as virtual/libopengles1/2 provider

Wihtout it, you have both mesa-dri and mesa-xlib as providers. Let's
prefer the accelerated version.

(From OE-Core rev: 9f83d93c65942f9ed1b25a24976f92ae06c425c8)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agomesa: enable GLES v1 and v2
Ross Burton [Mon, 30 Jul 2012 14:40:39 +0000 (15:40 +0100)]
mesa: enable GLES v1 and v2

Patch originally by Damien Lespiau <damien.lespiau@intel.com>.

(From OE-Core rev: d755fff9c9939cebab9c488c7b14de0a57235d3c)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agomesa: Add a mesa-dri-glsl-native_git recipe
Damien Lespiau [Tue, 24 Jul 2012 13:25:57 +0000 (14:25 +0100)]
mesa: Add a mesa-dri-glsl-native_git recipe

If you have both a fixed version of mesa and a git version of mesa, you
also need the mesa-dri-glsl-native recipe for each versions. The code
generation that happens natively has to be done with the tool extracted
from the version you are compiling.

(From OE-Core rev: 63667a138616c551cedbd10d4ed87172fcf9dfff)

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoncurses: fix file names for update -alternatives
Saul Wold [Fri, 27 Jul 2012 00:45:42 +0000 (17:45 -0700)]
ncurses: fix file names for update -alternatives

(From OE-Core rev: 256a832f60ecd8cba6de9457ebd1824b20587952)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agokern-tools: fixes (branching,buildall) + cleanups (checkpoint,cleaner)
Bruce Ashfield [Wed, 1 Aug 2012 17:14:55 +0000 (13:14 -0400)]
kern-tools: fixes (branching,buildall) + cleanups (checkpoint,cleaner)

Updating the kern-tools SRCREV to pickup a collection of bug fixes
and cleanups:

  75e71c3 kgit-config-cleaner: add -k <keep option>
  02be3b5 buildall: switch back to scc driven processing
  c7101db kern-tools: support flexible branching
  e2d06bd kern-tools: Remove superfluous references to "defconfig" from the "createme" script.
  e693754 kgit-checkpoint: fix verify_branch variable name typo
  ee67a7b kgit-config-cleaner: fix redefintion processing

(From OE-Core rev: 70885a105bc16411ff57e3023b33656685cc2bab)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolinux-yocto: explicitly export KMETA to scripts
Bruce Ashfield [Sat, 7 Jul 2012 02:47:27 +0000 (22:47 -0400)]
linux-yocto: explicitly export KMETA to scripts

The kern-tools scripts can support a meta branch and directory of a name that
isn't "meta", but they need the name passed through the environment variable
KMETA. ensuring that KMETA is exported in the shell environment sets the stage
to support flexible meta branch name.

(From OE-Core rev: 9b90c8ace04c88ac6105f0bf686f9abc70fe8074)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolinux-yocto/3.4: remove explicit KBRANCH designations
Bruce Ashfield [Thu, 5 Jul 2012 18:39:17 +0000 (14:39 -0400)]
linux-yocto/3.4: remove explicit KBRANCH designations

A BSP specific KBRANCH assignment is no longer a required
element to locate and build a yocto kernel. As such we can
set the default kbranch, and remove all other explicit
assignments.

KBRANCH is still used, and if it is changed from the
default, that branch will be built.

(From OE-Core rev: 7984a9f6ccd00bf282c9eedab7ab933add68448c)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolinux-yocto: make KBRANCH the exception and not the rule
Bruce Ashfield [Thu, 5 Jul 2012 18:22:53 +0000 (14:22 -0400)]
linux-yocto: make KBRANCH the exception and not the rule

The kernel branch is no longer required by the yocto-kern-tools
to locate BSP feature descriptions (it is the MACHINE:KTYPE
descriptor), so we no longer require that the BSP branch be
explicitly set.

If a kernel branch is explicitly set, it is now used to trigger
a checks to ensure that the branch really is being built.
Otherwise the branch that the machine description creates will
be built (just as it always was).

This further simplies the use and configuration of a linux-yocto
based kernel recipe.

(From OE-Core rev: 3cac3ce65abae9dc253641a2004440a2b38fd44d)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolinux-yocto/3.4: BSP, uprobes, config and cleanups
Bruce Ashfield [Thu, 9 Aug 2012 19:48:27 +0000 (15:48 -0400)]
linux-yocto/3.4: BSP, uprobes, config and cleanups

Updating the linux-yocto 3.4 recipe with consolidated fixes, BSPs
and cleanups.

From the kernel meta branch:

  28bcd46 meta: move emgd features to staging
  6c01949 meta: Crystal Forest Machine Created.
  3c19c4d meta/qemuppc: remove redundant profiling options
  a5da4d5 meta: kgdb: update configuration for out of box functionality
  1d13e00 meta: update status/series and patches for v3.4
  b96c408 fsl-mpc8315e-rdb: replace leading dot with hash in cfg file
  7c9a3b0 usb: fix scc and cfg filename collision with ktypes/base/
  aa0e1f6 kconfig: make CONFIG_BLOCK=y part of base config
  3d1a2f2 kconfig: add tty/serial file to hardware listing
  60b600f routerstationpro: specify chosen filesystems in audit input.
  8b5c8c7 routerstationpro: add config data for audit purposes
  d7ae8fa meta: add ath79 Kconfig to hardware listing.

And from the standard branch:

  c77666c powerpc: uprobes: removed external declaration of uprobe_get_swbp_addr.
  c262f3e powerpc: Uprobes port to powerpc
  d40e73d powerpc: Add trap_nr to thread_struct
  6a64190 Revert "This is the port of uprobes to powerpc. Usage is similar to x86."
  e422119 Revert "powerpc: uprobes: removed external declaration of uprobe_get_swbp_addr."
  d4ef82f keys: kill task_struct->replacement_session_keyring
  1cc141e keys: kill the dummy key_replace_session_keyring()
  090ca45 keys: change keyctl_session_to_parent() to use task_work_add()
  61bc7a8 genirq: reimplement exit_irq_thread() hook via task_work_add()
  5ee34dd task_work_add: generic process-context callbacks
  70754de move key_repace_session_keyring() into tracehook_notify_resume()
  6f70bc1 powerpc: uprobes: removed external declaration of uprobe_get_swbp_addr.
  e5f6a4c This is the port of uprobes to powerpc. Usage is similar to x86.
  2bc4597 On RISC architectures like powerpc, instructions are fixed size. Instruction analysis on such pl
  8893371 perf probe: Detect probe target when m/x options are absent
  544d531a perf probe: Provide perf interface for uprobes
  103b503 tracing: Fix kconfig warning due to a typo
  9bb012e tracing: Provide trace events interface for uprobes
  b9b7281 tracing: Extract out common code for kprobes/uprobes trace events
  91f0360 tracing: Modify is_delete, is_return from int to bool
  a8600f2 uprobes/core: Decrement uprobe count before the pages are unmapped
  a252056 uprobes/core: Make background page replacement logic account for rss_stat counters
  3efc15b uprobes/core: Optimize probe hits with the help of a counter
  20f3d76 uprobes/core: Allocate XOL slots for uprobes use
  77bfad8 uprobes/core: Handle breakpoint and singlestep exceptions
  7196d9a uprobes/core: Rename bkpt to swbp
  c99bc18 uprobes/core: Make order of function parameters consistent across functions
  7e9be99 uprobes/core: Make macro names consistent
  c4247f2 uprobes: Update copyright notices
  f066ff9 uprobes/core: Move insn to arch specific structure
  e91cf65 uprobes/core: Remove uprobe_opcode_sz
  942b91c uprobes/core: Make instruction tables volatile
  56c1e99 uprobes: Move to kernel/events/
  0a7ad1c uprobes/core: Clean up, refactor and improve the code
  3760d62 uprobes, mm, x86: Add the ability to install and remove uprobes breakpoints

Two BSP updates:

  - Crystal Forest Machine has been added
  - routerstationpro configuration updates for 3.4

(From OE-Core rev: bd05dcb634cbb4022b4189985585f73c86f01fae)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolinux-yocto: bump version to 3.4.7
Bruce Ashfield [Wed, 8 Aug 2012 17:38:04 +0000 (13:38 -0400)]
linux-yocto: bump version to 3.4.7

The v3.4.7 -stable update has been released, updating all in-tree
BSPs to this new baseline.

(From OE-Core rev: 89a0587d5affe8d8986efce7738b7b3774792154)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agokernel.bbclass: Preserve generated headers
Khem Raj [Tue, 31 Jul 2012 15:10:40 +0000 (08:10 -0700)]
kernel.bbclass: Preserve generated headers

asm/unistd.h includes asm/unistd_64.h on x86_64
and asm/unistd_32.h on i386 but these files are
generated files in 3.4 and when we do 'make clean' they get
deleted and it shows up as an error when building
external modules. May be its a 3.4 kernel bug may be not
but make clean should have left the tree in
a shape to build modules but it does not.

Probably we should run make modules_prepare after having
run make clean.

(From OE-Core rev: 813256bf7bb6e26d542d5f769e2802564116ebe5)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobase.bbclass: fix PACKAGECONFIG handling code
Yao Zhao [Thu, 2 Aug 2012 16:06:36 +0000 (12:06 -0400)]
base.bbclass: fix PACKAGECONFIG handling code

PACKAGECONFIG flag code only handles that when it has 3 or 4 items in flag,
it may have a stale data if some flags doesn't need DEPENDS and RDEPENDS.

(From OE-Core rev: 884cab0428cff2ffd070b6f36b688ca9851fbe43)

Signed-off-by: Yao Zhao <yao.zhao@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoutility-tasks: Set T to alternate location during do_clean
Richard Purdie [Fri, 17 Aug 2012 13:19:22 +0000 (14:19 +0100)]
utility-tasks: Set T to alternate location during do_clean

There is a race where do_clean tries to clean WORKDIR but there are logfiles
written into ${T} by bitbake and this can lead to exceptions due to open files.

The easiest solution is to redirect T to a different location for the do_clean
task, hence avoiding the errors and also allowing the logfiles to be visible
somewhere. ${LOG_DIR} seems an appropriate place for this.

[YOCTO #2846]

(From OE-Core rev: eef9d6c2d52f5264a6e7a9d882f8323f9793fd7f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: build.py: Correct package to recipe in TaskBase events to use consistent...
Richard Purdie [Fri, 17 Aug 2012 13:53:16 +0000 (14:53 +0100)]
bitbake: build.py: Correct package to recipe in TaskBase events to use consistent terminology

(Bitbake rev: e5045429bce15b66c4355be214db3982ac7761f3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: fetch2/git: Work around git confusion between foo.git and foo repositories
Richard Purdie [Sat, 18 Aug 2012 15:15:18 +0000 (15:15 +0000)]
bitbake: fetch2/git: Work around git confusion between foo.git and foo repositories

If you have foo and foo.git in GITDIR, the two can end up being confused
by git with some horrible union of the two being cloned. This adds
a workaround to avoid this happening until git 1.7.9.2 onwards is
common enough for this to be removed. We use a symlink to hide
the directories we don't want git to know about.

(Bitbake rev: bbf1f6fe594c721a296ca09ee7c583d4a205c591)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibsamplerate: depends on libsdnfile
Saul Wold [Thu, 16 Aug 2012 23:46:22 +0000 (16:46 -0700)]
libsamplerate: depends on libsdnfile

(From OE-Core rev: bb74035190c7794fcebaa7f6ba247672a4c34cde)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosubversion: Inherit gettext as msgfmt is needed at compile time
Andrei Gherzan [Thu, 16 Aug 2012 22:22:28 +0000 (01:22 +0300)]
subversion: Inherit gettext as msgfmt is needed at compile time

Avoid error:
| /bin/bash: <path>/tmp/sysroots/i686-linux/usr/bin/msgfmt: No such file or
directory
| make: *** [subversion/po/de.mo] Error 127
| make: *** Waiting for unfinished jobs....
| ERROR: oe_runmake failed

(From OE-Core rev: 8d06f14e0d5cd133dc7ba9170297af58fd49eae5)

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobusybox: Package hwclock.sh initscript separately
Andrei Gherzan [Thu, 16 Aug 2012 21:15:15 +0000 (00:15 +0300)]
busybox: Package hwclock.sh initscript separately

We package this separately to be able to pull this in only if this makes
sense for the MACHINE.

(From OE-Core rev: b97e37e1444ef32e7837dcc79e3fad36c4284b65)

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agotask-core-boot: Add busybox-hwclock if MACHINE_FEATURES contains rtc
Andrei Gherzan [Thu, 16 Aug 2012 21:13:47 +0000 (00:13 +0300)]
task-core-boot: Add busybox-hwclock if MACHINE_FEATURES contains rtc

For machines with no hardware clock it makes no sense to have this
init stript. Moreover, we avoid a boot error in this way.

(From OE-Core rev: 199259b8d87ee86038de355dd6caeb489d6473f0)

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake.conf: Add rtc to MACHINE_FEATURES_BACKFILL
Andrei Gherzan [Tue, 10 Jul 2012 13:55:47 +0000 (16:55 +0300)]
bitbake.conf: Add rtc to MACHINE_FEATURES_BACKFILL

This was done this way so that the current machine configuration
would remain unaffected.
The rtc MACHINE_FEATURE will specify if a real time clock is avalaible.

(From OE-Core rev: 4a8232d959e24e73998d7541c4a524774387cabf)

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake.conf: Add MACHINE_FEATURES_BACKFILL and append to MACHINE_FEATURES
Andrei Gherzan [Tue, 10 Jul 2012 13:53:55 +0000 (16:53 +0300)]
bitbake.conf: Add MACHINE_FEATURES_BACKFILL and append to MACHINE_FEATURES

This is works the way DISTRO_FEATURES_BACKFILL does.

(From OE-Core rev: bdf90789431f1a8e076fe33c8bfd19c7269d6dad)

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake.conf: Use the new form of features_backfill function
Andrei Gherzan [Tue, 10 Jul 2012 13:47:45 +0000 (16:47 +0300)]
bitbake.conf: Use the new form of features_backfill function

This function was modified in order to be used with other
variables then DISTRO_FEATURES. Use this new function name and
add the parameter needed.

(From OE-Core rev: a1ff96ae006accb08c58ad77d37c9e249ab94d57)

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoutils.py: Modify and rename distro_features_backfill python function
Andrei Gherzan [Tue, 10 Jul 2012 13:38:02 +0000 (16:38 +0300)]
utils.py: Modify and rename distro_features_backfill python function

This function was written to be used with DISTRO_FEATURES. This behavior
is usefull with MACHINE_FEATURES as well.

(From OE-Core rev: 8ae08529e844c9e065c1d260535a777f85d8c6cc)

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopulseaudio: upgrade to 2.1
Constantin Musca [Thu, 16 Aug 2012 12:55:19 +0000 (15:55 +0300)]
pulseaudio: upgrade to 2.1

(From OE-Core rev: d7b1faf23550ad0c9cc61a40d92d8703316e40d8)

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoiptables: upgrade to 1.4.15
Constantin Musca [Thu, 16 Aug 2012 12:55:18 +0000 (15:55 +0300)]
iptables: upgrade to 1.4.15

(From OE-Core rev: e69976e4938e9a5a30a0876052521dd62e97bbac)

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoiproute2: upgrade to 3.5.0
Constantin Musca [Thu, 16 Aug 2012 12:55:17 +0000 (15:55 +0300)]
iproute2: upgrade to 3.5.0

(From OE-Core rev: c7f4f9fe4574cfd20925191d29e7c23b1b41eb3b)

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoofono: upgrade to 1.10
Constantin Musca [Thu, 16 Aug 2012 12:55:16 +0000 (15:55 +0300)]
ofono: upgrade to 1.10

(From OE-Core rev: a163b79dce143ba54631dde845c5958dd11fd74e)

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agodbus: upgrade to 1.6.4
Constantin Musca [Thu, 16 Aug 2012 12:55:15 +0000 (15:55 +0300)]
dbus: upgrade to 1.6.4

(From OE-Core rev: 4178b640eae1b14bd52adda303375c7a5f0746a0)

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agorootfs_deb: move the lock from WORKDIR to DEPLOY_DIR_DEB
Robert Yang [Mon, 13 Aug 2012 13:03:45 +0000 (21:03 +0800)]
rootfs_deb: move the lock from WORKDIR to DEPLOY_DIR_DEB

* There would be race issue if we put the lock to the WORKDIR, for
  example:
  bitbake core-image-sato core-image-sato-sdk

  If the lock is in their own WORKDIR, the apt-rootfs.conf and
  Packages.gz maybe be written by two tasks at the same time, which
  would cause unexpected errors.

* Create ${target_rootfs}/etc since the "tar -C" needs it.

Note:
  * The rpm has put the lock to DEPLOY_DIR_RPM
  * The ipk doesn't need it since it has locks for each deploy directory
    and put the opkg.conf in his own WORKDIR, which doesn't like deb put
    the apt-rootfs.conf in ${STAGING_ETCDIR_NATIVE}/apt/.

[YOCTO #2495]

(From OE-Core rev: 23ac392f8b868296eb9e7cd840f9b28ed6917b27)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoapt-native 0.7.14: remove an extra line from apt.conf
Robert Yang [Mon, 13 Aug 2012 12:57:20 +0000 (20:57 +0800)]
apt-native 0.7.14: remove an extra line from apt.conf

There is an additional "};" at the end of apt.conf, remove it.

[YOCTO #2495]

(From OE-Core rev: 2d6d2549676bb6a84a049f41d6ed31107efc28ad)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoopenssh: openssh's init fails to restart if sshd is not running
Amy Fong [Fri, 27 Jul 2012 15:06:55 +0000 (11:06 -0400)]
openssh: openssh's init fails to restart if sshd is not running

openssh: openssh's init fails to restart if sshd is not running

Because of "set -e", it's necessary to specify the -o (or --oknodo)
so that start-stop-daemon returns an exit status of 0 if no actions
are taken.

(From OE-Core rev: 7e44d2e8457c9c90932ce4f0fd95c67b74efb2e0)

Signed-off-by: Amy Fong <amy.fong@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopciutils: upgrade to 3.1.10
Constantin Musca [Tue, 14 Aug 2012 12:50:26 +0000 (15:50 +0300)]
pciutils: upgrade to 3.1.10

(From OE-Core rev: 8007bbf0bd8ef379340c75370fcdb29e367e5682)

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoAdd MPL version 2.0 license in common-licenses dir as well as adding a non-SPDX licen...
Florin Sarbu [Tue, 14 Aug 2012 07:26:26 +0000 (10:26 +0300)]
Add MPL version 2.0 license in common-licenses dir as well as adding a non-SPDX license name in license.bbclass

(From OE-Core rev: 89efdb7c561e5af87da446c7767d3ad5809a7d13)

Signed-off-by: Florin Sarbu <florin.sarbu@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosubversion: two small fixes
Roy.Li [Tue, 14 Aug 2012 05:56:56 +0000 (13:56 +0800)]
subversion: two small fixes

Add missing build dependency on sqlite3

Disable Ruby checking. we do not have Ruby, and subversion always
checks ruby on host which leads to build error when ruby-dev is
installed on host.

(From OE-Core rev: d712e596cbfae59fd21096090de7fc4ac8d086e7)

Signed-off-by: Roy.Li <rongqing.li@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibatomics-ops: update to the latest version 7.2
Xin Ouyang [Tue, 14 Aug 2012 01:49:08 +0000 (09:49 +0800)]
libatomics-ops: update to the latest version 7.2

All old patches are droped because:

Merged into 7.2 by upstream:
* fedora/libatomic_ops-1.2-ppclwzfix.patch
* gentoo/libatomic_ops-1.2-mips.patch
* gentoo/sh4-atomic-ops.patch
* libatomics-ops_fix_for_x32.patch

Obsolete:
* doublefix.patch

(From OE-Core rev: cf7a52c8f2b84901421c7e2cee3009fe91687a1c)

Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoprelink: Update to latest upstream prelink
Mark Hatle [Mon, 13 Aug 2012 19:49:57 +0000 (14:49 -0500)]
prelink: Update to latest upstream prelink

The latest fixes an obscure problem with prelinking on PowerPC, as well
as general updated.

(From OE-Core rev: 7759c9a2c5dfdc1cae5540a5985632c78abbac89)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agodistutils.bbclass: fix libdir for 64-bit python modules built with distutils
Matthew McClintock [Mon, 13 Aug 2012 19:44:31 +0000 (14:44 -0500)]
distutils.bbclass: fix libdir for 64-bit python modules built with distutils

Without this some modules will be intalled in /usr/lib/python2.6/
instead of /usr/${libdir}/python2.6

(From OE-Core rev: bc6bd774aa8a3e085e9cabcefb11c3fc537139d5)

Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agorunqemu: support booting ramfs-based images
Scott Garman [Mon, 13 Aug 2012 20:20:38 +0000 (13:20 -0700)]
runqemu: support booting ramfs-based images

Added support for booting ramfs-based images (e.g, poky-tiny) which
do not have block device support.

This fixes [YOCTO #2612].

(From OE-Core rev: b09c45f017da71ff966004752f8e926ea00ac451)

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibowl-av: patches merged upstream, bump srcrev
Ross Burton [Fri, 10 Aug 2012 12:47:00 +0000 (15:47 +0300)]
libowl-av: patches merged upstream, bump srcrev

(From OE-Core rev: 5b0d8cb8463da423035484f42659926b472c53b3)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoowl-video: patches pushed upstream, so bump srcrev
Ross Burton [Fri, 10 Aug 2012 12:45:06 +0000 (15:45 +0300)]
owl-video: patches pushed upstream, so bump srcrev

(From OE-Core rev: 65c62f8734dc56d411d33f638716e99790f2895f)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoclutter: DOLT isn't used anymore
Ross Burton [Mon, 6 Aug 2012 12:14:09 +0000 (13:14 +0100)]
clutter: DOLT isn't used anymore

(From OE-Core rev: fbff096fd1168ec8147fb348fb36ecafcaefef19)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agowpa-supplicant: fix paths in dbus/systemd *.service files
Andreas Müller [Mon, 13 Aug 2012 17:02:39 +0000 (19:02 +0200)]
wpa-supplicant: fix paths in dbus/systemd *.service files

(From OE-Core rev: f5b49fd79a226565e416b97d114aa8f14afc1443)

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoglproto: upgrade to 1.4.16
Constantin Musca [Mon, 13 Aug 2012 14:27:31 +0000 (17:27 +0300)]
glproto: upgrade to 1.4.16

(From OE-Core rev: eb221e6b9fbd3b64982f5a887aa5f17aaa70c645)

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agodri2proto: upgrade to 2.8
Constantin Musca [Mon, 13 Aug 2012 14:27:32 +0000 (17:27 +0300)]
dri2proto: upgrade to 2.8

(From OE-Core rev: cbdedb4c5d6975ed3e12154270414572f82811b1)

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopixman: upgrade to 0.27.2
Constantin Musca [Mon, 13 Aug 2012 14:27:30 +0000 (17:27 +0300)]
pixman: upgrade to 0.27.2

(From OE-Core rev: 76317da602aaa0251cb4293dbbbae8f5cd86fadc)

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopackage_rpm.bbclass: Fix attemptonly install failures
Mark Hatle [Fri, 17 Aug 2012 16:25:40 +0000 (11:25 -0500)]
package_rpm.bbclass: Fix attemptonly install failures

During an attemptonly install, if you try to install two packages that
conflict with each other, a message is generated:

 error: Failed dependencies:
     dropbear conflicts with openssh-6.0p1-r4.ppc603e
     dropbear conflicts with openssh-sshd-6.0p1-r4.ppc603e

This is placed onto stderr (vs stdout), which was not being redirected.
This allowed the log-check code to find the magic key of "Failed" causing
the package installation process to fail.  Instead the proper behavior is to
simply ignore the error and proceed with the install.

(From OE-Core rev: 16d8d7fdda4ae7d108f5d50cde3f6104e231bd23)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agochrpath.bbclass: Account for case when ORIGIN is in RPATH
Khem Raj [Thu, 16 Aug 2012 03:15:46 +0000 (20:15 -0700)]
chrpath.bbclass: Account for case when ORIGIN is in RPATH

This fixes a case when RPATH embedded in program have one of
its path already relative to ORIGIN. We were losing that path
if such a path existed. This patch appends it to the new edited
rpath being created when we see it.

so RPATH like below

(RPATH)              Library rpath:
[$ORIGIN/../lib/amd64/jli:$ORIGIN/../jre/lib/amd64/jli]

would end up being empty

but after this patch its kept intact

(From OE-Core rev: 43600df0d4efc976a9451163dd334b4763937932)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agochrpath.bbclass: Ensure we only process tmpdir in paths which actually contain that...
Richard Purdie [Fri, 17 Aug 2012 16:37:47 +0000 (16:37 +0000)]
chrpath.bbclass: Ensure we only process tmpdir in paths which actually contain that path

Without this change, a path to "/lib/xxx" or "/usr/lib/xxx" would also
attempt to be remapped to be relative to $ORIGIN which makes no sense.

(From OE-Core rev: 73e2c12534856f14c1a94fb51874e9ba1655f07b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: really remove knotty2
Richard Purdie [Fri, 17 Aug 2012 13:52:40 +0000 (14:52 +0100)]
bitbake: really remove knotty2

(Bitbake rev: 587ce3bd76b5338c538dc9a5b9f06d42cb5ae3eb)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoclasses/chrpath: improve chrpath failure handling
Paul Eggleton [Fri, 17 Aug 2012 13:26:33 +0000 (14:26 +0100)]
classes/chrpath: improve chrpath failure handling

When chrpath fails, prefix the error message with the name of the recipe
that is being processed, and include the the output from chrpath, as
well as making the calling task actually fail.

(From OE-Core rev: 99815eddd4e1eb5d939831704231537dd5a995ad)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoapr-util: fix the rules.mk with path to sysroot instead of the workdir of apr
Jackie Huang [Fri, 17 Aug 2012 03:11:43 +0000 (11:11 +0800)]
apr-util: fix the rules.mk with path to sysroot instead of the workdir of apr

The copying for rules.mk was happened in do_configure_prepend, but it will be
replaced by the one generated by configure, in which APR_MKEXPORT points to
the workdir of apr and cause compile filure when the workdir of apr is removed.
So change the copying in _prepend to _append.

[YOCTO #2947]

(From OE-Core rev: d6aa123fdbfa82c07e33a9b4c7aacad821184790)

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopython: Add Upstream-Status entries for bsddb patches, no code changes
Jackie Huang [Fri, 17 Aug 2012 07:27:02 +0000 (15:27 +0800)]
python: Add Upstream-Status entries for bsddb patches, no code changes

(From OE-Core rev: 62187bdbaf39b116c2ce4d924dd9b670716b744c)

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agowebkit-gtk: update to 1.8.2
Andreas Müller [Fri, 17 Aug 2012 08:55:17 +0000 (10:55 +0200)]
webkit-gtk: update to 1.8.2

run tested with midori 0.4.5:
* google maps
* google mail (https)

(From OE-Core rev: 8a2ecf231851ae0c4bde0c4edb43c64883b91c5c)

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoadt-installer: add support for relocatable SDK
Laurentiu Palcu [Fri, 17 Aug 2012 10:38:11 +0000 (13:38 +0300)]
adt-installer: add support for relocatable SDK

Since we made the SDK relocatable, we have to add this functionality to
adt-installer too.

(From OE-Core rev: 0fa784c261050c632b7237ba3d43a148ab71b0ca)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopackage.bbclass: change RPATHs for cross-canadian binaries
Laurentiu Palcu [Fri, 17 Aug 2012 10:38:10 +0000 (13:38 +0300)]
package.bbclass: change RPATHs for cross-canadian binaries

When building the meta-toolchain, the binaries didn't get relocatable
RPATHs. They were hardcoded to the default path. Hence, if one had
already installed one SDK in the default path and one in another
location, the later toolchain's binaries would search and load libraries
from the first location, ending in a "Segmentation Fault".

[YOCTO #2927]

(From OE-Core rev: b40a03c43d5d9d738a9aa5b43b2ecfe74fc95018)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopopulate_sdk_base.bbclass: fix SDK relocation issues
Laurentiu Palcu [Fri, 17 Aug 2012 10:38:09 +0000 (13:38 +0300)]
populate_sdk_base.bbclass: fix SDK relocation issues

The problem appears if multiple setup environment scripts are found. In
order to find only the script we're interested in, I removed globbing in
matching pattern with ${REAL_MULTIMACH_TARGET_SYS} that will be expanded
to the correct string.

Also, fix a problem when changing the scripts/configs. The grep pattern
matched also files that contained "text" in their name.

(From OE-Core rev: d81768560676da201fd730ae3930b080ab8c5c75)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogtk+ remove 2.16.6
Ross Burton [Fri, 17 Aug 2012 11:35:17 +0000 (12:35 +0100)]
gtk+ remove 2.16.6

(From OE-Core rev: a11630f4eb667d78260cec09d2bafe621bad04e1)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogtk+: remove 2.12.7
Ross Burton [Fri, 17 Aug 2012 11:35:16 +0000 (12:35 +0100)]
gtk+: remove 2.12.7

(From OE-Core rev: 8ba09db01ab6ed9a57498528ab20abd12c1fa314)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: bin/bitbake: Remove knotty2 from the list of valid interfaces
Richard Purdie [Thu, 16 Aug 2012 14:15:49 +0000 (15:15 +0100)]
bitbake: bin/bitbake: Remove knotty2 from the list of valid interfaces

(Bitbake rev: e0f91faf195be63803d39fb42fcd115ad558c79f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobase.bbclass: Work even when there's no PNBLACKLIST entries
Peter Seebach [Thu, 16 Aug 2012 16:50:45 +0000 (11:50 -0500)]
base.bbclass: Work even when there's no PNBLACKLIST entries

It turns out that the result of getVarFlags is not a list, it's
a dict. So "getVarFlags(...) or []" does not reliably produce
something with a .items. This escaped detection because our
local build environment never ends up running builds without
PNBLACKLIST entries.

(From OE-Core rev: 491df239170dd20f3e91df6bc1ead2945a78e075)

Signed-off-by: Peter Seebach <peter.seebach@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: bitbake: build.py: Add stampdir argument to cached_mtime_noerror
Andrei Gherzan [Thu, 16 Aug 2012 11:21:33 +0000 (14:21 +0300)]
bitbake: bitbake: build.py: Add stampdir argument to cached_mtime_noerror

After commit 2718537b4b04eb3d80ab4d74171b58e7b8dd68b8 (bitbake:
build.py: Only execute mkdirhier if stampdir doesn't exist) build
failes as cached_mtime_noerror needs an argument - stamp dir. This
argument was forgotten.

(Bitbake rev: e69103c4f7e45c24f1fbe9df0383f39e877abcb4)

Signed-off-by: Andrei Gherzan <andrei.gherzan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: knotty: Fold knotty2 into knotty and make it the default
Richard Purdie [Wed, 15 Aug 2012 16:50:22 +0000 (17:50 +0100)]
bitbake: knotty: Fold knotty2 into knotty and make it the default

There is no good reason knotty2 shouldn't be the default now. If you need
the old behaviour, just pipe the output through cat as non-interactive
terminals get the old output.

(Bitbake rev: b97d50618b2187bcfd7d25f64d1444482ca62ef7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: knotty2: Handle long lines of text and terminal window size changes
Richard Purdie [Wed, 15 Aug 2012 16:00:40 +0000 (17:00 +0100)]
bitbake: knotty2: Handle long lines of text and terminal window size changes

Long lines of text which wrapped on the terminal corrupted the output shown by
knotty2. This patch catches such errors by becomming aware of the terminal size.

It also catches terminal window size change events and adapting to those
changes using a signal handler.

Based on a patch from Jason Wessel with several tweaks and enhancements
such as use of chained signal handlers and covering all output messages.

(Bitbake rev: 9afc9e4d14abec5ac326851d4bb689c1e8d45a43)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: build.py: Only execute mkdirhier if stampdir doesn't exist
Richard Purdie [Wed, 15 Aug 2012 15:57:47 +0000 (16:57 +0100)]
bitbake: build.py: Only execute mkdirhier if stampdir doesn't exist

I noticed this was showing up on profile logs as a sigificant time user
in "bitbake bash" when bash was already built. It reduces the time from
5.2 to 4.5 seconds in my test environment.

We make use of the parser's mtime cache as once a directory exists,
we can assume it continues to exist and this avoids syscalls.

(Bitbake rev: 769b694eeb617bb793bd79d0d7b29c43d2646ece)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: bb/ui/uihelper.py: Ensure task current and total numbers are updated for...
Richard Purdie [Wed, 15 Aug 2012 15:59:57 +0000 (16:59 +0100)]
bitbake: bb/ui/uihelper.py: Ensure task current and total numbers are updated for setscene events too

This avoids task (0 of 0) type messages being displayed during setscene by knotty2.

(Bitbake rev: 53efa01720a61da2cb344cbb7e977baa28deba3b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: knotty: Chain the WINCH signal handler in progressbar so any other handler...
Richard Purdie [Wed, 15 Aug 2012 15:58:46 +0000 (16:58 +0100)]
bitbake: knotty: Chain the WINCH signal handler in progressbar so any other handler is preserved and called

(Bitbake rev: 7753e075dbeee471b9ceb34f1e3165aa656932ed)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoclasses/chrpath: trigger an error if chrpath fails
Paul Eggleton [Wed, 15 Aug 2012 16:44:33 +0000 (17:44 +0100)]
classes/chrpath: trigger an error if chrpath fails

If chrpath failed here we were just silently ignoring it.

(From OE-Core rev: 24babf9316da50c8a4d2f328c4336cb8cd6cf667)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopimlico: Remove
Ross Burton [Thu, 9 Aug 2012 07:46:17 +0000 (08:46 +0100)]
pimlico: Remove

Remove the Pimlico applications (Contacts, Dates, Tasks).  oe-core isn't a
reference PIM stack, so we don't need this.

(From OE-Core rev: 373895e6c691277e15a09aee3504243448c55b50)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogst-plugins-base: remove avahi from DEPENDS
Radek Dostal [Tue, 14 Aug 2012 19:26:43 +0000 (21:26 +0200)]
gst-plugins-base: remove avahi from DEPENDS

avahi is no longer required as gnome_vfs is disabled

(From OE-Core rev: a62a8df59c176be4f32dfddabbed7b2deb0e6283)

Signed-off-by: Radek Dostal <rd@radekdostal.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosstate-cache-management.sh: update it for the new layout
Robert Yang [Tue, 14 Aug 2012 14:01:33 +0000 (22:01 +0800)]
sstate-cache-management.sh: update it for the new layout

Update it for the new layout of sstate-cache.

Note: It doesn't handle the old sstate-cache/sstate-xxx.tgz (or
siginfo), the user should remove it manually (rm -fr
sstate-cache/sstate-* would be OK).

[YOCTO #2897]

(From OE-Core rev: fcb61aa552a641faafdf2216fa57ba5ac6b9991f)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoclasses: add gsettings.bbclass
Ross Burton [Tue, 14 Aug 2012 16:10:31 +0000 (17:10 +0100)]
classes: add gsettings.bbclass

This class registers postinst/postrm hooks to compile the GSetting schemas, and
adds the relevant dependencies.  If possible the postinst happens on the host to
avoid running it on the target.

[ YOCTO #2798 ]

(From OE-Core rev: ba9d5626174c1144b83963755ef310328306c3a3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agorpmresolve: improve debug output
Paul Eggleton [Mon, 13 Aug 2012 09:14:23 +0000 (10:14 +0100)]
rpmresolve: improve debug output

Rename rpmresolve's -d option to -t and make -d enable debug output;
add a -o option to specify the output file (so rpm debug output doesn't
go to the output file) and also add a little more detail to some of the
error messages.

(From OE-Core rev: 163dd734d79fd7040b48b10bca6fde28460ac20c)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibdrm: package update 2.4.35 -> 2.4.37
Constantin Musca [Mon, 13 Aug 2012 06:14:19 +0000 (09:14 +0300)]
libdrm: package update 2.4.35 -> 2.4.37

(From OE-Core rev: eb33c1993e5da05eb4519a2e93409e50f4ac55d6)

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoman: make man actually work by installing custom man.config
Koen Kooi [Mon, 13 Aug 2012 07:49:00 +0000 (09:49 +0200)]
man: make man actually work by installing custom man.config

The default man.conf is named wrong and doesn't work. It references gtbl, while groff installs tbl and other things. This man.conf is imported from OE classic and runtime tested on angstrom.

Before:

root@beaglebone:~# man man
sh: /usr/bin/gtbl: No such file or directory
sh: line 0: echo: write error: Broken pipe
gunzip: write: Broken pipe
gunzip: error inflating
sh: line 0: echo: write error: Broken pipe
sh: line 0: echo: write error: Broken pipe

After:

root@beaglebone:~# man man
MAN(1)                        Manual pager utils                        MAN(1)

NAME
       man - an interface to the on-line reference manuals

SYNOPSIS
       man  [-C  file]  [-d]  [-D]  [--warnings[=warnings]]  [-R encoding] [-L
       locale] [-m system[,...]] [-M path] [-S list]  [-e  extension]  [-i|-I]
       [--regex|--wildcard]   [--names-only]  [-a]  [-u]  [--no-subpages]  [-P
       pager] [-r prompt] [-7] [-E encoding] [--no-hyphenation] [--no-justifi-
       cation]  [-p  string]  [-t]  [-T[device]]  [-H[browser]] [-X[dpi]] [-Z]
       [[section] page ...] ...
       man -k [apropos options] regexp ...
       man -K [-w|-W] [-S list] [-i|-I] [--regex] [section] term ...
       man -f [whatis options] page ...
       man -l [-C file] [-d] [-D] [--warnings[=warnings]]  [-R  encoding]  [-L
       locale]  [-P  pager]  [-r  prompt]  [-7] [-E encoding] [-p string] [-t]
       [-T[device]] [-H[browser]] [-X[dpi]] [-Z] file ...
       man -w|-W [-C file] [-d] [-D] page ...
       man -c [-C file] [-d] [-D] page ...
       man [-hV]

Check for config name:

root@beaglebone:~# rm /etc/man.config
root@beaglebone:~# man man
Warning: cannot open configuration file /etc/man.config
No manual entry for man

As a bonus a bunch of references to the buildhost get removed from the config file.

(From OE-Core rev: edff7ae2d2fbd9ccc69645f9f86f3b9d0a53cb23)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agokernel.bbclass: remove default module_autoload and module_conf values
Bruce Ashfield [Thu, 26 Jul 2012 18:04:31 +0000 (14:04 -0400)]
kernel.bbclass: remove default module_autoload and module_conf values

kernel.bbclass is a common class for many different kernel versions,
and as such the default module_autoload and module_conf values that
it contains are not relevant, or out of date for most builds.

Individual kernel recipes or distros can better specify these
values to meet their needs.

(From OE-Core rev: a134efa7743edc3b7ca8abb651add6d2045c3b44)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoman: fix RDEPENDS and reformat recipe
Koen Kooi [Thu, 9 Aug 2012 16:43:56 +0000 (18:43 +0200)]
man: fix RDEPENDS and reformat recipe

(From OE-Core rev: f50fc40f0382a6ddac6bdf602b4303fde998edbe)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopigz: Update to upstream version 2.2.5
Björn Stenberg [Fri, 10 Aug 2012 09:58:02 +0000 (11:58 +0200)]
pigz: Update to upstream version 2.2.5

Also added beginline/endline to LIC_FILES_CHKSUM to not track whole pigz.c.

(From OE-Core rev: 8bec1f82ab3a53c9b89cdd27b412417b123ce7b1)

Signed-off-by: Bjorn Stenberg <bjst@enea.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosysklogd: removed tabs from syslog.conf
Mihai Lindner [Fri, 10 Aug 2012 09:07:38 +0000 (12:07 +0300)]
sysklogd: removed tabs from syslog.conf

Yocto #2926: syslog.conf should not have tabs within the selector field.
Removed tabs from the selector field of syslog rules. Tabs or spaces
should be used, in syslog.conf, only when separating selectors from
actions.

(From OE-Core rev: 1316be4e597332a629842b3f5a7dde8e45dd057d)

Signed-off-by: Mihai Lindner <mihaix.lindner@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogettext-0.18: explicitly disable acl.
Xin Ouyang [Fri, 10 Aug 2012 11:29:57 +0000 (19:29 +0800)]
gettext-0.18: explicitly disable acl.

gettext-0.18 gets a new option for acl, but we do not place acl
into DEPENDS.
So, explicitly disable acl for deterministic builds.

(From OE-Core rev: 96f5ea19f2b8ba396f92377b93a763af7b6109b6)

Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agodbus: Fix pid file in dbus init script
Andy Ross [Fri, 10 Aug 2012 19:00:41 +0000 (12:00 -0700)]
dbus: Fix pid file in dbus init script

The PIDFILE (/var/run/dbus/pid) referenced by /etc/init.d/dbus-1 did
not match the path (/var/run/messagebus.pid) configured in
/etc/dbus-1/system.conf, so the initscript could start the daemon, but
not stop it.  Also remove needless directory ownership logic
(dbus-daemon drops its pid file as root before calling setuid).

(From OE-Core rev: 23cfbff5611c2ed52eedfaa99b1d6eccd326f035)

Signed-off-by: Andy Ross <andy.ross@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>