]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
7 years agoicecc-create-env: Symlink alternate names
Joshua Watt [Mon, 12 Feb 2018 16:52:02 +0000 (10:52 -0600)]
icecc-create-env: Symlink alternate names

Instead of renaming files to a new path in the toolchain archive, keep
the files with their original paths and create a relative symbolic link
from the new path to the original file.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoicecc-create-env: Use program interpreter for deps
Joshua Watt [Mon, 12 Feb 2018 16:52:01 +0000 (10:52 -0600)]
icecc-create-env: Use program interpreter for deps

ldd cannot always be used to determine a program's dependencies
correctly, particularly when the program specifies an alternate program
interpreter (dynamic loader). This commonly happens when using a
uninative tarball. Instead, determine the program's requested
interpreter, and ask it to list the dependencies.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoicecc-create-env: Add /bin/true to environment
Joshua Watt [Mon, 12 Feb 2018 16:52:00 +0000 (10:52 -0600)]
icecc-create-env: Add /bin/true to environment

icecream daemons execute /bin/true from the environment as a check to
determine if the environment is valid at all, so it needs to be
included.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoicecc-create-env: Reformat
Joshua Watt [Mon, 12 Feb 2018 16:51:59 +0000 (10:51 -0600)]
icecc-create-env: Reformat

The environment script used an annoying mix of tabs and spaces and no
mapping of tabs to spaces would produce pleasant indentation. Reformat
to eliminate tab characters and settle on 4 spaces for indentation
(which matches the upstream icecream script from which this is derived)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoicecc.bbclass: Skip canadian-cross compiles
Joshua Watt [Mon, 12 Feb 2018 16:51:58 +0000 (10:51 -0600)]
icecc.bbclass: Skip canadian-cross compiles

icecc.bbclass will no longer attempt to distribute cross-canadian
compiles. While it is technically possible to generate a toolchain that runs
on the build system and generates executables for the host system, this
is not the normal way that icecc operates. There are so few of these
recipes that it is probably not worth maintaining a distinct code path
for them.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoicecc.bbclass: Fix STAGING_BINDIR_TOOLCHAIN usage
Joshua Watt [Mon, 12 Feb 2018 16:51:57 +0000 (10:51 -0600)]
icecc.bbclass: Fix STAGING_BINDIR_TOOLCHAIN usage

STAGING_BINDIR_TOOLCHAIN is actually a path list, not a single path. Fix
icecc.bbclass to try all the paths in the variable instead of treating
it as a single path.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoicecc.bbclass: Move to shared work directory
Joshua Watt [Mon, 12 Feb 2018 16:51:56 +0000 (10:51 -0600)]
icecc.bbclass: Move to shared work directory

Generate the icecc toolchains in a shared work directory. This class was
already setup to correctly synchronize creating the toolchains in a
shared location before the RSS changes, so return to that behavior
instead of generated the toolchains in each recipe's sysroot.
Additionally, it makes no sense for each recipe to generate a toolchain,
only to find it was already generated and uploaded to the compile server
by another recipe.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoltp: Improve package stripping
Richard Purdie [Wed, 14 Feb 2018 14:43:42 +0000 (14:43 +0000)]
ltp: Improve package stripping

Just exclude the specific tests which have an issue with being stripped
rather than the whole package. This reduces the disk footprint by around
400MB.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agopackage: Add INHIBIT_PACKAGE_STRIP_FILES to allow files to remain unstripped
Richard Purdie [Wed, 14 Feb 2018 14:40:55 +0000 (14:40 +0000)]
package: Add INHIBIT_PACKAGE_STRIP_FILES to allow files to remain unstripped

There are cases where its useful to allow only a select few files
to be excluded from the package stripping mechanism. Currently
this isn't possible so add a variable to allow this.

This is to be used sparingly as in general the core code should be
doing the right thing. This is better than the alternative of leaving the whole
package unstripped.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoeudev: bump up to version 3.2.5
Chang Rebecca Swee Fun [Thu, 8 Feb 2018 08:51:14 +0000 (16:51 +0800)]
eudev: bump up to version 3.2.5

This upgraded version of eudev includes:
- Headers to build under glibc-2.25 and above
- Bug fix on ata_id
- Misc: rules and hardware database update

Signed-off-by: Chang Rebecca Swee Fun <rebecca.swee.fun.chang@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agooe-selftest: meta_ide: add tests for meta-ide-support
Yeoh Ee Peng [Thu, 8 Feb 2018 00:01:04 +0000 (16:01 -0800)]
oe-selftest: meta_ide: add tests for meta-ide-support

QA team were testing meta-ide-support manually. Add automated
tests to test that bibtake meta-ide-support will create the
toolchain and environment setup script. Also test that after
using environment setup script, one can compile c program
and build cpio project.

Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agomaintainers.inc: update recipe ownership
Chang Rebecca Swee Fun [Thu, 8 Feb 2018 08:51:15 +0000 (16:51 +0800)]
maintainers.inc: update recipe ownership

Remove recipe for sato-icon-theme that was obsolete since YP 2.2
release and change ownership for eudev recipe.

