]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
7 years agovte: upgrade to version 0.50.2
Maxin B. John [Tue, 23 Jan 2018 14:05:48 +0000 (16:05 +0200)]
vte: upgrade to version 0.50.2

0.50.1 -> 0.50.2

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agosqlite3: upgrade to version 3.22.0
Maxin B. John [Tue, 23 Jan 2018 14:05:47 +0000 (16:05 +0200)]
sqlite3: upgrade to version 3.22.0

Update SRC_URI for releases in 2018.

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agopuzzles: upgrade to latest commit
Maxin B. John [Tue, 23 Jan 2018 14:05:46 +0000 (16:05 +0200)]
puzzles: upgrade to latest commit

Remove upstreamed patch:
        0001-Clarify-conditions-to-avoid-compiler-errors.patch

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agolibtasn1: upgrade to version 4.13
Maxin B. John [Tue, 23 Jan 2018 14:05:45 +0000 (16:05 +0200)]
libtasn1: upgrade to version 4.13

Remove backported patch:
        CVE-2017-10790.patch

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoofono: upgrade to version 1.22
Maxin B. John [Tue, 23 Jan 2018 14:05:43 +0000 (16:05 +0200)]
ofono: upgrade to version 1.22

In ver 1.22:
        Fix issue with GPIO handling and Nokia modems.
        Fix issue with SIM state callback and AT modems.
        Fix issue with data mode and DCD for U-Blox modems.
        Fix issue with SMS receive on QMI based Quectel EC21.
        Fix issue with HFP support and last call dialed request.
        Fix issue with PIM retires handling and Gemalto modems.
        Fix issue with atom registration and SIM state handling.
        Add support for handling SIM card AID session management.
        Add support for handling GSM/UMTS and IMS authentication.
        Add support for IP Multimedia Subsystem (IMS) atom.
        Add support for MBIM based modems.

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agofreetype: upgrade to version 2.9
Maxin B. John [Tue, 23 Jan 2018 14:05:41 +0000 (16:05 +0200)]
freetype: upgrade to version 2.9

2.8.1 -> 2.9

Change in LIC_FILES_CHKSUM is due to change of URL www.freetype.org
from http to https.

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoglibc-locale.inc: avoid duplicate packages
Juro Bystricky [Tue, 23 Jan 2018 00:35:06 +0000 (16:35 -0800)]
glibc-locale.inc: avoid duplicate packages

PACKAGES_DYNAMIC contained an identical set of packages twice.
I suspect this was a result of global search/replace when moving
recipes from eglibc to glibc long time ago.

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoruby: fix typo in gmp PACKAGECONFIG option
Andre McCurdy [Mon, 22 Jan 2018 23:38:06 +0000 (15:38 -0800)]
ruby: fix typo in gmp PACKAGECONFIG option

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agonspr: update to 4.18
Armin Kuster [Mon, 22 Jan 2018 23:08:41 +0000 (15:08 -0800)]
nspr: update to 4.18

NSPR 4.18 contains the following changes:
- removed HP-UX DCE threads support
- improvements for the Windows implementation of PR_SetCurrentThreadName
- fixes for the Windows implementation of TCP Fast Open

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agomesa: link mesautil with pthreads
Randy MacLeod [Mon, 22 Jan 2018 19:17:26 +0000 (11:17 -0800)]
mesa: link mesautil with pthreads

Cherry-pick fix from mesa upstream:
   23ce168048 link mesautil with pthreads

link mesautil with pthreads to avoid:

