]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
8 years agoscripts/rpm2cpio.sh: replace 5.x version with 4.x version
Alexander Kanavin [Thu, 26 Jan 2017 16:04:31 +0000 (18:04 +0200)]
scripts/rpm2cpio.sh: replace 5.x version with 4.x version

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
8 years agorootfs_rpm.bbclass: migrate image creation to dnf
Alexander Kanavin [Mon, 13 Feb 2017 14:44:48 +0000 (16:44 +0200)]
rootfs_rpm.bbclass: migrate image creation to dnf

To properly look at this patch, you probably need a side-by-side diff viewing tool.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
8 years agonativesdk-packagegroup-sdk-host: replace smartpm with dnf
Alexander Kanavin [Thu, 26 Jan 2017 15:42:36 +0000 (17:42 +0200)]
nativesdk-packagegroup-sdk-host: replace smartpm with dnf

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
8 years agopackage_rpm.bbclass: correctly map RRECOMMENDS and RSUGGESTS to rpm tags
Alexander Kanavin [Thu, 19 Jan 2017 17:24:37 +0000 (19:24 +0200)]
package_rpm.bbclass: correctly map RRECOMMENDS and RSUGGESTS to rpm tags

Previously they were swapped, not sure why. Their meaning, as far as rpm
world goes, is different:

- Recommends is a soft dependency and will be installed by default; there is
an option not to do that.

- Suggests is a suggestion to be picked up and presented to end user by
package management tools; it has no special meaning otherwise.

OE packages use RRECOMMENDS, which should be mapped to Recommends rpm tag,
so that the packages will be picked up as dependencies.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
8 years agopackage_manager.py: improve the API for insert_feed_uris()
Alexander Kanavin [Wed, 18 Jan 2017 13:40:33 +0000 (15:40 +0200)]
package_manager.py: improve the API for insert_feed_uris()

No need to store the configuration as class members,
just pass it directly into the method.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
8 years agopackage_rpm.bbclass: make architecture-independent .rpm packages "noarch" instead...
Alexander Kanavin [Mon, 9 Jan 2017 14:37:28 +0000 (16:37 +0200)]
package_rpm.bbclass: make architecture-independent .rpm packages "noarch" instead of "all"

Too many places in dnf/rpm4 stack make that assumption; let's not fight against it.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
8 years agodb: remove the 6.x recipe
Alexander Kanavin [Mon, 2 Jan 2017 13:15:55 +0000 (15:15 +0200)]
db: remove the 6.x recipe

Version 6.x of Berkeley DB has been rejected by open source community due to its hostile
AGPLv3 license; both Fedora and Debian are sticking with db 5.x - and by extension,
all the open source projects are still developed and tested with db 5.x

In oe-core the only thing that was requiring db 6.x was rpm 5.x, and so there's no reason
to continue carrying db 6.x in oe-core. If someone needs API features that are only available in
db 6.x, it can be re-added to meta-oe.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
8 years agopython-smartpm: remove the recipe
Alexander Kanavin [Mon, 2 Jan 2017 13:14:41 +0000 (15:14 +0200)]
python-smartpm: remove the recipe

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
8 years agodnf: add a recipe
Alexander Kanavin [Fri, 30 Dec 2016 17:01:40 +0000 (19:01 +0200)]
dnf: add a recipe

This is replacing Smart package manager, which is unsupported upstream, and has a growing
amount of issues (lack of python 3.x support in particular). We identified dnf as
the only feasible replacement.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
8 years agolibdnf: add a recipe
Alexander Kanavin [Fri, 30 Dec 2016 16:57:22 +0000 (18:57 +0200)]
libdnf: add a recipe

libdnf is required by dnf.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
8 years agorpm: remove 5.x recipe
Alexander Kanavin [Fri, 30 Dec 2016 16:38:51 +0000 (18:38 +0200)]
rpm: remove 5.x recipe

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
8 years agorpm: add a 4.x recipe
Alexander Kanavin [Fri, 30 Dec 2016 16:38:11 +0000 (18:38 +0200)]
rpm: add a 4.x recipe

The dnf stack is written and tested against rpm 4.x. So if we want to use dnf for packaging,
we should also use rpm 4 - there's simply too much work involved in making rpm 5 work with it due
to significant API differences, and supporting that going forward.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
8 years agocreaterepo: remove the recipe
Alexander Kanavin [Fri, 30 Dec 2016 16:35:18 +0000 (18:35 +0200)]
createrepo: remove the recipe

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
8 years agocreaterepo-c: add a recipe
Alexander Kanavin [Fri, 30 Dec 2016 16:34:07 +0000 (18:34 +0200)]
createrepo-c: add a recipe

This is the current C reimplementation/replacement of the original createrepo.
https://github.com/rpm-software-management/createrepo_c/wiki

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
8 years agorpmresolve: remove the recipe
Alexander Kanavin [Fri, 30 Dec 2016 15:59:36 +0000 (17:59 +0200)]
rpmresolve: remove the recipe

The source code is incompatible with rpm4 API - let's use rpm
binary itself for now.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
8 years agolibsolv: enable rpm support
Alexander Kanavin [Fri, 30 Dec 2016 15:59:17 +0000 (17:59 +0200)]
libsolv: enable rpm support

