]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
10 years agoclasses/populate_sdk_base: Show title in SDK installer
Paul Eggleton [Mon, 20 Apr 2015 16:47:08 +0000 (17:47 +0100)]
classes/populate_sdk_base: Show title in SDK installer

Show a friendly title when running the SDK installer, so the user knows
what SDK they are installing. The title is controlled by the
SDK_INSTALLER_TITLE variable and includes the distro name and SDK
version by default.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoclasses/populate_sdk_ext: add warning against editing configuration
Paul Eggleton [Mon, 20 Apr 2015 16:47:07 +0000 (17:47 +0100)]
classes/populate_sdk_ext: add warning against editing configuration

It may be tempting to edit the configuration of the encapsulated version
of the build system, however that is not the way it is intended to be
used, so add a warning against doing this.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoclasses/populate_sdk_ext: disable network connectivity check
Paul Eggleton [Mon, 20 Apr 2015 16:47:06 +0000 (17:47 +0100)]
classes/populate_sdk_ext: disable network connectivity check

Most of the time we shouldn't be downloading anything within the
extensible SDK (since it's all pre-built and we have the sstate
artifacts) therefore there's really no need for a connectivity
check, in fact it may just get in the way.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodevtool: force use of bash when running build within extensible SDK
Paul Eggleton [Mon, 20 Apr 2015 16:47:05 +0000 (17:47 +0100)]
devtool: force use of bash when running build within extensible SDK

Ubuntu's default dash shell causes oe-init-build-env to behave a bit
differently - (a) it can't pick up the OE root directory and (b) it
can't see any build directory specified as a command-line argument
(since dash doesn't pass through any arguments specified to sourced
scripts). We could work around these but doing so requires some internal
knowledge of the script; a much simpler fix is just to force running the
command under bash since it's expected to be installed on every distro.

Thanks to Chen Qi <Qi.Chen@windriver.com> for this fix.

