]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
10 years agoelfutils 0.148: use BPN in SRC_URI
Robert Yang [Mon, 2 Feb 2015 08:59:13 +0000 (00:59 -0800)]
elfutils 0.148: use BPN in SRC_URI

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
10 years agosubversion 1.6.15: fix unknown-configure-option
Robert Yang [Wed, 28 Jan 2015 01:10:37 +0000 (17:10 -0800)]
subversion 1.6.15: fix unknown-configure-option

WARNING: QA Issue: subversion: configure was passed unrecognised options: --without-apache [unknown-configure-option]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
10 years agorxvt-unicode: fix for 9.20 and 9.21
Robert Yang [Tue, 27 Jan 2015 09:00:23 +0000 (01:00 -0800)]
rxvt-unicode: fix for 9.20 and 9.21

* Add a rxvt-unicode.inc for rxvt-unicode_9.20.bb and rxvt-unicode_9.21.bb
* Fix unknown-configure-option:
  WARNING: QA Issue: rxvt-unicode: configure was passed unrecognised options: --enable-menubar --enable-cursor-blink --enable-shared --disable-strings --enable-xgetdefault [unknown-configure-option]
* Fix build-deps: (add a PACKAGECONFIG)
  WARNING: QA Issue: rxvt-unicode rdepends on startup-notification, but it isn't a build dependency? [build-deps]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
10 years agotar 1.17: fix unknown-configure-option
Robert Yang [Tue, 27 Jan 2015 08:31:21 +0000 (00:31 -0800)]
tar 1.17: fix unknown-configure-option

WARNING: QA Issue: tar: configure was passed unrecognised options: --without-posix-acls [unknown-configure-option]

tar 1.17 doesn't support --without-posix-acls, move it from tar.inc to
tar_1.28.bb to fix the problem.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
10 years agogrep 2.5.1a: fix unknown-configure-option
Robert Yang [Tue, 27 Jan 2015 08:24:36 +0000 (00:24 -0800)]
grep 2.5.1a: fix unknown-configure-option

Fixed:
WARNING: QA Issue: grep: configure was passed unrecognised options: --disable-ncurses [unknown-configure-option]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
10 years agogzip 1.3.12: a few fixes
Robert Yang [Tue, 27 Jan 2015 08:18:55 +0000 (00:18 -0800)]
gzip 1.3.12: a few fixes

* Let gzip_1.3.12.bb and gzip_1.6.bb use gzip.inc to remove duplicated
  code.
* Fixed for gzip_1.3.12.bb:
  WARNING: QA Issue: gzip requires /bin/bash, but no providers in its RDEPENDS [file-rdeps]
* Remove native extend from gzip_1.3.12.bb, keep gzip_1.6.bb's.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
10 years agopatch 2.5.9: fix unknown-configure-option
Robert Yang [Tue, 27 Jan 2015 08:06:32 +0000 (00:06 -0800)]
patch 2.5.9: fix unknown-configure-option

Fixed:
WARNING: QA Issue: patch: configure was passed unrecognised options: --disable-xattr [unknown-configure-option]

The patch 2.5.9 doesn't support --disable-xattr, there are already
PACKAGECONFIG and PACKAGECONFIG[attr] in patch_2.7.1.bb, so remove them from
patch.inc to fix the problem.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
10 years agom4 1.4.9: fix unknown-configure-option
Robert Yang [Tue, 27 Jan 2015 08:02:13 +0000 (00:02 -0800)]
m4 1.4.9: fix unknown-configure-option

Fixed:
WARNING: QA Issue: m4: configure was passed unrecognised options: --without-libsigsegv-prefix [unknown-configure-option]

The m4 1.4.9 doesn't support --without-libsigsegv-prefix, so move it from m4.inc
to m4-1.4.17.inc.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
10 years agofindutils 4.2.31: fix SRC_URI
Robert Yang [Tue, 27 Jan 2015 07:38:23 +0000 (23:38 -0800)]
findutils 4.2.31: fix SRC_URI

The findutils_4.2.31.bb can't use the SRC_URI in findutils.inc (but
findutils_4.5.14.bb can use it), use the right SRC_URI to fix it.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
10 years agogroff 1.18.1.4: fix HOMEPAGE and SRC_URI
Robert Yang [Tue, 27 Jan 2015 07:03:55 +0000 (23:03 -0800)]
groff 1.18.1.4: fix HOMEPAGE and SRC_URI

The upstream has moved tarball to "old" dir.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
10 years agoxf86-video-intel 2.21.15: remove it
Robert Yang [Tue, 27 Jan 2015 06:41:15 +0000 (22:41 -0800)]
xf86-video-intel 2.21.15: remove it

It doesn't work:
| checking whether to include DRI1 support... no
| configure: error: DRI1 requested but prerequisites not found

And there is a xf86-video-intel_2.99.917.bb which is MIT-X.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
10 years agomatchbox-desktop: remove 0.9.1 and 2.0 version
Robert Yang [Tue, 27 Jan 2015 06:19:33 +0000 (22:19 -0800)]
matchbox-desktop: remove 0.9.1 and 2.0 version

For 0.9.1:
ERROR: matchbox-wm: Recipe file does not have license file information (LIC_FILES_CHKSUM)
ERROR: Licensing Error: LIC_FILES_CHKSUM does not match, please fix