This is required by libdnf.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
8 years agopackage.bbclass: fix locations of debugedit and rpmdeps utilities
Alexander Kanavin [Fri, 30 Dec 2016 15:56:17 +0000 (17:56 +0200)]
package.bbclass: fix locations of debugedit and rpmdeps utilities

rpm4 installs them in different locations than rpm5. This also replaces
our custom rpmdeps-oecore with standard rpmdeps; I'm not seeing a
significant performance penalty.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
8 years agou-boot: add option to specify FDT argument in extlinux.conf
Jack Mitchell [Sat, 11 Mar 2017 14:16:03 +0000 (14:16 +0000)]
u-boot: add option to specify FDT argument in extlinux.conf

Also fixes a use before defined bug with localdata.

Signed-off-by: Jack Mitchell <jack@embed.me.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agou-boot: fix extlinux creation race
Jack Mitchell [Sat, 11 Mar 2017 14:16:02 +0000 (14:16 +0000)]
u-boot: fix extlinux creation race

There was a race condition in the uboot-extlinux bbclass where
only a half written extlinux.conf would be put in the deploy
directory. Fix this by adding the deploy task after the do_install
rather than after the do_compile.

Signed-off-by: Jack Mitchell <jack@embed.me.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoterminal: Use original PATH for terminals
Richard Purdie [Mon, 13 Mar 2017 09:26:54 +0000 (09:26 +0000)]
terminal: Use original PATH for terminals

Now that we filter out PATH to only the utilities we rely upon, the devshel
terminal was broken since it can no longer find the terminals. Even if
we fix that, the user couldn't access any of their commands within
devshell which somewhat defeats its purpose.

Add the original PATH back to the environment to restore that behaviour
since this is more in line with user expectations and it wouldn't be possible
(or desireable) to whitelist all the commands a user might want to use from
the shell.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolibcomps: add a recipe
Alexander Kanavin [Fri, 10 Mar 2017 11:23:51 +0000 (13:23 +0200)]
libcomps: add a recipe

libcomps is required by dnf.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolibrepo: add a recipe
Alexander Kanavin [Fri, 10 Mar 2017 11:23:50 +0000 (13:23 +0200)]
librepo: add a recipe

librepo is needed by dnf and libdnf.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agopython-backports-lzma: add a recipe
Alexander Kanavin [Fri, 10 Mar 2017 11:23:49 +0000 (13:23 +0200)]
python-backports-lzma: add a recipe

It is needed by dnf, and only when using Python 2.x, so can
be dropped after moving dnf/rpm4 stack to Python 3.x.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agopython-iniparse: add a recipe
Alexander Kanavin [Fri, 10 Mar 2017 11:23:48 +0000 (13:23 +0200)]
python-iniparse: add a recipe

python-iniparse is required by dnf.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agopython-pygpgme: add a recipe
Alexander Kanavin [Fri, 10 Mar 2017 11:23:47 +0000 (13:23 +0200)]
python-pygpgme: add a recipe

python-pygpgme is required by dnf.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agosecurity_flags.inc: Update for new python modules
Alexander Kanavin [Fri, 10 Mar 2017 11:24:14 +0000 (13:24 +0200)]
security_flags.inc: Update for new python modules

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agouninative: remove unneeded call to sparse copy
Stephano Cetola [Fri, 10 Mar 2017 15:15:52 +0000 (07:15 -0800)]
uninative: remove unneeded call to sparse copy

As of this commit:

39f5a05152aa0c3503735e18dd3b4c066b284107

patchelf no longer inflates file sizes. Since the files are no longer
inflated by patchelf, we can skip using cp with the --sparse option.
More details as to how patchelf has changed are available in that
commit log.

Signed-off-by: Stephano Cetola <stephano.cetola@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agogpgme: fix python module build and installation
Alexander Kanavin [Fri, 10 Mar 2017 11:24:23 +0000 (13:24 +0200)]
gpgme: fix python module build and installation

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobase-files: do not write the current date into /etc/issue and /etc/issue.net
Alexander Kanavin [Fri, 10 Mar 2017 11:24:22 +0000 (13:24 +0200)]
base-files: do not write the current date into /etc/issue and /etc/issue.net

This is causing a problem in multilib where base-files and lib64/32-base-files
clash because they may have different dates. Also, if the package is coming
from sstate it has an incorrect date anyway.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agodb: do the multilib_header processing for db.h
Alexander Kanavin [Fri, 10 Mar 2017 11:24:21 +0000 (13:24 +0200)]
db: do the multilib_header processing for db.h

As it varies from one machine to another.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobash: package bashbug separately
Alexander Kanavin [Fri, 10 Mar 2017 11:24:20 +0000 (13:24 +0200)]
bash: package bashbug separately

It's a machine-specific script, which is causing conflicts
when multiple versions of bash are installed in multilib setting,
and it also does not really make sense for embedded systems anyway.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoglibc: do the multilib_header magic also for bits/long-double.h
Alexander Kanavin [Fri, 10 Mar 2017 11:24:19 +0000 (13:24 +0200)]
glibc: do the multilib_header magic also for bits/long-double.h

Otherwise it will cause conflicts in mutlilib setting, as it
varies from one machine to another.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoglib-2.0: improve determinism for GIO ptests
Ross Burton [Fri, 10 Mar 2017 14:43:45 +0000 (14:43 +0000)]
glib-2.0: improve determinism for GIO ptests