Fixes [YOCTO #7614].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agonss: improve the script signlibs.sh
Jackie Huang [Wed, 25 Mar 2015 02:19:15 +0000 (10:19 +0800)]
nss: improve the script signlibs.sh

The *.chk files are installed in ${libdir} by nss,
which is already known, no need to 'find' to get the
file list, and 'ls' is more faster than 'find'.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoutil-linux: Add lastb to alternatives
Bryan Evenson [Mon, 20 Apr 2015 18:43:32 +0000 (14:43 -0400)]
util-linux: Add lastb to alternatives

util-linux creates lastb as a symlink to last during the build.
Just as other applications may provide last, other applications
may provide lastb.

Add alternatives designations for lastb to avoid installation
conflicts with other applications.

Signed-off-by: Bryan Evenson <bevenson@melinkcorp.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoalsa-lib: 1.0.28 -> 1.0.29
Tanu Kaskinen [Mon, 20 Apr 2015 19:45:43 +0000 (22:45 +0300)]
alsa-lib: 1.0.28 -> 1.0.29

Release notes:
http://alsa-project.org/main/index.php/Changes_v1.0.28_v1.0.29

Dropped the backported patches.

Dropped also fix-tstamp-declaration.patch. It's unclear whether the
ancient patch is needed by anyone any more. The original commit
message[1] wasn't very clear on what specific conditions triggered the
build failure that the patch fixes, so it's hard to try to reproduce
the failure.

[1] http://cgit.openembedded.org/openembedded/commit/?id=f61f3efe2389249c001107ccd55dac39e79ef2a1

Signed-off-by: Tanu Kaskinen <tanu.kaskinen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agou-boot.inc: make sure all counter variables are properly unset
Carlos Rafael Giani [Mon, 20 Apr 2015 19:17:08 +0000 (21:17 +0200)]
u-boot.inc: make sure all counter variables are properly unset

The script does "i == j" checks to retrieve the config <-> type pairs from
the UBOOT_MACHINE and UBOOT_CONFIG lists. This check however requires both
j and i to be initially unset. Ensure this by explicitely unsetting i.

This fixes broken u-boot SPL installations with SolidRun machines
(the SPL wasn't being installed and deployed.)

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobison: don't depend on help2man
Robert Yang [Tue, 21 Apr 2015 09:04:01 +0000 (02:04 -0700)]
bison: don't depend on help2man

Fix build error when no help2man on the host:
tmp/work/x86_64-linux/bison-native/3.0.4-r0/bison-3.0.4/build-aux/missing: line 81: help2man: command not found

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoinit-install-efi.sh: fix gummiboot entry installation
Reinette Chatre [Tue, 14 Apr 2015 18:49:37 +0000 (11:49 -0700)]
init-install-efi.sh: fix gummiboot entry installation

After selecting the "install" gummiboot option of a Live image we are
seeing boot failure resulting from the gummiboot entries not being
installed correctly. This seems to be a problem in this init-install-efi.sh
script where it incorrectly installs the gummiboot entries into the root
filesystem, not the boot partition. We fix it by installing the entries in
the boot partition.

Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Acked-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agotxdata: update to 2015c
Armin Kuster [Tue, 14 Apr 2015 05:02:47 +0000 (22:02 -0700)]
txdata: update to 2015c

Changes affecting future time stamps

Egypt's spring-forward transition is at 24:00 on April's last Thursday,
not 00:00 on April's last Friday.  2015's transition will therefore be on
Thursday, April 30 at 24:00, not Friday, April 24 at 00:00.  Similar fixes
apply to 2026, 2037, 2043, etc.  (Thanks to Steffen Thorsen.)

Changes affecting past time stamps

The following changes affect some pre-1991 Chile-related time stamps
in America/Santiago, Antarctica/Palmer, and Pacific/Easter.

The 1910 transition was January 10, not January 1.

The 1918 transition was September 10, not September 1.

The UTC-4 time observed from 1932 to 1942 is now considered to be
standard time, not year-round DST.

Santiago observed DST (UTC-3) from 1946-07-15 through 1946-08-31,
then reverted to standard time, then switched its time zone to
UTC-5 on 1947-04-01.

Assume transitions before 1968 were at 00:00, since we have no data
saying otherwise.

The spring 1988 transition was 1988-10-09, not 1988-10-02.
The fall 1990 transition was 1990-03-11, not 1990-03-18.

Assume no UTC offset change for Pacific/Easter on 1890-01-01,
and omit all transitions on Pacific/Easter from 1942 through 1946
since we have no data suggesting that they existed.

One more zone has been turned into a link, as it differed
from an existing zone only for older time stamps.  As usual,
this change affects UTC offsets in pre-1970 time stamps only.
The zone's old contents have been moved to the 'backzone' file.
The affected zone is America/Montreal.

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agotzcode: update to 2015c
Armin Kuster [Tue, 14 Apr 2015 05:02:46 +0000 (22:02 -0700)]
tzcode: update to 2015c

Changes affecting commentary
 Mention the TZUpdater tool.
 Mention "The Time Now".  (Thanks to Brandon Ramsey.)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogcc-target: remove gcc-plugin-dev from PACKAGES
Robert Yang [Tue, 14 Apr 2015 09:04:44 +0000 (02:04 -0700)]
gcc-target: remove gcc-plugin-dev from PACKAGES

There should be only one dev and dbg package.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibgcc: remove libgcov-dev from PACKAGES
Robert Yang [Tue, 14 Apr 2015 09:04:43 +0000 (02:04 -0700)]
libgcc: remove libgcov-dev from PACKAGES

There should be only one dev and dbg package.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocurl: remove extra dev and staticdev from PACKAGES
Robert Yang [Tue, 14 Apr 2015 09:04:42 +0000 (02:04 -0700)]
curl: remove extra dev and staticdev from PACKAGES

There should be only one dev and dbg package.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoxz: remove liblzma-dev and liblzma-dbg from PACKAGES
Robert Yang [Tue, 14 Apr 2015 09:04:41 +0000 (02:04 -0700)]
xz: remove liblzma-dev and liblzma-dbg from PACKAGES

There should be only one dev and dbg package.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobison: 2.7.1 -> 3.0.4
Robert Yang [Tue, 14 Apr 2015 09:07:12 +0000 (02:07 -0700)]
bison: 2.7.1 -> 3.0.4

* Based on Chong Lu's previous upgrade to 3.0.2
* Remove unneeded patches:
  dont-depend-on-help2man.patch and
  fix_cross_manpage_building.patch

Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agowebkit-gtk: ANGLE doesn't build with bison 3
Chong Lu [Tue, 14 Apr 2015 09:07:14 +0000 (02:07 -0700)]
webkit-gtk: ANGLE doesn't build with bison 3

Use %lex-param to set YYLEX_PARAM.

Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogstreamer: change priv_gst_parse_yylex arguments
Chong Lu [Tue, 14 Apr 2015 09:07:13 +0000 (02:07 -0700)]
gstreamer: change priv_gst_parse_yylex arguments

Change priv_gst_parse_yylex to fit new bison version, else we will
get following error:

| grammar.tab.c: In function 'priv_gst_parse_yyparse':
| grammar.tab.c:67:25: error: too few arguments to function 'priv_gst_parse_yylex'
|  #define yylex           priv_gst_parse_yylex
|                          ^

Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopython-git: 0.3.6 -> 1.0.0
Robert Yang [Tue, 14 Apr 2015 09:07:11 +0000 (02:07 -0700)]
python-git: 0.3.6 -> 1.0.0

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agotcl: 8.6.3 -> 8.6.4
Robert Yang [Tue, 14 Apr 2015 09:07:10 +0000 (02:07 -0700)]
tcl: 8.6.3 -> 8.6.4

The LIC_FILES_CHKSUM has been changed since 2 extra spaces in the end
were moved.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agognu-efi: 3.0.1 -> 3.0.2
Robert Yang [Tue, 14 Apr 2015 09:07:09 +0000 (02:07 -0700)]
gnu-efi: 3.0.1 -> 3.0.2

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agofontcache: allow to pass different fontconfig cache dir
Martin Jansa [Tue, 7 Apr 2015 11:21:13 +0000 (13:21 +0200)]
fontcache: allow to pass different fontconfig cache dir

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agooeqa/utils/decorators: Fix up frame selection
Nathan Rossi [Thu, 16 Apr 2015 08:29:24 +0000 (18:29 +1000)]
oeqa/utils/decorators: Fix up frame selection

Use threading to get the current threads ident to select the current
executing frame to ensure that the scanned stack is the expected stack.

This allows for the decorators to be used within a process that has
multiple threads executing.

Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agorecipes: Fix charset.alias for musl
Khem Raj [Thu, 16 Apr 2015 02:00:25 +0000 (19:00 -0700)]
recipes: Fix charset.alias for musl

This is same gnulib fix replicated across needed recipes

Change-Id: I756713407111a726eae98e26c9c1ff64981371c0
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agomtd-utils: update to latest and fix static inlining
Khem Raj [Thu, 16 Apr 2015 02:00:26 +0000 (19:00 -0700)]
mtd-utils: update to latest and fix static inlining

use static storage class instead of extern for inline functions
and remove duplicate definitions as a result

Change-Id: I72e8c5f19dff656c18f719d1e9e2ca697c9a856f
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibnfsidmap: Include sys/types.h for u_int32_t
Khem Raj [Thu, 16 Apr 2015 02:00:24 +0000 (19:00 -0700)]
libnfsidmap: Include sys/types.h for u_int32_t

Exposed using musl

Change-Id: Ia155850b3dfe62cd7d10b207b94ff3cc1f0244fc
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoparted: Add patches to fix build on musl
Khem Raj [Thu, 16 Apr 2015 02:00:23 +0000 (19:00 -0700)]
parted: Add patches to fix build on musl

Theese patches are actually generic but expose issues
when compiling on musl

Change-Id: Ib5312af280d2c399334c5645fbea215737933ae5
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodistcc:Include missing fcntl.h in zeroconf
Khem Raj [Thu, 16 Apr 2015 02:00:22 +0000 (19:00 -0700)]
distcc:Include missing fcntl.h in zeroconf

This is exposed by musl

Change-Id: I39ea3a66135d33ed0a9abbd94d3c0f39120e3586
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodosfstools: Fix build with musl
Khem Raj [Thu, 16 Apr 2015 02:00:21 +0000 (19:00 -0700)]
dosfstools: Fix build with musl

We need to pass _GNU_SOURCE and include fcntl.h

Change-Id: Ice0597ddac3b275400880d85793ece4b300bec9b
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoopenssh: Upgrade 6.7 - > 6.8
Khem Raj [Thu, 16 Apr 2015 02:00:20 +0000 (19:00 -0700)]
openssh: Upgrade 6.7 - > 6.8

Its a major releaseof openssh, should be fully
compatible with 6.7 additionally works with musl

Change-Id: I903d31247b8a318b9be1c21f764ffe56b5971ca9
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocoreutils: Add code to consider musl when selecting charsets
Khem Raj [Thu, 16 Apr 2015 02:00:19 +0000 (19:00 -0700)]
coreutils: Add code to consider musl when selecting charsets

The real issue is in gnulib where it should be fixed
but gnulib gets imported in source into various components
and that may take a while. So lets fix the componnets versions
and as/if they land in new gnulib with a fix we can take
it off.

Change-Id: I63bbcb7bc4d92cb1ec74bb4f4f5109a377060253
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoat: Remove glibc specific code
Khem Raj [Thu, 16 Apr 2015 02:00:18 +0000 (19:00 -0700)]
at: Remove glibc specific code

Fixes errors like
|
/home/kraj/work/bleeding/openembedded-core/build/tmp-musl/work/i586-oe-linux-musl/at/3.1.16-r0/at-3.1.16/parsetime.y:264:
undefined reference to `__isleap'
| collect2: error: ld returned 1 exit status

Change-Id: Ie6ec970b12c918de640ba47e090b2f67a3a43f4e
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agostrace: fixes for compilation failures with musl
Andre McCurdy [Sat, 18 Apr 2015 00:25:36 +0000 (17:25 -0700)]
strace: fixes for compilation failures with musl

Backports from upstream:

  http://sourceforge.net/p/strace/code/ci/d34e00b293942b1012ddc49ed3ab379a32337611
  http://sourceforge.net/p/strace/code/ci/3460dc486d333231998de0f19918204aacee9ae3

Expected to be released officially as part of strace 4.11

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoe2fsprogs: add ptest
Dmitry Eremin-Solenikov [Sat, 18 Apr 2015 14:58:17 +0000 (17:58 +0300)]
e2fsprogs: add ptest

Enable ptest for e2fsprogs by reusing provided testsuite.

Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibunwind: use gold for all archs
Robert Yang [Mon, 20 Apr 2015 08:05:34 +0000 (01:05 -0700)]
libunwind: use gold for all archs

At least the following boards have build errors without using gold:
qemux86, qemux86-64, qemuarm, qemuaarch64, qemuppc.

The error is:
ld: copy reloc against protected `_Uaarch64_local_addr_space' is invalid
ld: failed to set dynamic section sizes: Bad value
ld: copy reloc against protected `_Uaarch64_local_addr_space' is invalid
ld: failed to set dynamic section sizes: Bad value
| collect2: error: ld returned 1 exit status

So use gold for all archs to fix the problem.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopax-utils: 0.9.2 -> 1.0.3
Robert Yang [Mon, 20 Apr 2015 08:09:22 +0000 (01:09 -0700)]
pax-utils: 0.9.2 -> 1.0.3

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoliberror-perl: 0.17022 -> 0.17023
Robert Yang [Mon, 20 Apr 2015 08:09:21 +0000 (01:09 -0700)]
liberror-perl: 0.17022 -> 0.17023

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocryptodev: 1.6 -> 1.7
Robert Yang [Mon, 20 Apr 2015 08:09:20 +0000 (01:09 -0700)]
cryptodev: 1.6 -> 1.7

* Remove 0002-In-the-3.13-rc1-Linux-kernel-the-INIT_COMPLETION-mac.patch
  since it was a backported patch.

* Updated 0001-Add-the-compile-and-install-rules-for-cryptodev-test.patch.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodbus-glib: 0.102 -> 0.104
Robert Yang [Mon, 20 Apr 2015 08:09:19 +0000 (01:09 -0700)]
dbus-glib: 0.102 -> 0.104

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoccache: 3.1.9 -> 3.1.11
Robert Yang [Mon, 20 Apr 2015 08:09:18 +0000 (01:09 -0700)]
ccache: 3.1.9 -> 3.1.11

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodirectfb: 1.7.6 -> 1.7.7
Robert Yang [Mon, 20 Apr 2015 08:09:17 +0000 (01:09 -0700)]
directfb: 1.7.6 -> 1.7.7

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocracklib: 2.9.2 -> 2.9.3
Robert Yang [Mon, 20 Apr 2015 08:09:16 +0000 (01:09 -0700)]
cracklib: 2.9.2 -> 2.9.3

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosysvinit: Add lastb to alternatives
Bryan Evenson [Mon, 20 Apr 2015 15:07:37 +0000 (11:07 -0400)]
sysvinit: Add lastb to alternatives

SysVinit creates lastb as a symlink to last during the build.
Just as other applications may provide last, other applications
may provide lastb.

Add alternatives designations for lastb to avoid installation
conflicts with other applications.

Signed-off-by: Bryan Evenson <bevenson@melinkcorp.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoudev: Add RCONFLICTS/RREPLACES for udev-utils
Bryan Evenson [Mon, 20 Apr 2015 14:53:47 +0000 (10:53 -0400)]
udev: Add RCONFLICTS/RREPLACES for udev-utils

As of commit 9bb5c7472958aeea46225e835f44d45bea7f7351, the
udev-utils package no longer exists with udev taking ownership
of udevadm.  However, systems that had udev-utils installed have
a conflict with udev.

Add RCONFLICTS and RREPLACES variables for udev-utils so udev-utils
will be removed from systems that are upgrading udev.  This change
would be applicable for master back through dizzy when the problem
was introduced.

Signed-off-by: Bryan Evenson <bevenson@melinkcorp.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolz4: update package to 128 and SRC_URI
Armin Kuster [Tue, 14 Apr 2015 15:53:59 +0000 (08:53 -0700)]
lz4: update package to 128 and SRC_URI

The main reason for the update is to use github
as the project moved away from googlecode.

Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoimage.bbclass: Allow to remove do_rootfs -> virtual/kernel:do_packagedata dependency
Martin Jansa [Mon, 20 Apr 2015 13:04:44 +0000 (15:04 +0200)]
image.bbclass: Allow to remove do_rootfs -> virtual/kernel:do_packagedata dependency

* this is causing dependency loops in some cases
  e.g. linux-hp-tenderloin depends on initramfs-android-image, but
    commit 41f0f86ec0a3e0b6f6c9bb4ef71a4215c00bf66c
    Author: Richard Purdie <richard.purdie@linuxfoundation.org>
    Date:   Tue Jan 27 15:24:52 2015 +0000
    Subject: image: Add missing depends on virtual/kernel for depmod data
  adds also dependency between <image>.do_rootfs and virtual/kernel:do_packagedata
  causing this dependency loop:

Dependency loop #1 found:
  Task 78 (meta-smartphone/meta-hp/recipes-kernel/linux/linux-hp-tenderloin_git.bb, do_install)
    (dependent Tasks ['linux-hp-tenderloin, do_compile',
                      'pseudo, do_populate_sysroot'])
  Task 88 (meta-smartphone/meta-hp/recipes-kernel/linux/linux-hp-tenderloin_git.bb, do_package)
    (dependent Tasks ['rpm, do_populate_sysroot',
                      'pseudo, do_populate_sysroot',
                      'linux-hp-tenderloin, do_install',
                      'initramfs-android-image.bb, do_packagedata',
                      'glibc, do_packagedata',
                      'file, do_populate_sysroot',
                      'gcc-runtime, do_packagedata'])
  Task 89 (meta-smartphone/meta-hp/recipes-kernel/linux/linux-hp-tenderloin_git.bb, do_package_write_ipk)
    (dependent Tasks ['linux-hp-tenderloin, do_package',
                      'opkg-utils, do_populate_sysroot',
                      'linux-hp-tenderloin, do_packagedata',
                      'pseudo, do_populate_sysroot'])
  Task 560 (meta-smartphone/meta-android/recipes-core/images/initramfs-android-image.bb, do_rootfs)
    (dependent Tasks ['bash, do_package_write_ipk',
                      'run-postinsts, do_package_write_ipk',
                      'db, do_package_write_ipk',
                      'update-rc.d, do_populate_sysroot',
                      'android-tools-conf, do_package_write_ipk',
      'base-passwd, do_package_write_ipk',
                      'initramfs-boot-android, do_package_write_ipk',
      'expat, do_package_write_ipk',
                      'bzip2, do_packagedata',
      'glibc-initial, do_packagedata',
                      'openssl, do_package_write_ipk',
                      'bzip2, do_package_write_ipk',
      'busybox, do_packagedata',
                      'zlib, do_packagedata',
      'qemuwrapper-cross, do_packagedata',
                      'base-passwd, do_packagedata',
      'busybox, do_package_write_ipk',
                      'zlib, do_package_write_ipk',
      'qemuwrapper-cross, do_package_write_ipk',
      'gcc-runtime, do_package_write_ipk',
      'gettext, do_packagedata',
      'initramfs-boot-android, do_packagedata',
      'gettext, do_package_write_ipk',
      'libgcc-initial, do_packagedata',
                      'expat, do_packagedata',
                      'gdbm, do_packagedata',
      'depmodwrapper-cross, do_package_write_ipk',
                      'libgcc-initial, do_package_write_ipk',
                      'glibc-initial, do_package_write_ipk',
                      'linux-libc-headers, do_packagedata',
                      'glibc, do_packagedata',
                      'initramfs-android-image.bb, do_packagedata',
                      'glibc, do_package_write_ipk',
                      'sqlite3, do_packagedata',
                      'initramfs-android-image.bb, do_package_write_ipk',
                      'sqlite3, do_package_write_ipk',
                      'android-tools-conf, do_packagedata',
                      'ncurses, do_packagedata',
                      'openssl, do_packagedata',
                      'android-tools, do_packagedata',
                      'ncurses, do_package_write_ipk',
                      'cryptodev-linux, do_packagedata',
                      'android-tools, do_package_write_ipk',
                      'pseudo, do_populate_sysroot',
                      'cryptodev-linux, do_package_write_ipk',
                      'linux-libc-headers, do_package_write_ipk',
                      'depmodwrapper-cross, do_packagedata',
                      'linux-hp-tenderloin, do_packagedata',
                      'readline, do_package_write_ipk',
                      'opkg-utils, do_packagedata',
                      'linux-hp-tenderloin, do_package_write_ipk',
                      'python, do_packagedata',
                      'gdbm, do_package_write_ipk',
                      'opkg, do_populate_sysroot',
                      'python, do_package_write_ipk',
                      'libtool-cross, do_packagedata',
                      'db, do_packagedata',
                      'libgcc, do_packagedata',
                      'libtool-cross, do_package_write_ipk',
                      'update-rc.d, do_packagedata',
                      'update-rc.d, do_package_write_ipk',
                      'libgcc, do_package_write_ipk',
                      'opkg-utils, do_populate_sysroot',
                      'makedevs, do_populate_sysroot',
                      'readline, do_packagedata',
                      'base-files, do_packagedata',
                      'gcc-runtime, do_packagedata',
                      'opkg-utils, do_package_write_ipk',
                      'base-files, do_package_write_ipk',
                      'ldconfig-native, do_populate_sysroot',
                      'bash, do_packagedata',
                      'run-postinsts, do_packagedata'])
  Task 82 (meta-smartphone/meta-hp/recipes-kernel/linux/linux-hp-tenderloin_git.bb, do_compile)
    (dependent Tasks ['initramfs-android-image.bb, do_rootfs',
                      'linux-hp-tenderloin, do_configure'])

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoinitscripts: Remove /etc/volatile.cache on upgrade
Bryan Evenson [Tue, 14 Apr 2015 21:08:16 +0000 (17:08 -0400)]
initscripts: Remove /etc/volatile.cache on upgrade

/etc/volatile.cache is a cached copy of a script (which is
generated by /etc/init.d/populate-volatile.sh) that generates
the volatile filesystem directories.  Since volatile.cache is
a generated file, it is not necessarily changed if
populate-volatile.sh is updated.  As a result, the stale script
can add/remove the wrong directories on the next system boot.

If initscripts is being upgraded, make sure volatile.cache gets
deleted.

Signed-off-by: Bryan Evenson <bevenson@melinkcorp.com>
10 years agobase-files: Check for /run and /var/lock softlinks on upgrade
Bryan Evenson [Tue, 14 Apr 2015 21:08:15 +0000 (17:08 -0400)]
base-files: Check for /run and /var/lock softlinks on upgrade

Commit ea647cd9eebdc3e3121b84074519c4bb305adac9 moved the locations
of /run and /var/lock to match the FHS 3 draft specifications.
However, the install doesn't remove the existing directories.
As a result, upgrading a system may result in /run as a softlink
to /var/run and /var/run as a softlink to /run, creating a circular
link.

During pre-install, check for the existence of the old softlinks and
remove them so the new directories can be installed.

Signed-off-by: Bryan Evenson <bevenson@melinkcorp.com>
10 years agogmp: remove referencing paths from the build host
Junling Zheng [Fri, 17 Apr 2015 08:50:08 +0000 (08:50 +0000)]
gmp: remove referencing paths from the build host

Currently ${D}${includedir}/gmp.h references the path of build host
incorrectly, remove it.

Signed-off-by: Junling Zheng <zhengjunling@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocairo_1.14.2: Modified the license of cairo-trace.
Lei Maohui [Fri, 17 Apr 2015 06:15:40 +0000 (14:15 +0800)]
cairo_1.14.2: Modified the license of cairo-trace.

Because the license of cairo-trace is GPLv3(util/cairo-trace/COPYING).
So pickup cairo-trace,and modified the license to GPLv3.

Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibgcrypt: modified the license of dumpsexp.
Lei Maohui [Fri, 17 Apr 2015 03:21:38 +0000 (11:21 +0800)]
libgcrypt: modified the license of dumpsexp.

Because dumpsexp.c is GPLv3. So pick up the dumpsexp and modified license to GPLv3.

Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agomdadm: add ptest
Dmitry Eremin-Solenikov [Fri, 17 Apr 2015 13:52:24 +0000 (16:52 +0300)]
mdadm: add ptest

Enable ptest for mdadm, by reusing internal testsuite.

Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agowic: try to find bitbake using find_executable API
Ed Bartosh [Fri, 17 Apr 2015 13:19:01 +0000 (16:19 +0300)]
wic: try to find bitbake using find_executable API

Current wic code was assuming that bitbake directory is on the
same level as scripts, which is not the case for oe classic.

Using find_executable bitbake location should be determined better
as this API uss $PATH to search for executables.

Fixes [YOCTO #7621]

Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodevtool: call parse_recipe with correct arguments
Markus Lehtonen [Thu, 16 Apr 2015 16:37:57 +0000 (19:37 +0300)]
devtool: call parse_recipe with correct arguments

Give the correct data object ("config data" instead of "recipe data") as
an argument to oe.recipeutils.patch_recipe()

Fixes [YOCTO #7595]

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoclasses/base: clarify S not set correctly warning
Paul Eggleton [Fri, 17 Apr 2015 15:43:09 +0000 (16:43 +0100)]
classes/base: clarify S not set correctly warning

Hopefully make it a bit clearer to the user which recipe needs fixing
and what needs to be done to fix it.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolib/oe/package_manager: avoid traceback with no packages
Paul Eggleton [Fri, 17 Apr 2015 15:43:08 +0000 (16:43 +0100)]
lib/oe/package_manager: avoid traceback with no packages

If you were using deb packaging, had buildhistory enabled and produced
an SDK that contained no packages in one of the sysroots (such as with
uninative-tarball) then the do_populate_sdk was failing with a python
traceback because there were no fields to split in the output line.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoclasses/package: clarify installed-vs-shipped message
Paul Eggleton [Fri, 17 Apr 2015 15:43:07 +0000 (16:43 +0100)]
classes/package: clarify installed-vs-shipped message

Based on the number of times I've had to explain it over the years it
seems that a lot of new users don't immediately realise what is meant
by "shipped" here (nor should we expect them to) so let's at least
mention packaging and briefly tell the user what they need to do. (I was
going to go into more detail in the message, but there is really more
detail than can be covered succinctly here.)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolsb: provide lsb-core-ARCH
Dmitry Eremin-Solenikov [Wed, 15 Apr 2015 09:09:29 +0000 (12:09 +0300)]
lsb: provide lsb-core-ARCH

Some lsb packages depend on correct lsb-core-ARCH package being
installed (or rather provided) on the target file system. Provide this
package name by main lsb package.

Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogroff: fix RDEPENDS
Dmitry Eremin-Solenikov [Wed, 15 Apr 2015 09:09:28 +0000 (12:09 +0300)]
groff: fix RDEPENDS

RDEPENDS_${PN} is appended with "sed" and on the following line it's fixed
to just "perl". Merge both lines to have correct RDEPENDS.

Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobusybox: remove CVE-2014-9645 patch (already upstream in 1.23.x)
Andre McCurdy [Wed, 15 Apr 2015 02:53:53 +0000 (19:53 -0700)]
busybox: remove CVE-2014-9645 patch (already upstream in 1.23.x)

The CVE-2014-9645 fix was merged in Busybox prior to the 1.23.0
release [1]. The fix was then reworked in Busybox 1.23.1, in such
a way that the original change was no longer required [2].

Although oe-core's CVE-2014-9645 patch still applies cleanly to
Busybox 1.23.1 and 1.23.2, applying it partially reverts the second
version of the upstream fix.

  [1] http://git.busybox.net/busybox/commit/modutils/modprobe.c?h=1_23_stable&id=4e314faa0aecb66717418e9a47a4451aec59262b
  [2] http://git.busybox.net/busybox/commit/modutils/modprobe.c?h=1_23_stable&id=1ecfe811fe2f70380170ef7d820e8150054e88ca

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agostrace: fix build for aarch64
Koen Kooi [Wed, 15 Apr 2015 12:32:37 +0000 (14:32 +0200)]
strace: fix build for aarch64

Upstream added aarch64 support but forgot to update 'make dist' leading to missing files in the tarball.

Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibunwind: fix build with aarch64
Robert Yang [Tue, 14 Apr 2015 05:41:20 +0000 (22:41 -0700)]
libunwind: fix build with aarch64

Referred to RP's fix for x86 and x86-64:
34d517a5626ce2465f776367349bd9e66bf8ed1f
libunwind: Build with gold to avoid build failures

Fixed:
aarch64-poky-linux/4.9.2/ld: copy reloc against protected `_Uaarch64_local_addr_space' is invalid
aarch64-poky-linux/4.9.2/ld: failed to set dynamic section sizes: Bad value
aarch64-poky-linux/4.9.2/ld: copy reloc against protected `_Uaarch64_local_addr_space' is invalid
aarch64-poky-linux/4.9.2/ld: failed to set dynamic section sizes: Bad value
| collect2: error: ld returned 1 exit status

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
10 years agoaspell: inherit binconfig-disabled
Robert Yang [Tue, 14 Apr 2015 03:36:07 +0000 (20:36 -0700)]
aspell: inherit binconfig-disabled

There is a pspell-config.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
10 years agolibepoxy: DEPENDS on virtual/egl and virtual/libx11
Robert Yang [Tue, 14 Apr 2015 04:59:49 +0000 (21:59 -0700)]
libepoxy: DEPENDS on virtual/egl and virtual/libx11

Fixed do_configure error:
configure: error: libX11 headers (libx11-dev) required to build with GLX support
and do_compile error:
../include/epoxy/egl_generated.h:10:29: fatal error: EGL/eglplatform.h: No such file or directory
 #include "EGL/eglplatform.h"

The dependencies form its README.md:
* automake
* libegl1-mesa-dev
* xutils-dev

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
10 years agocracklib: add python support back
Robert Yang [Mon, 8 Sep 2014 02:05:52 +0000 (19:05 -0700)]
cracklib: add python support back

It had been disabled because of installed-vs-shipped:
    WARNING:   /usr/lib/python2.7
    WARNING:   /usr/lib/python2.7/site-packages

Now we fix it and add cracklib-python back.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
10 years agosyslinux: Fix syslinux-nomtools permissions
Robert Yang [Mon, 13 Apr 2015 06:48:38 +0000 (23:48 -0700)]
syslinux: Fix syslinux-nomtools permissions

The permissions should be 755 in bindir, not 644.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
10 years agotoolchain-scripts: Allow the CONFIGSITE_CACHE variable to be overridden
Richard Purdie [Wed, 15 Apr 2015 13:13:22 +0000 (14:13 +0100)]
toolchain-scripts: Allow the CONFIGSITE_CACHE variable to be overridden

In multilib and baremetal configurations, this variable can cause a variety of
problems due to the use of TCLIBC. At least allowing it to be overriden
is a start and allows various configurations to avoid the issue.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogst-player: Fix typo
Gary Thomas [Thu, 9 Apr 2015 12:13:09 +0000 (06:13 -0600)]
gst-player: Fix typo

The subtitle (shown in desktop icon) should say
  Basic media player
    -not-
  Basic media plaer

Signed-off-by: Gary Thomas <gary@mlbassoc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoelfutils: fix an incorrect patch for 0.161
Junling Zheng [Thu, 9 Apr 2015 12:56:27 +0000 (12:56 +0000)]
elfutils: fix an incorrect patch for 0.161

The original uclibc-support.patch is not compatible with elfutils-0.161.
It should be corrected through adjusting context.

So regenerate a new patch for elfutils-0.161, rename the patch for
elfutils-0.148, and put them into respective directories.

Signed-off-by: Junling Zheng <zhengjunling@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocrypto: use bigint in x86-64 perl
Armin Kuster [Fri, 10 Apr 2015 17:45:20 +0000 (10:45 -0700)]
crypto: use bigint in x86-64 perl

on some hosts openssl fails to build with this error:

ghash-x86_64.s: Assembler messages:
ghash-x86_64.s:890: Error: junk '.15473355479995e+19' after expression

backported fix from community.

Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoelfutils: fix build with -Os
Martin Jansa [Fri, 10 Apr 2015 10:18:28 +0000 (12:18 +0200)]
elfutils: fix build with -Os

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosyslinux: add syslinux-nomtools to PACKAGES
Robert Yang [Mon, 13 Apr 2015 09:05:17 +0000 (02:05 -0700)]
syslinux: add syslinux-nomtools to PACKAGES

The default installed syslinux depends on mtools, we install
syslinux-nomtools too, which has the ext2/3/4 support.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolinux-firmware: fix the mess of licenses
Jackie Huang [Mon, 13 Apr 2015 02:17:21 +0000 (10:17 +0800)]
linux-firmware: fix the mess of licenses

Each firmware has their own license, it was a kind of a mess to
leave the license as Proprietary and we got a lot warnings like:

WARNING: The license listed Firmware-atheros_firmware was not in the
licenses collected for linux-firmware

To fix this and make it more clear:
- Fix some incorrect license names.
- Add all license files into common-licenses in previous commit.
- Add all licenses and their md5 values in alphabetical order.
- Add pn-*-license to split up per firmware package and pn-license for others.
- Re-order the codes for each split-out firmware as:
  LICENSE_*, FILES_*, RDEPENDS_*

[YOCTO #7539]

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocommon-licenses: Add common license files for linux-firmware
Jackie Huang [Mon, 13 Apr 2015 02:17:20 +0000 (10:17 +0800)]
common-licenses: Add common license files for linux-firmware

[YOCTO #7539]

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agokmod: upgrade to 20
Chen Qi [Mon, 13 Apr 2015 01:55:04 +0000 (09:55 +0800)]
kmod: upgrade to 20

The following patches are rebased.
-- Change-to-calling-bswap_-instead-of-htobe-and-be-toh.patch
-- avoid_parallel_tests.patch

The ptest part of kmod is removed because new version of kmod port all tests to
use modules from module-playground instead of copying prebuilt modules to the
repository. So, we cannot use ptest as before. Remove it so that kmod can build
successfully.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agooeqa: Add test for layer append and FILESPATH tracking
Richard Purdie [Mon, 13 Apr 2015 16:03:42 +0000 (17:03 +0100)]
oeqa: Add test for layer append and FILESPATH tracking

This test actually tests a spectrum of bitbake functionality. Three
layers are created, one containing a recipe, one with a bbappend adding
a file to the recipe and another which overwrites the file in another
bbappend.

The correct outcomes in building the recipe are tested, with the file
in the final layer added, removed and then re-added.

This tests bitbake's cache handling as well as restoration from
sstate which happens in the final test phase.

Based on a test case from:
[YOCTO #7019]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agowic: Print bitbake error output
Ed Bartosh [Sat, 4 Apr 2015 21:03:05 +0000 (00:03 +0300)]
wic: Print bitbake error output

Added bitbake error output to wic error message to make it
more descriptive.

[YOCTO #6911]

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agowic: use native parted
Ed Bartosh [Mon, 6 Apr 2015 17:43:35 +0000 (20:43 +0300)]
wic: use native parted

Used exec_native_cmd instead of find_binary_path to run parted.
Got rid of find_binary_path as it's not used anywhere else.

There are several tools wic is trying to find not only in sysroot,
but also in host root. Parted is a special as on some distros it's
installed in /usr/sbin, which is not in the user's PATH. This makes
wic to fail with error "External command 'parted' not found, exiting."

[YOCTO #7122]

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibgpg-error 1.18: simplify tupple handling and add armv8b support
Koen Kooi [Mon, 13 Apr 2015 06:08:40 +0000 (08:08 +0200)]
libgpg-error 1.18: simplify tupple handling and add armv8b support

Add a default option to the case statement and remove the duplicates. Also add support for armv8b architectures.

Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agooe-init-build-env: fix for build dirs that have spaces in their path
Joshua Lock [Mon, 13 Apr 2015 15:30:02 +0000 (16:30 +0100)]
oe-init-build-env: fix for build dirs that have spaces in their path

Enclose expansions of BUILDDIR in quotes in order to correctly handle paths
which include spaces.

Signed-off-by: Joshua Lock <joshua.lock@collabora.co.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogdb: Refresh patches against git
Khem Raj [Sat, 11 Apr 2015 01:20:47 +0000 (18:20 -0700)]
gdb: Refresh patches against git

Drop dead patches sim-install.patch, uclibc.patch

Change-Id: I5bd160d0959154896096ebc93a8a450d04979c73
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agokbd: Mark glibc headers under __GLIBC__
Khem Raj [Sat, 11 Apr 2015 01:20:46 +0000 (18:20 -0700)]
kbd: Mark glibc headers under __GLIBC__

Change-Id: I4e91038ea8b05defbb9d574c61eea96ccc064e51
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoxserver-xf86-config: Preload graphics driver modules for musl
Khem Raj [Sat, 11 Apr 2015 01:20:45 +0000 (18:20 -0700)]
xserver-xf86-config: Preload graphics driver modules for musl

musl does not support BIND_LAZY intentionally, which means
dlopen will always complain about missing symbols which is what
X does when loading graphics drivers, here we preload the needed
drivers for all emulator machines if libc is musl

Change-Id: I908c94c30db8a5e872922e1a677126d82fa17145
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosudo: Disable hardening for musl
Khem Raj [Sat, 11 Apr 2015 01:20:44 +0000 (18:20 -0700)]
sudo: Disable hardening for musl

musl does not yet enable ssp

Change-Id: If40ab0a54b17d5528676b1268182b6c7e7ef5761
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopulseaudio: Fix build with musl
Khem Raj [Sat, 11 Apr 2015 01:20:43 +0000 (18:20 -0700)]
pulseaudio: Fix build with musl

It reimplements some of standard C library functions but then it assumed
glibc so we need to break that assumption into conditional defines

Change-Id: I92109c2e4c48ab4c3565f64e68d9cbb165823b45
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoxserver-xorg: Use __GLIBC__ instread of __linux__ to denote glibc dependent code
Khem Raj [Sat, 11 Apr 2015 01:20:42 +0000 (18:20 -0700)]
xserver-xorg: Use __GLIBC__ instread of __linux__ to denote glibc dependent code

Change-Id: Ia899520181feb1c601a76e04a176f4387a331c00
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoiptables: Fix build on musl
Khem Raj [Sat, 11 Apr 2015 01:20:41 +0000 (18:20 -0700)]
iptables: Fix build on musl

Added needed headers and resuffled existing ones to get it portable
Added defined for missing TCOPTS*

Change-Id: I74977dd052c5569b00631379d7f4bacfb86cf381
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoperl: Fix build for musl
Khem Raj [Sat, 11 Apr 2015 01:20:40 +0000 (18:20 -0700)]
perl: Fix build for musl

The changes are covered under "${TARGET_OS}" = "linux-musl"

Change-Id: I24a1a8e07abb35c7e3d64b372addfb3bd6f7731c
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibfm-extra: Add own nls.m4
Khem Raj [Sat, 11 Apr 2015 01:20:38 +0000 (18:20 -0700)]
libfm-extra: Add own nls.m4

It helps to build when NLS is disabled distro-wide
otherwise it has dependency on gettext to provide it

Change-Id: Ib6920629b5ab1a1938cc5dfa447078f6fca234c7
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agovte: Pass _GNU_SOURCE via CFLAGS
Khem Raj [Sat, 11 Apr 2015 01:20:37 +0000 (18:20 -0700)]
vte: Pass _GNU_SOURCE via CFLAGS

It uses function extentions like  ptsname_r()
so we need to let build know about it

Change-Id: I5a06d08c56529a6b2cf3adf264656ae03b95c1d4
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agomusl: Enable NLS
Khem Raj [Sat, 11 Apr 2015 01:20:36 +0000 (18:20 -0700)]
musl: Enable NLS

It supports it, so lets enable it even though
we can compile lot of stuff without NLS but its
harder to get them all compiled without NLS

Change-Id: I49a06c05b004654dabbef980c4e6ad991d581341
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoppp: Add extra include dirs
Khem Raj [Sat, 11 Apr 2015 01:20:35 +0000 (18:20 -0700)]
ppp: Add extra include dirs

Just run configure, the configure script is not really
a autoconf generated script so just run it

Include path is needed to be there since
the headers from it are used during build in subcomponents

Change-Id: Ib1f24fd18bc8564e3c74ab834b7cf0fdf955d0e1
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibproxy: Include select.h for posix compliance
Khem Raj [Sat, 11 Apr 2015 01:20:34 +0000 (18:20 -0700)]
libproxy: Include select.h for posix compliance

unearthed with musl

Change-Id: I527139905785f253e41dd6a2f0cf555eee752a3a
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogroff: add runtime dependency on sed
Dmitry Eremin-Solenikov [Thu, 9 Apr 2015 19:58:52 +0000 (22:58 +0300)]
groff: add runtime dependency on sed

This is to suppress the following QA warning:
groff-1.22.2: groff requires /bin/sed, but no providers in its RDEPENDS [file-rdeps]

Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake.conf: add sed-native to ASSUME_PROVIDED
Dmitry Eremin-Solenikov [Thu, 9 Apr 2015 19:58:53 +0000 (22:58 +0300)]
bitbake.conf: add sed-native to ASSUME_PROVIDED

There is no reason to build sed for the host, however now:
ERROR: Nothing RPROVIDES 'sed-native' (but virtual:native:/OE/sources/openembedded-core/meta/recipes-extended/groff/groff_1.22.2.bb RDEPENDS on or otherwise requires it)

Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopackage_manager: RpmPM: Fix scriptlet for rpm 4
Jean-Benoit MARTIN [Fri, 10 Apr 2015 13:15:29 +0000 (15:15 +0200)]
package_manager: RpmPM: Fix scriptlet for rpm 4

Path of rpm post install script is different between rpm 4 and 5

Signed-off-by: Jean-Benoit MARTIN <jean-benoit.martin@open.eurogiciel.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agotiff: remove extra dev and dbg from PACKAGES
Robert Yang [Fri, 10 Apr 2015 09:30:07 +0000 (02:30 -0700)]
tiff: remove extra dev and dbg from PACKAGES

There should be only one dev and dbg package

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosysfsutils: remove libsysfs-dev and libsysfs-staticdev from PACKAGES
Robert Yang [Fri, 10 Apr 2015 09:30:06 +0000 (02:30 -0700)]
sysfsutils: remove libsysfs-dev and libsysfs-staticdev from PACKAGES

There should be only one dev and dbg package

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopciutils: remove libpci-dev and libpci-dbg from PACKAGES
Robert Yang [Fri, 10 Apr 2015 09:30:05 +0000 (02:30 -0700)]
pciutils: remove libpci-dev and libpci-dbg from PACKAGES

There should be only one dev and dbg package

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>