../../src/util/.libs/libmesautil.a(libmesautil_la-u_queue.o): In function `u_thread_setname':
/builddir/build/BUILD/mesa-17.3.1/src/util/../../src/util/u_thread.h:66: undefined reference to `pthread_setname_np'
../../src/util/.libs/libmesautil.a(libmesautil_la-u_queue.o): In function `thrd_join':
/builddir/build/BUILD/mesa-17.3.1/src/util/../../include/c11/threads_posix.h:336: undefined reference to `pthread_join'
../../src/util/.libs/libmesautil.a(libmesautil_la-u_queue.o): In function `u_thread_create':
/builddir/build/BUILD/mesa-17.3.1/src/util/../../src/util/u_thread.h:48: undefined reference to `pthread_sigmask'
../../src/util/.libs/libmesautil.a(libmesautil_la-u_queue.o): In function `thrd_create':
/builddir/build/BUILD/mesa-17.3.1/src/util/../../include/c11/threads_posix.h:296: undefined reference to `pthread_create'
../../src/util/.libs/libmesautil.a(libmesautil_la-u_queue.o): In function `u_thread_create':
/builddir/build/BUILD/mesa-17.3.1/src/util/../../src/util/u_thread.h:50: undefined reference to `pthread_sigmask'
/builddir/build/BUILD/mesa-17.3.1/src/util/../../src/util/u_thread.h:50: undefined reference to `pthread_sigmask'
../../src/util/.libs/libmesautil.a(libmesautil_la-u_queue.o): In function `call_once':
/builddir/build/BUILD/mesa-17.3.1/src/util/../../include/c11/threads_posix.h:96: undefined reference to `pthread_once'
../../src/util/.libs/libmesautil.a(libmesautil_la-u_queue.o): In function `u_thread_get_time_nano':
/builddir/build/BUILD/mesa-17.3.1/src/util/../../src/util/u_thread.h:84: undefined reference to `pthread_getcpuclockid'
collect2: error: ld returned 1 exit status

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agognupg: add a patch to avoid native vs. host gpg-agent clashes
Alexander Kanavin [Mon, 22 Jan 2018 16:37:26 +0000 (18:37 +0200)]
gnupg: add a patch to avoid native vs. host gpg-agent clashes

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agojson-glib: fix meson flags for introspection and documentation
Alexander Kanavin [Mon, 22 Jan 2018 14:21:19 +0000 (16:21 +0200)]
json-glib: fix meson flags for introspection and documentation

Upstream has renamed them all, and folded manpages building
into the overall 'docs' option.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agopackage_rpm: correctly handle LICENSE_${PN}
Ross Burton [Mon, 22 Jan 2018 15:41:09 +0000 (15:41 +0000)]
package_rpm: correctly handle LICENSE_${PN}

RPM spec files don't distinguish between spec-level license and the primary
package license, so always output the License for every package (defaulting to
the recipe-wide license) and use LICENSE_${PN} if set for the primary package.

As the primary use of package_rpm is to generate built packages, this fixes the
license fields in the generated packages.

[ YOCTO #12057 ]

(From OE-Core rev: 8c333e592fa7a3a887c792ac14e5cde2141b5d35)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agopigz: merge bb/inc
Ross Burton [Mon, 22 Jan 2018 15:49:08 +0000 (15:49 +0000)]
pigz: merge bb/inc

Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoclasses/recipes: Convert SkipPackage -> SkipRecipe
Richard Purdie [Thu, 25 Jan 2018 11:31:14 +0000 (11:31 +0000)]
classes/recipes: Convert SkipPackage -> SkipRecipe

The new name is much more consistent with what this actually means. We put
the pieces in place to rename everything a while back but looks like we
forgot to actually do it! Fix that now.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolibunwind: Fix PACKAGECONFIG option typo
Richard Purdie [Mon, 22 Jan 2018 23:27:50 +0000 (23:27 +0000)]
libunwind: Fix PACKAGECONFIG option typo

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolibc6: improve reproducibility
Juro Bystricky [Mon, 22 Jan 2018 22:59:49 +0000 (14:59 -0800)]
libc6: improve reproducibility

Building various libraries (libc6, libc6-pic, libc6-staticdev, libc6-dbg, ...)
can be non-deterministic because they may be built with two different versions
of intl/plural.c. in two otherwise identical builds. We may or may not re-generate
the file plural.c from the file plural.y, based on bison being installed or not
and based on mtimes of those two files, as the Makefile contains:

plural.c: plural.y
$(BISON) $(BISONFLAGS) $@ $^

If the above rule does not fire, we use a "fallback" plural.c, otherwise
we use plural.c re-generated from plural.y.
The fix is to always require bison to be installed and unconditionally
re-generate plural.c. (This is achieved by touching plural.y).

[YOCTO #12291]

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoimage_types: add support for modern f2fs flash filesystem
Saul Wold [Mon, 22 Jan 2018 19:55:54 +0000 (11:55 -0800)]
image_types: add support for modern f2fs flash filesystem

The f2fs filesystem is a newer flash filesystem that is available in
meta-filesystems. This needs a minimum sized blank space to operate
in correctly.

The f2fs has overprovision functionality and when building smaller
filesystems, you actually need more space, therefore under 500M (or so)
double the amount of space needed in order to handle the overprovision
functions in f2fs.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoimagefeatures: disable f2fs from test_image_features by default
Saul Wold [Mon, 22 Jan 2018 19:55:53 +0000 (11:55 -0800)]
imagefeatures: disable f2fs from test_image_features by default

Since the primary f2fs utilities are provided by the meta-openembedded
meta-filesystems layer, we disable the testing of that functionality
here.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agopackage_ipg: use xz when building packages
Ross Burton [Mon, 22 Jan 2018 17:20:24 +0000 (17:20 +0000)]
package_ipg: use xz when building packages

Add a dependency on xz-native and pass '-Z xz' to opkg-build to use xz instead
of gzip when building packages.

Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoopkg-utils: refresh patch to fix selectable compressors
Ross Burton [Mon, 22 Jan 2018 17:16:48 +0000 (17:16 +0000)]
opkg-utils: refresh patch to fix selectable compressors

We patch opkg-build to ignore hard link count changes when archiving, but in the
last upgrade (oe-core 60c9a97) the patch was refreshed to apply but the result
is that opkg-build loses the ability to switch compressor.

Refresh the patch again so that it just adds the error ignoring logic and
doesn't otherwise change the behaviour of opkg-build.

Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agobuildhistory_analysis: colourise more output
Ross Burton [Mon, 22 Jan 2018 13:05:36 +0000 (13:05 +0000)]
buildhistory_analysis: colourise more output

Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agopython*-setuptools: update to 38.4.0
Derek Straka [Sun, 21 Jan 2018 20:20:31 +0000 (15:20 -0500)]
python*-setuptools: update to 38.4.0

Update the python{3}-setuptools to the latest stable version

Tested on the qemu with core-image-minimal

Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agosystemd-bootchart: upgrade to v233; fix build with musl
Tim Orling [Mon, 22 Jan 2018 00:49:53 +0000 (16:49 -0800)]
systemd-bootchart: upgrade to v233; fix build with musl

* Drop xlocale.h patch, merged upstream
* Rework patches from systemd to fix musl build
  - comparison_fn_t is glibc specific
  - musl does not provide printf.h
  - musl does not provide canonicalize_file_name

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoglibc: Security Fix CVE-2017-17426
Huang Qiyu [Mon, 22 Jan 2018 00:13:06 +0000 (16:13 -0800)]
glibc: Security Fix CVE-2017-17426

Affects glibc < 2.27 including current master
hash 77f921dac17c5fa99bd9e926d926c327982895f7

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
[v2]
Rebased on new master

[v3]
Fix typo in patch status

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoglibc: Security Fix CVE-2017-16997
Armin Kuster [Sun, 21 Jan 2018 17:59:55 +0000 (09:59 -0800)]
glibc: Security Fix CVE-2017-16997

Affect glibc < 2.27
including current master glibc hash: 77f921dac17c5fa99bd9e926d926c327982895f7

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoglibc: Security fix CVE-2017-15671
Armin Kuster [Sun, 21 Jan 2018 17:59:54 +0000 (09:59 -0800)]
glibc: Security fix CVE-2017-15671

affects glibc < 2.27
only glibc in current master hash: 77f921dac17c5fa99bd9e926d926c327982895f7

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agokernel-uboot: support Image kernel type for arm64
Zumeng Chen [Sun, 21 Jan 2018 03:26:58 +0000 (11:26 +0800)]
kernel-uboot: support Image kernel type for arm64

Image will be generated for arm64, and no compression for Image in u-boot as
well. So we just put the file into the right place for the rest of the build
to find it.

Signed-off-by: Zumeng Chen <zumeng.chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agogrep: support Perl regular expression
Haiqing Bai [Mon, 22 Jan 2018 08:46:10 +0000 (16:46 +0800)]
grep: support Perl regular expression

Supporting Perl regular expression is disabled with '--disable-perl-regexp'
but the manpage of 'grep' shows the '-P' option and returns below error:
"/bin/grep.grep -o -P 'PATTERN' file
 /bin/grep.grep: support for the -P option is not compiled into this \
               --disable-perl-regexp binary"

Signed-off-by: Haiqing Bai <Haiqing.Bai@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoiw: 4.9 -> 4.14
Changhyeok Bae [Mon, 22 Jan 2018 02:09:19 +0000 (02:09 +0000)]
iw: 4.9 -> 4.14

Upgrade iw from 4.9 to 4.14

Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agogdbm: 1.13 -> 1.14.1
Huang Qiyu [Thu, 18 Jan 2018 02:26:46 +0000 (10:26 +0800)]
gdbm: 1.13 -> 1.14.1

Upgrade gdbm from 1.13 to 1.14.1.

(From OE-Core rev: cede695564b1ac9e3513ac592aa43f695e6e00f0)

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolib/oe/package_manager/sdk: Ensure do_populate_sdk_ext and do_populate_sdk repos...
Richard Purdie [Sun, 21 Jan 2018 23:17:16 +0000 (23:17 +0000)]
lib/oe/package_manager/sdk: Ensure do_populate_sdk_ext and do_populate_sdk repos don't conflict

The repository indexes updated during do_populate_sdk_ext and do_populate_sdk
can conflcit. Add the missing lockfile calls for deb/ipk and in the rpm case,
ensure different directories are used for the index for the two sdk cases.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agobash: 4.4 -> 4.4.12
Huang Qiyu [Fri, 19 Jan 2018 03:10:59 +0000 (11:10 +0800)]
bash: 4.4 -> 4.4.12

1.Upgrade bash from 4.4 to 4.4.12.
2.Delete bash44-001, bash44-002, bash44-003, bash44-004, bash44-005, bash44-006, bash44-007,bash44-008, bash44-009, bash44-0010, bash44-0011, bash44-0012, since it is integrated upstream.

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoopenssh: Disable wtmp when using musl libc
Paul Barker [Thu, 18 Jan 2018 18:03:33 +0000 (18:03 +0000)]
openssh: Disable wtmp when using musl libc

musl doesn't implement wtmp/utmp.

Signed-off-by: Paul Barker <pbarker@toganlabs.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agolibevent: fix 32bit linux regress test
Mingli Yu [Thu, 18 Jan 2018 07:59:32 +0000 (23:59 -0800)]
libevent: fix 32bit linux regress test

Fix 32bit linux regress test

This patch is backported from https://github.com/libevent/libevent/commit/63c4bf78d6af3c6ff46d2e8e4b53dd9f577a9ca9

Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agogrub: Fix device mapper dependency
Robert Joslyn [Wed, 17 Jan 2018 21:12:34 +0000 (13:12 -0800)]
grub: Fix device mapper dependency

The lvm2 recipe in meta-oe was split, so the libdevmapper library is
provided by the libdevmapper recipe rather than lvm2.

Signed-off-by: Robert Joslyn <robert_joslyn@selinc.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agocommon-licenses: Add BSD-1-Clause
André Draszik [Fri, 19 Jan 2018 12:36:28 +0000 (12:36 +0000)]
common-licenses: Add BSD-1-Clause

Some projects are starting to use it.
  https://spdx.org/licenses//BSD-1-Clause.html

Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoadwaita-icon-theme: 3.26.0 -> 3.26.1
Huang Qiyu [Fri, 19 Jan 2018 03:10:58 +0000 (11:10 +0800)]
adwaita-icon-theme: 3.26.0 -> 3.26.1

Upgrade adwaita-icon-theme from 3.26.0 to 3.26.1.

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agooe-pkgdata-util: Add support for RPROVIDES
Amanda Brindle [Thu, 18 Jan 2018 23:18:28 +0000 (15:18 -0800)]
oe-pkgdata-util: Add support for RPROVIDES

In lookup_recipe, package_info, and list_pkg_files, check if the package
name exists in runtime-rprovides. If so, and the provider package has a
different name than the inputted package, print a note that says the
specified package is in another package's RPROVIDES. If the provider
package has the same name as the inputted package, continue as before.

Fixes [YOCTO 11943]

Signed-off-by: Amanda Brindle <amanda.r.brindle@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agooe-pkgdata-util: Refactor functions for consistency
Amanda Brindle [Thu, 18 Jan 2018 23:18:27 +0000 (15:18 -0800)]
oe-pkgdata-util: Refactor functions for consistency

Refactor functions lookup_recipe and package_info to be consistent with
list_pkg_files. Print the appropriate information as soon as it's found,
rather than storing it in a mappings variable and wait to print after
searching all packages.

Signed-off-by: Amanda Brindle <amanda.r.brindle@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agogo-dep: Add native and nativesdk variants
Otavio Salvador [Thu, 18 Jan 2018 13:24:41 +0000 (11:24 -0200)]
go-dep: Add native and nativesdk variants

The go-dep must be used as native (and consequently as nativesdk)
during the build process. This adds the two variants as supported by
the recipe.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agou-boot: Upgrade to 2018.01 release
Marek Vasut [Fri, 19 Jan 2018 17:45:02 +0000 (18:45 +0100)]
u-boot: Upgrade to 2018.01 release

This upgrades the U-Boot from 2017.11 to 2018.01 release
and drops patches accepted upstream.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Otavio Salvador <otavio@ossystems.com.br>
Cc: Ross Burton <ross.burton@intel.com>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoconnman: Implement subnet route in session
Jian Liang [Fri, 19 Jan 2018 14:42:13 +0000 (14:42 +0000)]
connman: Implement subnet route in session

Implement subnet route creation/deletion in session, e.g.

default via 192.168.100.1 dev eth0
192.168.100.0/24 dev eth0

Signed-off-by: Jian Liang <jianliang@tycoint.com>
Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoconnman: Fix a crash using wispr over TLS
Jian Liang [Fri, 19 Jan 2018 14:42:12 +0000 (14:42 +0000)]
connman: Fix a crash using wispr over TLS

This is happened when doing wispr against a HTTPS URL
rather than the default one, i.e.
http://ipv4.connman.net/online/status.html

When gnutls_channel is instantiated, the gnutls_channel->established
has to be initiated as FALSE. Otherwise, check_handshake function
won't work. A random initial value 1 of gnutls_channel->established
will make check_handshake return G_IO_STATUS_NORMAL, when the channel
is actually not ready to be used. The observed behaviours are,

- wispr is getting random errors in wispr_portal_web_result
- ConnMan crashes on exit after those random errors
- when wispr is luckly working, ConnMan doesn't crash on exit

Signed-off-by: Jian Liang <jianliang@tycoint.com>
Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoconnman: fix nat-postrouting not update issue
Jian Liang [Fri, 19 Jan 2018 14:42:11 +0000 (14:42 +0000)]
connman: fix nat-postrouting not update issue

When more than one session are created with the same
"AllowedInterface", connman failed to update nat-
postrouting rules when new IP address was got

Signed-off-by: Jian Liang <jianliang@tycoint.com>
Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agomesa: Upgrade 17.3.2 -> 17.3.3 release
Otavio Salvador [Fri, 19 Jan 2018 15:54:32 +0000 (13:54 -0200)]
mesa: Upgrade 17.3.2 -> 17.3.3 release

The 17.3.3 release, published in January 18th, 2018. It fixes a number
of issues since 17.3.2 release.

The release notes can be seen at:

  https://www.mesa3d.org/relnotes/17.3.3.html

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoperl: add Config_git.PL to -lib
Tim Orling [Sun, 21 Jan 2018 09:02:32 +0000 (01:02 -0800)]
perl: add Config_git.PL to -lib

Fixes:
Warning: failed to load Config_git.pl, something strange about this perl

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agopopulate_sdk_ext: Set cleandirs correctly
Richard Purdie [Sun, 21 Jan 2018 09:44:07 +0000 (09:44 +0000)]
populate_sdk_ext: Set cleandirs correctly

The current conflicting use of SDKDEPLOYDIR causes a race between do_populate_sdk
and do_populate_sdk_ext potentially causing the SDK to either go missing or the
build to fail.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agopython: fix RDEPENDS on several recipes, due to non-existent packages
Alejandro Hernandez [Fri, 4 Aug 2017 21:14:02 +0000 (14:14 -0700)]
python: fix RDEPENDS on several recipes, due to non-existent packages

The packaging has been altered slightly so ensure the dependencies are all still
valid.

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agopython3: Fix native compilation of gdbm module and manifest
Alejandro Hernandez [Wed, 10 Jan 2018 00:23:52 +0000 (16:23 -0800)]
python3: Fix native compilation of gdbm module and manifest

The gdbm module wasnt being built on python3-native showing the following
error during compilation:

Failed to build these modules:
_gdbm

This patch adds the required dependency to fix the compilation problem.

This issue on python3-native caused the manifest creation script to be
unaware of the gdbm library, so this patch also fixes the create_manifest
task for target python, and the manifest file to reflect the changes on
target python as well.

Signed-off-by: Alejandro Hernandez <alejandr@xilinx.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agopython*-manifest.json: add dependencies, runpy
Tim Orling [Sat, 25 Nov 2017 16:37:37 +0000 (08:37 -0800)]
python*-manifest.json: add dependencies, runpy

* runpy allows running modules/scripts with 'python -m foo'
  - create explicit python2 and 3 packages rather than the
    misc catchall
* python3-setuptools and html.parser RDEPENDS on _markupbase
  - add to python3-core rather than misc catchall
* pip3 RDEPENDS on plistlib, http.client
  - already packaged in python2, add to python3
  - add http/ to -netclient
* "pip3 install" RDEPENDS on encodingds.idna
  - encodings.idna packaged in -core, but missing:
    - stringprep (move from -codecs to -core)
    - unicodedata (move from -codecs to -core)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agopython3: Restructure python3 packaging and replace it with autopackaging
Alejandro Hernandez [Fri, 4 Aug 2017 21:06:14 +0000 (14:06 -0700)]
python3: Restructure python3 packaging and replace it with autopackaging

See previous commit (python2 version) for more info, since mostly
everything applies here as well.

Old manifest file had several issues:
 - Its unorganized and hard to read and understand it for an average
   human being.
 - When a new package needs to be added, the user actually has to modify
   the script that creates the manifest, then call the script to create
   a new manifest, and then submit a patch for both the script and the
   manifest, so its a little convoluted.
 - Git complains every single time a patch is submitted to the manifest,
   since it violates some of its guidelines.
 - It changes or may change with every release of python, its impossible
   to know if the required files for a certain package have changed
   (it could have more or less dependencies), the only way of doing so
   would be to install and test them all one by one on separate individual
   images, and even then we wouldnt know if they require less dependencies,
   we would just know if an extra dependency is required since it would
   complain, lets face it, this isnt feasible.
 - The same thing happens for new packages, if someone wants to add a new
   package, its dependencies need to be checked manually one by one.

Features/Fixes:
 - A new manifest format is used (JSON), easy to read and understand.
   This file is parsed by the python recipe and python packages
   read from here are passed directly to bitbake during parsing time.
 - It provides an automatic manifest creation task (explained on previous
   commit), which automagically checks for every package dependencies and
   adds them to the new manifest, hence we will have on each package
   exactly what that package needs to be run, providing finer granularity.
  - Dependencies are also checked automagically for new packages
   (explained on previous commit).

This patch has the same features as the python2 version but it differs
in the following ways:
 - Python3 handles precompiled bytecode files  (*.pyc) differently.
   for this reason and since we are cross compiling, wildcards couldnt be
   avoided on python3 (See PEP #3147 [1]).
   Both the manifest and the manifest creation script handle this
   differently, the manifest for python3 has an extra field for cached
   files, which is how it lets the user install the cached files or not
   via : INCLUDE_PYCS = "1" on their local.conf.
 - Shared libraries nomenclature also changed on python3, so again, we
   use wildcards to deal with this issue ( See PEP #3149 [2]):
 - Fixes python3 manifest, python3-core should be base and everything
   should depend on it, hence several packages were deleted:
   python3-enum, re, gdbm, subprocess, signal, readline.
 - When building python3-native it adds as symlink to it called
   nativepython3, which is then isued by the create_manifest task.
 - Fixes [YOCTO #11513] while were at it.

References:
[1] https://www.python.org/dev/peps/pep-3147/
[2] https://www.python.org/dev/peps/pep-3149/

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agopython2 create_manifest.py: fix trailing whitespace in json
Tim Orling [Tue, 28 Nov 2017 14:35:31 +0000 (06:35 -0800)]
python2 create_manifest.py: fix trailing whitespace in json

The json.dumps function adds trailing whitespace when using
indent, because the default separator is not ','.

The workaround [1] is to set the separators to be ',' and ': ',
e.g. separators=(',', ': ')

[1] https://hg.python.org/cpython/rev/78bad589f205

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agopython: Restructure python packaging and replace it with autopackaging
Alejandro Hernandez [Tue, 20 Jun 2017 21:11:44 +0000 (14:11 -0700)]
python: Restructure python packaging and replace it with autopackaging

The reason we have a manifest file for python is that our goal is to
keep python-core as small as posible and add other python packages only
when the user needs them, hence why we split upstream python into several
packages.

Although our manifest file has several issues:
 - Its unorganized and hard to read and understand it for an average
   human being.
 - When a new package needs to be added, the user actually has to modify
   the script that creates the manifest, then call the script to create
   a new manifest, and then submit a patch for both the script and the
   manifest, so its a little convoluted.
 - Git complains every single time a patch is submitted to the manifest,
   since it violates some of its guidelines.
 - It changes or may change with every release of python, its impossible
   to know if the required files for a certain package have changed
   (it could have more or less dependencies), the only way of doing so
   would be to install and test them all one by one on separate individual
   images, and even then we wouldnt know if they require less dependencies,
   we would just know if an extra dependency is required since it would
   complain, lets face it, this isnt feasible.
 - The same thing happens for new packages, if someone wants to add a
   new package, its dependencies need to be checked manually one by one.

This patch fixes those issues, while adding some additional features.

Features/Fixes:

 - A new manifest format is used (JSON), easy to read and understand.
   This file is parsed by the python recipe and python packages read
   from here are passed directly to bitbake during parsing time.
 - It provides an automatic manifest creation task (explained below),
   which automagically checks for every package dependencies and adds
   them to the new manifest, hence we will have on each package exactly
   what that package needs to be run, providing finer granularity.
 - Dependencies are also checked automagically for new packages (explained below).
 - Fixes the manifest in the following ways:
   * python-core should be base and all packages should depend on it,
     fixes lang, string, codecs, etc.
   * Fixes packages with repeated files (e.g. bssdb and db, or
     netclient and mime, and many others).
 - Sitecustomize was fixed since encoding was deprecated.
 - The JSON manifest file invalidates bitbake's cache, so if it changes
   the python package will be rebuilt.
 - It creates a solution for users that want precompiled bytecode files
   (*.pyc) INCLUDE_PYCS = "1" can be set by the user on their local.conf to
   include such files, some argument they get faster boot time, even when the
   files would be created on their first run?, but they also sometimes give a
   magic number error and take up space, so we leave it to the user to
   decide if they want them or not.
 - Fixes python-core dependencies, e.g.
   When python is run on an image, it TRIES to import everything it needs,
   but it doesnt necessarily fails when it doesnt find something, so even if
   we didnt know, we had errors like (trimmed on purpose):
   # trying /usr/lib/python2.7/_locale.so
   # trying /usr/lib/python2.7/lib-dynload/_locale.so
   # trying /usr/lib/python2.7/_sysconfigdata.so

   while it didnt complain about _locale it should have imported it,
   after creating a new manifest with the automated script we get:

   # trying /usr/lib/python2.7/lib-dynload/_locale.so
   dlopen("/usr/lib/python2.7/lib-dynload/_locale.so", 2);
   import _locale # dynamically loaded from /usr/lib/python2.7/lib-dynload/_locale.so

How to use (after a new release of python, or maybe before every OE
release):
 - A new task called create_manifest was added to the python package,
   which may be invoked via:

 $ bitbake python -c create_manifest

 This task runs a script on native python on our HOST system, and since
 the python and python-native packages come from the same source, we can
 use it to know the dependencies of each module as if we were doing it
 on an image, this script is called create_manifest.py and in a very
 simplistic way it does the following:

 1. Reads the JSON manifest file and creates a dictionary data structure
    with all of our python packages, their FILES, RDEPENDS and SUMMARY.
 2. Loops through all of them and runs every module listed on them
    asynchronously, determining every dependency that they have.
 3. These module dependencies are then handled, to be able to know which
    packages contain those files and which should RDEPEND on one another.
 4. The data structure that comes out of this, is then used to create a
    new manifest file which is automatically copied onto the user's python
    directory replacing the old one.

 Create_manifest script features:
 - Handles modules which dont exist anymore (new release for example).
 - Handles modules that are builtin.
 - Deals with modules which were not compiled (e.g. bsddb or ossaudiodev)
 - Deals with packages which include folders.
 - Deals with packages which include FILES with a wildcard.
 - The manifest can be constructed on a multilib environment as well.
 - This method works for both python modules and shared libraries used
   by python.

How to add a new package:
 - If a user wants to add a new package all that has to be done is
   modify the python2-manifest.json file, and add the required file(s)
   to the FILES list, the script should handle all the rest.
   Real example:
   We want to add a web browser package, including the file webbrowser.py
   which at the moment is on python-misc.
   "webbrowser": {
       "files": ["${libdir}/python2.7/lib-dynload/webbrowser.py"],
       "rdepends": [],
       "summary": "Python Web Browser support"}

 Run bitbake python -c create_manifest and the resulting manifest
 should  be completed after a few seconds, showing something like:
   "webbrowser": {
      "files": ["${libdir}/python2.7/webbrowser.py"],
      "rdepends": ["core","fcntl","io","pickle","shell","subprocess"],
      "summary": "Python Web Browser support"}

Known errors/issues:
 - Some special packages are handled differently: core, misc,
   modules,dev, staticdev.
   All these should be handled manually, because they either include
   binaries, static libraries, include files, etc. (something that we
   cant import).
   Specifically static libraries are not not supported by this method
   and have to be handled by the user.
 - The change should be transparent to the user, other than the fact
   that now we CANT build python-foo (it was pretty dumb anyway, since
   what building python-foo actually did was building the whole python
   package anyway), but doing IMAGE_INSTALL_append = " python-foo"
   would create an image with the requested package with no issues.

[YOCTO #11510] [YOCTO #11694] [YOCTO #11695]

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agomultilib.bbclass: deltask populate_sdk and populate_sdk_ext
Robert Yang [Mon, 8 Jan 2018 08:27:34 +0000 (16:27 +0800)]
multilib.bbclass: deltask populate_sdk and populate_sdk_ext

The "bitbake image -cpopulate_sdk/ext" generates SDK/eSDK for all multilib
variants, so "bitbake lib32-image -cpopulate_sdk/ext" is not needed, and it
doesn't work well, for example:

MACHINE ?= "qemux86-64"
require conf/multilib.conf
MULTILIBS = "multilib:lib32"
DEFAULTTUNE_virtclass-multilib-lib32 = "x86"

$ bitbake lib32-core-image-minimal -cpopulate_sdk_ext
[snip]
Exception: FileExistsError: [Errno 17] File exists: '/buildarea/lyang1/test_q64/tmp/sysroots-components/core2-64/openssl/sysroot-providers/openssl10' -> '/buildarea/lyang1/test_q64/tmp/work/qemux86_64-pokymllib32-linux/lib32-core-image-minimal/1.0-r0/lib32-recipe-sysroot/sysroot-providers/openssl10'
[snip]

The problem is populate_sdk_ext installs all multilib variants, and
extend_recipe_sysroot() handles foo-image depends lib32-foo-image, but doesn't
handle lib32-foo-image depends foo-image, we can use a lot of trick ways to make
it work:
1) Get foo-image's RECIPE_SYSROOT when build lib32-foo-image
2) Handle conflicts with foo-image.do_rootfs
3) Handle conflicts when "bitbake lib32-foo-image foo-image -cpopulate_sdk_ext"

And maybe other potential problems, this looks painful, so just delete the task.

[YOCTO #12210]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agogrub/grub-efi: fix conflict
Hongxu Jia [Wed, 17 Jan 2018 08:25:58 +0000 (03:25 -0500)]
grub/grub-efi: fix conflict

While installing grub and grub-efi, there are conflict files
in ${sysconfdir} ${datadir} ${bindir} ${sbindir}.

- Since all of the conflicted files are tools which is
  common for grub and grub-efi, we split them (except
  grub-editenv) to grub-common in grub.

- The package grub-common runtime depends grub-editenv

- The package grub-editenv runtime provides grub-efi-editenv

- Remove SYSROOT_DIRS_BLACKLIST

- The recipe grub-efi does not generate the duplicated files
  and use runtime depends grub-common to instead

Debian and Fedora do the similar thing.

Debian use a common package grub-common for both of pc bios and efi,
and use package grub-pc-bin for pc bios, grub-efi-amd64-bin for efi.
Both of grub-pc-bin and grub-efi-amd64-bin requires grub-common.
https://packages.debian.org/sid/grub-common
https://packages.debian.org/jessie/grub-pc-bin
https://packages.debian.org/jessie/grub-efi-amd64-bin

Fedora use a common package grub2-tools for both of pc bios and efi,
and use package grub2 for pc bios, grub2-efi-modules for efi.
Both of grub2 and grub2-efi-modules requires grub2-tools.
https://www.rpmfind.net/linux/RPM/fedora/devel/rawhide/x86_64/g/grub2-tools-2.02-0.34.fc24.x86_64.html
https://www.rpmfind.net/linux/RPM/fedora/devel/rawhide/x86_64/g/grub2-2.02-0.34.fc24.x86_64.html
https://www.rpmfind.net/linux/RPM/fedora/devel/rawhide/x86_64/g/grub2-efi-modules-2.02-0.34.fc24.x86_64.html

[YOCTO #11639]

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agotiff: 4.0.8 -> 4.0.9
Huang Qiyu [Thu, 18 Jan 2018 02:29:37 +0000 (10:29 +0800)]
tiff: 4.0.8 -> 4.0.9

1.Upgrade tiff from 4.0.8 to 4.0.9.
2.Delete CVE-2017-10688.patch, CVE-2017-11335.patch, CVE-2017-13726.patch, CVE-2017-13727.patch, CVE-2017-9147.patch, CVE-2017-9936.patch, since it is integrated upstream.

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoicu: 60.1 -> 60.2
Huang Qiyu [Thu, 18 Jan 2018 02:26:47 +0000 (10:26 +0800)]
icu: 60.1 -> 60.2

Upgrade icu from 60.1 to 60.2.

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoiproute2: 4.13.0 -> 4.14.1
Changhyeok Bae [Thu, 14 Dec 2017 00:26:50 +0000 (00:26 +0000)]
iproute2: 4.13.0 -> 4.14.1

- This release features JSON output for many commands and greater
  support of offloading to hardware.

- Config is changed to config.mk

Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agocmake: use Ninja by default
Ross Burton [Thu, 18 Jan 2018 12:11:38 +0000 (12:11 +0000)]
cmake: use Ninja by default

This changes the cmake class to use Ninja instead of Make by default.

If a recipe is broken with Ninja then the recipe can set OECMAKE_GENERATOR="Unix
Makefiles" to change back to Make.

Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agocmake: allow the generator to be changed
Ross Burton [Fri, 5 Jan 2018 16:39:28 +0000 (16:39 +0000)]
cmake: allow the generator to be changed

Add OECMAKE_GENERATOR variable to control which generator is used by CMake,
defaulting to the upstream default of Unix Makefiles for now.  The other
supported option is Ninja, which is faster than Make for large projects (for
example, using Ninja takes three minutes off webkitgtk:do_compile for me).

Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agomeson.bbclass: add MESON_LINK_ARGS to vardeps
Martin Kelly [Wed, 17 Jan 2018 19:22:57 +0000 (11:22 -0800)]
meson.bbclass: add MESON_LINK_ARGS to vardeps

Currently, we include MESON_C_ARGS in write_config[vardeps], but we
don't include MESON_LINK_ARGS, which also affects meson.cross. In
addition, we include TOOLCHAIN_OPTIONS, from which both are derived.

Add MESON_LINK_ARGS, and remove TOOLCHAIN_OPTIONS, which does not
directly appear in meson.cross and should be pulled in indirectly by
MESON_C_ARGS and MESON_LINK_ARGS.

Signed-off-by: Martin Kelly <mkelly@xevo.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agomeson.bbclass: include C{, XX}FLAGS in cross args
Martin Kelly [Wed, 17 Jan 2018 19:22:56 +0000 (11:22 -0800)]
meson.bbclass: include C{, XX}FLAGS in cross args

Currently, CFLAGS and CXXFLAGS are not making it into the compile line.
This is because meson appends CFLAGS/CXXFLAGS from the environment only
for native but not for cross builds (probably to keep cross-builds more
isolated). As a result, we need to make sure these vars goes into
meson.cross. This is similar to what cmake.bbclass does with
OECMAKE_C_FLAGS and OECMAKE_CXX_FLAGS.

Change c_args and cpp_args in meson.cross to include these vars, and
update write_config[vardeps] accordingly.

Signed-off-by: Martin Kelly <mkelly@xevo.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agomeson.bbclass: compile with --buildtype plain
Martin Kelly [Wed, 17 Jan 2018 19:22:55 +0000 (11:22 -0800)]
meson.bbclass: compile with --buildtype plain

OE manages all the compile flags, so we don't want meson to inject its
own flags. Currently, it's injecting -O0 and causing build breaks when
security flags are enabled (because _FORTIFY_SOURCE requires an
optimized build and meson defaults to a debug -O0 build).

Add --buildtype plain so meson will not add its own optimization flags.

Signed-off-by: Martin Kelly <mkelly@xevo.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agocmake: upgrade 3.9.5 -> 3.10.1
Otavio Salvador [Wed, 17 Jan 2018 15:59:33 +0000 (13:59 -0200)]
cmake: upgrade 3.9.5 -> 3.10.1

The 3.10.1 version has been in Dec 13, 2017, and has a great set of
features and improvements since the last upgrade.

The release notes of 3.10 release is available at:

https://cmake.org/cmake/help/v3.10/release/3.10.html

Patches updates:

 - cmake-Prevent-the-detection-of-Qt5.patch: so it replaces the sed
   command calls inside the cmake.inc

 - 0001-FindCUDA-Use-find_program-if-find_host_program-is-no.patch:
   merged upstream, so it has been removed.

 - support-oe-qt4-tools-names.patch: rebased.

License-checksum-change: added new contributors
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agolinux-firmware: package ibt-17-16-1 firmware
Liwei Song [Wed, 17 Jan 2018 09:50:35 +0000 (04:50 -0500)]
linux-firmware: package ibt-17-16-1 firmware

Package ibt-17-16-1 firmware for Bluetooth device 9460/9560

Signed-off-by: Liwei Song <liwei.song@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agolinux-firmware: package iwlwifi-9000 series fimware
Liwei Song [Wed, 17 Jan 2018 09:50:34 +0000 (04:50 -0500)]
linux-firmware: package iwlwifi-9000 series fimware

Add package for 9000 seires Intel wireless firmware.

Signed-off-by: Liwei Song <liwei.song@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agokernel: Use KERNEL_IMAGETYPE_FOR_MAKE in do_bundle_initramfs
Thomas Perrot [Wed, 17 Jan 2018 09:21:59 +0000 (10:21 +0100)]
kernel: Use KERNEL_IMAGETYPE_FOR_MAKE in do_bundle_initramfs

In the case of a fitImage the this step should be done on the
image use to assemble the fitImage.

Signed-off-by: Thomas Perrot <thomas.perrot@tupi.fr>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agousbutils: 008 -> 009
Huang Qiyu [Wed, 17 Jan 2018 02:59:38 +0000 (10:59 +0800)]
usbutils: 008 -> 009

Upgrade usbutils from 008 to 009.

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agotrace-cmd: 2.6.1 -> 2.6.2
Huang Qiyu [Wed, 17 Jan 2018 02:59:37 +0000 (10:59 +0800)]
trace-cmd: 2.6.1 -> 2.6.2

Upgrade trace-cmd from 2.6.1 to 2.6.2.

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agosystemtap: 3.1 -> 3.2
Huang Qiyu [Wed, 17 Jan 2018 02:59:36 +0000 (10:59 +0800)]
systemtap: 3.1 -> 3.2

Upgrade systemtap from 3.1 to 3.2.

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agobusybox: drop obsolete CONFIG_FEATURE_SYSTEMD reference from musl.cfg
Andre McCurdy [Thu, 14 Dec 2017 01:33:58 +0000 (17:33 -0800)]
busybox: drop obsolete CONFIG_FEATURE_SYSTEMD reference from musl.cfg

From 1.25.0 onwards, busybox dropped systemd compatibility from its
version of syslogd:

  https://git.busybox.net/busybox/commit/?id=accd9eeb719916da974584b33b1aeced5f3bb346

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoglib-2.0: fix EXTRA_OECONF append for PTEST
Martin Hundebøll [Wed, 17 Jan 2018 09:58:20 +0000 (10:58 +0100)]
glib-2.0: fix EXTRA_OECONF append for PTEST

The order of '_append' and '_<override>' matters: '_append' must be
before overrides to have any effect.

Fix this in glib-2.0, so that EXTRA_OECONF is appended instead of
overwritten.

Signed-off-by: Martin Hundebøll <mnhu@prevas.dk>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agov86d: use snapshot.debian.org
Ross Burton [Tue, 16 Jan 2018 17:40:53 +0000 (17:40 +0000)]
v86d: use snapshot.debian.org

Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoglib: improve gettext enabling/disabling
Ross Burton [Tue, 16 Jan 2018 14:02:52 +0000 (14:02 +0000)]
glib: improve gettext enabling/disabling

As we only seed gettext's msgfmt as /bin/false for native builds, explicitly set
USE_NLS to yes in the recipe (as it was previously) for targeget and nativesdk
builds.

Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agokernel: drop unnecessary True options from calls to getVar
Andre McCurdy [Tue, 16 Jan 2018 03:30:38 +0000 (19:30 -0800)]
kernel: drop unnecessary True options from calls to getVar

The older style calls (plus a bashism in kernel.bbclass, fixed
separately) were introduced via the recent change to add support for
multiple kernel packages:

  http://git.openembedded.org/openembedded-core/commit/?id=6c8c899849d101fd1b86aad0b8eed05c7c785924

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoscripts/oe-depends-dot: add it to handle dot files
Robert Yang [Mon, 15 Jan 2018 10:34:04 +0000 (18:34 +0800)]
scripts/oe-depends-dot: add it to handle dot files

Add it to handle recipe-depends.dot and task-depends.dot. E.g.:

* Print why rpm is built
  $ oe-depends-dot -k rpm --why/-w recipe-depends.dot
  Because: core-image-sato libdnf libsolv dnf

* Print bzip2-native's depends
  $ oe-depends-dot -k bzip2-native --depends/-d recipe-depends.dot
  Depends: automake-native gnu-config-native libtool-native quilt-native autoconf-native

* Remove duplicated dependencies to reduce the size of the dot files.
  For example, A->B, B->C, A->C, then A->C can be removed. The dot files are too
  big, we nearly couldn't use 'dot -T' to generate pictcures for target recipes,
  remove the duplicated dependencies makes is it possible.
  $ bitbake core-image-sato -g
  $ oe-depends-dot -r recipe-depends.dot
  Saving reduced dot file to recipe-depends-reduced.dot
  $ du -sh recipe-depends*.dot
  608K    recipe-depends.dot
  32K     recipe-depends-reduced.dot

  It has been recuded from 608K to 32K, now we can generate a picture,
  otherwise, it is too big:
  $ dot -Tpng recipe-depends-reduced.dot -O

It also can handle task-depends.dot.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoi2c-tools: upgrade to 4.0
Maxin John [Fri, 12 Jan 2018 12:26:37 +0000 (14:26 +0200)]
i2c-tools: upgrade to 4.0

Update the SRC_URI to point to kernel.org location where
i2c-tools is hosted these days.

Remove Modules.mk since it was used for deprecated binaries
(eepromer, eeprom)

Backported the following patches to fix races during build:
        a) 0001-tools-Module.mk-Add-missing-dependencies.patch
        b) 0001-i2c-tools-eeprog-Module.mk-Add-missing-dependency.patch
        c) 0001-lib-Module.mk-Add-missing-dependencies.patch

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agopkgconf: upgrade to 1.4.0
Maxin B. John [Fri, 12 Jan 2018 12:26:36 +0000 (14:26 +0200)]
pkgconf: upgrade to 1.4.0

1.3.7 -> 1.4.0

Removed following upstreamed and backported patches:
        1. 0001-stdinc.h-fix-build-with-mingw.patch
        2. 0001-Minimal-tweaks-to-compile-with-Visual-C-2015.patch

Change in checksum is due to bump in copyrights to 2018.

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agolinux-firmware: add packaging for QCOM firmware for APQ8016 and APQ8096
Nicolas Dechesne [Fri, 12 Jan 2018 10:05:07 +0000 (11:05 +0100)]
linux-firmware: add packaging for QCOM firmware for APQ8016 and APQ8096

Firmware files for VPU and GPU found on various Qualcomm based devices, such as
Dragonboard 410c and/or Dragonboard 820c.

* venus-1.8 and adreno-a3xx firmware are VPU and GPU for Qualcomm APQ8016 SoC
* venus-4.2 and adreno-a530 firmware are VPU and GPU for Qualcomm APQ8096 SoC

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agowget: improve reproducibility
Hongxu Jia [Fri, 12 Jan 2018 08:11:22 +0000 (03:11 -0500)]
wget: improve reproducibility

Remove build host references from the internally
generated file version.c. The references get compiled into
executables, which leads to non-reproducible builds.
The removed references (--sysroot, -fdebug-prefix-map) were
only used as part of the `wget --version' which do not have
side effect.

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agomaintainers: update
Ross Burton [Mon, 15 Jan 2018 13:26:11 +0000 (13:26 +0000)]
maintainers: update