Signed-off-by: Chang Rebecca Swee Fun <rebecca.swee.fun.chang@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agokernel-fitimage.bbclass: Fix 64 bit ENTRYPOINT
Vineeth Chowdary Karumanchi [Thu, 8 Feb 2018 06:29:36 +0000 (11:59 +0530)]
kernel-fitimage.bbclass: Fix 64 bit ENTRYPOINT

64 bit entry point should be passed in 2 literals ( "0x1 0x00008000"
).ENTRYPOINT is assigned with first half only and erroring out as
'command not found' for the second half. Adding quotes while assignment fixes the
issue.

Signed-off-by: Vineeth Chowdary Karumanchi <vineethchowz.chowdary@xilinx.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agomachines: bump default linux-yocto to v4.15
Bruce Ashfield [Tue, 6 Feb 2018 16:22:00 +0000 (11:22 -0500)]
machines: bump default linux-yocto to v4.15

Ensure that the qemu* machines are building the latest available
kernel in master.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agolinux-yocto/4.9: drop recipe
Bruce Ashfield [Tue, 6 Feb 2018 16:21:59 +0000 (11:21 -0500)]
linux-yocto/4.9: drop recipe

As was previously announced, anything older than 4.14 is being
dropped in the master/release branches to better support newer
processors and to ensure that safe/secure kernels are the
defaults for all builds. The time required to update the older
kernels with constant updates (more than just CVEs) is not
justified in new releases.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agolinux-yocto/4.4: drop recipe
Bruce Ashfield [Tue, 6 Feb 2018 16:21:58 +0000 (11:21 -0500)]
linux-yocto/4.4: drop recipe

As was previously announced, anything older than 4.14 is being
dropped in the master/release branches to better support newer
processors and to ensure that safe/secure kernels are the
defaults for all builds. The time required to update the older
kernels with constant updates (more than just CVEs) is not
justified in new releases.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agolinux-yocto/4.10: drop recipe
Bruce Ashfield [Tue, 6 Feb 2018 16:21:57 +0000 (11:21 -0500)]
linux-yocto/4.10: drop recipe

As was previously announced, anything older than 4.14 is being
dropped in the master/release branches to better support newer
processors and to ensure that safe/secure kernels are the
defaults for all builds. The time required to update the older
kernels with constant updates (more than just CVEs) is not
justified in new releases.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agolttng-modules: update to v2.10.5 for kernel 4.15
Bruce Ashfield [Tue, 6 Feb 2018 16:21:56 +0000 (11:21 -0500)]
lttng-modules: update to v2.10.5 for kernel 4.15

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agolinux-yocto/4.12: pinctrl backports
Bruce Ashfield [Tue, 6 Feb 2018 16:21:55 +0000 (11:21 -0500)]
linux-yocto/4.12: pinctrl backports

Backporting the following pinctrl commits to enable controllers on
Intel Cannon Lake:

  4b7a5c1b4ec5 pinctrl: intel: Add Intel Cannon Lake PCH-H pin controller support
  044631ce1937 pinctrl: intel: Add Intel Cannon Lake PCH pin controller support
  2054b0ea59a7 pinctrl: intel: Make it possible to specify mode per pin in a group
  55b9053b5a5a pinctrl: intel: Add support for variable size pad groups

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agolinux-libc-headers: update to v4.15
Bruce Ashfield [Tue, 6 Feb 2018 16:21:54 +0000 (11:21 -0500)]
linux-libc-headers: update to v4.15

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agolinux-yocto: introduce 4.15 recipes
Bruce Ashfield [Tue, 6 Feb 2018 16:21:53 +0000 (11:21 -0500)]
linux-yocto: introduce 4.15 recipes

This commit makes the 4.15 kernel available for use with the
Yocto configuration fragments and qemu* BSPs.

It has been tested for x86,arm,mips and powerpc against the lsb, core*
and glibc/mulsc test matrix.

This will serve as the "latest" kernel in master, with others being
removed in subsequent commits.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agolinux-yocto: introduce 4.14 recipes
Bruce Ashfield [Tue, 6 Feb 2018 16:21:52 +0000 (11:21 -0500)]
linux-yocto: introduce 4.14 recipes

This commit makes the 4.14 kernel available for use with the
Yocto configuration fragments and qemu* BSPs.

It has been tested for x86,arm,mips and powerpc against the
lsb, core* and glibc/mulsc test matrix.

This will serve as the LTS kernel in master, with others being
removed in subsequent commits.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agopython-xcbgen: improve reproducibility
Hongxu Jia [Mon, 5 Feb 2018 01:27:59 +0000 (20:27 -0500)]
python-xcbgen: improve reproducibility

Use relative path to generate .pyc files could remove build host
references which leads to non-reproducible builds.

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoutility-tasks: Drop fetchall and checkuriall tasks
Richard Purdie [Fri, 9 Feb 2018 09:48:48 +0000 (09:48 +0000)]
utility-tasks: Drop fetchall and checkuriall tasks

The same thing can now be done with "bitbake <target> --runall=fetch"
or "bitbake <target> --runall=checkuri".