For 2.0:
| /path/to/matchbox-desktop-2.0/configure: line 2488: syntax error near unexpected token `build_old_libs,'
| /path/to/matchbox-desktop-2.0/configure: line 2488: `    _LT_DECL(build_old_libs, enable_static, 0,'

And there is a matchbox-desktop_git.bb which is "GPLv2+ & LGPLv2+", so remove them.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
10 years agomatchbox-wm 1.2: remove it
Robert Yang [Tue, 27 Jan 2015 06:05:43 +0000 (22:05 -0800)]
matchbox-wm 1.2: remove it

It doesn't work:
ERROR: matchbox-wm: Recipe file does not have license file information (LIC_FILES_CHKSUM)
ERROR: Licensing Error: LIC_FILES_CHKSUM does not match, please fix

And there is a matchbox-wm_git.bb, they have the same GPLv2+ license.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
10 years agowhich 2.18: fix SRC_URI
Robert Yang [Tue, 27 Jan 2015 05:57:38 +0000 (21:57 -0800)]
which 2.18: fix SRC_URI

It is the GPLv2+ version, the old SRC_URI is down, use fedoraproject's
repo. Its homepage is also down, but I can't find a new one for it.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
10 years agobusybox: Include 'mesg' utility
Ash Charles [Thu, 29 Jan 2015 21:34:40 +0000 (13:34 -0800)]
busybox: Include 'mesg' utility

The 'dot.profile' supplied by base-files calls 'mesg'.  For simple
images using busybox e.g. core-image-minimal, this utility should be
available to avoid errors on login:

 -sh: mesg: command not found

Provide mesg with busybox.

Signed-off-by: Ash Charles <ashcharles@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agorecipetool: improve command-line help
Paul Eggleton [Thu, 5 Feb 2015 14:04:00 +0000 (14:04 +0000)]
recipetool: improve command-line help

Based on feedback from Scott Rifenbark <scott.m.rifenbark@intel.com>

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agodevtool: improve command-line help
Paul Eggleton [Thu, 5 Feb 2015 14:03:59 +0000 (14:03 +0000)]
devtool: improve command-line help

Based on feedback from Scott Rifenbark <scott.m.rifenbark@intel.com>

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agoscripts/oe-selftest: add command line option to list test classes
Alexandru DAMIAN [Wed, 4 Feb 2015 14:13:57 +0000 (14:13 +0000)]
scripts/oe-selftest: add command line option to list test classes

While trying to discover what tests are available, I felt the
need to be able to list all individual tests so I can run specific
tests.

This patch adds the "--list-classes" command line option that
lists the unit test classes and methods available.

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agoscripts/oe-selftest: fix startup backtrace
Alexandru DAMIAN [Wed, 4 Feb 2015 14:13:56 +0000 (14:13 +0000)]
scripts/oe-selftest: fix startup backtrace

Fixing a backtrace dump that happens if the script is started
without sourcing the oe-init-build-env first.

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agowic: bootimg-partition: Stop removing whole workdir
Alexandre Belloni [Wed, 4 Feb 2015 22:49:15 +0000 (23:49 +0100)]
wic: bootimg-partition: Stop removing whole workdir

Stop removing the whole working directory as this is also removing
eventual previously created partition images, leading to image creation
failures.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agowic: print partition alignment when available
Alexandre Belloni [Wed, 4 Feb 2015 22:48:38 +0000 (23:48 +0100)]
wic: print partition alignment when available

When printing a partition, the --align parameter was shown when present
but not its value.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agowic: use kB for the partitions size
Alexandre Belloni [Wed, 4 Feb 2015 22:45:02 +0000 (23:45 +0100)]
wic: use kB for the partitions size

Use kB instead of MB for the partition size to get a better granularity.

This is needed on some SoC (i.mx, omap) where it is necessary to create
partitions as small as 64kB.

Keep the backward compatibility by assuming MB when no unit is provided.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Tested-by: Maciej Borzecki <maciej.borzecki@open-rnd.pl>
Acked-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Tested-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agoterminal.py: add tmux new window option
Dan McGregor [Wed, 4 Feb 2015 16:09:12 +0000 (10:09 -0600)]
terminal.py: add tmux new window option

Add a new terminal type that makes a new window in the running tmux
session instead of splitting the window. 80x25 is not enough to run
menuconfig inside a split window, so add the option to create a new
window instead.

Use the new window option by default when the split window would be
less than 19 lines high.

Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agoopenssh: Fix non-deterministic build behaviour
Dan McGregor [Wed, 4 Feb 2015 16:09:13 +0000 (10:09 -0600)]
openssh: Fix non-deterministic build behaviour

If maillock.h is found, a dependency on liblockfile will be created.
liblockfile is in meta-oe, so we don't want that in an oe-core recipe.

Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agolinux-yocto-tiny_3.17: Update to actually use 3.17 git repo
Saul Wold [Wed, 4 Feb 2015 16:22:53 +0000 (08:22 -0800)]
linux-yocto-tiny_3.17: Update to actually use 3.17 git repo

The named release was still using the -dev git repo which did not contain
the SRCREV referenced in the numbered/named version.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agoRevert "bitbake.conf: don't remove WARN_QA and ERROR_QA from hashes"
Ross Burton [Wed, 4 Feb 2015 21:31:28 +0000 (21:31 +0000)]
Revert "bitbake.conf: don't remove WARN_QA and ERROR_QA from hashes"

It turns out that changing WARN_QA and ERROR_QA results in do_configure's QA
postfunc re-executing, so changing a QA test results in a complete rebuild.

This is just too much and the lesser evil of needing to do a full rebuild to
verify changed QA flags is preferable to an enforced full rebuild.

This reverts commit daecfc3438122b5d146a59a5053e57006d55ccc4.

Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agoinsane.bbclass: Added QA test for expanded ${D}
Alejandro Hernandez [Tue, 13 Jan 2015 23:00:40 +0000 (17:00 -0600)]
insane.bbclass: Added QA test for expanded ${D}

Checks in FILES and pkg_* variables, solves common mistake of

using ${D} instead of $D and warns the user accordingly.

[YOCTO #6642]

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agofiles/toolchain-shar-template.sh: fix replace target_sdk_dir twice in environment...
Aníbal Limón [Wed, 4 Feb 2015 14:54:58 +0000 (08:54 -0600)]
files/toolchain-shar-template.sh: fix replace target_sdk_dir twice in environment setup file

When specify a target sdk dir that contains default install dir as
subdir,

target_sdk_dir=/opt/poky/$version/
custom_target_sdk_dir=/opt/poky/$version/some

The target_sdk_dir variable in environment-setup file is replaced twice
causes to point to wrong PATH.

In order to fix filter environment-setup file in second replacement.

[YOCTO #7032]

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agomesa: Upgrade to 10.4.3
Pengyu Ma [Tue, 3 Feb 2015 02:11:08 +0000 (10:11 +0800)]
mesa: Upgrade to 10.4.3

flags for EGL and GBM Gallium had been removed in 10.4,
so remove these flags, files or packages.

Signed-off-by: Pengyu Ma <pengyu.ma@windriver.com>
Tested-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agowic: bail out on kickstart parse errors
Maciej Borzecki [Wed, 4 Feb 2015 10:53:07 +0000 (11:53 +0100)]
wic: bail out on kickstart parse errors

Kickstart file errors are not emitted by the parser. In case errors, the
current code will continue to execute possibly creating a faulty or
incomplete image. The patch enables the parser to emit all encountered
errors. The error message is shown for the user and further execution is
ceased.

Signed-off-by: Maciej Borzecki <maciej.borzecki@open-rnd.pl>
Signed-off-by: Maciek Borzecki <maciek.borzecki@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agoglibc: Re-enable upstream __USE_KERNEL_XATTR_DEFS patch
Khem Raj [Mon, 2 Feb 2015 04:19:16 +0000 (20:19 -0800)]
glibc: Re-enable upstream __USE_KERNEL_XATTR_DEFS patch

Re-introduce

https://sourceware.org/git/?p=glibc.git;a=commit;h=fdbe8eae2b9aed74dabba1b0a189c5d7d61bf032

This patch was overzealously removed during option groups forward port

Change-Id: I8dd01902ae8e5ee8b5c6fc9dc39c7216952dca51
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agoimage.bbclass: don't let do_rootfs depend on BUILDNAME
Chen Qi [Wed, 4 Feb 2015 07:11:32 +0000 (15:11 +0800)]
image.bbclass: don't let do_rootfs depend on BUILDNAME

BUILDNAME is set by cooker as a string of current time. Letting do_rootfs
task depend on this variable gets us no benefit. Besides, letting do_rootfs
task depend on this variable will cause us trouble when executing
`bitbake -S none core-image-minimal'. With current code, this command
gives us error complaining about the different bashhash of do_rootfs task.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agocore-image: split debug-tweaks into individual features
Saul Wold [Mon, 2 Feb 2015 22:07:47 +0000 (14:07 -0800)]
core-image: split debug-tweaks into individual features

Split the debug-tweaks into a more fine tunable set of IMAGE_FEATURES
which activate the component functions.

Clean-up image-core and image bbclass by having the ROOTFS_POSTPROCESS_COMMANDs
in in one place for the debug-tweaks related functions

[YOCTO #5344]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
10 years agocreate-pull-request: Fix git request-pull
Saul Wold [Tue, 3 Feb 2015 17:08:29 +0000 (09:08 -0800)]
create-pull-request: Fix git request-pull

Signed-off-by: Saul Wold <sgw@linux.intel.com>
10 years agoca-certificates: Upgrade to 20141019 (git based)
Saul Wold [Mon, 2 Feb 2015 18:09:40 +0000 (10:09 -0800)]
ca-certificates: Upgrade to 20141019 (git based)

Rebase default-sysroot patch
Remove backported Mozilla certdata patch
License has not changed, just wording.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
10 years agolsbinitscripts: Upgrade to 9.61
Saul Wold [Mon, 2 Feb 2015 18:05:36 +0000 (10:05 -0800)]
lsbinitscripts: Upgrade to 9.61

Signed-off-by: Saul Wold <sgw@linux.intel.com>
10 years agonspr: Upgrade to 4.10.8
Saul Wold [Mon, 2 Feb 2015 18:05:06 +0000 (10:05 -0800)]
nspr: Upgrade to 4.10.8

Signed-off-by: Saul Wold <sgw@linux.intel.com>
10 years agoglew: Upgrade to 1.12
Saul Wold [Mon, 2 Feb 2015 18:04:37 +0000 (10:04 -0800)]
glew: Upgrade to 1.12

Signed-off-by: Saul Wold <sgw@linux.intel.com>
10 years agoclasses/license: tweak license format messages
Paul Eggleton [Tue, 3 Feb 2015 15:28:52 +0000 (15:28 +0000)]
classes/license: tweak license format messages

Strictly speaking not all of these characters are operators, so reword
the message to describe them as separators. Also use the standard
"recipename: message" format.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agobinconfig-disabled.bbclass: fix echo command
Robert Yang [Sun, 1 Feb 2015 02:04:55 +0000 (18:04 -0800)]
binconfig-disabled.bbclass: fix echo command

The ">" should be ">>".

We had got something like the following in pcap-config:
echo '--should-not-have-used-/usr/bin/pcap-config'
exit 1

(Lacks of #!/bin/sh)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
10 years agogcc-configure-common.inc: remove ac_cv_path_SED
Robert Yang [Tue, 27 Jan 2015 02:45:32 +0000 (18:45 -0800)]
gcc-configure-common.inc: remove ac_cv_path_SED

It is not needed any more since sed-native had been dropped.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
10 years agovalgrind: depends on boost when ptest
Robert Yang [Sun, 1 Feb 2015 01:10:02 +0000 (17:10 -0800)]
valgrind: depends on boost when ptest

Fixed:
drd/tests/boost_thread.cpp:5:38: fatal error: boost/thread/condition.hpp: No such file or directory
 #include <boost/thread/condition.hpp>

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
10 years agoapr-util: Allow use in SDK
Timo Mueller [Tue, 3 Feb 2015 12:21:28 +0000 (13:21 +0100)]
apr-util: Allow use in SDK

This adds 'nativesdk' in the BBCLASSEXTEND.

Building apr-util for the SDK requires that some paths in the rules.mk
file are fixed to point to the actual enviroment. These include pointing
the apr configuration variables to the actual apr builddir and
correcting the name of the libtool.

Signed-off-by: Timo Mueller <timo.mueller@bmw-carit.de>
Signed-off-by: Lukas Bulwahn <lukas.bulwahn@oss.bmw-carit.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agowic: fix extended/logical partition layout
Maciej Borzecki [Fri, 9 Jan 2015 13:24:02 +0000 (14:24 +0100)]
wic: fix extended/logical partition layout

The patch fixes an issue in laying out extended and logical partitions
by wic. The original code produced disk images in which the size 3rd
partition as described in MBR was incorrect. Depending on the type of
file system used for that partition and size of the partition, it would
be impossible to mount the partition correctly. For instance, kickstart
file in which the 3rd partition had size of 1GB and used ext4 fs, would
result in an image with an umountable partition. The root cause is
reservation of sectors for EBR through stealing of last sector from the
last primary partition.

Signed-off-by: Maciej Borzecki <maciej.borzecki@open-rnd.pl>
Signed-off-by: Maciek Borzecki <maciek.borzecki@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agou-boot.inc : add compile multiple u-boot feature
Chunrong Guo [Thu, 22 Jan 2015 06:27:50 +0000 (14:27 +0800)]
u-boot.inc : add compile multiple u-boot feature

Signed-off-by: Chunrong Guo <B40290@freescale.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agouboot-config.bbclass: Allow multiple U-Boot config for machine
Chunrong Guo [Thu, 22 Jan 2015 06:27:49 +0000 (14:27 +0800)]
uboot-config.bbclass: Allow multiple U-Boot config for machine

  This adds support to build multiple U-Boot configs for a machine; this
  is useful when we have support for different media boots which require
  different U-Boot configuration (e.g: eMMC and NAND).

  Below there's an usage example:
  ,----[ i.MX6Q SABRE AUTO based example ]
  | UBOOT_CONFIG ??= "sd eimnor nand spinor"
  | UBOOT_CONFIG[sd] = "mx6qsabreauto_config,sdcard"
  | UBOOT_CONFIG[eimnor] = "mx6qsabreauto_eimnor_config"
  | UBOOT_CONFIG[nand] = "mx6qsabreauto_nand_config,ubifs"
  | UBOOT_CONFIG[spinor] = "mx6qsabreauto_spinor_config"
  `----

Signed-off-by: Chunrong Guo <B40290@freescale.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agolibtool: avoid running automake/autoconf --version
Robert Yang [Thu, 5 Feb 2015 09:31:28 +0000 (01:31 -0800)]
libtool: avoid running automake/autoconf --version

The libtool would be very slow if run "automake/autoconf --version", for
example, when compile xz-native (make -j1, only compile, no confiure or
install):

before patched: 19s
after patched:  11s

Use plain text to instead of running them.

NOTE: it is still a little slower than libtool 2.4.2 when compile
xz-native because of other parts:
make -j1: about 2s slower
make -j32: about 0.4s slower

If we run to do_install:
(PARALLEL_MAKE = "-j32")
libtool 2.4.2:
$ bitbake xz-native -cinstall && bitbake xz-native -ccleansstate && time bitbake xz-native -cinstall
real    0m21.092s
user    0m28.292s
sys     0m3.932s

libtool 2.4.5:
$ bitbake xz-native -cinstall && bitbake xz-native -ccleansstate && time bitbake xz-native -cinstall
real    0m21.380s
user    0m31.140s
sys     0m4.068s

About 0.3s, slightly different.

But when using /bin/bash as CONFIG_SHELL, the new libtool would be much slower:
real    0m23.106s
user    0m44.044s
sys     0m4.280s

About 2s slower, for the big package like cairo, it is more slower (about 6s),
unfortunately, /bin/bash is most default CONFIG_SHELL for the recipes since
configure checks first check bash.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoopkg-keyrings: New recipe
Paul Barker [Sun, 21 Dec 2014 13:26:27 +0000 (13:26 +0000)]
opkg-keyrings: New recipe

This recipe wraps package and package feed verification keys into a package,
making the management and deployment of verification keys much easier. Comments
on how to select keys for inclusion in this package are provided in the recipe
file.

Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
10 years agoopkg: Backport improvements to opkg-key
Paul Barker [Sun, 21 Dec 2014 13:06:12 +0000 (13:06 +0000)]
opkg: Backport improvements to opkg-key

The improvements to opkg-key made for v0.3.0 are backported. The rest of v0.3.0
needs further testing and bugfixing prior to release, but the improvements to
opkg-key have been tested and work well.

Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
10 years agopoky-feed-config-opkg: Remove
Paul Barker [Fri, 19 Dec 2014 18:01:03 +0000 (18:01 +0000)]
poky-feed-config-opkg: Remove

This recipe was not usable as-is. A much better way of configuring package feeds
for opkg is provided by the distro-feed-config recipe in meta-oe.

Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
10 years agoopkg: Merge in opkg-collateral
Paul Barker [Fri, 19 Dec 2014 17:50:12 +0000 (17:50 +0000)]
opkg: Merge in opkg-collateral

All non-arch-specific and non-distro-specific configuration is now kept in the
main 'opkg' recipe and package.

Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
10 years agoopkg: Merge opkg.inc into recipe and tidy up
Paul Barker [Fri, 19 Dec 2014 17:57:16 +0000 (17:57 +0000)]
opkg: Merge opkg.inc into recipe and tidy up

There is no benefit to having a separate .inc file when we only support one
version of opkg.

The .inc file had multiple do_install_append functions and several variables
were defined out of the usual order. This arrangement should be better.

Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
10 years agoopkg-collateral: Simplify source files
Paul Barker [Fri, 19 Dec 2014 17:35:29 +0000 (17:35 +0000)]
opkg-collateral: Simplify source files

Instead of having the source files 'opkg.conf.comments', 'dest' and 'src', we
simply have one 'opkg.conf' file containing all the necessary configuration.

This does mean that replacing 'src' in a bbappend to define distro-specific
package feeds is no longer supported, but these feed configurations should be
packaged separately from the rest of the opkg configuration anyway so that
things can be updated independently. The best recipe to use for managing feed
configs is currently distro-feed-config in the meta-oe layer.

Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
10 years agoopkg-arch-config: Renamed from opkg-config-base
Paul Barker [Fri, 19 Dec 2014 17:31:16 +0000 (17:31 +0000)]
opkg-arch-config: Renamed from opkg-config-base

The name 'opkg-arch-config' is much more descriptive.

Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
10 years agoapr: Allow use in SDK
Timo Mueller [Mon, 2 Feb 2015 14:03:07 +0000 (15:03 +0100)]
apr: Allow use in SDK

This adds 'nativesdk' in the BBCLASSEXTEND.

Signed-off-by: Timo Mueller <timo.mueller@bmw-carit.de>
Signed-off-by: Lukas Bulwahn <lukas.bulwahn@oss.bmw-carit.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agoinsane: add unknown-configure-option to default WARN_QA
Ross Burton [Wed, 21 Jan 2015 17:54:12 +0000 (17:54 +0000)]
insane: add unknown-configure-option to default WARN_QA

The unknown-configure-option check is generally useful and should be enabled by
default.

Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agobitbake.conf: don't remove WARN_QA and ERROR_QA from hashes
Ross Burton [Wed, 21 Jan 2015 17:53:31 +0000 (17:53 +0000)]
bitbake.conf: don't remove WARN_QA and ERROR_QA from hashes

Changing WARN_QA and ERROR_QA should cause do_package_qa to re-execute, so
removing them from the sstate hashes is harmful.

They were added back when sanity testing was part of packaging and this was the
lesser evil, compared to changing sanity tests causing a re-package of
everything.

Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agowayland: remove explicit class-native DEPENDS
Ross Burton [Mon, 2 Feb 2015 11:10:26 +0000 (11:10 +0000)]
wayland: remove explicit class-native DEPENDS

Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agonative: remove PN from DEPENDS automatically
Ross Burton [Mon, 2 Feb 2015 11:03:28 +0000 (11:03 +0000)]
native: remove PN from DEPENDS automatically

If a recipe (say, wayland) has DEPENDS=wayland-native and BBCLASSEXTEND=native,
when built as wayland-native it has DEPENDS=wayland-native which results in a
circular dependency.

Typically this is resolved by having explicit DEPENDS_class-native statements
but as this is duplication which can lead to inconsistent dependencies,
automatically remove the circular dependency.

Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agosystemd: Backports fixes to 216
Khem Raj [Thu, 29 Jan 2015 20:44:20 +0000 (12:44 -0800)]
systemd: Backports fixes to 216

Fix systemd-timesyncd assertion

when networkd is disabled then we now do not
create /run/systemd/netif/links but timesyncd needs it. So lets
manually create this file when networkd is disabled so timesyncd
can still function

When enabling systemd-timesyncd we need systemd-timesync user

Backport patches to enable timesyncd when resolved and networkd
are disabled

replace the resolv.conf symlinink patch with a proper backport

Change-Id: I53f1a53eec4e4a4dbdfb7e8cd155d544ee5d81ec
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agolsbinitscripts: fix the path for mountpoint
Jackie Huang [Fri, 30 Jan 2015 02:03:55 +0000 (10:03 +0800)]
lsbinitscripts: fix the path for mountpoint

mountpoint is installed in ${bindir}

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agolib/oe/terminal: add support for Terminology terminal emulator
Rodrigo Chiossi [Tue, 6 Jan 2015 14:18:54 +0000 (12:18 -0200)]
lib/oe/terminal: add support for Terminology terminal emulator

Terminology is the default Enlightenment terminal emulator

Signed-off-by: Rodrigo Chiossi <rodrigo.chiossi@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agopiglit: add x11 to required DISTRO_FEATURES
Martin Jansa [Wed, 28 Jan 2015 14:52:11 +0000 (15:52 +0100)]
piglit: add x11 to required DISTRO_FEATURES

* there is some pending work to resolve this unnecessary x11
  dependency, this can be reverted together with x11 dependency
  removal

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agoxmlto-native: fixes slow creation of yocto docs
Alejandro Hernandez [Tue, 27 Jan 2015 23:26:31 +0000 (17:26 -0600)]
xmlto-native: fixes slow creation of yocto docs

Forces native RDEPENDS of xmlto-native to be built and installed
since those files are required when creating yocto-docs
if not found, they are downloaded from upstream everytime
significant time difference is achieved.

[YOCTO #7148]

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agoxorg-driver: add x11 to required DISTRO_FEATURES
Martin Jansa [Wed, 28 Jan 2015 14:52:09 +0000 (15:52 +0100)]
xorg-driver: add x11 to required DISTRO_FEATURES

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agopackage_manager.py: fix rootfs failure with multilib enabled
Chen Qi [Thu, 29 Jan 2015 02:22:14 +0000 (10:22 +0800)]
package_manager.py: fix rootfs failure with multilib enabled

With the current code, if we use debian package backend and enable
multilib support, the do_rootfs process would always fail with error
messages like below.

    E: Unable to locate package packagegroup-core-boot

This patch fixes the above problem.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agoopenssh: configuration updates
Dan McGregor [Thu, 15 Jan 2015 21:11:00 +0000 (15:11 -0600)]
openssh: configuration updates

Rebase sshd_config and ssh_config with openssh upstream.
Check for the ed25519 key in the systemd keygen service.

Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agopigz: Upgrade to 2.3.3
Khem Raj [Wed, 28 Jan 2015 17:20:38 +0000 (09:20 -0800)]
pigz: Upgrade to 2.3.3

Fix build issues due to libz being required but
is specified before use.

Change-Id: I1f26c8e656b330a4b5f1eeffee7ac13500fa98d0
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agoterminal.py: fixes launching multiple windows of gnome-terminal
Alejandro Hernandez [Tue, 27 Jan 2015 23:36:59 +0000 (17:36 -0600)]
terminal.py: fixes launching multiple windows of gnome-terminal

When resolving a patch, a new process of gnome-terminal
is created for every patch to be resolved, it "waits"
for the previous one to end, instead of launching
multiple windows at the same time.

[YOCTO #7254]

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agorunqemu-internal: get rid of annoying but harmless error message
Chen Qi [Thu, 29 Jan 2015 05:44:18 +0000 (13:44 +0800)]
runqemu-internal: get rid of annoying but harmless error message

If tap0 interface has been created by other users on the system, we would
get error messages when using runqemu. Error messages are like below.
     Acquiring lockfile for tap0...
     touch: cannot touch ‘/tmp/qemu-tap-locks/tap0.lock’: Permission denied
     /buildarea2/chenqi/poky/scripts/runqemu-internal: line 139: /tmp/qemu-tap-locks/tap0.lock: Permission denied
     flock: 8: Bad file descriptor

The system can still boot up because runqemu would try to create a new tap
interface. So the error message above is harmless, yet somewhat annoying.

This patch fixes the above problem. With this patch, the output would be as
follows.

Acquiring lockfile for tap0...
Acquiring lockfile for /tmp/qemu-tap-locks/tap0.lock failed
Setting up tap interface under sudo
Acquiring lockfile for tap1...
Running qemu-system-arm...

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agoimage.bbclass: make kernel depmod data optional
Dan McGregor [Tue, 27 Jan 2015 17:21:12 +0000 (11:21 -0600)]
image.bbclass: make kernel depmod data optional

This allows an image to skip the creation of kernel depmod
data. It is useful for creating an image that will run as a
container image inside a host with no knowledge of the parent's
kernel.

Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agobusybox: cve-2014-9645
Armin Kuster [Wed, 28 Jan 2015 01:19:28 +0000 (17:19 -0800)]
busybox: cve-2014-9645

modprobe,rmmod: reject module names with slashes

Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agognutls: update to 3.3.12
Bian Naimeng [Wed, 28 Jan 2015 04:04:22 +0000 (12:04 +0800)]
gnutls: update to 3.3.12

update to 3.3.12 to fix some bugs.

http://article.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/7967

Signed-off-by: Bian Naimeng <biannm@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agomingetty: fix SRC_URI
Robert Yang [Wed, 28 Jan 2015 05:38:18 +0000 (21:38 -0800)]
mingetty: fix SRC_URI

Fixed:
WARNING: Failed to fetch URL http://cdnetworks-kr-1.dl.sourceforge.net/project/mingetty/mingetty/1.08/mingetty-1.08.tar.gz, attempting MIRRORS if available

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
10 years agopcmciautils: fix SRC_URI and HOMEPAGE
Robert Yang [Wed, 28 Jan 2015 05:38:18 +0000 (21:38 -0800)]
pcmciautils: fix SRC_URI and HOMEPAGE

Fixed:
WARNING: Failed to fetch URL http://kernel.org/pub/linux/utils/kernel/pcmcia/pcmciautils-018.tar.bz2, attempting MIRRORS if available

The pcmciautils-018.tar.bz2 is gone from kernel.org.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
10 years agolatencytop: fix SRC_URI and HOMEPAGE
Robert Yang [Wed, 28 Jan 2015 05:38:18 +0000 (21:38 -0800)]
latencytop: fix SRC_URI and HOMEPAGE

Fixed:
WARNING: Failed to fetch URL http://www.latencytop.org/download/latencytop-0.5.tar.gz, attempting MIRRORS if available

Its homepage is also down, but can't find a proper one atm.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
10 years agopax: fix SRC_URI and HOMEPAGE
Robert Yang [Wed, 28 Jan 2015 05:38:18 +0000 (21:38 -0800)]
pax: fix SRC_URI and HOMEPAGE

Fixed:
WARNING: Failed to fetch URL ftp://ftp.suse.com/pub/people/kukuk/pax/pax-3.4.tar.bz2, attempting MIRRORS if available

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
10 years agoman: fix SRC_URI
Robert Yang [Wed, 28 Jan 2015 03:18:55 +0000 (19:18 -0800)]
man: fix SRC_URI

Fixed:
WARNING: Failed to fetch URL http://primates.ximian.com/~flucifredi/man/man-1.6g.tar.gz, attempting MIRRORS if available

Its HOMEPAGE is also down, but can't find one for it.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
10 years agocwautomacros: fix SRC_URI and HOMEPAGE
Robert Yang [Wed, 28 Jan 2015 03:01:12 +0000 (19:01 -0800)]
cwautomacros: fix SRC_URI and HOMEPAGE

Fixed:
WARNING: Failed to fetch URL http://download.berlios.de/cwautomacros/cwautomacros-20110201.tar.bz2, attempting MIRRORS if available

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
10 years agodosfstools: fix SRC_URI
Robert Yang [Wed, 28 Jan 2015 02:32:54 +0000 (18:32 -0800)]
dosfstools: fix SRC_URI

Fixed:
WARNING: Failed to fetch URL ftp://ftp.uni-erlangen.de/pub/Linux/LOCAL/dosfstools/dosfstools-2.11.src.tar.gz, attempting MIRRORS if available

And add a HOMEPAGE for it, there is no dosfstools 2.11 on its official
page (but 3.x).

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
10 years agobase-passwd: fix SRC_URI
Robert Yang [Wed, 28 Jan 2015 01:30:45 +0000 (17:30 -0800)]
base-passwd: fix SRC_URI

Fixed:
WARNING: Failed to fetch URL ftp://ftp.debian.org/debian/pool/main/b/base-passwd/base-passwd_3.5.29.tar.gz, attempting MIRRORS if available

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
10 years agocdrtools-native: fix HOMEPAGE and SRC_URI
Robert Yang [Tue, 20 Jan 2015 03:14:25 +0000 (19:14 -0800)]
cdrtools-native: fix HOMEPAGE and SRC_URI

The old ones are invalid, fixed:
WARNING: Failed to fetch URL ftp://ftp.berlios.de/pub/cdrecord/alpha/cdrtools-3.01a20.tar.bz2, attempting MIRRORS if available

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
10 years agoperf: add LIBNUMA_DEFINES
Robert Yang [Tue, 27 Jan 2015 01:56:50 +0000 (17:56 -0800)]
perf: add LIBNUMA_DEFINES

Fixed:
WARNING: QA Issue: perf rdepends on numactl, but it isn't a build dependency? [build-deps]

The numactl is in meta-oe.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
10 years agoscreen: add PACKAGECONFIG for libutempter
Robert Yang [Mon, 26 Jan 2015 09:11:28 +0000 (01:11 -0800)]
screen: add PACKAGECONFIG for libutempter

Fixed:
WARNING: QA Issue: screen rdepends on libutempter, but it isn't a build dependency? [build-deps]

The libutempter is in meta-oe.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
10 years agodpkg: add perl to RDEPENDS
Robert Yang [Mon, 19 Jan 2015 08:21:58 +0000 (00:21 -0800)]
dpkg: add perl to RDEPENDS

perl scripts:
packages-split/dpkg/usr/bin/dpkg-parsechangelog:#!/usr/bin/perl
packages-split/dpkg/usr/bin/dpkg-mergechangelogs:#!/usr/bin/perl
packages-split/dpkg/usr/bin/dpkg-architecture:#!/usr/bin/perl
packages-split/dpkg/usr/bin/dpkg-vendor:#!/usr/bin/perl
packages-split/dpkg/usr/bin/dpkg-shlibdeps:#!/usr/bin/perl
packages-split/dpkg/usr/bin/dpkg-scanpackages:#!/usr/bin/perl
packages-split/dpkg/usr/bin/dpkg-buildpackage:#!/usr/bin/perl
packages-split/dpkg/usr/bin/dpkg-genchanges:#!/usr/bin/perl
packages-split/dpkg/usr/bin/dpkg-gensymbols:#!/usr/bin/perl
packages-split/dpkg/usr/bin/dpkg-distaddfile:#!/usr/bin/perl
packages-split/dpkg/usr/bin/dpkg-buildflags:#!/usr/bin/perl
packages-split/dpkg/usr/bin/dpkg-checkbuilddeps:#!/usr/bin/perl
packages-split/dpkg/usr/bin/dpkg-gencontrol:#!/usr/bin/perl
packages-split/dpkg/usr/bin/dpkg-scansources:#!/usr/bin/perl
packages-split/dpkg/usr/bin/dpkg-source:#!/usr/bin/perl
packages-split/dpkg/usr/bin/dpkg-name:#!/usr/bin/perl
packages-split/dpkg/usr/lib/dpkg/parsechangelog/debian:#!/usr/bin/perl

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
10 years agolib/oe/image.py: add error checking for missing IMAGE_CMD
Paul Eggleton [Tue, 27 Jan 2015 10:02:38 +0000 (10:02 +0000)]
lib/oe/image.py: add error checking for missing IMAGE_CMD

An invalid value in IMAGE_FSTYPES was triggering a traceback. Add a
check and a reasonable error message instead.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
10 years agoclasses/image: ensure uninstalled packages do not appear in manifests
Paul Eggleton [Mon, 26 Jan 2015 14:40:40 +0000 (14:40 +0000)]
classes/image: ensure uninstalled packages do not appear in manifests

Since the rewrite of the image construction code in python a few
releases ago, we remove a couple of packages from the image as one of
the final steps when constructing the image (notably update-rc.d and
run-postinsts).  However, because of the order of operations, these
packages are still listed both in the buildhistory
installed_package*.txt files and in the manifest file created next to
the image, which is wrong.

There were two possible solutions to this: (1) change the order such
that the uninstallation occurs before calling ROOTFS_POSTPROCESS_COMMAND
or (2) add another hook variable in such that we can have the
package list collection code run at the right time. Because it's
currently possible (but very much not recommended) to install additional
packages within ROOTFS_POSTPROCESS_COMMAND, which may have postinstall
scripts and thus require the packages we would otherwise uninstall if we
were to take option 1, option 2 is really the least likely to cause
problems. Therefore, add ROOTFS_POSTUNINSTALL_COMMAND and make the image
and buildhistory classes use it.

Fixes [YOCTO #6479].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
10 years agoclasses/image: skip recipe on invalid IMAGE_FEATURES item
Paul Eggleton [Mon, 26 Jan 2015 15:32:23 +0000 (15:32 +0000)]
classes/image: skip recipe on invalid IMAGE_FEATURES item

If you add an item to EXTRA_IMAGE_FEATURES in your local.conf that is
not supported by image.bbclass itself (such as "tools-sdk" which is
implemented in core-image.bbclass), it can be somewhat annoying to have
the parse fall over if you have a recipe that inherits image.bbclass
only. Change the error from bb.fatal to skip the recipe instead so that
you only see the error when attempting to build the recipe, plus add a
bit of logic to report if the feature is coming in via
EXTRA_IMAGE_FEATURES.

Fixes [YOCTO #5023].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
10 years agolib/oe/rootfs.py: rename _uninstall_uneeded to fix spelling error
Paul Eggleton [Mon, 26 Jan 2015 15:56:06 +0000 (15:56 +0000)]
lib/oe/rootfs.py: rename _uninstall_uneeded to fix spelling error

Rename it to _uninstall_unneeded.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
10 years agoclasses/image: drop unused default of MACHINE_POSTPROCESS_COMMAND
Paul Eggleton [Tue, 27 Jan 2015 11:26:33 +0000 (11:26 +0000)]
classes/image: drop unused default of MACHINE_POSTPROCESS_COMMAND

In the daisy (1.6) timeframe, when we rewrote the image construction in
Python, we neglected to reimplement the support for the little used and
undocumented variable MACHINE_POSTPROCESS_COMMAND, and apparently nobody
noticed. We have a better method for implementing machine-specific image
formats that is in wider use (i.e. add a custom class which implements
the new image type, add the class to IMAGE_CLASSES and the type to
IMAGE_FSTYPES), and we now also have wic. Thus it makes more sense to
just call this variable unsupported now and drop the sole remaining
reference to it.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
10 years agorecipetool: replace version in S value
Paul Eggleton [Wed, 28 Jan 2015 12:02:26 +0000 (12:02 +0000)]
recipetool: replace version in S value

If a versioned recipe filename is specified, replace the version in the
value of S with ${PV} just as we do with SRC_URI to make future upgrades
of the recipe easier.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agolibtool: Fix tools path issues
Richard Purdie [Tue, 3 Feb 2015 14:24:58 +0000 (14:24 +0000)]
libtool: Fix tools path issues

If for example you build on a machine with /bin/grep, then restore that sstate
onto a machine with /usr/bin/grep, things will fail. Simply don't bother
hardcoding paths.

This was lost during the libtool upgrade:

http://git.yoctoproject.org/cgit.cgi/poky/diff/meta/recipes-devtools/libtool/libtool/avoid_absolute_paths_for_general_utils.patch?id=d4e1862453b2a4c12400de0f43f08a9871a4de60

since the path to the files changed. This restores the previous behaviour.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoreport-error: Catch un-readable log data
Michael Wood [Tue, 3 Feb 2015 14:20:12 +0000 (14:20 +0000)]
report-error: Catch un-readable log data

If a log data cannot be decoded to utf-8 or read then handle this
gracefully. This can happen if a log file contains binary or something
goes wrong with the file open process.

Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobuild-appliance-image: Update to master head revision
Richard Purdie [Mon, 2 Feb 2015 14:57:40 +0000 (14:57 +0000)]
build-appliance-image: Update to master head revision

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibtool: 2.4.4 -> 2.4.5
Richard Purdie [Mon, 2 Feb 2015 14:03:06 +0000 (14:03 +0000)]
libtool: 2.4.4 -> 2.4.5

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopython: Disables SSLv3
Sona Sarmadi [Fri, 16 Jan 2015 10:16:03 +0000 (11:16 +0100)]
python: Disables SSLv3

This is related to "SSLv3 POODLE vulnerability" CVE-2014-3566

Building python without SSLv3 support when openssl is built without
any support for SSLv3 (e.g. by adding EXTRA_OECONF = " -no-ssl3" in
the openssl recipes).

Backport from:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=768611#22
[python2.7-nossl3.patch] only Modules/_ssl.c is backported.

References:
https://bugzilla.yoctoproject.org/show_bug.cgi?id=7015
https://bugzilla.yoctoproject.org/show_bug.cgi?id=6843
http://bugs.python.org/issue22638
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-3566

Signed-off-by: Sona Sarmadi <sona.sarmadi@enea.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosed-native: drop
Paul Eggleton [Thu, 29 Jan 2015 13:24:09 +0000 (13:24 +0000)]
sed-native: drop

This was added back in the depths of history (around 2006 in OE-Classic)
when apparently the host sed couldn't always be relied upon. We now call
the host sed all over the place without this dependency and don't have
any problems. On the other hand, having it around can lead to races
where we're calling sed in one task and staging it to the sysroot in
another, the result being nasty failures compiling binutils for example.
Since it isn't needed, let's just drop it completely.

Fixes [YOCTO #7264].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobtrfs: create an empty file to build the fs in
Saul Wold [Fri, 30 Jan 2015 20:44:11 +0000 (12:44 -0800)]
btrfs: create an empty file to build the fs in

The newer btrfs-utils needs an empty file to build the filesystem in, so
create an empty file and use it for the mkfs to build the fs in.

[YOCTO #6804]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agotzdata: update to 2015a including leap second
Armin Kuster [Sat, 31 Jan 2015 01:15:50 +0000 (17:15 -0800)]
tzdata: update to 2015a including leap second

Changes affecting future time stamps

The Mexican state of Quintana Roo, represented by America/Cancun,
will shift from Central Time with DST to Eastern Time without DST
on 2015-02-01 at 02:00.  (Thanks to Steffen Thorsen and Gwillim Law.)

Chile will not change clocks in April or thereafter; its new standard time
will be its old daylight saving time.  This affects America/Santiago,
Pacific/Easter, and Antarctica/Palmer.  (Thanks to Juan Correa.)

New leap second 2015-06-30 23:59:60 UTC as per IERS Bulletin C 49.
(Thanks to Tim Parenti.)

Changes affecting past time stamps
Iceland observed DST in 1919 and 1921, and its 1939 fallback
transition was Oct. 29, not Nov. 29.  Remove incorrect data from
Shanks about time in Iceland between 1837 and 1908.

Some more zones have been turned into links, when they differed
from existing zones only for older time stamps.  As usual,
these changes affect UTC offsets in pre-1970 time stamps only.
Their old contents have been moved to the 'backzone' file.
The affected zones are: Asia/Aden, Asia/Bahrain, Asia/Kuwait,
and Asia/Muscat.

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agotzcode: update to 2015a leap second changes too
Armin Kuster [Sat, 31 Jan 2015 01:15:49 +0000 (17:15 -0800)]
tzcode: update to 2015a leap second changes too

Changes affecting code

tzalloc now scrubs time zone abbreviations compatibly with the way
that tzset always has, by replacing invalid bytes with '_' and by
shortening too-long abbreviations.

tzselect ports to POSIX awk implementations, no longer mishandles
POSIX TZ settings when GNU awk is used, and reports POSIX TZ
settings to the user.  (Thanks to Stefan Kuhn.)

Changes affecting build procedure

'make check' now checks for links to links in the data.
One such link (for Africa/Asmera) has been fixed.
(Thanks to Stephen Colebourne for pointing out the problem.)

Changes affecting commentary
The leapseconds file commentary now mentions the expiration date.
(Problem reported by Martin Burnicki.)

Update Mexican Library of Congress URL.

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>