scm/bb/tizen-distro.git
10 years agouclibc: Update to git tip
Khem Raj [Sun, 16 Feb 2014 06:50:55 +0000 (06:50 +0000)]
uclibc: Update to git tip

(From OE-Core rev: 4c280911373abb8021b1fea6e136df8b4cabdea3)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobinutils: ld-is-gold should not affect native and crosssdk recipes
Khem Raj [Sun, 16 Feb 2014 19:48:16 +0000 (19:48 +0000)]
binutils: ld-is-gold should not affect native and crosssdk recipes

gold linker does not support all architectures, currently arm and x86
are best supported, therefore we can not enable this as a full distro
option where we need to support other architectures e.g. ppc, mips
currently, if we enable ld-is-gold distro feature conditionally then it
invalidates native and sdk version of native binutils because configure
option would change. With this patch we limit ld-is-gold feature to
imapact cross binutils and target binutils only. This means that we
can reuse the sdk and native versions across architectures.

(From OE-Core rev: 542609b968f0dc6f56cc9d6aabe4ff0144041261)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoicu: Disable the default LDFLAGSICUDT for target compile
Khem Raj [Sat, 15 Feb 2014 22:04:05 +0000 (22:04 +0000)]
icu: Disable the default LDFLAGSICUDT for target compile

By default LDFLAGSICUDT=-nodefaultlibs -nostdlib for Linux
which means DT_NEEDED section for libicu will not be populated
with dependencies when we reset it to be empty then the default
libraries it needs are added to DT_NEEDED section in ELF header

This patch is a workaround as I consider it for now, since it could
be a problem in glibc dynamic loader for arm (especially for hf case)
where its unable to load shared objects which dont have any dependencies
expressed in DT_NEEDED segment.

here is when LDFLAGSICUDT=-nodefaultlibs -nostdlib

Dynamic section at offset 0x1549c10 contains 8 entries:
  Tag        Type                         Name/Value
 0x0000000e (SONAME)                     Library soname:
[libicudata.so.51]
 0x00000010 (SYMBOLIC)                   0x0
 0x6ffffef5 (GNU_HASH)                   0xf8
 0x00000005 (STRTAB)                     0x188
 0x00000006 (SYMTAB)                     0x138
 0x0000000a (STRSZ)                      54 (bytes)
 0x0000000b (SYMENT)                     16 (bytes)
 0x00000000 (NULL)                       0x0

here is one with LDFLAGSICUDT empty

Dynamic section at offset 0x154a014 contains 22 entries:
  Tag        Type                         Name/Value
 0x00000001 (NEEDED)                     Shared library: [libc.so.6]
 0x0000000e (SONAME)                     Library soname:
[libicudata.so.51]
 0x00000010 (SYMBOLIC)                   0x0
 0x0000000c (INIT)                       0x33c
 0x0000000d (FINI)                       0x500
 0x6ffffef5 (GNU_HASH)                   0xf8
 0x00000005 (STRTAB)                     0x204
 0x00000006 (SYMTAB)                     0x144
 0x0000000a (STRSZ)                      192 (bytes)
 0x0000000b (SYMENT)                     16 (bytes)
 0x00000003 (PLTGOT)                     0x154a0f8
 0x00000002 (PLTRELSZ)                   16 (bytes)
 0x00000014 (PLTREL)                     REL
 0x00000017 (JMPREL)                     0x32c
 0x00000011 (REL)                        0x2fc
 0x00000012 (RELSZ)                      48 (bytes)
 0x00000013 (RELENT)                     8 (bytes)
 0x6ffffffe (VERNEED)                    0x2dc
 0x6fffffff (VERNEEDNUM)                 1
 0x6ffffff0 (VERSYM)                     0x2c4
 0x6ffffffa (RELCOUNT)                   1
 0x00000000 (NULL)                       0x0

btw. ldd reveals the fist one to be static library while the second
one is detected as shared library. This could be a clue into how
elf headers are being interpreted by dynamic loader.

The data seems to be all static in libicudata which could
load it quicker and thats what could be confusing dynamic linker ..may
be

(From OE-Core rev: 644c307f63f0f0b7e97140850d3d1d2124b11b1b)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agorootfs.py: Check for LDCONFIGDEPEND being empty string
Khem Raj [Sat, 15 Feb 2014 07:19:27 +0000 (23:19 -0800)]
rootfs.py: Check for LDCONFIGDEPEND being empty string

We override LDCONFIGDEPEND to be empty string for uclibc
however the current check is for it being None as a result
the function is still executed but ldconfig-native is not
built as dependency for rootfs when building with uclibc

Fixes errors like below

File:
'/home/kraj/work/angstrom-repo/sources/openembedded-core/meta/lib/oe/rootfs.py',
lineno: 191, function: _run_ldconfig
     0187:    def _run_ldconfig(self):
     0188:        if self.d.getVar('LDCONFIGDEPEND', True) is not None:
     0189:            bb.note("Executing: ldconfig -r" +
self.image_rootfs + "-c new -v")
     0190:            self._exec_shell_cmd(['ldconfig', '-r',
self.image_rootfs, '-c',
 *** 0191:                                  'new', '-v'])

(From OE-Core rev: 315a71e00928fea6715087b1ce66f8a8a91d5fe0)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoeglibc: Upgrade from 2.18 -> 2.19
Khem Raj [Sat, 8 Feb 2014 11:44:32 +0000 (03:44 -0800)]
eglibc: Upgrade from 2.18 -> 2.19

License formatting and address for FSF in the COPYING and COPYING.LIB
has changed.

Dropped patched already upstream and patches that were workarounds for
older glibc and busybox

for e500 we have should pass --without-fp to eglibc/glibc 2.19 onwards
the code is merged from eglibc into glibc upstream under nofpu/ pretext

(From OE-Core rev: 875df27e56b82fcf970410b6d78e3672471c336a)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agovalgrind: Add glibc 2.19 awareness
Khem Raj [Wed, 12 Feb 2014 17:11:19 +0000 (09:11 -0800)]
valgrind: Add glibc 2.19 awareness

It wont compile otherwise and fail with errors e.g.

Valgrind requires glibc version 2.2 - 2.17 ...

(From OE-Core rev: cc90cbc6d36b9f15a461b877b44c7498c2061744)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoRevert "lib/oe/image.py: fix working directory"
Richard Purdie [Tue, 18 Feb 2014 08:30:42 +0000 (08:30 +0000)]
Revert "lib/oe/image.py: fix working directory"

This reverts commit 3f49597225a58965124503ca5f3cc4011b04b3c0.

This change appears to cause more problems than it fixes since the
compression commands usually work in the deploy dir but the archive ones
have always worked in the rootfs dir (which is clear from the tar command
we use).

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: implement package summary page
David Reyna [Fri, 7 Feb 2014 05:21:58 +0000 (21:21 -0800)]
bitbake: toaster: implement package summary page

Implement the updated design for the package summay page, with pop-up
boxes for the layer commit ids, column filtering, and column sorting
support.