Dropping the tasks takes "bitbake core-image-sato -g" from 22s to 8s
since it no longer has to resolve the recursive dependencies (it
doesn't know if any given target will touch them or not until it
computes them). That is a significant enough win that its worth any
impact this may have on the small number of users using the tasks.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoe2fsprogs: fix the hardcoded paths for ptest
Jackie Huang [Fri, 2 Feb 2018 07:10:34 +0000 (15:10 +0800)]
e2fsprogs: fix the hardcoded paths for ptest

Fix the hardcoded paths in test scripts and expect
files to avoid issue like:
| cat: ../e2fsck/e2fsck: No such file or directory

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoe2fsprogs: only quiet debugfs for native package
Jackie Huang [Fri, 2 Feb 2018 07:10:33 +0000 (15:10 +0800)]
e2fsprogs: only quiet debugfs for native package

Many test cases expect the output of running commands for debugfs,
the patch quiet-debugfs.patch suppress the output so ptest failed:
| 292 tests succeeded   47 tests failed

The patch was meant to suppress the output in do_rootfs according
to the original commit:
======================
commit 13a8d3869b0fe0ebdddcee37fb48c5b9cdf718ba
Author: Ross Burton <ross.burton@intel.com>
Date: Mon Dec 23 13:38:34 2013 +0000

    e2fsprogs: silence debugfs

    debugfs echos the commands when it is executing a script, but as the scripts
    used at rootfs time are long this massively inflates the do_rootfs log.

    Comment out the echo so that the rootfs isn't 20K lines longer than it needs to
    be.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
======================

So only apply the patch for native package, then the ptest will
be pass for target package.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agogrub-efi: add configfile as default built-in
Ricardo Salveti [Fri, 2 Feb 2018 04:27:30 +0000 (02:27 -0200)]
grub-efi: add configfile as default built-in

The module configfile allows loading a custom grub configuration file
from block devices, which can be used to customize the default grub
menu when creating images with wic (via configfile argument).

Signed-off-by: Ricardo Salveti <ricardo@opensourcefoundries.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agolibmpc: fix upstream version check
Alexander Kanavin [Thu, 1 Feb 2018 18:02:10 +0000 (20:02 +0200)]
libmpc: fix upstream version check

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agobabeltrace: update to 1.5.4
Alexander Kanavin [Thu, 1 Feb 2018 18:02:09 +0000 (20:02 +0200)]
babeltrace: update to 1.5.4

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoiputils: update to 20161105
Alexander Kanavin [Thu, 1 Feb 2018 18:02:08 +0000 (20:02 +0200)]
iputils: update to 20161105

We've been using obsolete upstream URI for quite a while; meanwhile
a lot of development has happened

Drop all the patches: they are either changing the code that has been refactored,
or are backports.

Add a new musl fix patch from gentoo.

ping6 and tracepath6 variants have been folded into standard versions.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoffmpeg: update to 3.4.1
Alexander Kanavin [Thu, 1 Feb 2018 18:02:07 +0000 (20:02 +0200)]
ffmpeg: update to 3.4.1

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoiso-codes: update to 3.77
Alexander Kanavin [Thu, 1 Feb 2018 18:02:05 +0000 (20:02 +0200)]
iso-codes: update to 3.77

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agolibwebp: update to 0.6.1
Alexander Kanavin [Thu, 1 Feb 2018 18:02:04 +0000 (20:02 +0200)]
libwebp: update to 0.6.1

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoliburcu: update to 0.10.1
Alexander Kanavin [Thu, 1 Feb 2018 18:02:02 +0000 (20:02 +0200)]
liburcu: update to 0.10.1

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoboost: update to 1.66.0
Alexander Kanavin [Thu, 1 Feb 2018 18:02:01 +0000 (20:02 +0200)]
boost: update to 1.66.0

Rework 0002-Don-t-set-up-m32-m64-we-do-that-ourselves.patch to
remove the offending bits from the function instead of removing
calls to the function all over the place.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agompg123: update to 1.25.8
Alexander Kanavin [Thu, 1 Feb 2018 18:02:00 +0000 (20:02 +0200)]
mpg123: update to 1.25.8

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agovala: update to 0.38.6
Alexander Kanavin [Thu, 1 Feb 2018 18:01:59 +0000 (20:01 +0200)]
vala: update to 0.38.6

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agolibnl: 3.2.29 -> 3.4.0
Huang Qiyu [Thu, 1 Feb 2018 18:01:58 +0000 (20:01 +0200)]
libnl: 3.2.29 -> 3.4.0

1) Upgrade libnl from 3.2.29 to 3.4.0.
2) Add one patch "0001-PATCH-fix-libnl-3.4.0-musl-compile-problem.patch", for musl compile.
3) Delete one patch "fix-pktloc_syntax_h-race.patch", since upstream has refactored the makefiles, and the problematic code is now absent.

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agowebkitgtk: update to 2.18.6
Alexander Kanavin [Thu, 1 Feb 2018 18:01:55 +0000 (20:01 +0200)]
webkitgtk: update to 2.18.6

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoopenssl: update to 1.0.2n
Alexander Kanavin [Thu, 1 Feb 2018 18:01:54 +0000 (20:01 +0200)]
openssl: update to 1.0.2n

Drop upstreamed 0001-aes-armv4-bsaes-armv7-sha256-armv4-.pl-make-it-work-.patch

