scm/bb/tizen-distro.git
10 years agognutls: update to 3.3.5
Maxin B. John [Wed, 2 Jul 2014 11:25:29 +0000 (13:25 +0200)]
gnutls: update to 3.3.5

Bump version to 3.3.5

(From OE-Core rev: daa99947cb03d9e1a7d6c2c2fa71ab0399209689)

Signed-off-by: Maxin B. John <maxin.john@enea.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodb_5.3.*: Upgrade to 5.3.28
Mark Hatle [Thu, 3 Jul 2014 00:57:42 +0000 (19:57 -0500)]
db_5.3.*: Upgrade to 5.3.28

Simple upgrade, the license checksum change is related to a copyright date
change.

(From OE-Core rev: cc6223d24bfd85240399272ebf5f1dddb6150c79)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: fetch2/svn: Add transportuser parameter
Richard Purdie [Thu, 3 Jul 2014 10:39:34 +0000 (11:39 +0100)]
bitbake: fetch2/svn: Add transportuser parameter

There may be a need to set the user for the transport rather than the subversion
command itself. Add a parameter to the url to allow this.

[YOCTO #6475]

(Bitbake rev: 56c294dc30b6c2575b1cf904e26b8b8bef7677c2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: lib: fix no newline at end of file
Robert Yang [Thu, 3 Jul 2014 06:12:12 +0000 (14:12 +0800)]
bitbake: lib: fix no newline at end of file

Add a '\n' to the last line of the file to fix:

No newline at end of file

(Bitbake rev: 54f1359ed2e9d47980cd221b7b43ef56543fe06d)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: fix no newline at end of file
Robert Yang [Thu, 3 Jul 2014 06:12:12 +0000 (14:12 +0800)]
bitbake: toaster: fix no newline at end of file

Add a '\n' to the last line of the file to fix:

No newline at end of file

(Bitbake rev: 5eb65d92c35264087e5d82c35638f3b8805b1b3e)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoyocto-bsp: Drop GLIBC_ADDONS setting
Richard Purdie [Fri, 4 Jul 2014 08:09:54 +0000 (08:09 +0000)]
yocto-bsp: Drop GLIBC_ADDONS setting

This has been copied and pasted around and is not needed, simply drop it.
The defaults in the recipe work just fine.

(From meta-yocto rev: 037bce9a5f196df3cded9dfe6200188c1dd1d84a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoyocto-bsp: Update qemu inclusion lists
Richard Purdie [Fri, 4 Jul 2014 08:06:37 +0000 (08:06 +0000)]
yocto-bsp: Update qemu inclusion lists

Update qemu tune definitions to match changes in main qemu machines.

[YOCTO #6482]

(From meta-yocto rev: 0d78ffd509c6caba6c74c6e75c485fb8d923cd31)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobuild-appliance-image: Update to master head revision
Richard Purdie [Thu, 3 Jul 2014 16:48:55 +0000 (17:48 +0100)]
build-appliance-image: Update to master head revision

(From OE-Core rev: ee70d0cd42a280fd230abf35036ad237c96b3065)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibxml-parser-perl: fix do_compile failed with unrecognized option '-Wl, -O1'
Hongxu Jia [Tue, 1 Jul 2014 07:51:54 +0000 (15:51 +0800)]
libxml-parser-perl: fix do_compile failed with unrecognized option '-Wl, -O1'

Use '${CCLD}' as '${LD}' which the cpan was doing.
...
i586-poky-linux-ld: unrecognized option '-Wl,-O1'
i586-poky-linux-ld: use the --help option for usage information
...

Also fix do_configure warnings
...
'--SYSROOT' is not a known MakeMaker parameter name.
'-MARCH' is not a known MakeMaker parameter name.
...

(From OE-Core rev: c67dc89179977b2df80f25ebf66b7e983819a833)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoopenssh: avoid checking empty passwords to mess up with PAM modules
Chen Qi [Wed, 2 Jul 2014 06:24:39 +0000 (14:24 +0800)]
openssh: avoid checking empty passwords to mess up with PAM modules

Previously, even if PAM is enabled for ssh, the daemon still tries to
authenticate an empty password. This leads to authentication failure
which would mess up with PAM modules.

As a result, if 'UsePAM', 'PermitEmptyPasswords' and 'PasswordAuthentication'
are enabled, no user can login correctly. We would meet the following error
message at the client side.

Write failed: Broken Pipe

This patch fixes the above problem by checking whether PAM is enabled before
authenticating an empty password. After all, if PAM is enabled, the task of
authenticating passwords should be handled to PAM modules.

[YOCTO #6466]

(From OE-Core rev: e017ae71dad4837b0d22f291b0b0e0949075f822)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoautotools.bbclass: remove autotools_set_crosscompiling
Ross Burton [Wed, 2 Jul 2014 10:24:11 +0000 (11:24 +0100)]
autotools.bbclass: remove autotools_set_crosscompiling

The only reference to this function is a commented-out assignment, and nothing
in oe-core nor meta-oe uses autotools_set_crosscompiling directly.  As it's
unused, remove it.

(From OE-Core rev: adaa0568390d0dfef1c4d87809601aab85299e97)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoscripts/contrib/verify-homepage.py: add a script to verify HOMEPAGE
Chong Lu [Wed, 25 Jun 2014 09:39:44 +0000 (17:39 +0800)]
scripts/contrib/verify-homepage.py: add a script to verify HOMEPAGE

Add a script to verify all the recipes' HOMEPAGE.

[YOCTO #5689]

(From OE-Core rev: 2dfb2ef06763cb6044dc1630875024e7310b3df4)

Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake.conf: automatically add libexecdir/BPN/.debug to -dbg
Ross Burton [Tue, 1 Jul 2014 16:04:41 +0000 (17:04 +0100)]
bitbake.conf: automatically add libexecdir/BPN/.debug to -dbg

pkglibexecdir is a fairly common location for package-specific binaries (in
automake this is $libexecdir/$PACKAGE), and binaries in there are already
installed to FILES_PN, so add the corresponding .debug directory to
FILES_PN-dbg.

(From OE-Core rev: 4d3ffde4649ed116a1c21afef41f71bfe1d471de)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoglib-2.0: silence QA warnings about libraries outside ${libdir}
Ross Burton [Tue, 1 Jul 2014 15:59:14 +0000 (16:59 +0100)]
glib-2.0: silence QA warnings about libraries outside ${libdir}

The test suite is installed into ${libexecdir} and as that may be outside of
${libdir} the QA test needs to be silenced.

(From OE-Core rev: d354d339a38d22f1a5bca14341229d2282647fbb)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoAdded testcase decorator to use in logging. Added class decorator LogResults that...
Lucian Musat [Fri, 27 Jun 2014 14:32:13 +0000 (17:32 +0300)]
Added testcase decorator to use in logging. Added class decorator LogResults that outputs test results in separate log file.

(From OE-Core rev: 7e2b73f1ccfe2968ef780fef2edfaa31c3dae853)

Signed-off-by: Lucian Musat <georgex.l.musat@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoelfutils/elfutils-native: Fix patching generated files
Roxana Ciobanu [Tue, 1 Jul 2014 14:17:00 +0000 (17:17 +0300)]
elfutils/elfutils-native: Fix patching generated files

 Patch redhat-portability.diff was patching generated files.
 This patch removes every hunk related to Makefile.in and configure files.

 [YOCTO #6491]

(From OE-Core rev: 60efcf67ba2b556bcd5ffea0056884189d5bed52)

Signed-off-by: Roxana Ciobanu <roxana.ciobanu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolib/oe/package_manager.py: Fix _pkg_translate_smart_to_oe function
Mark Hatle [Thu, 3 Jul 2014 00:57:41 +0000 (19:57 -0500)]
lib/oe/package_manager.py: Fix _pkg_translate_smart_to_oe function

File: '/home/mhatle/git/oss/oe-core/meta/lib/oe/package_manager.py', lineno: 278, function: _pkg_translate_smart_to_oe
     0274:
     0275:            if found == 1 and fixed_arch == fixed_cmp_arch:
     0276:                break
     0277:        #bb.note('%s, %s -> %s, %s' % (pkg, arch, new_pkg, new_arch))
 *** 0278:        return new_pkg, new_arch
     0279:
     0280:    def _list_pkg_deps(self):
     0281:        cmd = [bb.utils.which(os.getenv('PATH'), "rpmresolve"),
     0282:               "-t", self.image_rpmlib]
Exception: UnboundLocalError: local variable 'new_arch' referenced before assignment

(From OE-Core rev: acd8bfc9378df0a2e1d6ea3858675b9fe350946d)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibav: add PACKAGECONFIG for theora, libvorbis, speex and openssl
Matthieu Crapet [Mon, 30 Jun 2014 14:23:21 +0000 (16:23 +0200)]
libav: add PACKAGECONFIG for theora, libvorbis, speex and openssl

Dropped libvorvis dependency because there is already a (better) builtin vorbis codec.
Don't confuse codec names: "vorbis" (builtin) and "libvorbis" (using external library).

Changes:
- add --enable-nonfree when faac or openssl are used
- add DESCRIPTION
- sort PACKAGECONFIG entries

Tested with libav-0.8.11 & libav-9.13.

Note: Be sure to have a recent version of bitbake (2014-06-11 or better) including this:
http://cgit.openembedded.org/bitbake/commit/?id=2e742c03e8dfdfa67899e7f5d579ed14bd87e139
It affects behavior of bb.utils.contains_any

(From OE-Core rev: 62eede9de6fa1c76fa97ca5c6ba2d31309759b10)

Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogtk+: Add PACKAGECONFIG for directfb
Martin Jansa [Mon, 16 Dec 2013 13:14:51 +0000 (14:14 +0100)]
gtk+: Add PACKAGECONFIG for directfb

* building without x11 doesn't work, because it sets default
  gdkbackend to x11 and then requires cairo-xlib to be available
* checking for CAIRO_BACKEND... no
  configure: error: Package requirements (cairo-xlib >= 1.6) were not met:

  No package 'cairo-xlib' found

(From OE-Core rev: a9f36bee8ef79ce7c9e3545ab5c854a45c232661)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoadt_installer: Fix real envrionment script issues
Richard Purdie [Tue, 1 Jul 2014 17:01:07 +0000 (18:01 +0100)]
adt_installer: Fix real envrionment script issues

The previous change to adt_installer was incorrect, this reverts it and
fixes the real issue. The real issue is that if a previous installation was
present, it may have been moved and therefore the paths returned by opkg
could be a little odd.

To address this, when we move files to a different location, ensure we
update the *.list files with the revised paths. This means later installs
over the top return consistent values from opkg and the script works
as intended.

(From OE-Core rev: 8a206f88e5396d7d136480e0efdb5071d5aafeb6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agotoolchain-scripts: Add handling for CANADIANEXTRAOS
Richard Purdie [Tue, 1 Jul 2014 17:00:36 +0000 (18:00 +0100)]
toolchain-scripts: Add handling for CANADIANEXTRAOS

When we build a general toolchain script we should add all the OS
variants to PATH, not just the current one. This is because some can
cross reference each other and if the triplet prefixed ld can't be found
for example, you recieve strange errors.

Doing this resolves bugs exposed during SDK testing.

[YOCTO #6490]

(From OE-Core rev: 5f8bbb15c2b79a94ad547347306b59bd67dba3e8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agometa: fix no newline at end of file
Robert Yang [Thu, 3 Jul 2014 06:54:37 +0000 (14:54 +0800)]
meta: fix no newline at end of file

Add a '\n' to the last line of the file to fix:

No newline at end of file

(From OE-Core rev: b3090263ba31702631270643c7a7d7af8f4d9234)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agorunqemu-extract-sdk: normalize paths to improve output
Chen Qi [Thu, 3 Jul 2014 03:02:21 +0000 (11:02 +0800)]
runqemu-extract-sdk: normalize paths to improve output

Previously, we would have output like below from runqemu-extract-sdk.

    Creating directory /home/chenqi/poky/build-systemd/./nfs-root

Normalize paths for runqemu-extract-sdk so that we have output like below.

    Creating directory /home/chenqi/poky/build-systemd/nfs-root

(From OE-Core rev: c85f5ec502fecb1ff63f8e795a0da5fc92eca0c1)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoqemu: fix qemu-native pkg-config paths
Cristian Iorga [Thu, 3 Jul 2014 12:57:32 +0000 (15:57 +0300)]
qemu: fix qemu-native pkg-config paths

For qemu-native, the pkg-config paths do not
include build host paths.
This is an issue for libsdl for example, where SDL is
used by qemu, but for qemu-native libsdl-native is not
built, but assumed to be provided by the build host.
Because pkg-config do not search for libsdl config files
on the build host sysroot, the configure stage of qemu-native
will fail because it will not find SDL as being installed.
Usually, the isssue is masked by a functional sdl-config that
will be interogated instead of pkg-config. However, on Build
Appliance, sdl-config is deliberately made non-functional,
so the issue manifests itself.

The fix will create an extended PKG_CONFIG_PATH, which does
include the build host sysroot paths for pkg-config.

Fix for [YOCTO #6495].

(From OE-Core rev: 68a5ed337f8f7ee8e5bf55542ec82d786eb754db)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoinit-install-testfs.sh: add '--hotkey x' to 'test' menuentry
Corneliu Stoicescu [Thu, 3 Jul 2014 13:04:57 +0000 (16:04 +0300)]
init-install-testfs.sh: add '--hotkey x' to 'test' menuentry

Add a hotkey for the GRUB 'test' menuentry. This can be used by expect scripts to boot into 'test' when doing runtime hardware tests.

(From OE-Core rev: 17b97fd6c724ba6e506cbadb18facdfd9c472e79)

Signed-off-by: Corneliu Stoicescu <corneliux.stoicescu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: templates: Added newline character to end of script.
Scott Rifenbark [Thu, 3 Jul 2014 12:26:35 +0000 (15:26 +0300)]
bitbake: templates: Added newline character to end of script.

Prevents errors when editing in vi and writing and quiting.

(Bitbake rev: 01692654cd792eaf6362bbac9c34314db4a7ffea)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: bitbake-user-manual-ref-variables.xml: Edits to OVERRIDES variable.
Scott Rifenbark [Fri, 27 Jun 2014 12:44:00 +0000 (15:44 +0300)]
bitbake: bitbake-user-manual-ref-variables.xml: Edits to OVERRIDES variable.

More detail.

(Bitbake rev: 0ac8a504de1798dae02eb2dade2776e7e25d034d)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: bitbake-user-manual-execution.xml: Minor fixes.
Robert P. J. Day [Fri, 27 Jun 2014 04:50:56 +0000 (07:50 +0300)]
bitbake: bitbake-user-manual-execution.xml: Minor fixes.

Collection of typo and grammar fixes from "Execution"
chapter.

(Bitbake rev: ebca1b7847ff34213e6da71c79f00cb4b6b0757b)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: bitbake-user-manual-intro.xml: Minor fixes mostly grammar adjustments.
Robert P. J. Day [Fri, 27 Jun 2014 04:29:11 +0000 (07:29 +0300)]
bitbake: bitbake-user-manual-intro.xml: Minor fixes mostly grammar adjustments.

(Bitbake rev: fedc5470e9f4f5438d3de957f47985f76a484533)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: bitbake-user-manual-fetching.xml: Small fix in Git Fetcher
Scott Rifenbark [Thu, 26 Jun 2014 12:30:24 +0000 (15:30 +0300)]
bitbake: bitbake-user-manual-fetching.xml: Small fix in Git Fetcher

Fixed how we refer to the "rev" paramater.

(Bitbake rev: 90b1aec42cd29716f1cbd058757941cbfda235b0)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: bitbake-user-manual-execution.xml: Typo and grammar fixes.
Robert P. J. Day [Thu, 26 Jun 2014 12:19:11 +0000 (15:19 +0300)]
bitbake: bitbake-user-manual-execution.xml: Typo and grammar fixes.

(Bitbake rev: c469ceb86c1f76e9fa867ffb8a5c9b120ed7942b)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: bitbake-user-manual-execution.xml: Edits to "Providers and Preferences"
Scott Rifenbark [Thu, 26 Jun 2014 12:13:13 +0000 (15:13 +0300)]
bitbake: bitbake-user-manual-execution.xml: Edits to "Providers and Preferences"

I split this section into two sections and tried to simplify what
was being said about PROVIDES.

(Bitbake rev: 394f64123d5ef1e9b4628d083488b9432eccbded)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: bitbake-user-manual-fetching.xml: Small wording change.
Scott Rifenbark [Thu, 26 Jun 2014 11:42:49 +0000 (14:42 +0300)]
bitbake: bitbake-user-manual-fetching.xml: Small wording change.

(Bitbake rev: 66529a17d50bbce211361d98ace012b9424459c9)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: bitbake-user-manual-ref-variables.xml: Edits to PROVIDES variable.
Scott Rifenbark [Thu, 26 Jun 2014 06:50:26 +0000 (09:50 +0300)]
bitbake: bitbake-user-manual-ref-variables.xml: Edits to PROVIDES variable.

Added some more detail to help describe the variable.

(Bitbake rev: 4b2019e67324f0f86e1a49d256eddb4f9ca597f4)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: bitbake-user-manual-style.css: Added permalink style for display
Scott Rifenbark [Wed, 25 Jun 2014 11:42:51 +0000 (14:42 +0300)]
bitbake: bitbake-user-manual-style.css: Added permalink style for display

Fixes [YOCTO #5772]

Added a couple styles to the CSS style sheet so that the displayed
permalink symbol is barely visible unless you hover over it with
the mouse.

(Bitbake rev: ee8db0cda1c8716ab0151a4859bfff84b2f3bd58)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: bitbake-user-manual-customization.xsl: Added support for variable permalinks.
Scott Rifenbark [Wed, 25 Jun 2014 06:14:35 +0000 (09:14 +0300)]
bitbake: bitbake-user-manual-customization.xsl: Added support for variable permalinks.

Fixes [YOCTO #5772]

Including the gloss-permalink.xsl file in the customization layer
so that making the manual now generates permalinks for each variable
definition in the glossary.

(Bitbake rev: 04467594a599472c367365dffe205bf727c4d592)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: template: Added XSL template to support variable glossary permalinks.
Scott Rifenbark [Wed, 25 Jun 2014 06:13:08 +0000 (09:13 +0300)]
bitbake: template: Added XSL template to support variable glossary permalinks.

Fixes [YOCTO #5772]

This file enables creation of permalinks for variables defined
in the glossary.

(Bitbake rev: 772f2bdc10fa242646e4d09f6bdbaf8558f06b22)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: bitbake-user-manual-intro.xml: Edits to "Obtaining BitBake"
Scott Rifenbark [Thu, 19 Jun 2014 05:38:51 +0000 (08:38 +0300)]
bitbake: bitbake-user-manual-intro.xml: Edits to "Obtaining BitBake"

Updated the last bullet item that describes a final way to
obtain a copy of BitBake.  The example was too specific regarding
Poky and OE.  So, I made it quite generic and kept with the
convention of not having any specific links from the BitBake
manual into YP docs or such.

(Bitbake rev: a2a3b534871aa23a5d442b93dd9660d5f9e27536)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: bitbake-user-manual-intro.xml: Basic proofreading, grammar fixes.
Robert P. J. Day [Wed, 18 Jun 2014 13:46:50 +0000 (16:46 +0300)]
bitbake: bitbake-user-manual-intro.xml: Basic proofreading, grammar fixes.

(Bitbake rev: 266a0b5ef41dcc4048e2a4d1c43567568d7449d7)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoscripts: fix no newline at end of file
Robert Yang [Thu, 3 Jul 2014 06:58:17 +0000 (14:58 +0800)]
scripts: fix no newline at end of file

Add a '\n' to the last line of the file to fix:

No newline at end of file

(From meta-yocto rev: 58cc5c502bd0309feed65ab7836ed8fbaab6ced9)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogroff: Fix build on Fedora 17 for 1.18.1.4
Ming Liu [Thu, 3 Jul 2014 09:30:00 +0000 (17:30 +0800)]
groff: Fix build on Fedora 17 for 1.18.1.4

The commit 79fc5576:
[ groff: Fix build on Fedora 17 ]

was applied to 1.22.2, but it's also needed by 1.18.1.4 to solve a same
issue.

(From OE-Core rev: b019f2cdacfb64f149483df8a5b6b7b3f7943222)

Signed-off-by: Ming Liu <ming.liu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogawk: fix optional dependency mpfr
Roxana Ciobanu [Thu, 3 Jul 2014 09:45:44 +0000 (12:45 +0300)]
gawk: fix optional dependency mpfr

 Gawk was failing to compile because of the optional feature mpfr if it found
 libmpfr on build host and linked against that or mpfr existed in sysroot but
 not in deploy, or if gawk was pulled from sstate and someone had mpfr built.

 [YOCTO# 6473]

(From OE-Core rev: ec0def7cc204f402fba017264ea201956add342d)

Signed-off-by: Roxana Ciobanu <roxana.ciobanu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogroff: remove redundant code snippet
Ming Liu [Thu, 3 Jul 2014 07:49:08 +0000 (15:49 +0800)]
groff: remove redundant code snippet

The exact same code snippet exists both in do_install_append and
do_install_append_class-native which is not necessary.

Remove it from do_install_append_class-native.

(From OE-Core rev: 0f107a76713cebb49004d48fd410d9f014dda4b3)

Signed-off-by: Ming Liu <ming.liu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopython3: fix builtins imports
Roxana [Mon, 30 Jun 2014 09:44:03 +0000 (12:44 +0300)]
python3: fix builtins imports

The intent of this code is to generate things like -L=/usr/lib/foo so
for paths which start with "/" we should appent the "=". We should not do this
for ".". On some recent versions of binutils or patchsets on some recent
distros this appears to work differently and causes build failures, for example
on Ubuntu 14.04 LTS.

The simple fix is to check for "." as the path prefix.

[YOCTO #6467].

(From OE-Core rev: c36d459f0d40bdbd3ba809835e0475e8992bc778)

Signed-off-by: Roxana <roxana.ciobanu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoadt_installer: Fix sed file not found error
Richard Purdie [Mon, 30 Jun 2014 15:21:17 +0000 (16:21 +0100)]
adt_installer: Fix sed file not found error

We need to look for the installed file within the sysroot we just installed
so add in the missing prefix. This avoids errors like:

Installing cross canadian packages for qemux86 ...
sed: no input files

[YOCTO #6443]

(From OE-Core rev: 3042dcaecadee266b1e4dcae102030c7e4802b89)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agooeqa/selftest/_toaster.py: fix 'IndentationError' issues
Ionut Chisanovici [Mon, 30 Jun 2014 08:41:39 +0000 (11:41 +0300)]
oeqa/selftest/_toaster.py: fix 'IndentationError' issues

There were some indentation errors when the _toaster.py was merged into master.
This patch fix those errors.

(From OE-Core rev: 173194493294574e49874858ee7003000f41b4d6)

Signed-off-by: Ionut Chisanovici <ionutx.chisanovici@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agooeqa/selftest/toaster.py: renamed to _toaster.py
Ionut Chisanovici [Mon, 30 Jun 2014 08:41:38 +0000 (11:41 +0300)]
oeqa/selftest/toaster.py: renamed to _toaster.py

In order not to run the toaster selftests by default, we renamed to _toaster.py

(From OE-Core rev: 8da2ebba10e0128938919b39c29be40b7c1d80aa)

Signed-off-by: Ionut Chisanovici <ionutx.chisanovici@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoRevert "libusb: add missing build dependency on udev"
Richard Purdie [Sun, 29 Jun 2014 08:59:11 +0000 (09:59 +0100)]
Revert "libusb: add missing build dependency on udev"

This reverts commit 6cebce6e355c4c7a87f4088bfa849d0a1c3439da.

Leads to build failures as nativesdk-udev doesn't exist (nor should it).

It also leads to circular dependencies and build failures from these.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoclasses/kernel: Use full path for symlink in update-alternatives.
Drew Moseley [Thu, 26 Jun 2014 17:01:16 +0000 (13:01 -0400)]
classes/kernel: Use full path for symlink in update-alternatives.

Use a fully qualified path for the <path> parameter in calls
to update-alternatives.  The chkconfig-alternatives version
requires a full path and without it, the symlink is not
properly created.

(From OE-Core rev: 78ee4d8b1782445caecce8331e68efe83fc32044)

Signed-off-by: Drew Moseley <drew_moseley@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopopulate_sdk_base: Remove confusing echo
Richard Purdie [Sun, 29 Jun 2014 08:00:51 +0000 (09:00 +0100)]
populate_sdk_base: Remove confusing echo

Remove a confusing echo after the previous commit, thanks for a suggestion
from Laurentiu.

(From OE-Core rev: cd1fdd05cc7457706d1e40042854c154cbb3d9e9)

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

10 years agopopulate_sdk_base: add auto-completion in setup
Dennis Meier [Tue, 17 Jun 2014 13:16:53 +0000 (15:16 +0200)]
populate_sdk_base: add auto-completion in setup

(From OE-Core rev: d6c55f6910270e395f668c9114ec374b44c57538)

Signed-off-by: Dennis Meier <meier.dennis@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoclasses/report-error: tweak summary message
Paul Eggleton [Wed, 25 Jun 2014 15:31:38 +0000 (16:31 +0100)]
classes/report-error: tweak summary message

* We don't want everyone to remove their identifying info, just if they
  feel the need to
* Split lines for clarity
* A couple of grammar/spelling tweaks

(From OE-Core rev: b5c7538416e4c7a9e594edf930fa7ee844a347e6)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibusb: add missing build dependency on udev
Fabien Chereau [Thu, 26 Jun 2014 10:20:02 +0000 (12:20 +0200)]
libusb: add missing build dependency on udev

This fixes the ./configure error in case libusb is built before udev/systemd.

(From OE-Core rev: 6cebce6e355c4c7a87f4088bfa849d0a1c3439da)

Signed-off-by: Fabien Chereau <fabien.chereau@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agotest-dependencies.sh: Return non-zero return code when there was some failure detected
Martin Jansa [Wed, 25 Jun 2014 17:06:37 +0000 (19:06 +0200)]
test-dependencies.sh: Return non-zero return code when there was some failure detected

* this is useful when using from jenkins job where you don't want to read
  output just to dectect how bad it was
* add .log suffix to all files, so they can be easily downloaded from
  http servers without default mimetype set to something useful
* add recipes failed in step 1 to steps 2 and 3 to generate standalone
  logs for them

(From OE-Core rev: cef1d6deb5437edae56740436d8e77b8d941945a)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosstate-diff-machines.sh: Return non-zero return code when there was some failure...
Martin Jansa [Wed, 25 Jun 2014 17:06:36 +0000 (19:06 +0200)]
sstate-diff-machines.sh: Return non-zero return code when there was some failure detected

* add --analyze option, which is useful when using from jenkins job
  where you don't want to read output just to dectect how bad it was
* I was always using something like this inside jenkins job, but better
  to share it in original script

(From OE-Core rev: e73e1261879d9154d89cec35669ba22b499d8331)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopatch.bbclass: unset TMPDIR after use
Ross Burton [Thu, 26 Jun 2014 14:16:55 +0000 (15:16 +0100)]
patch.bbclass: unset TMPDIR after use

GNU Patch < 2.6.1 has a race condition so we create a per-instance TMPDIR to
avoid this.  This was implemented by setting os.environ[TMPDIR] but at the end
of do_patch the temporary directory is deleted but TMPDIR is not unset.

In general this doesn't cause a problem but if do_patch is embedded in a larger
function then TMPDIR is set to a directory that doesn't exist.  Avoid this by
removing TMPDIR from os.environ when the directory is deleted.

(From OE-Core rev: 51ea4378864f1468df2ca282a84f78a17d6861aa)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agorecipes-devtools: fix segfault in lib32-gcc with "." multilib_dir
Paul Gortmaker [Thu, 26 Jun 2014 19:08:47 +0000 (15:08 -0400)]
recipes-devtools: fix segfault in lib32-gcc with "." multilib_dir

When enabling a lib32-gcc in a 64 bit build, without doing any
other configuration, the mutilib dir is unspecified, which is
represented internally in gcc as "." and as such uncovers an
invalid free on a non-malloc'd pointer.

As suggested by the gcc folks, simply make sure the "." case
is also stored in a malloc'd pointer, so that the intended
runtime behaviour of the code remains unchanged.

Patch has been accepted by upstream maintainers of gcc.

(From OE-Core rev: bf1473d0c1b099b8d919835cc430b99606134aab)

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoinitrdscripts: Try to boot if boot label is unknown
Drew Moseley [Sat, 28 Jun 2014 21:57:34 +0000 (17:57 -0400)]
initrdscripts: Try to boot if boot label is unknown

The init-live.sh scripts assumes that the boot label set by
the LABELS variable is either "boot", "install", or
"install-efi".  If that variable is overridden to something else
we fall off the end of the case statement and the system locks
up.  If the boot label is unknown, at least attempt to boot.

(From OE-Core rev: 98353862c08be2f1724aaad7aa4ed0521e3621f2)

Signed-off-by: Drew Moseley <drew_moseley@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodistutils/distutils3: Fix bashism
Richard Purdie [Fri, 27 Jun 2014 09:23:23 +0000 (10:23 +0100)]
distutils/distutils3: Fix bashism

read -d is a bashism. Replace with a direct exec to avoid the problem
in this case. This fixes silent build failures in do_install of
tasks on systems with dash as /bin/sh.

Also merge the fix to distutils for only changing necessary files
to disutils3 as well.

(From OE-Core rev: 7d61661348cf48cbe379ae600565840ea08664b1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agou-boot-fw-utils: install config file
Maxin B. John [Wed, 25 Jun 2014 09:13:59 +0000 (11:13 +0200)]
u-boot-fw-utils: install config file

The on-target fw_printenv and fw_setenv needs configuration file
(fw_env.config) to be present in the target.

(From OE-Core rev: b4cd268cf7506a521d7800112cb775bd49e1ef09)

Signed-off-by: Maxin B. John <maxin.john@enea.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocreaterepo: RDEPENDS on libxml2-python
Robert Yang [Wed, 25 Jun 2014 09:16:20 +0000 (02:16 -0700)]
createrepo: RDEPENDS on libxml2-python

Fixed the error when run createrepo on target:
  Traceback (most recent call last):
    File "/usr/share/createrepo/genpkgmetadata.py", line 27, in <module>
      import libxml2
    File "/usr/lib64/python2.7/site-packages/libxml2.py", line 1, in <module>
  ImportError: No module named libxml2mod

(From OE-Core rev: 3ec0f411985cf6891b34e1f9624df9df38c9fc6f)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosudo: upgrade from 1.8.10p2 to 1.8.10p3
Chen Qi [Wed, 18 Jun 2014 03:12:24 +0000 (11:12 +0800)]
sudo: upgrade from 1.8.10p2 to 1.8.10p3

Upgrade sudo from 1.8.10p2 to 1.8.10p3.

[YOCTO #6457]

(From OE-Core rev: acd711f7faa98990f32b11f6235e739723ec2743)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoinitramfs-framework: get rid of udev-utils
Chen Qi [Wed, 18 Jun 2014 02:38:15 +0000 (10:38 +0800)]
initramfs-framework: get rid of udev-utils

Now that udev-utils package has been removed and 'udevadm' has been
moved to udev package, the initramfs-framework should also get rid
of the udev-utils package.

(From OE-Core rev: f0b8f08e13f395820172d16c9d4c016a0fbdbfe9)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosystemd: remove udev-utils, move 'udevadm' to udev package
Chen Qi [Wed, 18 Jun 2014 02:38:14 +0000 (10:38 +0800)]
systemd: remove udev-utils, move 'udevadm' to udev package

The udev package RDEPENDS on the udev-utils package, and the actually
udev-utils package relies on the udev package because if there's no
udev daemon, 'udevadm' command doesn't make much sense.

Now that we have removed udev-utils package and moved 'udevadm' to
the udev package in the older udev recipe, we should do the same
for systemd.

(From OE-Core rev: 393867e8818b54255271bb70bcd7b6ffea137c0a)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoudev: remove udev-utils, add 'udevadm' to udev package
Chen Qi [Wed, 18 Jun 2014 02:38:13 +0000 (10:38 +0800)]
udev: remove udev-utils, add 'udevadm' to udev package

Previously, the udev package only RRECOMMENDS udev-utils package,
but its init script in the udev package really relies on the
'udevadm' command to work properly. As a result, if 'NO_RECOMMENDATIONS'
is set to '1', errors occur at system start-up.

The udev-utils package only contains one file, that is /bin/udevadm.
So it's better that we remove the udev-utils package and move the
'udevadm' command to the udev package.

[YOCTO #6388]

(From OE-Core rev: 4814a7a85ccff74923a554bdc11820fceff84e2e)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoudev-cache.default: set PROBE_PLATFORM_BUS to "yes" by default
Denys Dmytriyenko [Thu, 19 Jun 2014 22:53:23 +0000 (18:53 -0400)]
udev-cache.default: set PROBE_PLATFORM_BUS to "yes" by default

Force probing of "platform" bus by default.

(From OE-Core rev: 6aae37c66fb6e7153b829ad860b7e7f94e804bd4)

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoudev: update init script for conditional probing of platform bus
Denys Dmytriyenko [Thu, 19 Jun 2014 22:53:22 +0000 (18:53 -0400)]
udev: update init script for conditional probing of platform bus

Make probing of "platform" bus conditional based on PROBE_PLATFORM_BUS
variable from /etc/default/udev-cache on subsequent boots when udev
cache is used. PROBE_PLATFORM_BUS has to be set to "yes" in order to
force probing on every boot, otherwise it uses the old default behaviour
of probing it just the first time.

This is helpful on modern SoCs where most of the low level peripheral
drivers are registered on the platform bus and need to be probed to load
the necessary modules and enable the connected buses and subsystems.

(From OE-Core rev: 70a695735e0a7d14448f2f5a9986bfe105210a91)

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoown-mirrors: Add gitsm:// mirror support
Richard Purdie [Tue, 24 Jun 2014 22:55:32 +0000 (23:55 +0100)]
own-mirrors: Add gitsm:// mirror support

(From OE-Core rev: 2abc6923956a3ebf8c0a00122ce605b8ec10ceb7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogtk-doc: Add pkgconfig inherit
Richard Purdie [Tue, 24 Jun 2014 22:55:00 +0000 (23:55 +0100)]
gtk-doc: Add pkgconfig inherit

Anything using gtk-doc will be using pkgconfig as well so
add in the dependency rather than doing it for each and every recipe.

(From OE-Core rev: 7ee05554c55607d9aa02f9a93762e2024bcd4bb0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibsdl: Convert to use pkg-config in internal m4 macros
Richard Purdie [Tue, 24 Jun 2014 22:53:47 +0000 (23:53 +0100)]
libsdl: Convert to use pkg-config in internal m4 macros

Rather than code which doesn't even work properly when cross compiling,
lets just use pkg-config instead. Its a little simpler.

(From OE-Core rev: b550572bdad318aed02230496721430eec89c937)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogst-openmax: Add missing pkgconfig inherit
Richard Purdie [Tue, 24 Jun 2014 22:52:58 +0000 (23:52 +0100)]
gst-openmax: Add missing pkgconfig inherit

(From OE-Core rev: 0f11090e566ae13fe76c4273655db320a87ba7ae)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolib/oe/package_manager.py: Add processing for alternative SDK_OS
Mark Hatle [Wed, 25 Jun 2014 00:28:07 +0000 (19:28 -0500)]
lib/oe/package_manager.py: Add processing for alternative SDK_OS

For the meta-mingw layer, we need to process alternative SDK_OS, since this
is not a Linux based OS.

(From OE-Core rev: b31e015d2e379c24610948d345c5970545887468)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogcc-cross-canadian: Add configure-target-libgcc
Mark Hatle [Wed, 25 Jun 2014 00:28:06 +0000 (19:28 -0500)]
gcc-cross-canadian: Add configure-target-libgcc

While we're not going to package the libgcc component as part of the SDK,
we do need to generate it to get the unwind, and quadmath headers.  Without
this change it is not possible to build eglibc or other components that
require these headers with the SDK toolchain.

(From OE-Core rev: e67b24401a366b20644510703c7140be975869ea)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopopulate_sdk: Fix TOOLCHAIN_TARGET_TASK_ATTEMPTONLY implementation
Mark Hatle [Wed, 25 Jun 2014 00:28:05 +0000 (19:28 -0500)]
populate_sdk: Fix TOOLCHAIN_TARGET_TASK_ATTEMPTONLY implementation

The variable was only partially implemented, and the part that was there
was named incorrectly to, missing the 'TASK' piece.

(From OE-Core rev: d0cb34cfe9a51fd8bc1e6e28c8eda60a25adc1ec)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoclasses/package_rpm.bbclass: Fix SDK Suffix reference
Mark Hatle [Wed, 25 Jun 2014 00:28:04 +0000 (19:28 -0500)]
classes/package_rpm.bbclass: Fix SDK Suffix reference

The meta-mingw layer attempts to change the SDK Suffix, but the rpm
packaging had a hard coded reference to _nativesdk.

I did a quick scan for other hard coded entries and did not fine any
more.

(From OE-Core rev: 0d3f7a753f17fa8c455f64e3df3259ef1887fd8a)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocurl: Convert CURLGNUTL to PACKAGECONFIG
Saul Wold [Wed, 25 Jun 2014 00:13:20 +0000 (17:13 -0700)]
curl: Convert CURLGNUTL to PACKAGECONFIG

This will allow for easier configuration of curl for SSL vs gnutls

[YOCTO #6329]

(From OE-Core rev: 6a8144390eb2dee6e1baf7be75cffcacbb247002)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoca-certificates: Update to 20140325
Saul Wold [Wed, 25 Jun 2014 00:13:19 +0000 (17:13 -0700)]
ca-certificates: Update to 20140325

Changes to debian/copyright:
Update to "Copyright: Mozilla Contributors" for mozilla/{certdata.txt,nssckbi.h}

Backported on additional patch from ca-certificates tree

[YOCTO #6454]

(From OE-Core rev: 3af33d60f03afb19543247b5350137ff3a7ee7e0)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agomobile-broadband-provider-info: Update SRCREV
Saul Wold [Wed, 25 Jun 2014 00:13:18 +0000 (17:13 -0700)]
mobile-broadband-provider-info: Update SRCREV

(From OE-Core rev: 684c9c8261494e3b66e37052c487c4449d8f9b01)

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.69
Saul Wold [Wed, 25 Jun 2014 00:13:17 +0000 (17:13 -0700)]
man-pages: Update to 3.69

(From OE-Core rev: 4fe42df0b384383c57d9bf16d0a725778b3477ad)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoxcb-util-renderutil: Update to version 0.3.9
Saul Wold [Wed, 25 Jun 2014 00:13:16 +0000 (17:13 -0700)]
xcb-util-renderutil: Update to version 0.3.9

Updated LIC_FILES_CHKSUM to focus only on header section
no license changes

(From OE-Core rev: 2832cb12b31f171e06b9bdd4e496682813301baf)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocurl: Update to 7.37
Saul Wold [Wed, 25 Jun 2014 00:13:15 +0000 (17:13 -0700)]
curl: Update to 7.37

Remove patches that are fixed upstream

(From OE-Core rev: d5d169af2b34596deb3997c2bfa7398c447c4fac)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agognupg: Update to 2.0.23
Saul Wold [Wed, 25 Jun 2014 00:13:14 +0000 (17:13 -0700)]
gnupg: Update to 2.0.23

(From OE-Core rev: ea397e7060fcb92b0b31c3de7c498c0df3f55ac4)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoliburcu: Update to 0.8.4
Saul Wold [Wed, 25 Jun 2014 00:13:13 +0000 (17:13 -0700)]
liburcu: Update to 0.8.4

Removed patch fixed upstream

(From OE-Core rev: 08a136e6fd9b598fc11787752b1a0a5c53e898ec)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibusb1: Update to 1.0.19
Saul Wold [Wed, 25 Jun 2014 00:13:12 +0000 (17:13 -0700)]
libusb1: Update to 1.0.19

(From OE-Core rev: 94368a16636b05dc21db564a0a55e0a705fbfa29)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosqlite3: Update to 3.8.5.0
Saul Wold [Wed, 25 Jun 2014 00:13:11 +0000 (17:13 -0700)]
sqlite3: Update to 3.8.5.0

(From OE-Core rev: 6b3ac5de53417f130f5335b88aa78f1bd655c4e0)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agou-boot: Optionally deploy an environment or script file
Ash Charles [Tue, 24 Jun 2014 20:10:18 +0000 (13:10 -0700)]
u-boot: Optionally deploy an environment or script file

Some boards are configured to read a script or environment file as part
of the u-boot boot sequence.  This file, typically called 'uEnv.txt' or
'boot.scr', would be deployed alongside the u-boot binary.  If a recipe
uses this u-boot.inc, such a file can be deployed by setting the optional
UBOOT_ENV parameter and including the file in the SRC_URI.  For example:

    SRC_URI_append_overo = "file://uEnv.txt"
    UBOOT_ENV_overo = "uEnv"

(From OE-Core rev: 1506c40c93651356b9fe2f7184b5e26f99e22686)

Signed-off-by: Ash Charles <ashcharles@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocmake.bbclass: restore OECMAKE_SOURCEPATH
Ross Burton [Tue, 24 Jun 2014 20:21:32 +0000 (21:21 +0100)]
cmake.bbclass: restore OECMAKE_SOURCEPATH

Some packages put their CMakeLists.txt file in a subdirectory, so assuming that
it is in ${S} won't work.

Restore OECMAKE_SOURCEPATH (defaulting to ${S}) so that the location of
CMakeLists.txt can be set if required.

Based on a patch by Miroslav Keš <miroslav.kes@gmail.com>

(From OE-Core rev: 2c23d7ab913a636aa0ab6a6e899cf6211d1e2714)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobinutils: Add fix for recent patch on older gcc
Richard Purdie [Wed, 25 Jun 2014 09:09:44 +0000 (09:09 +0000)]
binutils: Add fix for recent patch on older gcc

The recent bintuils patch update breaks on older gccs such as CentOS 6.
Backport a patch to address this.

(From OE-Core rev: 76f65e73081f52cea718ef164f9d1d7a5c65d537)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobinutils: Apply the proper fix for PR 16428
H.J. Lu [Tue, 24 Jun 2014 21:18:19 +0000 (14:18 -0700)]
binutils: Apply the proper fix for PR 16428

It is fixed by

commit 4199e3b8669d0a36448687850374fdc2ad7240b6
Author: Alan Modra <amodra@gmail.com>
Date:   Wed Jan 15 21:50:55 2014 +1030

    non-PIC references to __ehdr_start in pie and shared

    Rather than hacking every backend to not discard dynamic relocations
    against an undefined hidden __ehdr_start, make it appear to be defined
    early.  We want __ehdr_start hidden before size_dynamic_sections so
    that it isn't put in .dynsym, but we do need the dynamic relocations
    for a PIE or shared library with a non-PIC reference.  Defining it
    early is wrong if we don't actually define the symbol later to its
    proper value.  (In some cases we want to leave the symbol undefined,
    for example, when the ELF header isn't loaded, and we don't have this
    infomation available in before_allocation.)

So replace the existing patches with this one.

(From OE-Core rev: db37534c412ff3f1460687611060b3c4b3f95a04)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agooe-pkgdata-util: fix help text
Paul Eggleton [Tue, 22 Apr 2014 11:23:08 +0000 (12:23 +0100)]
oe-pkgdata-util: fix help text

This was copy/pasted from another script and not corrected.

(From OE-Core rev: 65b79e8ffffb20b7dd83213c72774745f18d978d)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolist-packageconfig-flags: improve option parsing
Paul Eggleton [Fri, 23 May 2014 13:30:34 +0000 (14:30 +0100)]
list-packageconfig-flags: improve option parsing

* Use optparse instead of getopt (less code & automatic help)
* Change help text / output to use "recipe" instead of "package"
* Print something to indicate the script is still gathering information

Note that the long options have been renamed as appropriate.

(From OE-Core rev: 0ab4da8667cdf027d841e04ed5a35ddd45ad494a)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolist-packageconfig-flags: filter out doc and defaultval varflags
Paul Eggleton [Fri, 23 May 2014 12:20:40 +0000 (13:20 +0100)]
list-packageconfig-flags: filter out doc and defaultval varflags

These are generic flags and shouldn't be listed in the output of this
script.

(From OE-Core rev: 0f8b16c5ea78f1d48b45cef7a317f8a307c48ebe)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoscripts: consolidate code to find bitbake path
Paul Eggleton [Tue, 22 Apr 2014 11:07:35 +0000 (12:07 +0100)]
scripts: consolidate code to find bitbake path

Several of these scripts were using duplicated code (and slightly
different methods) to find the path to bitbake and add its lib
subdirectory to the Python import path. Add some common code to do this
and change the scripts to use it.

Fixes [YOCTO #5076].

(From OE-Core rev: 0b5e94e168819134dcda0433c8ae893df4ab13ce)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosyslinux: fix isohybird overflows on 32 bit system
Kai Kang [Fri, 20 Jun 2014 06:06:30 +0000 (14:06 +0800)]
syslinux: fix isohybird overflows on 32 bit system

When call isohybrid with option '-u', it overflows on a 32 bits host. It
seeks to 512 bytes before the end of the image to install gpt header. If
the size of image is larger than LONG_MAX, it overflows fseek() and
cause error:

isohybrid: wrlinux-image-x86-64-20140505110100.iso: seek error - 8: Invalid argument

Replace fseek with fseeko to fix this issue.

(From OE-Core rev: 41bd9dbf6f3e0add6a9e2cb20cfcbff44d785ea4)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agonfs-utils: fix the --with-statdpath= flag
Yao Xinpan [Fri, 20 Jun 2014 06:47:02 +0000 (14:47 +0800)]
nfs-utils: fix the --with-statdpath= flag

if --with-statdpath= is not the default value, will happen the following questions:
'Failed to open directory sm: No such file or directory'.

Submitted to nfs-utils mailing list here:

    http://git.linux-nfs.org/?p=steved/nfs-utils.git;a=commitdiff;h=3b1457d219ceb1058d44bacc657581f13437ae40#patch1

This has been accepted into upstream nfs-utils so it will not be needed
for future versions.

(From OE-Core rev: 15dbdfc6a7e3f03862d9c670ffd2ae8f4d9d8b69)

Signed-off-by: Yao Xinpan <yaoxp@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogummiboot.bbclass: Ensure MLPREFIX is applied to depends flag
Ming Liu [Thu, 19 Jun 2014 08:43:00 +0000 (16:43 +0800)]
gummiboot.bbclass: Ensure MLPREFIX is applied to depends flag

Add MLPREFIX to depends flag to ensure the correct gummiboot is
dependended upon.

(From OE-Core rev: 9ed2b77aafe5bcd57da56377e6e58dae0c1fcfaf)

Signed-off-by: Ming Liu <ming.liu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogrub-efi.bbclass: Ensure MLPREFIX is applied to depends flag
Ming Liu [Thu, 19 Jun 2014 08:42:59 +0000 (16:42 +0800)]
grub-efi.bbclass: Ensure MLPREFIX is applied to depends flag

Add MLPREFIX to depends flag to ensure the correct grub-efi is
dependended upon.

(From OE-Core rev: b62bf9e1cb8670901cfc37b1cd1822703ebdc000)

Signed-off-by: Ming Liu <ming.liu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosyslinux.bbclass: Ensure MLPREFIX is applied to depends flag
Ming Liu [Thu, 19 Jun 2014 08:42:58 +0000 (16:42 +0800)]
syslinux.bbclass: Ensure MLPREFIX is applied to depends flag

Add MLPREFIX to depends flag to ensure the correct syslinux is
dependended upon.

(From OE-Core rev: c8dc421ea18bb7a810501ab6d07efa9c8f6d6eb9)

Signed-off-by: Ming Liu <ming.liu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoeglibc (2.19): fix hardcoded /sbin path
Matthieu Crapet [Thu, 19 Jun 2014 08:33:59 +0000 (10:33 +0200)]
eglibc (2.19): fix hardcoded /sbin path

Apply for ldconfig and sln packages.

(From OE-Core rev: 8f17b78005bca46ce4b54be3f74bfb39571359c6)

Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoinitscripts: update populate-volatile.sh
Kai Kang [Thu, 19 Jun 2014 07:31:52 +0000 (15:31 +0800)]
initscripts: update populate-volatile.sh

If a partition such as /tmp mounted on a volatile directory which create
by script populate-volatile.sh from initscripts, it will show errors.

In /var/log/boot, error message:

Thu Jun 19 05:39:09 2014: bootlogd.
Thu Jun 19 05:39:10 2014: rm: cannot remove '/tmp': Device or resource busy

Check volatile directories and if it is be mounted then don't force make
it as a link.

(From OE-Core rev: cc4b0936c7a6a1563dc88d62d8c9020791eaa446)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>