[YOCTO #4318]

(Bitbake rev: c39b99792547b642570ea5152070e7396e812390)

Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: implement recipe summary page
David Reyna [Fri, 7 Feb 2014 05:06:27 +0000 (21:06 -0800)]
bitbake: toaster: implement recipe summary page

Implement the updated design for the recipe summay page, with pop-up
boxes for the dependecies and layer commit ids, column filtering, and
column sorting support.

[YOCTO #4294]

(Bitbake rev: 92b71c8e6cfcd656866fbf9bd00bf184b223c5fa)

Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: Make popovers mutually exclusive
Belen Barros Pena [Thu, 6 Feb 2014 00:24:58 +0000 (00:24 +0000)]
bitbake: toaster: Make popovers mutually exclusive

Table popovers should be mutually exclusive (only one
of them should be open at any given time), and should
close when you click outside their area. But this is not
the default popover behaviour in Bootstrap, so some
additional javascript is needed.

The code in main.js taking care of this in the design
prototype was quite ugly and didn't get on well with
certain browsers. I have replaced it with a better
solution (although still not ideal).

(Bitbake rev: d56633c00f6730c053f355570211eba1bdc41b62)

Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: Make popovers scrollable
Belen Barros Pena [Thu, 6 Feb 2014 00:20:41 +0000 (00:20 +0000)]
bitbake: toaster: Make popovers scrollable

Some recipes and packages have a lot of dependencies.
To stop their popovers from taking over the full
height of the screen, I have given them a maximum
height and made their content scrollable in
default.css

(Bitbake rev: b6416a98f441516100d2ce7baca30f09714a1d1d)

Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: Make all targets links to the build dashboard
Belen Barros Pena [Wed, 5 Feb 2014 18:22:34 +0000 (18:22 +0000)]
bitbake: toaster: Make all targets links to the build dashboard

Change the build.html template to remove the conditional check
that added links to the build dashboard only to those targets
that are image recipes.

All targets should be links to their corresponding build
dashboard.

(Bitbake rev: 05f52b9fad597173d813fa4305af65f1c9bb88a1)

Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: Select a radio button by default in Filter Dialog
Ravi Chintakunta [Thu, 6 Feb 2014 03:54:46 +0000 (22:54 -0500)]
bitbake: toaster: Select a radio button by default in Filter Dialog

If none of the filter options in the filter dialog are active,
then select the first radio button.

(Bitbake rev: 8aa63143cc446227c69f64688b314c65b74604d8)

Signed-off-by: Ravi Chintakunta <ravi.chintakunta@timesys.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: Fix for task_color tag
Belen Barros Pena [Fri, 31 Jan 2014 07:08:40 +0000 (07:08 +0000)]
bitbake: toaster: Fix for task_color tag

This patch changes the task_color tag in
projecttags.py to make sure it adds the error
class to the rows corresponding to failed tasks
in the tasks table.

(Bitbake rev: 44c5b3a93a93a464429e8d998aace25f840ae724)

Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: Apply error style to cell links
Belen Barros Pena [Fri, 31 Jan 2014 07:02:32 +0000 (07:02 +0000)]
bitbake: toaster: Apply error style to cell links

This patch changes default.css so that any anchor
tag inside a table cell with the error class applied
inherits the class styles. This ensures that the
failed tasks listed in the builds table look red
like the failed tasks in the tasks table.

(Bitbake rev: e5cbb190317dba2eddd933678474569563ec840b)

Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: Make "Edit columns" multiselect
Belen Barros [Tue, 4 Feb 2014 15:23:10 +0000 (15:23 +0000)]
bitbake: toaster: Make "Edit columns" multiselect

Twitter Boostrap elements with the dropdown-menu class
close by default once a selection is performed. Such
behaviour is not appropriate for our "Edit columns" menu,
since users might want to check / uncheck several
columns.

This patch adds a call to the stopPropagation() jQuery
function to main.js to stop the "Edit columns" menu
from closing every time you change a checkbox.

(Bitbake rev: c2e43750bf0913523a1abcb2c8bf97b764da2524)

Signed-off-by: Belen Barros <belen.barros.pena@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: fix javascript for table filters
Alexandru DAMIAN [Tue, 4 Feb 2014 17:38:17 +0000 (17:38 +0000)]
bitbake: toaster: fix javascript for table filters

This patch adds javascript link for resetting page filters
in the tool tip "Show all" button.

Also fixes a JS bug for when the cookie is not set yet.

(Bitbake rev: e123922274ea875105e6ed855b3368b8b77fca64)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: Add clear filter button to filter tooltips
Belen Barros [Mon, 3 Feb 2014 15:35:47 +0000 (15:35 +0000)]
bitbake: toaster: Add clear filter button to filter tooltips

This patch modifies the basetable_top.html template to add
the 'Show all' button to the applied filter tooltip. It also
adds a delay in the tooltip dismissal in main.js to allow
users to click the button comfortably.

The patch does not add the functionality to the button (when
you click on it nothing happens). Someone else will need
to add that in.

(Bitbake rev: e39857162b5d91cc2f92843a9a14599bab369849)

Signed-off-by: Belen Barros <belen.barros.pena@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: Clean up main.js
Belen Barros [Mon, 27 Jan 2014 14:05:54 +0000 (14:05 +0000)]
bitbake: toaster: Clean up main.js

Clean up main.js to leave only what is being
used in the design prototype.

Initialise the Bootstrap tooltips for any anchor tag inside
a table heading with the btn-primary class applied. This
effectively styles the title attribute of the applied
filters to look like all other Toaster tooltips.

(Bitbake rev: 71a07268c3a2e969c088ef9f6bcf4c54254b3600)

Signed-off-by: Belen Barros <belen.barros.pena@intel.com>
Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: Clean up default.css
Belen Barros [Mon, 3 Feb 2014 11:27:02 +0000 (11:27 +0000)]
bitbake: toaster: Clean up default.css

Getting rid of all unused css declarations, grouping
and annotating to make the file more readable.

(Bitbake rev: 90409869d49468d31daa60880f54774c4b24d5aa)

Signed-off-by: Belen Barros <belen.barros.pena@intel.com>
Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: Implementation of package detail views
Dave Lerner [Thu, 23 Jan 2014 17:47:41 +0000 (11:47 -0600)]
bitbake: toaster: Implementation of package detail views

Adds new package detail views.  The views are based on
specifications found in attachments to:
    https://bugzilla.yoctoproject.org/show_bug.cgi?id=4328
specifically:
    design-1.5.1-package-details.pdf, and
    design-1.1.1-included-package-details.

This patch includes a redefinition of constant numbers for
task dependency tasks. This is needed in order to achieve
sorting criteria from the design.

This change invalidates currently dependency information for
currently existing builds, as it breaks compatibility.

[YOCTO #4328]

(Bitbake rev: 6855925c06e7e5bb15ae9d0c08d77f3a9a2574bc)

Signed-off-by: Dave Lerner <dave.lerner@windriver.com>
Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: Added sorting to other columns in All tasks table
Ravi Chintakunta [Sat, 25 Jan 2014 23:27:35 +0000 (18:27 -0500)]
bitbake: toaster: Added sorting to other columns in All tasks table

Added sorting to recipe, time, cpu, disk i/o and log columns of
all tasks table

(Bitbake rev: 277d076d777f26f215f01cac59302bcf9cf44a9c)

Signed-off-by: Ravi Chintakunta <ravi.chintakunta@timesys.com>
Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: Fix builds view filter options to match changes in filter dialog
Ravi Chintakunta [Wed, 22 Jan 2014 02:43:33 +0000 (21:43 -0500)]
bitbake: toaster: Fix builds view filter options to match changes in filter dialog

Filter dialog uses an array of tuples for filter options.Fixed the builds view
by changing the filter options from a dictionary to a list of tuples.

(Bitbake rev: bac1ca6e276b2e276b844d1009dba964810a2957)

Signed-off-by: Ravi Chintakunta <ravi.chintakunta@timesys.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: Filter Dialog fix to display filter options as radio buttons
Ravi Chintakunta [Fri, 17 Jan 2014 21:27:29 +0000 (16:27 -0500)]
bitbake: toaster: Filter Dialog fix to display filter options as radio buttons

- Filter options are displayed as radio buttons in the filter dialog.
- To preserve the order of the filter options, the options are passed
as tuples inside a list, instead of key/value pairs of a dictionary. Changed
the filter dialog code to use the tuple

(Bitbake rev: 5e475b312348fa45312946b528648739c78da2ba)

Signed-off-by: Ravi Chintakunta <ravi.chintakunta@timesys.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: Removed unused 'disabled' css class in Filter dialog
Ravi Chintakunta [Sat, 25 Jan 2014 23:52:53 +0000 (18:52 -0500)]
bitbake: toaster: Removed unused 'disabled' css class in Filter dialog

(Bitbake rev: 8cd978ec3cc56e3f30d58d17188e67296bdb120b)

Signed-off-by: Ravi Chintakunta <ravi.chintakunta@timesys.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolib/oe/image.py: fix working directory
Jonathan Liu [Mon, 17 Feb 2014 10:46:28 +0000 (21:46 +1100)]
lib/oe/image.py: fix working directory

The working directory needs to be changed before the image creation
commands instead of afterwards.

(From OE-Core rev: 9d9bca8785911e8ae06d507bbfb99d6a811f072e)

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake-prserv-tool: make help text show .conf suffix
Koen Kooi [Sat, 15 Feb 2014 15:28:55 +0000 (16:28 +0100)]
bitbake-prserv-tool: make help text show .conf suffix

'export' will accept any output filename, but 'import' needs a '.conf'
suffix to work. Otherwise you'll get:

koen@beast:/build/v2013.12$ bitbake-prserv-tool import x.txt
ERROR: Traceback (most recent call last):
  File "/build/v2013.12/sources/bitbake/lib/bb/cookerdata.py", line 162,
in wrapped
    return func(fn, *args)
  File "/build/v2013.12/sources/bitbake/lib/bb/cookerdata.py", line 172,
in parse_config_file
    return bb.parse.handle(fn, data, include)
  File "/build/v2013.12/sources/bitbake/lib/bb/parse/__init__.py", line
100, in handle
    raise ParseError("not a BitBake file", fn)
ParseError: ParseError in x.txt: not a BitBake file

ERROR: Unable to parse x.txt: ParseError in x.txt: not a BitBake file
Importing from file x.txt failed!

(From OE-Core rev: 704878ba025fda931be6accbb74cfdb14ffb55e9)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agorunqemu: add ability to skip using an existing tap device
Scott Garman [Sat, 15 Feb 2014 19:04:47 +0000 (11:04 -0800)]
runqemu: add ability to skip using an existing tap device

Support the sitauation where a user could have another VM running
which uses tap devices. To prevent runqemu from trying to use the
same tap device, runqemu will skip using a tap device if it finds
a filename tapX.skip within its lock directory.

This fixes [YOCTO #5815]

(From OE-Core rev: 2e490f3b08176b20fe41c64cf17ecf3b5af61f39)

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoopenssl: Fix build on uclibc
Khem Raj [Sun, 16 Feb 2014 01:45:25 +0000 (01:45 +0000)]
openssl: Fix build on uclibc

we need to map OS string correctly to include linux-uclibcspe
which is what we use with ppc+spe on uclibc, additionally move
gnuspe triplet mapping to same code as well

(From OE-Core rev: d9ee01e4043b8b321d7c374797492ef3c4c2e0de)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agousbutils: Patch to detect iconv support
Khem Raj [Sat, 15 Feb 2014 02:54:37 +0000 (18:54 -0800)]
usbutils: Patch to detect iconv support

Fixes build failures on uclibc

| lsusb-usbmisc.o: In function `usb_string_to_native':
|
/home/kraj/work/angstrom-repo/build/tmp-angstrom_next-uclibc/work/armv7at2hf-vfp-neon-angstrom-linux-uclibceabi/usbutils/007-r0/usbutils-007/usbmisc.c:190:
undefined reference to `libiconv_open'
|
/home/kraj/work/angstrom-repo/build/tmp-angstrom_next-uclibc/work/armv7at2hf-vfp-neon-angstrom-linux-uclibceabi/usbutils/007-r0/usbutils-007/usbmisc.c:199:
undefined reference to `libiconv'
|
/home/kraj/work/angstrom-repo/build/tmp-angstrom_next-uclibc/work/armv7at2hf-vfp-neon-angstrom-linux-uclibceabi/usbutils/007-r0/usbutils-007/usbmisc.c:202:
undefined reference to `libiconv_close'
| collect2: error: ld returned 1 exit status
| make[2]: *** [lsusb] Error 1

(From OE-Core rev: c782d07597c9839aca755c63c65b46c165d54042)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agorpm: fix a endian incompatible error in generating tag
Ming Liu [Mon, 17 Feb 2014 08:48:15 +0000 (16:48 +0800)]
rpm: fix a endian incompatible error in generating tag

A flaw was found in the way rpm generating arbitrary tags, which leads to a
incorrect query result, this issue is introduced by a incompatible endianess
when the generating process is executed on different architectures.

This patch resolves it by taking the byte order that host uses.

(From OE-Core rev: b4b79a78012c64e3a19545972512153b1fe64b4d)

Signed-off-by: Ming Liu <ming.liu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: build: fix handling of task override for tasks with underscores in their...
Paul Eggleton [Mon, 17 Feb 2014 14:07:41 +0000 (14:07 +0000)]
bitbake: build: fix handling of task override for tasks with underscores in their names

Tasks whose names contain underscores (such as do_populate_sdk in OE)
when converted to a task override do not function properly. If we
replace underscores with hyphens we can still have a working override
for these tasks.

(Bitbake rev: cf90bd6b2a0ab7dce922bffb500d6a2ff2ff10e2)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: parse: make vars_from_file return None for non-recipes
Paul Eggleton [Mon, 17 Feb 2014 14:07:40 +0000 (14:07 +0000)]
bitbake: parse: make vars_from_file return None for non-recipes

It doesn't really make sense to set PN from .conf files, for example.
More concretely, this avoids the config hash changing unnecessarily
within Hob due to PN effectively changing (since bblayers.conf is
parsed first and then .hob.conf).

(Bitbake rev: 22e03ef7ac9bb6b7245250347ae9c10c19f1d74e)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agomatchbox-keyboard: daemonize launch
Alexandre Belloni [Mon, 17 Feb 2014 12:49:59 +0000 (13:49 +0100)]
matchbox-keyboard: daemonize launch

The .shbg extension is not properly supported by the Xsession script
provided by xserver-common.

See discussion here:
https://lists.yoctoproject.org/pipermail/poky/2013-December/009463.html

Bug here:
https://bugzilla.yoctoproject.org/show_bug.cgi?id=5546

(From OE-Core rev: 5d38923f677c55941c7efc95d66e8ec0fd49d0ab)

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoclasses/populate_sdk_base: optimise task dependencies
Paul Eggleton [Mon, 17 Feb 2014 14:22:30 +0000 (14:22 +0000)]
classes/populate_sdk_base: optimise task dependencies

We don't need to depend on do_package anymore after the split out of
do_packagedata (which happened a while back in OE-Core commit
6107ee294afde395e39d084c33e8e94013c625a9). We do need dependencies on
do_packagedata though since the SDK construction needs to make use of
the pkgdata files.

(From OE-Core rev: 8491b998d290f9717d537ca84bc2beb475cf3ced)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoclasses/populate_sdk_base: fix race condition with do_rootfs
Paul Eggleton [Mon, 17 Feb 2014 14:22:29 +0000 (14:22 +0000)]
classes/populate_sdk_base: fix race condition with do_rootfs

do_rootfs has ${S} in cleandirs, and during do_populate_sdk we call
exec_func() several times, which by default uses ${B} as the working
directory. If do_populate_sysroot and do_rootfs race against eachother,
the directory may not exist at the exact instant that the setup code
for do_populate_sdk tries to cd into it. We don't actually use ${B}
for do_populate_sysroot so we can set it to something else just for that
task to avoid the race.

NOTE: because this task name contains an underscore, the override will
not work; the BitBake patch that changes these to hyphens for the
task override is required for this patch to work (but won't break things
without it.)

(From OE-Core rev: 53578cef2cbc59dcc637d1cc561f63b3c448425a)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoeglibc-locale: add eglibc-gconv to PACKAGES_DYNAMIC
Paul Eggleton [Mon, 17 Feb 2014 14:22:28 +0000 (14:22 +0000)]
eglibc-locale: add eglibc-gconv to PACKAGES_DYNAMIC

If you try to add eglibc-gconv to an image, you'll get a NoProvider
error because nothing at parse time states that it provides this (it's
added to PACKAGES in populate_packages). This problem manifests itself
in Hob for example when customising an image.

(From OE-Core rev: f9e678bd854c65e01d14c14bafd7c1550db55f24)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake.conf: add BBINCLUDED and BB_INVALIDCONF to config hash whitelist
Paul Eggleton [Mon, 17 Feb 2014 14:22:27 +0000 (14:22 +0000)]
bitbake.conf: add BBINCLUDED and BB_INVALIDCONF to config hash whitelist

These variables should not influence the config hash, i.e. changing them
shouldn't trigger a reparse of the metadata, so whitelist them.

(From OE-Core rev: 8feb51267647d0760f5bec3a8b6f95f4481d9b0d)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agorecipes: convert remaining SUMMARY/DESCRIPTION cosmetic issues
Matthieu Crapet [Fri, 14 Feb 2014 17:15:36 +0000 (18:15 +0100)]
recipes: convert remaining SUMMARY/DESCRIPTION cosmetic issues

Rename SUMMARY with length > 80 to DESCRIPTION.
Note: don't bump PR

(From OE-Core rev: b5292d4115a4555a66b5e35acdc67dd71fb8577f)

Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agowayland: upgrade to 1.4.0
Valentin Popa [Thu, 13 Feb 2014 13:45:19 +0000 (15:45 +0200)]
wayland: upgrade to 1.4.0

(*) tested on qemux86 and genericx86 with
core-image-weston and core-image-sato

(From OE-Core rev: 46100431a726010645824a84850fd7bef8cc923b)

Signed-off-by: Valentin Popa <valentin.popa@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoweston: upgrade to 1.4.0
Valentin Popa [Thu, 13 Feb 2014 13:45:20 +0000 (15:45 +0200)]
weston: upgrade to 1.4.0

(*) added fbdev backend in case the user will
    want to use weston even if drm fails.
(*) removed tablet-shell flag because in 1.4
    tablet-shell has been removed from src.
(*) tested on qemux86 and genericx86 with
    core-image-weston and core-image-sato.

(From OE-Core rev: 270ed9322dbd40b61e31ee9ab27cf7af5d433c1c)

Signed-off-by: Valentin Popa <valentin.popa@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopackage.bbclass: do_split_packages should always return something.
Josua Mayer [Fri, 14 Feb 2014 15:02:24 +0000 (16:02 +0100)]
package.bbclass: do_split_packages should always return something.

So far, when do_split_packages is passed a non-existing folder, it will return nothing.
While building Mesa with PACKAGECONFIG="egl gles" for qemux86, do_package threw a nice exception on a line reading "pkgs += do_split_packages":
"Exception: TypeError: 'NoneType' object is not iterable"
I think a function should always return something, and in this specific case, returning an empty list should be right.
This patch simply fixes the return statement to do just that.

(From OE-Core rev: 39737e00e85bd4a6053f63f0c959fd424aa009be)

Signed-off-by: Josua Mayer <josua.mayer97@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agonspr: Update to 4.10.3
Saul Wold [Thu, 13 Feb 2014 17:59:08 +0000 (09:59 -0800)]
nspr: Update to 4.10.3

(From OE-Core rev: fd39da0a6134c4e14776428f7fd6d712a7ed96ce)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibcheck: Update to 0.9.12
Saul Wold [Thu, 13 Feb 2014 17:58:32 +0000 (09:58 -0800)]
libcheck: Update to 0.9.12

(From OE-Core rev: 9dac3f13c26748cbea0ebc21fed2055eeb0a28c8)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibxkbcommon: Update to 0.3.2
Saul Wold [Thu, 13 Feb 2014 17:57:53 +0000 (09:57 -0800)]
libxkbcommon: Update to 0.3.2

(From OE-Core rev: f053427be02c795f7a6c0d624f755c875e90255a)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoman-pages: Update to 3.56
Saul Wold [Thu, 13 Feb 2014 17:57:29 +0000 (09:57 -0800)]
man-pages: Update to 3.56

(From OE-Core rev: 0d687b7355fc1b94905017e1253139619499ed8c)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agohelp2man: Update to 1.44.1
Saul Wold [Thu, 13 Feb 2014 17:55:53 +0000 (09:55 -0800)]
help2man: Update to 1.44.1

(From OE-Core rev: 8ef2cc0360f8bf1ac550bb2943fb1b26bf987e91)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoclasses/cpan-base: fix signatures changing when perl is in sysroot
Paul Eggleton [Tue, 11 Feb 2014 18:00:15 +0000 (18:00 +0000)]
classes/cpan-base: fix signatures changing when perl is in sysroot

The previous fix for this same issue (OE-Core rev
f31f6a70ec24e8c9515d69c5092e15effc5e7d4d) was not sufficient - we are
setting the PERLVERSION variable from the get_perl_version function, but
we're setting it using immediate expansion; thus the value is going into
the signature and is still different between the time the recipe is
cached on an empty TMPDIR and after perl is in the sysroot and we run
bitbake -S perf. We could remove the immediate expansion, but that would
mean the get_perl_version function would be called more often, so just set
vardepvalue on the PERLVERSION variable to fix the problem instead.

(From OE-Core rev: 262a62dff2d7f0902d717c734fcf5563e96a38bc)

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>
10 years agodiffstat: enable ptest support
Chong Lu [Tue, 11 Feb 2014 01:18:40 +0000 (09:18 +0800)]
diffstat: enable ptest support

Install diffstat test suite and run it as ptest.

(From OE-Core rev: 63cf8ab1ffdb04278aeb28b6ffce22ff7b272e29)

Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoattr: enable ptest support
Chong Lu [Sun, 26 Jan 2014 09:51:29 +0000 (17:51 +0800)]
attr: enable ptest support

Install attr test suite and run it as ptest.
ext test cases need depend on specific filesystem. So exclude them
order to make ptest all pass.

(From OE-Core rev: 4395504e5f2af16e108a67962ab7cbcab26aa444)

Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoacl: enable ptest support
Chong Lu [Sun, 26 Jan 2014 07:50:14 +0000 (15:50 +0800)]
acl: enable ptest support

Install acl test suite and run it as ptest.
nfs test cases need depend on nfs service. So exclude them order to
make ptest all pass.

(From OE-Core rev: 9b42aacca362ea5c404e2fd3ac25a51790ba41a5)

Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolib/oe/package_manager: Make empty package directories non-fatal
Richard Purdie [Sun, 16 Feb 2014 16:29:25 +0000 (16:29 +0000)]
lib/oe/package_manager: Make empty package directories non-fatal

Its perfectly reasonable to call -c package-index with empty package
directories. This ensures the builds don't fail in such cases,
resolving autobuilder failures.

(From OE-Core rev: 11e2aaf2d751277e3e99ac2acbbeff2b7227be94)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoadt-installer: Disable multilibs
Richard Purdie [Sun, 16 Feb 2014 16:05:27 +0000 (16:05 +0000)]
adt-installer: Disable multilibs

This recipe is pointless as a multilib and worse, it races agaist itself
causing autobuilder failures. Disable the multilib case.

(From OE-Core rev: e927e838cf2b4d6c2a55421f2db957dcfb186b8a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: runqueue: Fix silly variable overlap
Richard Purdie [Sat, 15 Feb 2014 13:49:38 +0000 (13:49 +0000)]
bitbake: runqueue: Fix silly variable overlap

A previous commit of mine used the target variable for two different uses
resulting in a lot more sstate being installed than is needed.

Fix the variable to use two different names and unbreak the setscene
behaviour.

(Bitbake rev: f975ca2cf728561bd6317ed8f76303598546113a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopackage_manager.py: move multilib prefix list computation function to RpmIndexer
Laurentiu Palcu [Fri, 14 Feb 2014 17:45:12 +0000 (17:45 +0000)]
package_manager.py: move multilib prefix list computation function to RpmIndexer

Since the code from anonymous function in rootfs_rpm.bbclass has been
removed, MULTILIB_PREFIX_LIST variable was never set. Hence not all
directories got indexed.

This commit will move the multilib prefix list computation function from
RpmPM class to RpmIndexer, since the indexer needs it too. I was hoping
to avoid this but, unfortunately, I couldn't.

(From OE-Core rev: d3ba249aa1bf68aaeed226e934a4f4d5b7a19286)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolinux-yocto/3.10: enable CONFIG_FHANDLE for standard and preempt-rt kernels
Bruce Ashfield [Fri, 14 Feb 2014 19:13:57 +0000 (14:13 -0500)]
linux-yocto/3.10: enable CONFIG_FHANDLE for standard and preempt-rt kernels

    CONFIG_FHANDLE is now a requirement for systemd support:

      http://cgit.freedesktop.org/systemd/systemd/commit/README?id=c2cb7cbbd526e572b1caa1d7f70be68195b513a9

    So we add it into our default standard and preempt-rt kernel types, the
    overhead is small and having this always configured allows init system
    switching, without a kernel rebuild.

(From OE-Core rev: 63d5be8f7fec74a7e4bac36b28e93071119cdf6d)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolinux-yocto/3.10: add minnow-io feature to LTSI
Bruce Ashfield [Fri, 14 Feb 2014 19:13:56 +0000 (14:13 -0500)]
linux-yocto/3.10: add minnow-io feature to LTSI

The initial merge of the LTSI 3.10 content was missing the minnow-io feature.
This has now been added to standard/ltsi and merged to all branches in the
tree. We also update the meta branch to ensure that the existing feature
will not attempt to apply patches to the tree, since they have now been
integrated.

(From OE-Core rev: 8569e2488e45fc7cabbdafe240ca404b2b2e8519)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolinux-yocto/3.10: arbitrary write with CONFIG_X86_X32 (CVE-2014-0038)
Bruce Ashfield [Fri, 14 Feb 2014 19:13:55 +0000 (14:13 -0500)]
linux-yocto/3.10: arbitrary write with CONFIG_X86_X32 (CVE-2014-0038)

Integrating the upstream commit for CVE-2014-0038.

(From OE-Core rev: 9073969d7b7d5d20377ab0c1a49f8e5bb051601b)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolinux-yocto/3.10: update to v3.10.28
Bruce Ashfield [Fri, 14 Feb 2014 19:13:54 +0000 (14:13 -0500)]
linux-yocto/3.10: update to v3.10.28

Updating the 3.10 kernel SRCREVs to integrate the v3.10.27, 27 and 28 -stable
releases.

(From OE-Core rev: 91fb7cfaeb8ea1c05a15a0be8a56ac50b95fd6e4)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosystemtap_git: update to newer version to fix a build issue
Nitin A Kamble [Fri, 14 Feb 2014 18:18:08 +0000 (10:18 -0800)]
systemtap_git: update to newer version to fix a build issue

This build issue was observed with the 2.4+git version of the systemtap.

.../x86_64-linux/systemtap-native/2.4+gitAUTOINC+9190b3acfe-r0/git/tapsets.cxx: In function 'void validate_module_elf(Dwfl_Module*, const char*, base_query*)':
.../x86_64-linux/systemtap-native/2.4+gitAUTOINC+9190b3acfe-r0/git/tapsets.cxx:1998:10: error: 'EM_AARCH64' was not declared in this scope
.../x86_64-linux/systemtap-native/2.4+gitAUTOINC+9190b3acfe-r0/git/tapsets.cxx: In constructor 'sdt_uprobe_var_expanding_visitor::sdt_uprobe_var_expanding_visitor(systemtap_session&, int, const string&, const string&, const string&, stap_sdt_probe_type, const string&, int)':
.../x86_64-linux/systemtap-native/2.4+gitAUTOINC+9190b3acfe-r0/git/tapsets.cxx:5613:31: error: 'EM_AARCH64' was not declared in this scope

This is a known issue, and it is already fixed in the upstream tree.

Updating the recipe to get the commit which fixes the issue.

(From OE-Core rev: 5170f58f4a46edead40d98f302ba3294e078c113)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosocat: upgrade to 1.7.2.3
Hongxu Jia [Thu, 13 Feb 2014 02:54:05 +0000 (10:54 +0800)]
socat: upgrade to 1.7.2.3

The package has been successfully compiled for all major architectures.

(From OE-Core rev: 5d509fde3acc3dd94a259dc171a9331367d250cc)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoimage_types: sum.jffs2 is replaced by jffs2.sum
Dmitry Eremin-Solenikov [Thu, 13 Feb 2014 12:06:22 +0000 (16:06 +0400)]
image_types: sum.jffs2 is replaced by jffs2.sum

Previous commit added support for sum 'compression' (rather
postprocessing) of jffs2 images. Drop support for sum.jffs2 image type.

(From OE-Core rev: 295c6c1452c8789a8b1d0090ff09a5cd7cf16507)

Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoimage_types bbclass: use compression framework for jffs2 sum images
Dmitry Eremin-Solenikov [Thu, 13 Feb 2014 12:06:21 +0000 (16:06 +0400)]
image_types bbclass: use compression framework for jffs2 sum images

I got hit by a missing dependency in generation of sum.jffs2 images - at
runtime, when images are generated using bitbake pool, it is possible
for sum.jffs2 image to be scheduled for generation before jffs2 image is
fully generated.

Insted of adding additional hacks, reimplement sum.jffs2 generation as a
compression scheme on top of plain jffs2 images. For now support for
sum.jffs2 images is left in, it will be removed by the subsequent
commit.

(From OE-Core rev: 2a15a364fdf85b0b18ba63fdb2a745a52b96478e)

Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoflex: enable ptest support
Chong Lu [Fri, 14 Feb 2014 09:47:27 +0000 (17:47 +0800)]
flex: enable ptest support

Install flex test suite and run it as ptest.

(From OE-Core rev: 3ca11e4c5efcccfa06b4109e69ce7d42d02ce8e4)

Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoflex: upgrade to 2.5.38
Chong Lu [Fri, 14 Feb 2014 09:47:26 +0000 (17:47 +0800)]
flex: upgrade to 2.5.38

Upgrade flex to 2.5.38.

(From OE-Core rev: 9a773595838267979df8279693c353d1bc22981b)

Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoflac: upgrade to 1.3.0
Cristian Iorga [Wed, 12 Feb 2014 16:42:32 +0000 (18:42 +0200)]
flac: upgrade to 1.3.0

- Updated description, bugtracker and source;
- Switched to ${BP} variable;
- 0001-No-AltiVec-on-SPE.patch,
flac-gcc43-fixes.patch, asm-pic.patch,
obsolete_automake_macros.patch patches
removed, included in upstream;
- Licenses checksums changed due to added
copyright owners and street adresses changed;
- Backported 1.3.0 specific fix;
- Removed obsolete PPC fix;
- Added support for SSE optimizations;
- Removed default ${S} definition;
- Removed xmms unneeded prefixes.

Build on all qemu arch;
Tested on qemux86-64 and qemuppc.

(From OE-Core rev: 85ac4d82c77e3cab6a5867e4ec110ba07023838b)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoreport-error.bbclass: new class to save build information when errors occur
Andreea Proca [Fri, 14 Feb 2014 11:58:43 +0000 (13:58 +0200)]
report-error.bbclass: new class to save build information when errors occur

Class is used to save data about errors after every task that failed.
Errors saved as json files in ERROR_REPORT_DIR (defaults to tmp/log/error-report).
To use this class one has to add INHERIT += "report-error" to local.conf.

scripts/send-error-report is a simple script that sends the json file
to a HTTP server that collects data (git://git.yoctoproject.org/error-report-web
is a Django web interface that can be used to receive and visualize
the error reports). The script will give you an URL where you can
find your report.

(From OE-Core rev: f186b4c7c6c975638e60b30a512d669dc6dc390f)

Signed-off-by: Andreea Proca <andreea.b.proca@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopackage_*.bbclass: remove references to the old bash indexing routines
Laurentiu Palcu [Fri, 14 Feb 2014 11:01:07 +0000 (13:01 +0200)]
package_*.bbclass: remove references to the old bash indexing routines

Package indexing is done in python and package-index.bb uses the new
routines.

(From OE-Core rev: 2ab1a2bccfbb4ed90fe3b877d1be80817ba32099)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopackage-index.bb: use the new python indexing routines
Laurentiu Palcu [Fri, 14 Feb 2014 11:01:06 +0000 (13:01 +0200)]
package-index.bb: use the new python indexing routines

(From OE-Core rev: 1ee44591a8475121ea949cd2d8518a6dac965a19)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopackage_manager.py, rootfs.py, sdk.py: add Indexer class
Laurentiu Palcu [Fri, 14 Feb 2014 11:01:05 +0000 (13:01 +0200)]
package_manager.py, rootfs.py, sdk.py: add Indexer class

Because the package-index.bb needs to create package indexes outside
do_rootfs environment, move the indexing capability out of
PackageManager class to a smaller Indexer class.

This commit:
 * simply moves the indexing functions for ipk/deb with no changes;
 * rewrites the RPM indexing function so that it can be easily moved out
   of the PackageManager class;
 * removes some RPM duplicate code, moves it into a method inside
   RpmPM class and changes the RpmPM constructor so that the new method
   is effective;

(From OE-Core rev: d339d6f48f81330e94162f333aad76f3c65d6bfd)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosystemd: Refresh patches for uclibc
Khem Raj [Fri, 14 Feb 2014 08:15:46 +0000 (00:15 -0800)]
systemd: Refresh patches for uclibc

With recent patches added some of uclibc specific patches need
to be refreshed.

(From OE-Core rev: f3fa7577e8153b537948cf48711ffe03dbab6b3b)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: runqueue: Ensure we do run 'masked' setscene tasks if specified as targets
Richard Purdie [Thu, 13 Feb 2014 15:01:25 +0000 (15:01 +0000)]
bitbake: runqueue: Ensure we do run 'masked' setscene tasks if specified as targets

If you specify multiple targets on bitbake's commandline and some of them are
setscene tasks which are "masked" by other tasks they may not get run.

For example <image>:do_rootfs <kernel>:do_populate_sysroot

the rootfs tasks "masks" the populate_sysroot task so bitbake would currently
decide not to run it. In this case, we do really want it to be run.

The fix is not to skip anything which has been given as an explict target.

(Bitbake rev: 0753899d1e855795cc18671357609a86f169b379)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agorunqemu: enforce right CPU type for qemux86/x86-64
Cristian Iorga [Thu, 13 Feb 2014 15:26:51 +0000 (17:26 +0200)]
runqemu: enforce right CPU type for qemux86/x86-64

Set in accordance with qemu machines configs.

Fixes [YOCTO #5817].

(From OE-Core rev: 0e5cfef90ff762b33da6dc301dfc9cb3947c8a02)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobuildhistory.bbclass: create wrapper functions around buildhistory_get_sdk_installed
Laurentiu Palcu [Thu, 13 Feb 2014 13:49:14 +0000 (15:49 +0200)]
buildhistory.bbclass: create wrapper functions around buildhistory_get_sdk_installed

bb.build.exec_func() does not allow passing arguments to the executed
scripts. Use wrappers instead.

(From OE-Core rev: c3dd44b751e351be52512e2aff885bf571c95fe5)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agohwatdetect: Fix build failures from undeclared INC_PR
Richard Purdie [Thu, 13 Feb 2014 16:55:58 +0000 (16:55 +0000)]
hwatdetect: Fix build failures from undeclared INC_PR

(From OE-Core rev: 3df19b8e551d195d57a0299acfe9e6a4f79b4510)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolib/oe/rootfs.py: fix RPM multilib issue
Laurentiu Palcu [Thu, 13 Feb 2014 11:55:26 +0000 (13:55 +0200)]
lib/oe/rootfs.py: fix RPM multilib issue

For some odd reason (at least I couldn't find an explanation to this,
yet), if a multilib version of a package is installed after the main one
(that is: in a different smart session), the main package binaries are
not overwritten.

This commit restores the functionality to the original one, before
migrating to python: feed all the packages to smart, apart from attempt
only ones which are installed separately.

(From OE-Core rev: 1fa94697163f16cdbb1499b57f1bc018546974ee)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoRevert "nss: avoid to use the hardcode kernel version"
Richard Purdie [Thu, 13 Feb 2014 12:04:51 +0000 (12:04 +0000)]
Revert "nss: avoid to use the hardcode kernel version"

This reverts commit 4c80c557508e088fe226bfa1834464b505404652.

We *cannot* have nss becoming machine specific, that makes no sense.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agokernel.bbclass, base.bbclass: Fix support for old kernel configuration
Otavio Salvador [Wed, 12 Feb 2014 15:54:17 +0000 (13:54 -0200)]
kernel.bbclass, base.bbclass: Fix support for old kernel configuration

This solves a regression introduced by OE-Core:9b75f6a (kernel:
use oldnoconfig before yes '' | make oldconfig).

The original oe_runmake explicitly calls 'die' command in case of
failure so the fallback code never runs. The fallback code needs
to handle the oe_runmake return code to call the backward
compatible callback so we introduced a new command called
oe_runmake_call which is used by oe_runmake.

This does not change the functional behaviour of oe_runmake so it
avoids any change except for the code which does need to handle
the oe_runmake exit code.

(From OE-Core rev: 51707282fc2c5a74588b2d79b2229513a883924f)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoinitscripts: fix syntax error in postinsts
Chen Qi [Thu, 13 Feb 2014 07:26:04 +0000 (15:26 +0800)]
initscripts: fix syntax error in postinsts

Fix syntax error in pkg_postinst of initscripts.

(From OE-Core rev: 8240975b937197aee5ab1d651997fe500e8bbd91)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agonss: avoid to use the hardcode kernel version
Roy Li [Thu, 13 Feb 2014 03:48:58 +0000 (11:48 +0800)]
nss: avoid to use the hardcode kernel version

Read kernel version from ${STAGING_KERNEL_DIR}/kernel-abiversion, to avoid
to use the hardcode kernel version.

(From OE-Core rev: 4c80c557508e088fe226bfa1834464b505404652)

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years ago(image|rootfs_ipk).bbclass, rootfs.py: ipk multilib fixes
Laurentiu Palcu [Wed, 12 Feb 2014 14:33:44 +0000 (16:33 +0200)]
(image|rootfs_ipk).bbclass, rootfs.py: ipk multilib fixes

This commit whitelists some common directories, so the multilib sanity
checks pass and also fixes an issue in lib/oe/rootfs.py when the
compared files do not exist.

(From OE-Core rev: 4615ac771175cd413f461c081f7d3191c49ccc4b)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopuzzles: upgrade to r10116
Marius Avram [Thu, 6 Feb 2014 10:54:11 +0000 (12:54 +0200)]
puzzles: upgrade to r10116

License has not changed.
Contains changes to the building system.

(From OE-Core rev: c855431a88ee68b39249a48aa6a8b62b225f0dd2)

Signed-off-by: Marius Avram <marius.avram@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobusybox-syslog: add more comments to systemd configuration file
Chen Qi [Tue, 11 Feb 2014 07:16:18 +0000 (15:16 +0800)]
busybox-syslog: add more comments to systemd configuration file

Add more comments to the systemd configuration file for busybox's
syslogd utility. The purpose is to easy the life of system administrators.

These comments are mostly derived from the comments in syslogd.c in
busybox.

[YOCTO #5722]

(From OE-Core rev: eba4f2bd2a0becc086f107dbd0d3ec5222c5eed2)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosysstat: upgrade to 10.2.1
Chen Qi [Mon, 10 Feb 2014 08:53:47 +0000 (16:53 +0800)]
sysstat: upgrade to 10.2.1

Upgrade sysstat to stable release 10.2.1.

(From OE-Core rev: 7406a31a40d18b88de517891f163d002a5f75d78)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopackage: Remove the before do_build constraint of the do_package task
Richard Purdie [Wed, 12 Feb 2014 12:12:23 +0000 (12:12 +0000)]
package: Remove the before do_build constraint of the do_package task

Currently, if you bitbake xxxx, it will restore the package_write_,
packagedata, populate_sysroot *and* the package data from sstate.

We generally care about the packagedata and the actual packages, we
no longer need/care about the do_package data itself unless something
is going to repackage.

By relaxing this constraint (and relying on the packagedata target), we
can save things being installed from sstate and hence speedup build times.

(From OE-Core rev: 4fda89477a2d7c1b3186bf4896297338ed64c448)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agometa/recipes: Remove virtclass references
Richard Purdie [Wed, 12 Feb 2014 12:11:34 +0000 (12:11 +0000)]
meta/recipes: Remove virtclass references

The virtclass overrides will go away at some point (apart from the multilib one).
Change them all to class-xxx instead since people enjoy copy and pasting them.

(From OE-Core rev: d1c073d2813bd913617990cd047507353ea0c09e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agooeqa/runtime: smart: don't run in auto mode when rpm is not the pm
Stefan Stanacar [Wed, 12 Feb 2014 11:49:40 +0000 (13:49 +0200)]
oeqa/runtime: smart: don't run in auto mode when rpm is not the pm

TEST_SUITES = "auto" would run smart tests even for non-rpm images,
which is pointless.

(From OE-Core rev: 1913f38d79a56f7d21999b6839835f967ca28abd)

Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoharfbuzz: upgrade to 0.9.26
Cristian Iorga [Wed, 12 Feb 2014 07:41:33 +0000 (09:41 +0200)]
harfbuzz: upgrade to 0.9.26

switched to ${BP} variable.

(From OE-Core rev: 7d48d7826887bf32a751196a108660bcdd2d87eb)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agotelepathy-mission-control: typo in connectivity switch
Cristian Iorga [Wed, 12 Feb 2014 07:41:32 +0000 (09:41 +0200)]
telepathy-mission-control: typo in connectivity switch

telepathy-mission-control connectivity switch was
mistyped, defeating its purpose.

(From OE-Core rev: e95044462abe7c8346a46db793ca099e88a11c52)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosystemd-serialgetty: Update to match version in recent systemd
Richard Purdie [Tue, 11 Feb 2014 22:48:09 +0000 (22:48 +0000)]
systemd-serialgetty: Update to match version in recent systemd

Whilst debugging other issues I noticed this was out of sync with the code
in systemd itself. This brings things back into sync and shouldn't hurt
anything.

(From OE-Core rev: b188bda18690dc1af1cb5d18bb0f3ad40c9a6cc6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoinitscripts: mask initscripts from systemd
Ross Burton [Tue, 11 Feb 2014 22:43:04 +0000 (22:43 +0000)]
initscripts: mask initscripts from systemd

Many of the init scripts in here will do nasty things if systemd decides to run
them.  Mask the obviously bad ones so that systemd won't attempt to invoke them
if initscripts is installed with systemd.

(From OE-Core rev: 844f897710dfee9c59599d09b5c8c906e0d70ac0)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocurl: fix https certificate problems
Koen Kooi [Tue, 11 Feb 2014 09:54:54 +0000 (10:54 +0100)]
curl: fix https certificate problems

point CA bundle to /etc/ssl/certs/ca-certificates.crt instead of using the buildhost location, Configure would look at the buildhost and hardcode the bundle location for there into the target. This leads to non-working https support.

Also remove the empty and now useless curl-certs packages since it's empty and no ALLOW_EMPTY has been set.

Apart from making https work again with curl cmdline this also fixes libcurl which means git can fetch https repos as well instead of erroring out.

(From OE-Core rev: 2325c1ee13bc3a8474238e8a6c20b6a3c671bf07)

Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosystemd: Enable building microhttpd via PACKAGECONFIG
Khem Raj [Sat, 8 Feb 2014 16:35:19 +0000 (08:35 -0800)]
systemd: Enable building microhttpd via PACKAGECONFIG

This will enables us to use journald-gatewayd

(From OE-Core rev: 09706953cf0e1b97d5b8808bdca1e8c125b8a9f7)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogmp: add configure.ac patch to append user provided compilation flags
Laurentiu Palcu [Tue, 11 Feb 2014 14:58:02 +0000 (16:58 +0200)]
gmp: add configure.ac patch to append user provided compilation flags

gmp configure script is pretty good at auto detecting the ABI and the
tune flags that need to be passes to the compiler. However, the user
provided flags (CFLAGS, CXXFLAGS, CPPFLAGS) take precedence and the ABI
detection may fail, leading to configure errors like the one below:

| configure: error: Oops, mp_limb_t is 32 bits, but the assembler code
| in this configuration expects 64 bits.
| You appear to have set $CFLAGS, perhaps you also need to tell GMP the
| intended ABI, see "ABI and ISA" in the manual.

One solution would be to change the recipe and add the ABI manually, or
let gmp do the job.

So, this patch will:
 * allow the configure process to auto-detect the ABI and tune flags
   properly;
 * append our flags to the detected ones;

[YOCTO #5783]

(From OE-Core rev: 8339b9ac16e7d3206de21a204beffaae5203adbb)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosstate: Exclude SSTATE_EXTRAPATH from checksums
Richard Purdie [Tue, 11 Feb 2014 14:52:22 +0000 (14:52 +0000)]
sstate: Exclude SSTATE_EXTRAPATH from checksums

After the change to allow target recipes to depend on native recipes, the
native checksums becomes all the more critical. Add to this that we're now
accounting for pre/postfuncs and we have a cache reuse issue since the
distro LSB string is getting coded in when it shouldn't be.

This excludes that string and allows one set of native sstate to share
checksums with another set from a different host distro. They're separated
into different directories so this is fine for our use cases.

(From OE-Core rev: 1fa7d4331d994b9eeb6f973d1a1f04cb4df92c13)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoclasses/buildhistory: avoid buildhistory triggering rebuilds (again)
Paul Eggleton [Tue, 11 Feb 2014 16:10:11 +0000 (16:10 +0000)]
classes/buildhistory: avoid buildhistory triggering rebuilds (again)

Postfuncs are now incorporated into task signatures as of BitBake
rev b84d010144de687667cf855ddcb41c9b863c236e, so we need to exclude
the one we're adding to do_fetch. The change to the SSTATEPOSTINSTFUNCS
variable value was also entering the signatures of do_populate_sysroot
and probably other tasks, so we need to use a slightly hacky trick to
avoid that as well.

Apart from the final do_rootfs / do_populate_sysroot, this now means
that adding and removing INHERIT += "buildhistory" will not cause tasks
to be re-run.

Also update the copyright date, properly this time.

(From OE-Core rev: 953df67eb877a6d0fc68d122964440a9a47de3c3)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agort-tests: version bump to 0.87
Maxin B. John [Tue, 11 Feb 2014 15:56:34 +0000 (16:56 +0100)]
rt-tests: version bump to 0.87

- Drop PR and INC_PR.
- license remains the same with cyclictest.c checksum change

(From OE-Core rev: 10c7a45af7085b0442adc495112fed3b9d0f1d3e)

Signed-off-by: Maxin B. John <maxin.john@enea.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolicense.bbclass: Dont create a manifest when using BUILD_IMAGES_FROM_FEEDS
David Nyström [Tue, 11 Feb 2014 15:00:05 +0000 (16:00 +0100)]
license.bbclass: Dont create a manifest when using BUILD_IMAGES_FROM_FEEDS

Wihtout this patch, FEEDS functionality is broken, and creating
a manifest from recipe metadata may be faulty when using FEEDS.

(From OE-Core rev: d926c0bdc58ab6dda55eed52b66dbd5834ced64f)

Signed-off-by: David Nyström <david.nystrom@enea.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: user-manual-metadata.xml: Edits to the "Sharing Functionality" section.
Scott Rifenbark [Tue, 4 Feb 2014 19:36:11 +0000 (13:36 -0600)]
bitbake: user-manual-metadata.xml: Edits to the "Sharing Functionality" section.

Applied some review edits from Paul to the section.

(Bitbake rev: 56321b18808f5ed932543d907b9ebcfbf4420233)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: user-manual-metadata.xml: Edits to "Conditional Syntax (Overrides)"
Scott Rifenbark [Mon, 3 Feb 2014 22:55:51 +0000 (16:55 -0600)]
bitbake: user-manual-metadata.xml: Edits to "Conditional Syntax (Overrides)"

Re-wrote this section to use clearer more described examples.

(Bitbake rev: 6eea23c4783c591c2d2c7f0b2a98e7a0cc8aa3c3)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>