Rebase a couple more patches (via devtool upgrade).

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agorpm: add a patch to help with Docker performance issues
Alexander Kanavin [Thu, 1 Feb 2018 18:01:53 +0000 (20:01 +0200)]
rpm: add a patch to help with Docker performance issues

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agorpm: update to 4.14.1
Alexander Kanavin [Thu, 1 Feb 2018 18:01:52 +0000 (20:01 +0200)]
rpm: update to 4.14.1

Drop two upstreamed patches.

License-Update: grammar fixes
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoninja: Upgrade from 1.7.2 to major release 1.8.2
Alejandro Enedino Hernandez Samaniego [Sat, 20 Jan 2018 00:19:06 +0000 (16:19 -0800)]
ninja: Upgrade from 1.7.2 to major release 1.8.2

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agopackagegroup-core-tools-profile: disable valgrind on armeb
Mariia Movchan [Fri, 2 Feb 2018 19:19:20 +0000 (21:19 +0200)]
packagegroup-core-tools-profile: disable valgrind on armeb

Valgrind supports only little endian ARM.

Signed-off-by: Mariia Movchan <mmovchan@cisco.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agolibfm: add a patch to fix build errors with recent versions of gtk-doc
Alexander Kanavin [Fri, 2 Feb 2018 17:38:15 +0000 (19:38 +0200)]
libfm: add a patch to fix build errors with recent versions of gtk-doc

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agogtk-doc: update to 1.27
Alexander Kanavin [Fri, 2 Feb 2018 17:38:14 +0000 (19:38 +0200)]
gtk-doc: update to 1.27

Gtk-doc has been rewritten in Python, so drop perl dependencies (good riddance!),
and adjust patches to reflect that.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agox264: upgrade to latest revision
Maxin B. John [Fri, 2 Feb 2018 13:33:15 +0000 (15:33 +0200)]
x264: upgrade to latest revision

Change dependency from yasm to nasm following this change:

commit d2b5f4873e2147452a723b61b14f030b2ee760a5
Author: Henrik Gramner <henrik@gramner.com>
Date:   Sat Mar 18 18:50:36 2017 +0100

    x86: Change assembler from yasm to nasm

Refreshed the following patch:
        don-t-default-to-cortex-a9-with-neon.patch

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agolibsolv: upgrade to version 0.6.31
Maxin B. John [Fri, 2 Feb 2018 13:33:14 +0000 (15:33 +0200)]
libsolv: upgrade to version 0.6.31

Remove upstreamed patch:
        0001-repo_rpmdb.c-increase-MAX_HDR_CNT-and-MAX_HDR_DSIZE.patch

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoapr: 1.6.2 -> 1.6.3
Hongxu Jia [Fri, 2 Feb 2018 09:06:11 +0000 (04:06 -0500)]
apr: 1.6.2 -> 1.6.3

1. Improve inappropriate patches:
- Drop inappropriate configure_fixes.patch
  Use setting variable ac_cv_file__dev_zero and
  ac_cv_sizeof_struct_iovec to replace

- Drop cleanup.patch
  Aassign variable libtool at ./buildconf executing and
  use 0001-build-buildcheck.sh-improve-libtool-detection.patch
  to replace. Submitted it to upstream.

- Rename configfix.patch to
  0002-apr-Remove-workdir-path-references-from-installed-ap.patch
  Add its original comments and author, explain why it is inappropriate

- Drop upgrade-and-fix-1.5.1.patch
  Use 0003-Makefile.in-configure.in-support-cross-compiling.patch
  to replace. And submitted it to upstream.

2. Fix build path issue to improve reproducibility

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agotcl: update to 8.6.8
Yi Zhao [Fri, 2 Feb 2018 02:16:13 +0000 (10:16 +0800)]
tcl: update to 8.6.8

Rebase tcl-add-soname.patch

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agojson-c: update to 0.13
Yi Zhao [Fri, 2 Feb 2018 02:16:12 +0000 (10:16 +0800)]
json-c: update to 0.13

Drop 0001-Add-FALLTHRU-comment-to-handle-GCC7-warnings.patch since it
had been merged upstream.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agorsync: update to 3.1.3
Yi Zhao [Fri, 2 Feb 2018 02:16:11 +0000 (10:16 +0800)]
rsync: update to 3.1.3

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agowget: update to 1.19.4
Yi Zhao [Fri, 2 Feb 2018 02:16:10 +0000 (10:16 +0800)]
wget: update to 1.19.4

Update LIC_FILES_CHKSUM since replacing HTTP urls with HTTPS in COPYING

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agolibbsd: update to 0.8.7
Yi Zhao [Fri, 2 Feb 2018 02:16:09 +0000 (10:16 +0800)]
libbsd: update to 0.8.7

Drop 0001-Fix-for-older-GCCs-not-supporting-__has_include.patch as it
had been merged upstream.
Rebase 0001-Replace-__BEGIN_DECLS-and-__END_DECLS.patch.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agodebianutils: update to 4.8.4
Yi Zhao [Fri, 2 Feb 2018 02:16:08 +0000 (10:16 +0800)]
debianutils: update to 4.8.4

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agogpgme: 1.9.0 -> 1.10.0
Hongxu Jia [Thu, 1 Feb 2018 06:17:10 +0000 (01:17 -0500)]
gpgme: 1.9.0 -> 1.10.0