Some people are no longer working on oe-core, so reassign their packages.

Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agojson-glib: update to 1.4.2
Yi Zhao [Tue, 16 Jan 2018 00:32:33 +0000 (08:32 +0800)]
json-glib: update to 1.4.2

Drop 0001-Do-not-disable-gobject-introspection-when-cross-comp.patch
since it has been fixed upstream.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agotune-i686: Add new tune for better support of 686-class CPUs.
Carlos Alberto Lopez Perez [Mon, 15 Jan 2018 20:02:55 +0000 (21:02 +0100)]
tune-i686: Add new tune for better support of 686-class CPUs.

There isn't currently any tune available for i686 x86 optimizations.
The tune for i586 doesn't enable i686 specific optimizations, and the
one for core2 enables things that won't work on a i686 CPU (like SSE3).

Make the tune for core2 inherits from this one and move there the
setting of X86ARCH32.

Signed-off-by: Carlos Alberto Lopez Perez <clopez@igalia.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agorpm: backport configure fix for multiple users/groups with ID 0
Mike Crowe [Mon, 15 Jan 2018 17:15:11 +0000 (17:15 +0000)]
rpm: backport configure fix for multiple users/groups with ID 0

Backport upstream configure fix for hosts that have multiple users with UID
0 or groups with GID 0.

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agomesa: improve build reproducibility
Maxin B. John [Wed, 17 Jan 2018 14:53:30 +0000 (16:53 +0200)]
mesa: improve build reproducibility