Previously the GIO tests would be built or not depending on whether the host had
a dbus-daemon binary available.  Fix this by seeding the AC_CHECK_PROGS check
with the right value, and adding a RDEPENDS for dbus-daemon on the target.

Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agogrep: upgrade to 3.0
Fan Xin [Fri, 10 Mar 2017 10:11:59 +0000 (19:11 +0900)]
grep: upgrade to 3.0

Signed-off-by: Fan Xin <fan.xin@jp.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agocurl: upgrade to 7.53.1
Fan Xin [Fri, 10 Mar 2017 09:54:47 +0000 (18:54 +0900)]
curl: upgrade to 7.53.1

Signed-off-by: Fan Xin <fan.xin@jp.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agopkgconfig: specify --disable-indirect-deps to configure
Joe Slater [Fri, 10 Mar 2017 02:01:29 +0000 (18:01 -0800)]
pkgconfig: specify --disable-indirect-deps to configure

This preserves the current behaviour because the auto
test by configure will never return yes.  ./libtool is
needed by the test and it will never exist.

Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoopkg-utils: bump revision
Chen Qi [Fri, 10 Mar 2017 01:57:00 +0000 (09:57 +0800)]
opkg-utils: bump revision

Bump to latest revision so that update-alternatives could detect priority
conflict.

Also, we could remove the following patch because opkg-utils has already
fixed the problem in another way.

  0001-Makefile-use-defined-bindir-and-mandir-as-installati.patch