1. Disable test at build time to workaround corss-compile
   Add 0007 to add option to disable python test and submit
   it to upstream

2. Rework patch 0002, since the following commit of upstream.
   https://git.gnupg.org/cgi-bin/gitweb.cgi?p=gpgme.git;a=commit;h=7309ce6f5f7c86570953a141965d4f54cd9ad9a0

3. Add patch 0006 to fix build path issue to improve reproducibility
   and submit it to upstream

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agopigz: 2.3.4 -> 2.4
Hongxu Jia [Thu, 1 Feb 2018 06:20:42 +0000 (01:20 -0500)]
pigz: 2.3.4 -> 2.4

License-checksum-change: license is no change, only version bump up.

https://github.com/madler/pigz/commit/fe822cb435622c43f491013da77b127e9fe851a9

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoglide: Add 0.13.1 version
Otavio Salvador [Thu, 1 Feb 2018 10:28:19 +0000 (08:28 -0200)]
glide: Add 0.13.1 version

Glide is a widely used Vendor Package Management for Golang,
especially in private projects as it allows for internal repositories
clone and other fancy things.

This recipe has been originally done as part of updatehub development.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agolinux-firmware: package all ibt-17-x-x.sfi/ddc firmware
Liwei Song [Thu, 1 Feb 2018 06:40:49 +0000 (01:40 -0500)]
linux-firmware: package all ibt-17-x-x.sfi/ddc firmware

All ibt-17-x-x.sfi/ddc firmware are use to support Intel Bluetooth 9560
they are needed in different version of Bluetooth driver since
4.14 kernel version.

commit b77bb7afe513 ("linux-firmware: package ibt-17-16-1 firmware")
only package one of the ibt-17 series firmware.

As the Bluetooth driver's update, to avoid packaging the ibt-17 firmware
one by one, install them in one package ibt-17.

Signed-off-by: Liwei Song <liwei.song@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agovulkan: upgrade to version 1.0.65.2
Maxin B. John [Wed, 31 Jan 2018 14:58:58 +0000 (16:58 +0200)]
vulkan: upgrade to version 1.0.65.2

1.0.61.1 -> 1.0.65.2

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoassimp: upgrade to version 4.1.0
Maxin B. John [Wed, 31 Jan 2018 14:58:57 +0000 (16:58 +0200)]
assimp: upgrade to version 4.1.0

4.0.1 -> 4.1.0

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agolibinput: upgrade to version 1.9.4
Maxin B. John [Wed, 31 Jan 2018 14:58:56 +0000 (16:58 +0200)]
libinput: upgrade to version 1.9.4

1.8.4 -> 1.9.4

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agotar: 1.29 -> 1.30
Huang Qiyu [Wed, 31 Jan 2018 08:56:34 +0000 (16:56 +0800)]
tar: 1.29 -> 1.30

1.Upgrade tar from 1.29 to 1.30.
2.Modify musl_dirent.patch, since the data has been changed.
3.Delete CVE-2016-6321.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 agoapr-util: 1.6.0 -> 1.6.1
Hongxu Jia [Wed, 31 Jan 2018 07:48:17 +0000 (02:48 -0500)]
apr-util: 1.6.0 -> 1.6.1

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoncurses: 6.0+20170715 -> 6.0+20171125
Hongxu Jia [Wed, 31 Jan 2018 07:48:14 +0000 (02:48 -0500)]
ncurses: 6.0+20170715 -> 6.0+20171125

- Drop backported CVE fix

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agohelp2man-native: 1.47.4 -> 1.47.5
Hongxu Jia [Wed, 31 Jan 2018 07:48:12 +0000 (02:48 -0500)]
help2man-native: 1.47.4 -> 1.47.5

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoi2c-tools: rewrite packaging
Ross Burton [Wed, 31 Jan 2018 11:05:11 +0000 (11:05 +0000)]
i2c-tools: rewrite packaging

For unknowable reasons this recipe inherits autotools-brokensep despite not in
fact using autotools.

Remove the inherit, add a do_install() that calls the makefile directly.

Extend EXTRA_OEMAKE to pass bindir/sbindir/incdir/libdir/mandir so the files are
all packaged in the correct location (and remove the now redundant sed of
Makefile).

Pass EXTRA=eeprog to EXTRA_OEMAKE to build eeprog, and remove the now redundant
edit of Makefile.

Backport a patch from upstream to remove linux/i2c-dev.h instead of installing
it with a different name (which nobody will be using).

Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agopython3-pycairo: update to 1.15.6
Derek Straka [Tue, 30 Jan 2018 21:22:56 +0000 (16:22 -0500)]
python3-pycairo: update to 1.15.6

Update to the latest stable release

Tested in qemux86-64 running core-image-minimal

Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agopython3: update target and native recipes to 3.5.4
Derek Straka [Tue, 30 Jan 2018 17:22:49 +0000 (12:22 -0500)]
python3: update target and native recipes to 3.5.4

Use the latest 3.5 version until the 3.6 migration is complete

Removed the following upstreamed patches:
  - python3/Fix-29519-weakref-spewing-exceptions-during-interp-f.patch
  - python3/upstream-random-fixes.patch