Sort the output to ensure reproducibility.

Fixes [YOCTO #12479]

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agogst-examples: upgrade to latest revision
Maxin B. John [Wed, 17 Jan 2018 14:53:29 +0000 (16:53 +0200)]
gst-examples: upgrade to latest revision

As suggested by updated AUH

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agobuildhistory-diff: add support for colourising the output
Ross Burton [Wed, 17 Jan 2018 17:11:33 +0000 (17:11 +0000)]
buildhistory-diff: add support for colourising the output

Colour value removes in red and additions in green, making it easier to scan the
output for relevant changes.

This adds a --colour option to specify whether colouring should be on, off, or
detected.  The default is detected, and depends on whether stdout is a TTY (same
behaviour as git).

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agodevtool: rename the suggested license change tag to 'License-Update:'
Alexander Kanavin [Wed, 17 Jan 2018 16:55:12 +0000 (18:55 +0200)]
devtool: rename the suggested license change tag to 'License-Update:'

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoqemu: Bump to version 2.11.0
Alistair Francis [Wed, 17 Jan 2018 21:39:06 +0000 (13:39 -0800)]
qemu: Bump to version 2.11.0

Use the latest QEMU release 2.11. Remove all patches that are no longer
required as they have been merged into the 2.11 releaese. One patch had
to be updated to apply to the 2.11 tree.

This also applies a linux user patch to avoid webkitgtk build hangs.

Signed-off-by: Alistair Francis <alistair.francis@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agokernel.bbclass: drop legacy fallback to yes '' | make oldconfig
Andre McCurdy [Wed, 17 Jan 2018 23:00:40 +0000 (15:00 -0800)]
kernel.bbclass: drop legacy fallback to yes '' | make oldconfig

The "oldnoconfig" target has been supported since Linux 2.6.36.

According to OLDEST_KERNEL, the oldest kernel currently supported by
OE is 3.2.0, so the fallback to yes '' | make oldconfig is no longer
required.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agocryptodev: Fix build errors with v4.13+
Daniel Schultz [Fri, 5 Jan 2018 14:37:52 +0000 (15:37 +0100)]
cryptodev: Fix build errors with v4.13+

Without this compiles of 4.13 and later kernels fail.

Backport from https://github.com/cryptodev-linux/cryptodev-linux
Based on commit f0d69774afb27ffc62bf353465fba145e70cb85a

Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoclasses/debian: clean up process spawning
Ross Burton [Tue, 16 Jan 2018 13:37:54 +0000 (13:37 +0000)]
classes/debian: clean up process spawning

This code is old and was of it's time, rewrite it to use modernish (we support
Python 3.4, so can't use subprocess.run()) subprocess and re idioms instead.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoclasses/debian: fix library path handling
Ross Burton [Tue, 16 Jan 2018 13:37:53 +0000 (13:37 +0000)]
classes/debian: fix library path handling

The existing code is looking for libraries in all paths which end in ${libdir}.
This caused false-positives for recipes such as lz4 which had files called
/usr/lib/lz4/ptest/usr/lib/liblz4.so, and resulted in lz4-ptest being
incorrectly renamed to liblz4.

Solve this by explicitly looking for ${libdir} etc under the packages-split
directory.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agogo-dep: upgrade 0.3.1 -> 0.3.2
Otavio Salvador [Wed, 17 Jan 2018 15:59:32 +0000 (13:59 -0200)]
go-dep: upgrade 0.3.1 -> 0.3.2

The 0.3.2 version has been released in Oct 19, 2017, and has a great
set of features and improvements, as seen in the announcement summary:

,----
| NEW FEATURES:
|
| - Add support for importing from gvt and gb. (#1149)
| - Wildcard ignore support. (#1156)
| - Disable SourceManager lock by setting DEPNOLOCK environment
|   variable.  (#1206)
| - dep ensure -no-vendor -dry-run now exits with an error when
|   changes would have to be made to Gopkg.lock. This is useful
|   for CI. (#1256)
|
| BUG FIXES:
|
| - gps: Fix case mismatch error with multiple dependers. (#1233)
| - Skip broken vendor symlink rather than returning an error. (#1191)
| - Fix status shows incorrect reason for lock mismatch when ignoring
|   packages. (#1216)
|
| IMPROVEMENTS:
|
| - Allow dep ensure -add and -update when lock is out-of-sync. (#1225)
| - gps: vcs: Dedupe git version list (#1212)
| - gps: Add prune functions to gps. (#1020)
| - gps: Skip broken vendor symlinks. (#1191)
| - dep ensure -add now concurrently fetches the source and adds the
|   projects. (#1218)
| - File name case check is now performed on Gopkg.toml and Gopkg.lock.
|   (#1114)
| - gps: gps now supports pruning. (#1020)
| - dep ensure -update now concurrently validates the passed project
|   arguments. Improving performance when updating dependencies with
|   -update. (#1175)
| - dep status now concurrently fetches repo info. Improving status
|   performance. (#1135)
| - gps: Add SourceURLsForPath() to SourceManager. (#1166)
| - gps: Include output in error. (#1180)
`----

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolibdrm: upgrade 2.4.88 -> 2.4.89
Otavio Salvador [Wed, 17 Jan 2018 15:59:31 +0000 (13:59 -0200)]
libdrm: upgrade 2.4.88 -> 2.4.89

The 2.4.89 version has been released in Dec 18, 2017, and has a great
set of features and improvements, as seen in the announcement summary:

,----
| libdrm release with leasing and syncobj api updates,
| updated amdgpu marketing ids, amdgpu tests,
| updated uapi headers
| etnaviv updates.
`----

The full announcement can be seen at:

https://lists.freedesktop.org/archives/dri-devel/2017-December/160530.html

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agopiglit: override install target name instead of do_install
Ross Burton [Tue, 16 Jan 2018 13:25:16 +0000 (13:25 +0000)]
piglit: override install target name instead of do_install

Simply override the install target, instead of reimplementing do_install.

Apart from being neater, this also stops the recipe expecting that cmake is
using the Make backend.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agocmake: allow target names to be overridden
Ross Burton [Tue, 16 Jan 2018 13:25:15 +0000 (13:25 +0000)]
cmake: allow target names to be overridden

Don't hardcode the targets used in do_compile and do_install, instead build
"all" and "install" by default but respect OECMAKE_TARGET_COMPILE and
OECMAKE_TARGET_INSTALL variables.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolibarchive: Enable xz and lzo by default
Otavio Salvador [Wed, 17 Jan 2018 16:05:03 +0000 (14:05 -0200)]
libarchive: Enable xz and lzo by default

The XZ format is widely used and multiple recipes inside OE-Core
already use it, so making the XZ enabled by default align the
expectation of users. The LZO, on the other side, is commonly used in
embedded systems due its performance so it makes sense to be available
by default.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agogstreamer: correctly set GST_PLUGIN_SCANNER_1_0
Alexander Kanavin [Tue, 16 Jan 2018 14:57:49 +0000 (16:57 +0200)]
gstreamer: correctly set GST_PLUGIN_SCANNER_1_0

The order was wrong: GST_PLUGIN_SCANNER_1_0 was previously set before
GTKDOC_EXTRA_ENVIRONMENT and so was overriden by upstream setting it
from there. This changes the location of GST_PLUGIN_SCANNER_1_0 setting
to come after GTKDOC_EXTRA_ENVIRONMENT.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>