[YOCTO #8314]

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agowic/direct.py: Avoid exception if using multiple rawcopy/no-table entries.
Kristian Amlie [Thu, 9 Mar 2017 14:37:09 +0000 (15:37 +0100)]
wic/direct.py: Avoid exception if using multiple rawcopy/no-table entries.

If we are both having a bootloader and a U-Boot environment file, we
can end up with two entries using "--source rawcopy" and "--no-table",
and since they reuse the same file [1], their cleanup handlers will
try to delete the same file twice. So make sure we only do it once.

[1] Although they reuse the same file, the resulting output is
correct, so it appears the file is accessed in properly sequential
order.

Signed-off-by: Kristian Amlie <kristian.amlie@mender.io>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agobison: Remove unused bison-2.3_m4.patch
Martin Jansa [Thu, 9 Mar 2017 10:04:17 +0000 (11:04 +0100)]
bison: Remove unused bison-2.3_m4.patch

* it was used only by bison-2.3 which was moved to meta-gplv2 layer

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolibsolv: upgrade to 0.6.26
Alejandro del Castillo [Wed, 8 Mar 2017 22:01:50 +0000 (16:01 -0600)]
libsolv: upgrade to 0.6.26

Drop 0001-Split-libsolvext-into-it-s-own-pkg-config-file.patch

Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoopkg: enable libsolv backend by default
Alejandro del Castillo [Wed, 8 Mar 2017 21:40:14 +0000 (15:40 -0600)]
opkg: enable libsolv backend by default

The libsolv backend is vastly superior than the currently enabled
internal ad-hoc solver. While the switch does have a small impact on
disk and memory footprint, it make sense to change the default as for
most cases the disk/memory footprint hit should be acceptable.

========================
Disk Footprint Increase
========================
qemux86-64  523K
qemuarm    445K
qemux86    576K

====================================================
Command [1]           Libsolv      Internal Solver
====================================================
opkg update          26.21 MB      26.21 MB
opkg list            29.87 MB      29.87 MB
opkg install procps  30.99 MB      27.33 MB
opkg remove procps    1.69 MB       1.69 MB
opkg update      30.97 MB    27.75 MB

[1] Profile done via 'valgrind --tool=massif <command>' in a feed with
~18K packages.

Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoclasses: add devupstream class
Ross Burton [Fri, 11 Nov 2016 17:51:17 +0000 (17:51 +0000)]
classes: add devupstream class

This class lets you use BBCLASSEXTEND to add a variant of the recipe that
fetches from an alternative URI (such as git:) instead of a tarball.

For example:

 BBCLASSEXTEND = "devupstream:target"
 SRC_URI_class-devupstream = "git://git.example.com/example"
 SRCREV_class-devupstream = "abcd1234"

This variant will have DEFAULT_PREFERENCE set to -1 so it needs to be selected
to be used, and any development-specific tweaks can be done with the
class-devupstream override, for example:

 DEPENDS_append_class-devupstream = " gperf-native"

 do_configure_prepend_class-devupstream() {
    touch ${S}/README
 }

It currently only supports creating a development variant of the target recipe,
not native or nativesdk.  The BBCLASSEXTEND syntax (devupstream:target) was
chosen so that support for native and nativesdk can be added at a later date.

Support for other version control systems such as subversion is limited, as
bitbake's automatic fetch dependencies on for example subversion-native are not
generated.

[ YOCTO #10215 ]

Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agobase/bitbake.conf: Filter contents of PATH to only allow whitelisted tools
Richard Purdie [Thu, 9 Mar 2017 00:14:38 +0000 (00:14 +0000)]
base/bitbake.conf: Filter contents of PATH to only allow whitelisted tools

We currently have a determinism problem in that the host tools present
in PATH can influence the build. In particular, the presence of pkg-config
on the build host can mask missing pkgconfig class dependencies.

This adds in a new HOSTTOOLS variable and then uses it to set up a directory
of symlinks to the whitelisted host tools. This directory is placed as PATH
instead of the usual /usr/bin:/bin and so on.

This should improve determinism of builds and avoid the issues which have
been particularly obvious since the introduction of recipe specific sysroots.

If users find there is a tool missing, they can extend HOSTTOOLS from a global
class or global conf file.

Right now the settings should be enough to build everything in OE-Core.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoyasm: Set CCLD_FOR_BUILD to ensure BUILD_CC is used
Richard Purdie [Sat, 11 Mar 2017 10:44:04 +0000 (10:44 +0000)]
yasm: Set CCLD_FOR_BUILD to ensure BUILD_CC is used

Otherwise cc may be used which isn't correct.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agou-boot-mkimage: Fix use of 'cc' instead of BUILD_CC
Richard Purdie [Sat, 11 Mar 2017 10:37:38 +0000 (10:37 +0000)]
u-boot-mkimage: Fix use of 'cc' instead of BUILD_CC

OE needs to be able to change the default compiler. If we pass in HOSTCC
through the make command, it overwrites not only this setting but also the
setting in tools/Makefile wrapped in ifneq ($(CROSS_BUILD_TOOLS),) which
breaks the build.

We therefore add a way of changing the default in the top level Makefile
without interfering with the other setting.

I've emailed this workaround to Masahiro Yamada for discussion.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agogo: Add recipes for golang compilers and tools
Khem Raj [Wed, 8 Mar 2017 06:40:22 +0000 (22:40 -0800)]
go: Add recipes for golang compilers and tools

* This is converging the recipes for go from
  meta-virtualization and oe-meta-go

* Add recipes for go 1.7

* go.bbclass is added to ease out writing
  recipes for go packages

* go-examples: Add an example, helloworld written in go
  This should serve as temlate for writing go recipes

* Disable for musl, at least for now

* Disable for x32/ppc32 which is not supported

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agorunqemu-gen-tapdevs: Improve help text with an example
Richard Purdie [Fri, 10 Mar 2017 12:56:16 +0000 (12:56 +0000)]
runqemu-gen-tapdevs: Improve help text with an example

Figuring how the correct commandline isn't trivial, improve the help
text with RSS in mind.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoquilt: Avoid hardcoding paths into output
Richard Purdie [Fri, 10 Mar 2017 12:26:04 +0000 (12:26 +0000)]
quilt: Avoid hardcoding paths into output

Avoids:
 quilt-0.65-r0 do_package_qa: QA Issue: /usr/lib/quilt/ptest/quilt/scripts/edmail contained in package
 quilt-ptest requires /media/build1/poky/build/tmp/hosttools/perl, but no providers found in
 RDEPENDS_quilt-ptest? [file-rdeps]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agocdrtools-native: Fix when cc is missing
Richard Purdie [Fri, 10 Mar 2017 10:23:35 +0000 (10:23 +0000)]
cdrtools-native: Fix when cc is missing

If cc isn't in PATH, the recipe fails. Set a variable to avoid this.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoquilt: Don't add hardcoded links to utilities
Richard Purdie [Thu, 9 Mar 2017 13:23:58 +0000 (13:23 +0000)]
quilt: Don't add hardcoded links to utilities

This triggers warnings about absolute symlink paths with the PATH changes.
In reality we simply don't need/care about these so just remove/disable
them.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolibpng12: Use rm instead of unlink
Richard Purdie [Thu, 9 Mar 2017 10:15:32 +0000 (10:15 +0000)]
libpng12: Use rm instead of unlink

Everything else in the system manages fine with rm, use rm instead of unlink
here too.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agotzcode-native: Set cc to ${CC}
Richard Purdie [Thu, 9 Mar 2017 09:48:44 +0000 (09:48 +0000)]
tzcode-native: Set cc to ${CC}

Building on a system without "cc" showed this recipe doesn't respect
the $CC variable. Fix this by passing the right option to the makefile.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agotoolchain-shar-extract.sh: Ensure sbin directories are in PATH in clean environment
Richard Purdie [Thu, 9 Mar 2017 22:13:36 +0000 (22:13 +0000)]
toolchain-shar-extract.sh: Ensure sbin directories are in PATH in clean environment

For the PATH host tool whitelisting to work, the sbin directories need to be
in PATH. In the cleaned SDK environment on some distros, this isn't the case
and the SDK would then fail to setup there. This adds code to add such paths
if they do happen to be missing, ugly, but unblocks the PATH whitelisting
which I believe to be important.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agochkconfig-alternatives-native: fix obey_variables
Joshua Lock [Wed, 8 Mar 2017 17:24:14 +0000 (17:24 +0000)]
chkconfig-alternatives-native: fix obey_variables

This postfunc assumes it's run from S, whereas that seems not to always
be the case in practice. Explicitly define the full path of the file
we wish to sed.

Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agobusybox: ifupdown:pass interface device name for ipv6 route command
Haiqing Bai [Wed, 8 Mar 2017 09:27:30 +0000 (17:27 +0800)]
busybox: ifupdown:pass interface device name for ipv6 route command

IPv6 routes need the device argument for link-local routes, or they
cannot be used at all. E.g. "gateway fe80::def" seems to be used in
some places, but kernel refuses to insert the route unless device
name is explicitly specified in the route addition.

Signed-off-by: Haiqing Bai <Haiqing.Bai@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agometa: do not append to BBCLASSEXTEND
Ming Liu [Wed, 8 Mar 2017 14:17:14 +0000 (15:17 +0100)]
meta: do not append to BBCLASSEXTEND

Replace some "+=/=+" with "=" when setting BBCLASSEXTEND, they are
redundant and inconsistent with the same setting in other recipes.

Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agogstreamer: remove git recipes
Ross Burton [Wed, 8 Mar 2017 15:51:33 +0000 (15:51 +0000)]
gstreamer: remove git recipes

Yet again these were checking out 1.8.2 tags and then trying to apply 1.10.4
patches on top.

Clearly nobody is actually using them, so delete them so they can't go stale
again.

Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolicense: don't assume source files are UTF-8
Ross Burton [Wed, 8 Mar 2017 14:30:13 +0000 (14:30 +0000)]
license: don't assume source files are UTF-8

We can't assume that source files are entirely UTF-8, so when copying the
license blocks open the file as binary instead of text.

[ YOCTO #11135 ]

Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agogcc-runtime: Enable libmpx for x86-64
Mikko Ylinen [Wed, 8 Mar 2017 12:57:40 +0000 (14:57 +0200)]
gcc-runtime: Enable libmpx for x86-64

Intel MPX was recently enabled on x86 (_append_x86) but that didn't
enable it on x86-64. Explicitly enable libmpx on x86-64 too.

Signed-off-by: Mikko Ylinen <mikko.ylinen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoe2fsprogs: expand @mkdir_p@ during configuration
Joe Slater [Tue, 7 Mar 2017 22:53:19 +0000 (14:53 -0800)]
e2fsprogs: expand @mkdir_p@ during configuration

If we do not do this, locale data will not be put
into /usr/share/locale.

Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoopenssl: Fix symlink creation
David Vincent [Mon, 23 Jan 2017 13:59:16 +0000 (14:59 +0100)]
openssl: Fix symlink creation

Symlinking the openssl configuration file at install time results in
errors when overriding it using an external package which also provides
openssl-conf. This should be done as a postinstall task for such
packages.

Signed-off-by: David Vincent <freesilicon@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agowic: filemap: Fixed spared_copy skip
Daniel Schultz [Tue, 7 Mar 2017 13:41:56 +0000 (14:41 +0100)]
wic: filemap: Fixed spared_copy skip

This patches removes the empty space in front of the copied file which
was skipped. Without this reduction it's not possible to place a
partition with rawcopy and skip parameter on a desired alignment.

Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agowic: plugins: rawcopy: Fixed wrong variable type
Daniel Schultz [Tue, 7 Mar 2017 13:41:55 +0000 (14:41 +0100)]
wic: plugins: rawcopy: Fixed wrong variable type

Without the int() function this variable will be a string. This will led
to a error in Filemap on line 545 due wrong types.

> [...]
>   File
> ".../poky/scripts/lib/wic/filemap.py", line 545, in sparse_copy
>     if start < skip < end:
> TypeError: unorderable types: int() < str()

Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoshadow: use config 'attr' if distro has 'xattr'
José Bollo [Tue, 7 Mar 2017 12:52:42 +0000 (13:52 +0100)]
shadow: use config 'attr' if distro has 'xattr'

When DISTRO_FEATURES has 'xattr' the shadow package
now automatically activates its config 'attr'.

Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoconf/machine/include: enable hardfloat by default for ARMv6 and above
Andre McCurdy [Mon, 6 Mar 2017 23:29:48 +0000 (15:29 -0800)]
conf/machine/include: enable hardfloat by default for ARMv6 and above

Defaulting to softfp probably isn't the best choice anymore,
especially as there are now ARM BSP layers which leave DEFAULTTUNE
entirely up to the distro:

  https://lists.yoctoproject.org/pipermail/yocto/2017-February/034637.html

Also add 't' to the ARMv7 default DEFAULTTUNEs, since there's no
clear reason to default to ignoring ARM_INSTRUCTION_SET for ARMv7.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agodropbear: drop support for DSA host keys in dropbear init script
Andre McCurdy [Tue, 7 Mar 2017 01:42:25 +0000 (17:42 -0800)]
dropbear: drop support for DSA host keys in dropbear init script

Bring the dropbear init script into sync with the systemd service
file (dropbearkey.service supports RSA host keys only) and with
recent versions of openssh which deprecate DSA host keys.

  https://www.gentoo.org/support/news-items/2015-08-13-openssh-weak-keys.html

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agosanity.bbclass: allow s3 protocol when sanity checking MIRRORS, etc
Andre McCurdy [Mon, 6 Mar 2017 22:34:06 +0000 (14:34 -0800)]
sanity.bbclass: allow s3 protocol when sanity checking MIRRORS, etc

Bitbake now supports an Amazon AWS S3 fetcher:

  http://git.openembedded.org/bitbake/commit/?id=6fe07ed25457dd7952b60f4b2153d56b15d5eea6

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agovulkan: Add recipe for Vulkan common loader
Jussi Kukkonen [Wed, 8 Mar 2017 13:21:52 +0000 (15:21 +0200)]
vulkan: Add recipe for Vulkan common loader

Add a recipe for vulkan loader library and the vulkaninfo binary.

Vulkan can be built to support X11 or wayland or both. There is
currently no support for building tests, validation layers or even
the demos as that would require a bunch of otherwise unnecessary
dependencies.

Fix the build on musl by defaulting to getenv() if secure_getenv()
is not available.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agomesa: Enable vulkan driver for intel
Jussi Kukkonen [Tue, 28 Feb 2017 09:26:57 +0000 (11:26 +0200)]
mesa: Enable vulkan driver for intel

PACKAGECONFIG "vulkan" enables building libvulkan_intel.so.
The radeon driver can be added to recipe as well but it requires
llvm so recent that I couldn't test it.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agosstate.bbclass: update .siginfo atime
Ed Bartosh [Mon, 6 Mar 2017 15:31:00 +0000 (17:31 +0200)]
sstate.bbclass: update .siginfo atime

.siginfo files are not being accessed from local or NFS-mounted
sstate mirrors when sstate package is installed, so their atime
is not updated. If sstate mirror is cleaned based on access time,
they get deleted, even though they are still being used.

Updated atime of .siginfo symlinks with 'touch -a'. This command
dereferences symlinks pointing to the local mirror and updates
atime of the .siginfo file on the mirror.

[YOCTO #10857]

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolib/oeqa/selftest/bbtests: update test_non_gplv3 to use selftest-ed
Joshua Lock [Wed, 8 Mar 2017 17:24:17 +0000 (17:24 +0000)]
lib/oeqa/selftest/bbtests: update test_non_gplv3 to use selftest-ed

GPLv2 recipes have been moved to a new layer (meta-gplv2), instead of
readline perform this test on the selftest-ed recipe in meta-selftest
which has gplv2 and gplv3 variants.

Tested with oe-selftest -r bbtests.BitbakeTests.test_non_gplv3

Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolib/oeqa/selftest/oescripts: make test_cleanup_workdir use selftest-ed
Joshua Lock [Wed, 8 Mar 2017 17:24:16 +0000 (17:24 +0000)]
lib/oeqa/selftest/oescripts: make test_cleanup_workdir use selftest-ed

Use a recipe which is bundled in the meta-selftest layer for this test,
rather than relying on OE-Core remaining static (or updating the tests
when OE-Core changes recipes).

Tested with oe-selftest -r oescripts.TestScripts.test_cleanup_workdir

Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agometa-selftest: add selftest-ed recipes
Joshua Lock [Wed, 8 Mar 2017 17:24:15 +0000 (17:24 +0000)]
meta-selftest: add selftest-ed recipes

The oe-selftest oescripts.TestScripts.test_cleanup_workdir was using
gzip and the GPLv2 variant to test cleanup of the workdir. This broke
with the removal of GPLv2 recipes from OE-Core.

Instead of relying on recipes in OE-Core remaining static we should
ensure that meta-selftest provides recipes required for the tests to pass.
To that end we take a copy of the current GPLv2 and GPLv3 variants of ed
and include them in meta-selftest as new recipes.
We chose ed over gzip as gzip has dependencies which would require
additional GPLv2 recipes to be included in meta-selftest.

Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agogcc-runtime: Fix QA issue
Martin Jansa [Wed, 8 Mar 2017 10:03:15 +0000 (11:03 +0100)]
gcc-runtime: Fix QA issue

ERROR: gcc-runtime-6.3.0-r0 do_package: QA Issue: gcc-runtime: Files/directories were installed but not shipped in any package:
  /usr/lib/libmpxwrappers.la
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
gcc-runtime: 1 installed and not shipped files. [installed-vs-shipped]

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agozlib: Upgrade 1.2.8 -> 1.2.11
Peter Marko [Mon, 27 Feb 2017 19:26:37 +0000 (20:26 +0100)]
zlib: Upgrade 1.2.8 -> 1.2.11

Licence updated by removing its first line which was containing
copyright notice including year, which could change quite often.
Additional empty line was deleted, too.

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agouseradd.bbclass: drop obsolete code
Maxin B. John [Tue, 28 Feb 2017 09:41:15 +0000 (11:41 +0200)]
useradd.bbclass: drop obsolete code

Cleanup useradd class by removing the code made obsolete by
the introduction of Recipe Specific Sysroot.

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agokernel-arch: Lock the toolchain to use gcc compiler
Khem Raj [Thu, 2 Mar 2017 16:54:16 +0000 (08:54 -0800)]
kernel-arch: Lock the toolchain to use gcc compiler

kernel and external modules are still using gcc to build

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agorelocate_sdk.py: skip debug files from relocation
Nikunj Kela [Tue, 14 Feb 2017 18:15:28 +0000 (18:15 +0000)]
relocate_sdk.py: skip debug files from relocation

Debug files only have debug symbols hence don't need
to be relocated. Relocation script throws errors when
run on the debug files. This change skips these files
that have zero size.

(From OE-Core rev: 132e8bfd499c713eb63075fd6380317b60f0bd27)

Signed-off-by: Nikunj Kela <nkela@cisco.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoqemu: display: CVE-2016-9912
Sona Sarmadi [Fri, 3 Mar 2017 11:51:42 +0000 (12:51 +0100)]
qemu: display: CVE-2016-9912

virtio-gpu: memory leakage when destroying gpu resource

Reference:
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-9912

Reference to upstream patch:
http://git.qemu-project.org/?p=qemu.git;a=patch;h=b8e23926c568f2e963af39028b71c472e3023793

Signed-off-by: Sona Sarmadi <sona.sarmadi@enea.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoqemu: display: CVE-2016-9908
Sona Sarmadi [Fri, 3 Mar 2017 11:51:41 +0000 (12:51 +0100)]
qemu: display: CVE-2016-9908

virtio-gpu: information leakage in virgl_cmd_get_capset

References:
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-9908

Signed-off-by: Sona Sarmadi <sona.sarmadi@enea.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoqemu: Move recipe version specific patches and features to recipe
Nathan Rossi [Mon, 2 Jan 2017 07:17:56 +0000 (17:17 +1000)]
qemu: Move recipe version specific patches and features to recipe

Move all the version specific patches, overrides and configuration that
are in qemu.inc to the versioned QEMU recipe.

This includes moving patches that target the versioned recipe, ptest
configuration (which is not available in QEMU by default) and the
installing of the powerpc_rom.bin.  All these patches/files are also
only located in the FILESEXTRAPATHS that is valid from the recipe file
and not from qemu.inc itself.

The purpose of this change is to make the qemu.inc re-usable for
multiple versions of QEMU as well as forks and recipes that intend to
provide custom patches.

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
8 years agoqemu: Convert KVMOPTS to PACKAGECONFIG
Nathan Rossi [Mon, 2 Jan 2017 07:10:16 +0000 (17:10 +1000)]
qemu: Convert KVMOPTS to PACKAGECONFIG

Move the KVMOPTS configuration checks and option setting to a
PACKAGECONFIG option.

This also changes the checking of KVM support on the host build machine
so that it is processed as a PACKAGECONFIG _remove for class-native
only. The darwin/mingw32 overrides are kept and applied as _remove
overrides.

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
8 years agoqemu: Consolidate EXTRA_OECONF
Nathan Rossi [Mon, 2 Jan 2017 06:57:23 +0000 (16:57 +1000)]
qemu: Consolidate EXTRA_OECONF

Consolidate the configure options into the EXTRA_OECONF variable,
including merging any native(sdk) specific options.

This consolidation also makes the use of 'system' pixman in the
nativesdk case, this is desirable as the QEMU internal pixman may not be
available (using QEMU git as opposed to tarball) and pixman is already
in DEPENDS. Additionally the QEMU configure recommends to use the system
pixman if available.

Additionally move the options specified in the do_configure into the
EXTRA_OECONF variable. And flesh out all the target directories.

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
8 years agoqemu: Improve and add PACKAGECONFIG options
Nathan Rossi [Mon, 2 Jan 2017 06:45:40 +0000 (16:45 +1000)]
qemu: Improve and add PACKAGECONFIG options

Move the '--disable-bluez' and '--disable-iscsi' options to
PACKAGECONFIG. And added the ${BLUEZ} dependency.

Fix up the 'gcrypt' option to depend on 'libgcrypt' instead of gcrypt.
This is the expected dependency as noted in the QEMU configure help.

Handle the '--audio-drv-list' option inside the PACKAGECONFIG[alsa]
args. The previous setting uses a ',' to denote the options for the arg
however a space inside quotes is also acceptable and allows the arg to
be used into the PACKAGECONFIG flag.

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
8 years agoselftest: remove extra backslashes from debug output
Ed Bartosh [Mon, 6 Mar 2017 15:10:13 +0000 (17:10 +0200)]
selftest: remove extra backslashes from debug output

Remove unneeded backslashes from the format strings that
caused debug output to look confusing:

2017-03-06 16:52:42,428 - selftest.base - DEBUG - Removing from: ...
\IMAGE_FSTYPES = "wic"
WKS_FILE = "mkefidisk.wks"

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoqemurunner.py: ignore decode errors
Ed Bartosh [Mon, 6 Mar 2017 15:10:12 +0000 (17:10 +0200)]
qemurunner.py: ignore decode errors

qemu output can contain control characters. This cause qemurunner
API to crash when decoding the output to utf-8:

Traceback (most recent call last):
  File "/usr/lib64/python3.4/threading.py", line 911, in _bootstrap_inner
    self.run()
  File "meta/lib/oeqa/utils/qemurunner.py", line 472, in run
    threading.Thread.run(self)
  File "/usr/lib64/python3.4/threading.py", line 859, in run
    self._target(*self._args, **self._kwargs)
  File "meta/lib/oeqa/utils/qemurunner.py", line 465, in threadtarget
    self.eventloop()
  File "meta/lib/oeqa/utils/qemurunner.py", line 526, in eventloop
    self.logfunc(data)
  File "meta/lib/oeqa/utils/qemurunner.py", line 77, in log
    msg = msg.decode("utf-8")
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xda in position 0:
unexpected end of data

Added errors='ignore' to decode call to fix this.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoselftest: test wic efi image in qemu
Ed Bartosh [Mon, 6 Mar 2017 15:10:11 +0000 (17:10 +0200)]
selftest: test wic efi image in qemu

Added test_qemu_efi test case to wic test suite.

It uses ovmf qemu extention to test mkefidisk image.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agotargetcontrol: add image_fstype argument to commands.runqemu
Ed Bartosh [Mon, 6 Mar 2017 15:10:10 +0000 (17:10 +0200)]
targetcontrol: add image_fstype argument to commands.runqemu

qemu runner picks up first fsimage type from the hard-coded
list of supported types. This makes it impossible to test
particular image type unless it's not ext4(first type in
the hardcoded list of types).

Added image_fstypes argument to commands.runqemu and QemuTarget
__init__ to specify type of the image to run qemu with.

This will be used to pass wic image type to test efi wic images.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoqemurunner: add runqemuparams argument to commands.runqemu
Ed Bartosh [Mon, 6 Mar 2017 15:10:09 +0000 (17:10 +0200)]
qemurunner: add runqemuparams argument to commands.runqemu

Added possibility to pass additional runqemu parameters
down the stack of APIs:
 commands.runqemu -> QemuTarget.start -> QemuRunner.start

This will be used to pass ovmf parameter in testing of
efi wic images under qemu.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agobase.bbclass: improve wording when skipping recipes with incompatible licenses
Andre McCurdy [Sat, 4 Mar 2017 05:11:12 +0000 (21:11 -0800)]
base.bbclass: improve wording when skipping recipes with incompatible licenses

The previous wording, e.g.

  ERROR: wget was skipped: incompatible with license GPLv3

isn't very clear and could be taken to imply that the recipe is
incompatible with its own license.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoapr: fix rss+perf+gold failure on do_compile_ptest_base
Andreas Müller [Sat, 4 Mar 2017 10:24:09 +0000 (11:24 +0100)]
apr: fix rss+perf+gold failure on do_compile_ptest_base

Was detected in Martin's world build

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agomodule.bbclass: Add inherit of pkgconfig
Peter Kjellerstedt [Fri, 3 Mar 2017 21:38:58 +0000 (22:38 +0100)]
module.bbclass: Add inherit of pkgconfig

This is needed for the make_scripts task.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoparted: fix rss+perf+gold failure on do_compile_ptest_base
Andreas Müller [Fri, 3 Mar 2017 21:36:18 +0000 (22:36 +0100)]
parted: fix rss+perf+gold failure on do_compile_ptest_base

Was detected in Martin's world build

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agomesa: Upgrade 17.0.0 -> 17.0.1
Jussi Kukkonen [Mon, 6 Mar 2017 10:08:14 +0000 (12:08 +0200)]
mesa: Upgrade 17.0.0 -> 17.0.1

This is a bug fix release and first non-development release in 17.0
branch. There are ~50 bug fix commits (plus a few release script
commits).

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoscreen: update to 4.5.1
Maxin B. John [Sat, 4 Mar 2017 11:52:52 +0000 (13:52 +0200)]
screen: update to 4.5.1

4.4.0 -> 4.5.1

Fixes logfile permissions problem (CVE-2017-5618)

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agobuildhistory.bbclass: Only execute get_extra_sdkinfo when sdk is enabled
Aníbal Limón [Fri, 3 Mar 2017 23:01:07 +0000 (17:01 -0600)]
buildhistory.bbclass: Only execute get_extra_sdkinfo when sdk is enabled

If sdk ins't in BUILDHISTORY_FEATURES the get_extra_sdkinfo fails
because no information about sdk is generated in buildhistory repo.

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoyocto-uninative: Update to the 1.5 release
Richard Purdie [Tue, 7 Mar 2017 21:41:33 +0000 (21:41 +0000)]
yocto-uninative: Update to the 1.5 release

This upgrades to a version of patchelf which works on newer distros
and doesn't inflate binaries in crazy ways.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agometa: start to ignore the largefile distro feature
Andre McCurdy [Tue, 7 Mar 2017 04:58:47 +0000 (20:58 -0800)]
meta: start to ignore the largefile distro feature

The largefile distro feature has been enabled by default in oe-core
for a long time and, more recently, also in poky-tiny. Building
without the largefile distro feature receives little or no testing.
Many packages now enable LFS without exposing a configure option, so
there should be very little expectation that disabling the distro
feature will result in a distro which globally disables LFS.

Respecting the distro feature adds a maintenance over-head and may be
the source of configurations oddities (e.g. dbus-native currently
builds with LFS disabled for no clear reason - fixed by this commit).

Ignore the largefile distro feature more widely, as a first step
towards deprecating and eventually removing it.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agogpgme: Fix issue building for the target
Mark Hatle [Tue, 7 Mar 2017 18:54:33 +0000 (12:54 -0600)]
gpgme: Fix issue building for the target

gpgme failed when configuring since you can only configure for one python
system at a time (via the inherits).  So we need to have a PACKAGECONFIG
that defines which one [or neither] you want to use.

The prior pkgconfig patch introduced the usage of the variable PKG_CONFIG,
which is not defined anywhere.  Define this.

When building the python module, we can not call gpg-error-config, so we
need to find an alternative way of finding the information the setup.py.in
requires.  (In this case, it's easy to just use the environment
STAGING_INCDIR.)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agocrosstap: Changes to support Recipe specific sysroot
Saul Wold [Tue, 7 Mar 2017 20:12:10 +0000 (12:12 -0800)]
crosstap: Changes to support Recipe specific sysroot

The crosstap script needed to be updated for recipe specific sysroot
changes including adding support for finding the systemtap binaries.

[YOCTO #10990]

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