Rebased the following pathes:
  - python3/0001-cross-compile-support.patch

Regenerated the manifest based on the latest release version

Updated the license checksum for the latest version that updated the
copyright dates

Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoltp: remove patches that already have fixes upstream
Anders Roxell [Tue, 30 Jan 2018 13:12:42 +0000 (14:12 +0100)]
ltp: remove patches that already have fixes upstream

The following patches has already fixes for the issues they are solving
in upstream.
- 0001-add-_GNU_SOURCE-to-pec_listener.c.patch
- 0011-Rename-sigset-variable-to-sigset1.patch
- 0025-mc_gethost-include-sys-types.h.patch
- 0027-sysconf01-Use-_SC_2_C_VERSION-conditionally.patch
- 0033-shmat1-Cover-GNU-specific-code-under-__USE_GNU.patch

Suggested-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agopython2-manifest: update the manifest file for python 2.7.14
Derek Straka [Tue, 30 Jan 2018 03:04:40 +0000 (22:04 -0500)]
python2-manifest: update the manifest file for python 2.7.14

The manifest file was not regenerated when the package was updated.

Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agopython-native: add dependency for gdbm and db native packages
Derek Straka [Tue, 30 Jan 2018 03:04:39 +0000 (22:04 -0500)]
python-native: add dependency for gdbm and db native packages

These two packages are required to ensure the manifest files contain
all of the generated packages.  Without this, the db and gdbm packages
will not contain the .so files as they are skipped during the compilation steps

Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoqemu: fix memfd_create with glibc 2.27
Ross Burton [Mon, 29 Jan 2018 23:15:34 +0000 (23:15 +0000)]
qemu: fix memfd_create with glibc 2.27

glibc 2.27 has added memfd_create() but this conflicts with a copy in qemu, so
take a patch from upstream to fix building with glibc 2.27.

Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agosysstat: 11.6.1 -> 11.7.1
Huang Qiyu [Tue, 30 Jan 2018 08:58:39 +0000 (16:58 +0800)]
sysstat: 11.6.1 -> 11.7.1

Upgrade sysstat from 11.6.1 to 11.7.1.

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoruby: 2.4.2 -> 2.5.0
Huang Qiyu [Tue, 30 Jan 2018 08:58:38 +0000 (16:58 +0800)]
ruby: 2.4.2 -> 2.5.0

1.Upgrade ruby form 2.4.2 to 2.5.0.
2.Update the checksum of LIC_FILES_CHKSUM.
3.Delete ruby-CVE-2017-9224.patch, ruby-CVE-2017-9227.patch, ruby-CVE-2017-9229.patch, since it is integrated upstream.
4.Modify ruby-CVE-2017-9226.patch, since the data has been changed.

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agorng-tools: modify 'read error' message
Joe Slater [Thu, 25 Jan 2018 20:44:49 +0000 (12:44 -0800)]
rng-tools: modify 'read error' message

Expand messages output if entropy data cannot
be read.

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agomusl: Update to latest master
Khem Raj [Mon, 29 Jan 2018 03:27:18 +0000 (19:27 -0800)]
musl: Update to latest master

The changes are
https://git.musl-libc.org/cgit/musl/log/?qt=range&q=4000b0107ddd7fe733fa31d4f078c6fcd35851d6..628cf979b249fa76a80962e2eefe05073216a4db

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agodevtool: set up git repos so that singletask.lock is ignored
Paul Eggleton [Wed, 31 Jan 2018 19:32:07 +0000 (08:32 +1300)]
devtool: set up git repos so that singletask.lock is ignored

singletask.lock is written out while certain tasks execute for recipes
that have externalsrc.bbclass enabled - this includes recipes in
devtool's workspace. It appears that there's a race where
singletask.lock will be there one minute and then when we try to get the
file checksum of it (since we want to know if anything in the source
tree has changed) it will be gone, and git chokes. To fix that, add
singletask.lock to .git/info/exclude in the repository, regardless of
whether we created the repository or not. In any case singletask.lock
should never be tracked by git, so this is a good thing to be doing for
that reason as well.

This fixes oe-selftest failures in test_devtool_modify that we've seen
on the Yocto Project autobuilder:

bb.data_smart.ExpansionError: Failure expanding variable
do_compile[file-checksums], expression was ${@srctree_hash_files(d)}
which triggered exception CalledProcessError: Command
'['git', 'add', '-A', '.']' returned non-zero exit status 128.

Note that this only fixes this issue for devtool; if you are using
externalsrc independently of devtool there's a chance this will still
be an issue unless you add singletask.lock to your .gitignore.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agonpm.bbclass: Node module name and recipe name can be different
Böszörményi Zoltán [Thu, 1 Feb 2018 13:08:31 +0000 (14:08 +0100)]
npm.bbclass: Node module name and recipe name can be different

Some NPM modules have the same name as their low level dependencies.
To prevent recipe naming conflicts, allow node module recipe names
to start with the "node-" prefix.

Signed-off-by: Zoltán Böszörményi <zboszor@pr.hu>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agonpm.bbclass: Fix building node modules with npm@5
Böszörményi Zoltán [Thu, 1 Feb 2018 13:08:30 +0000 (14:08 +0100)]
npm.bbclass: Fix building node modules with npm@5

npm cache clear throws an error with npm@5 and suggests to
use npm cache verify instead. But our cache is actually empty,
so use npm cache clear --force.

npm install in the source directory creates symlinks with npm@5.

Use a combination of npm pack and npm install module-version.tgz
that works the same way with older and new npm versions and is
guaranteed to create actual copies instead of directory symlinks.

This change allows using nodejs 8.x LTS, tested with 8.9.4.

Signed-off-by: Zoltán Böszörményi <zboszor@pr.hu>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agowaf.bbclass: cd to ${S} before checking version
Joshua Watt [Wed, 31 Jan 2018 19:49:56 +0000 (13:49 -0600)]
waf.bbclass: cd to ${S} before checking version

waf requires that the current working directory be the project root (in
this case ${S} when it is invoked. The check to get the waf version was
being executed as a prefunc for do_configure, which meant it was
executed before the current working directory was switched to ${S}, and
thus would fail with some recipes. Fix this by changing to ${S} before
executing "waf --version"

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoimage_types: tar with --numeric-owner
Max Krummenacher [Sat, 27 Jan 2018 13:54:08 +0000 (14:54 +0100)]
image_types: tar with --numeric-owner

If --numeric-owner is neither used when creating or extracting the archive
containing the rootfs then tar tries to change the numeric uid/gid of the
files based on user/group names of the host used to extract the archive.

Create the archive with --numeric-owner to remove the burden of having to
use --numeric-owner when extracting.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agosanity.bbclass: modified error message
Juro Bystricky [Tue, 30 Jan 2018 16:51:10 +0000 (08:51 -0800)]
sanity.bbclass: modified error message

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agomaintainers.inc: update maintainership
Yi Zhao [Fri, 2 Feb 2018 02:16:14 +0000 (10:16 +0800)]
maintainers.inc: update maintainership

Reassign some Robert Yang's recipes to Yi Zhao.
Remove guile and mailx since these recipes were removed from oe-core.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agosecurity_flags.inc, xorg-driver-common.inc: Move SECURITY_X_LDFLAGS logic
Tom Rini [Thu, 1 Feb 2018 14:16:56 +0000 (09:16 -0500)]
security_flags.inc, xorg-driver-common.inc: Move SECURITY_X_LDFLAGS logic

We need to ensure that all xorg modules are linked with
SECURITY_X_LDFLAGS to ensure that they will be able to resolve their run
time dependencies.  The approach of listing each driver in
security_flags.inc lets less frequently used drivers be run-time
broken.  Move the flag logic into xorg-driver-common.inc so that all
xorg modules from all layers will have the correct security flags used.

Cc: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agobitbake.conf: Add xattr to DISTRO_FEATURES_NATIVE
Niko Mauno [Wed, 31 Jan 2018 16:55:10 +0000 (18:55 +0200)]
bitbake.conf: Add xattr to DISTRO_FEATURES_NATIVE

Commit db1f1adace58763c35774e3fdfeaac5c3ca646fd disabled 'xattr' from
DISTRO_FEATURES when native packages are built, whereas for target
packages it was retained. This changed eg. mtd-utils-native to build
without extended attributes (capabilities) support from there on.

Thus even setcap was called succesfully for a binary during pkg_postinst
on build host, the capabilities did not exist on target rootfs due to
now xattr-less host-side mkfs utility.

Adding xattr to DISTRO_FEATURES_NATIVE restores previous behaviour,
fixing the discontinuity in capability propagation to target
device rootfs.

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agotcmode-default.inc: drop preferred version of gzip-native
Martin Jansa [Tue, 30 Jan 2018 16:41:23 +0000 (16:41 +0000)]
tcmode-default.inc: drop preferred version of gzip-native

* gzip was recently upgraded from 1.8 to 1.9, now all the builds show:
  NOTE: preferred version 1.8 of gzip-native not available (for item gzip-native)
  NOTE: versions of gzip-native available: 1.9
* drop the setting, because nobody is probably going to use older
  gzip-native than 1.4 when there is only 1.9 available in oe-core

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agopulseaudio: improve glibc 2.27 patch
Ross Burton [Tue, 30 Jan 2018 12:18:54 +0000 (12:18 +0000)]
pulseaudio: improve glibc 2.27 patch

This patch looks like it will be merged upstream.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agomake: add missing Signed-off-by
Ross Burton [Tue, 30 Jan 2018 12:19:36 +0000 (12:19 +0000)]
make: add missing Signed-off-by

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agogettext: beat library detection into shape
Ross Burton [Tue, 23 Jan 2018 00:54:13 +0000 (00:54 +0000)]
gettext: beat library detection into shape

For reasons I can't explain gettext uses several hundred lines of convoluted m4
to find the paths to a library.

If we don't tell it where to find a library it will hunt around and potentially
have host contamination as /usr/lib on the host is explicitly searched.

If we tell it the prefix to a library then we get bad RPATHs in the binaries
(such as /usr/lib/../lib), and the search assumes that it knows best about what
the library directories are under that prefix (even when it's wrong).

So, replace the lookup where possible with pkg-config calls (libxml2, glib,
libcroco).  libunistring doens't have a pkgconfig file so just don't use the
system libunistring: the library is tiny anyway.

(From OE-Core rev: 1ff35fbbdd50660b86f8e254685ae0c8338b6e11)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agotcmode-default.inc: bump LINUXLIBCVERSION to 4.14%
Martin Jansa [Tue, 30 Jan 2018 11:21:37 +0000 (11:21 +0000)]
tcmode-default.inc: bump LINUXLIBCVERSION to 4.14%

* linux-libc-headers were updated without updating PREFERRED_VERSION causing
  following messages being shown in every single build:
  NOTE: preferred version 4.12% of nativesdk-linux-libc-headers not available (for item nativesdk-linux-libc-headers)
  NOTE: versions of nativesdk-linux-libc-headers available: 4.14.13
  NOTE: preferred version 4.12% of linux-libc-headers not available (for item linux-libc-headers)
  NOTE: versions of linux-libc-headers available: 4.14.13
  NOTE: preferred version 4.12% of linux-libc-headers not available (for item linux-libc-headers-dev)
  NOTE: versions of linux-libc-headers available: 4.14.13
  NOTE: preferred version 4.12% of nativesdk-linux-libc-headers not available (for item nativesdk-linux-libc-headers-dev)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agokexec-tools: remove unused patch file
Juro Bystricky [Mon, 29 Jan 2018 22:39:46 +0000 (14:39 -0800)]
kexec-tools: remove unused patch file

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolibcrypt: remove unused patch file
Juro Bystricky [Mon, 29 Jan 2018 22:39:47 +0000 (14:39 -0800)]
libcrypt: remove unused patch file

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agotzcode: remove unused patch files
Juro Bystricky [Mon, 29 Jan 2018 22:39:45 +0000 (14:39 -0800)]
tzcode: remove unused patch files

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agogcc-7.3: Drop upstreamed musl cpuinfo patch
Khem Raj [Mon, 29 Jan 2018 03:27:12 +0000 (19:27 -0800)]
gcc-7.3: Drop upstreamed musl cpuinfo patch

This patch is already in gcc-7-branch
https://github.com/gcc-mirror/gcc/commit/6e6c7fc1e15525a10f48d4f5ac2edd853e2f5cb7

Thanks nsz for noticing it

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agorootfs.py: change the notice about deferring scripts to first boot from warning to...
Alexander Kanavin [Mon, 29 Jan 2018 12:01:34 +0000 (14:01 +0200)]
rootfs.py: change the notice about deferring scripts to first boot from warning to a note

Now that the first boot deferral needs to be requested explicitly,
it's not really something to be concerned about.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agopackage_rpm.bbclass: run pre/post installation scriptlets using sh -e
Alexander Kanavin [Mon, 29 Jan 2018 12:01:33 +0000 (14:01 +0200)]
package_rpm.bbclass: run pre/post installation scriptlets using sh -e

This allows catching errors in the scriptlets which would otherwise
go unnoticed, e.g. this sequence:

====
bogus_command
proper_command
====

would work just fine. Note that this patch needs all of the preceding
patches, as otherwise running failing scriptlets with -e would defer
them to first boot, instead of properly reporting failure and aborting
the package installation.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agometa/lib/oe/package_manager.py: deprecate 'exit 1' as a way to defer to first boot
Alexander Kanavin [Mon, 29 Jan 2018 12:01:32 +0000 (14:01 +0200)]
meta/lib/oe/package_manager.py: deprecate 'exit 1' as a way to defer to first boot

'exit 1' is not optimal for two reasons:

1) Code is hard to read; it is not obvious that it means 'defer what follows to first boot'.
2) Worse, this hides actual errors in the scriptlets; there is no difference between scriptlet
failing because it's intended to be run on target and scriptlet failing because there's a bug or
a regression somewhere.

The new, supported way is to place the code that has to run on target into pkg_postinst_ontarget(),
or, if a more fine-tuned control is required, call 'postinst-intercepts defer_to_first_boot' from
pkg_postinst() to explicitly request deferral to first boot.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agopackage.bbclass: add support for pkg_postinst_ontarget()
Alexander Kanavin [Mon, 29 Jan 2018 12:01:31 +0000 (14:01 +0200)]
package.bbclass: add support for pkg_postinst_ontarget()

This function is a convenient and more readable shortcut for situations
when the postinst code always needs to run on target. All commands that
cannot be executed during cross-install and can only be run on target
should go into this function. They will only be executed on first boot
(if package was cross-installed) or immediately during package installation
on target.

Plain pkg_postinst() works as before: it is run during cross-install time,
it can contain a request to defer to first boot, and it is also run
during package installation on target.

Also fix the oeqa test for this functionality to use the new function
where appropriate.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agometa/lib/oe/rootfs.py: do not execute defer_to_first_boot when processing postinst_in...
Alexander Kanavin [Mon, 29 Jan 2018 12:01:30 +0000 (14:01 +0200)]
meta/lib/oe/rootfs.py: do not execute defer_to_first_boot when processing postinst_intercept hooks

That hook is empty, and doesn't need to be executed; it merely indicates that packages
that have used it are requesting to defer their postinst scripts to first boot
unconditionally.

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