]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
7 years agoe2fsprogs: remove aclocal/acinclude dance
Ross Burton [Fri, 17 Nov 2017 14:21:54 +0000 (14:21 +0000)]
e2fsprogs: remove aclocal/acinclude dance

Upstream has fixed their use of aclocal.m4 vs acinclude.m4, so now we can remove
some hacks that were previously required.

Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agolibxslt: update to 1.1.32
Alexander Kanavin [Tue, 14 Nov 2017 14:57:52 +0000 (16:57 +0200)]
libxslt: update to 1.1.32

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoharfbuzz: update to 1.7.0
Alexander Kanavin [Thu, 16 Nov 2017 23:03:20 +0000 (23:03 +0000)]
harfbuzz: update to 1.7.0

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoicu: update to 60.1
Alexander Kanavin [Tue, 14 Nov 2017 14:57:49 +0000 (16:57 +0200)]
icu: update to 60.1

Rebase a couple of patches.

LICENSE checksum change due to typo fix.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agolibpciaccess: update to 0.14
Alexander Kanavin [Tue, 14 Nov 2017 14:57:48 +0000 (16:57 +0200)]
libpciaccess: update to 0.14

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoexpect: update to 5.45.3
Alexander Kanavin [Tue, 14 Nov 2017 14:57:47 +0000 (16:57 +0200)]
expect: update to 5.45.3

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agobtrfs-tools: update to 4.13.3
Alexander Kanavin [Tue, 14 Nov 2017 14:57:46 +0000 (16:57 +0200)]
btrfs-tools: update to 4.13.3

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agognome-desktop3: Update to 3.26.2
Alexander Kanavin [Tue, 14 Nov 2017 14:57:43 +0000 (16:57 +0200)]
gnome-desktop3: Update to 3.26.2

Add a patch to disable libseccomp (not currently used in Yocto).

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agogstreamer1.0-plugins: disable introspection on mips64
Alexander Kanavin [Tue, 14 Nov 2017 14:57:42 +0000 (16:57 +0200)]
gstreamer1.0-plugins: disable introspection on mips64

The failure is weird and difficult to diagnoze, so disable the
introspection for now:

qemu-mips64: error while loading shared libraries: .../recipe-sysroot/usr/lib/libgthread-2.0.so.0: ELF file data encoding not little-endian

Note that it shows up only for one specific library (gstaudio), and only
on mips64. Introspection data for other libraries is generated just fine.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agodtc: update to 1.4.5
Alexander Kanavin [Tue, 14 Nov 2017 14:57:37 +0000 (16:57 +0200)]
dtc: update to 1.4.5

Also fix upstream check and disable newly added python2-only bindings
(as there is no clear need for them and python 2 is deprecated).

Add a backported patch to address format errors when compiling.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoglib-networking: update to 2.54.1
Alexander Kanavin [Tue, 14 Nov 2017 14:57:36 +0000 (16:57 +0200)]
glib-networking: update to 2.54.1

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoglib-2.0: update to 2.54.2
Alexander Kanavin [Tue, 14 Nov 2017 14:57:35 +0000 (16:57 +0200)]
glib-2.0: update to 2.54.2

LGPL version has been updated from 2.0 to 2.1, adjust the checksums accordingly.

Rebase various patches.

A few tools have been rewritten from perl (or C) to python, so
add a patch that avoids hardcoding the python path in the shebang,
and remove previous patching with sed.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agolibcheck: fix upstream version check
Alexander Kanavin [Tue, 14 Nov 2017 14:57:33 +0000 (16:57 +0200)]
libcheck: 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 agopython3-pycairo: fix upstream version check
Alexander Kanavin [Tue, 14 Nov 2017 14:57:32 +0000 (16:57 +0200)]
python3-pycairo: 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 agoi2c-tools: fix upstream version check
Alexander Kanavin [Tue, 14 Nov 2017 14:57:31 +0000 (16:57 +0200)]
i2c-tools: 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 agopython-scons: fix upstream version check
Alexander Kanavin [Tue, 14 Nov 2017 14:57:30 +0000 (16:57 +0200)]
python-scons: 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 agooe-core: take UPSTREAM_CHECK_COMMITS into use where possible
Alexander Kanavin [Tue, 14 Nov 2017 14:57:29 +0000 (16:57 +0200)]
oe-core: take UPSTREAM_CHECK_COMMITS into use where possible

This greatly reduces the amount of recipes for which upstream
version check fails: from about 30 to about 8.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agodistrodata.bbclass: make upstream version check more useful for git upstreams
Alexander Kanavin [Tue, 14 Nov 2017 14:57:28 +0000 (16:57 +0200)]
distrodata.bbclass: make upstream version check more useful for git upstreams

Specifically:

1) remove +git${SRCPV} stuff from comparison and output; it's just
unnecessary clutter;

2) write the commit id of the latest version tag into the output;
this saves quite a bit of trouble of manually checking what that
commit id is when doing version updates;

3) when UPSTREAM_CHECK_COMMITS is set, ignore the tags altogether;
instead check if the latest commit is different to the one we use,
and if so, report that the recipe can be updated to said commit
(which is also written into the output, as in 2). Multiple
recipes are failing the upstream check because they never
issue tags, now we can fix them.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agosudo: improve reproducibility
Juro Bystricky [Thu, 16 Nov 2017 19:48:50 +0000 (11:48 -0800)]
sudo: improve reproducibility

Delete various build host references from the internally
generated file sudo_usage.h. The references get compiled into
executables, which leads to non-reproducible builds.
The removed references (configure options) were only used as part
of the sudo "usage", and even then only when ran as root.

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agox11perf: improve reproducibility
Juro Bystricky [Thu, 16 Nov 2017 19:48:49 +0000 (11:48 -0800)]
x11perf: improve reproducibility

Remove build host refeences.

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agogrub-efi_2.02.bb: improve reproducibility
Juro Bystricky [Thu, 16 Nov 2017 19:48:48 +0000 (11:48 -0800)]
grub-efi_2.02.bb: improve reproducibility

Remove several build host references from modinfo.sh files.

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agolibogg: upgrade to 1.3.3
Maxin B. John [Thu, 16 Nov 2017 15:56:06 +0000 (17:56 +0200)]
libogg: upgrade to 1.3.3

1.3.2 -> 1.3.3

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agolibnsl2: fix installed-vs-shipped QA issue
Jackie Huang [Thu, 16 Nov 2017 07:41:36 +0000 (15:41 +0800)]
libnsl2: fix installed-vs-shipped QA issue

Fix the installed-vs-shipped QA issue:
| WARNING: libnsl2-1.0.5+gitAUTOINC+dfa2f31352-r0 do_package: QA Issue:
  libnsl2: Files/directories were installed but not shipped in any package:
  /usr/lib64/nsl/libnsl.a

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agonss: pay attention to CFLAGS
Joe Slater [Wed, 15 Nov 2017 18:54:09 +0000 (10:54 -0800)]
nss: pay attention to CFLAGS

nss ignores CFLAGS so we suggest them via CC.

Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agolibinput: update to 1.8.4
Denys Dmytriyenko [Wed, 15 Nov 2017 16:59:45 +0000 (11:59 -0500)]
libinput: update to 1.8.4

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoqemu.inc: let linux-yocto-rt also provide nfs server kernel module
Ming Liu [Wed, 15 Nov 2017 13:15:50 +0000 (14:15 +0100)]
qemu.inc: let linux-yocto-rt also provide nfs server kernel module

In case some users want to use linux-yocto-rt as the preferred kernel.

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoca-certificates: Add /etc to SYSROOT_DIRS
Patrick Vacek [Wed, 15 Nov 2017 12:40:41 +0000 (13:40 +0100)]
ca-certificates: Add /etc to SYSROOT_DIRS

For recipes that depend on native ca-certificates.crt, /etc should be
added to the list of directories that automatically populate the
sysroot, otherwise the file may not be there.

Signed-off-by: Patrick Vacek <patrick@advancedtelematic.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agolighttpd: update to 1.4.48
Alexander Kanavin [Wed, 15 Nov 2017 10:20:58 +0000 (12:20 +0200)]
lighttpd: update to 1.4.48

Refresh the pcre pkg-config patch.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoinitramfs-framework: add install module
California Sullivan [Tue, 14 Nov 2017 22:10:09 +0000 (14:10 -0800)]
initramfs-framework: add install module

The non-EFI counterpart for installation was previously missing for
initramfs-framework. This simply puts the normal install script in the
correct location for initramfs-framework to make use of it.

Partial fix for [YOCTO #12346].

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoinitramfs-module-install-efi: update summary
California Sullivan [Tue, 14 Nov 2017 21:20:49 +0000 (13:20 -0800)]
initramfs-module-install-efi: update summary

Note that this is an installation option for EFI systems.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoinitramfs-module-install-efi: point to original copy and delete new file
California Sullivan [Tue, 14 Nov 2017 21:20:48 +0000 (13:20 -0800)]
initramfs-module-install-efi: point to original copy and delete new file

There is no need to maintain two of the exact same files.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agosystemd: fix duplication of CACHED_CONFIGUREVARS
Andre McCurdy [Tue, 14 Nov 2017 19:39:24 +0000 (11:39 -0800)]
systemd: fix duplication of CACHED_CONFIGUREVARS

Fix historical duplication that appears to have been caused by
merging two independent fixes for the same issue:

  http://git.openembedded.org/openembedded-core/commit/?id=294adc0907a359d9c0ad260823188145aab294ad
  http://git.openembedded.org/openembedded-core/commit/?id=b30d7b1b97ffd1d44083d93ed0e572d80fcebc54

Also minor reformatting of EXTRA_OECONF values.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agosystemd: use consistent indenting and coding style in do_install()
Andre McCurdy [Tue, 14 Nov 2017 19:39:23 +0000 (11:39 -0800)]
systemd: use consistent indenting and coding style in do_install()

Make the polkit fixup etc at the end of do_install() more consistent
with the rest of the function. Also indent do_install_ptest() with
tabs instead of spaces to make do_install_ptest() consistent with
do_install().

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agosystemd: sort PACKAGECONFIG options
Andre McCurdy [Tue, 14 Nov 2017 19:39:22 +0000 (11:39 -0800)]
systemd: sort PACKAGECONFIG options

Also fix some minor formatting inconsistencies (extra spaces or
commas etc). No functional changes.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agosystemd: use consistent approach for musl PACKAGECONFIG options
Andre McCurdy [Tue, 14 Nov 2017 19:39:21 +0000 (11:39 -0800)]
systemd: use consistent approach for musl PACKAGECONFIG options

Consistently use PACKAGECONFIG_remove_libc-musl to disable options
which are not compatible with musl.

Also sort the default PACKAGECONFIG list.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agosystemd: remove musl specific control of ldconfig PACKAGECONFIG
Andre McCurdy [Tue, 14 Nov 2017 19:39:20 +0000 (11:39 -0800)]
systemd: remove musl specific control of ldconfig PACKAGECONFIG

The ldconfig PACKAGECONFIG option is controlled by the ldconfig
distro feature - which is now disabled by default when building for
musl.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agotclibc-musl.inc: disable ldconfig distro feature
Andre McCurdy [Tue, 14 Nov 2017 19:39:19 +0000 (11:39 -0800)]
tclibc-musl.inc: disable ldconfig distro feature

Musl has no support for ldconfig, so ensure that the corresponding
distro feature is disabled when building with musl.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agou-boot: Upgrade to 2017.11 release
Otavio Salvador [Tue, 14 Nov 2017 18:32:23 +0000 (16:32 -0200)]
u-boot: Upgrade to 2017.11 release

This upgrades the U-Boot from 2017.09 to 2017.11 release.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoethtool: upgrade to 4.13
Changhyeok Bae [Mon, 13 Nov 2017 15:38:34 +0000 (15:38 +0000)]
ethtool: upgrade to 4.13

Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agorunqemu: print command search result when not found
Robert Yang [Fri, 10 Nov 2017 13:48:55 +0000 (21:48 +0800)]
runqemu: print command search result when not found

This makes debug easier.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agolibsoup-2.4: upgrade to 2.60.2
Maxin B. John [Fri, 10 Nov 2017 13:46:55 +0000 (15:46 +0200)]
libsoup-2.4: upgrade to 2.60.2

2.60.1 -> 2.60.2

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoverify-bashisms: use argparse, add verbose option
Ross Burton [Thu, 9 Nov 2017 12:12:04 +0000 (12:12 +0000)]
verify-bashisms: use argparse, add verbose option

Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agorunqemu: Also specialcase resolution of '.' to the file's location
Richard Purdie [Tue, 21 Nov 2017 17:56:40 +0000 (17:56 +0000)]
runqemu: Also specialcase resolution of '.' to the file's location

Similarly to handling "../", handle "." to resovle to the qemuconf
file's current directory.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoimage_types: Add debugging code to ext4 fs creation
Saul Wold [Tue, 21 Nov 2017 15:26:44 +0000 (07:26 -0800)]
image_types: Add debugging code to ext4 fs creation

We have seen a small number of issues with ROOTFS_SIZE not getting
computed correctly, resulting in a failure in the mke2fs processing
and populating the resulting new filesystem.

This information should help us to reproduce [YOCTO #12304]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoqemurunner: Simplify binary data handling
Richard Purdie [Tue, 21 Nov 2017 11:42:54 +0000 (11:42 +0000)]
qemurunner: Simplify binary data handling

I have concerns that bad timing of the flow of data from the logger
might corrupt the output due to the way binary strings are handled
in qemurunner.

This simplifies the code to do the same thing it did before but much
more safely.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoqemuboot: Improve relative path handling
Richard Purdie [Tue, 21 Nov 2017 11:39:12 +0000 (11:39 +0000)]
qemuboot: Improve relative path handling

qemuconf files are currently written relative to TOPDIR. What
makes more sense is to write paths relative to the location of the
file. This makes moving them around and decoding the end paths in
runqemu much easier.

The effect of this should allow less use of bitbake to determine
variables and allow us to simplify runqemu.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agorunqemu: Improve relative path handling in qemuconf files
Richard Purdie [Tue, 21 Nov 2017 11:37:39 +0000 (11:37 +0000)]
runqemu: Improve relative path handling in qemuconf files

If a variable starts with "../", its likely its a path and we want to
set it to an absolute path relative to the qemuconf file.

This means we don't have to use bitbake as often to figure out variables.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoclasses/cross: Add addto_recipe_sysroot task to cross recipes
Richard Purdie [Tue, 21 Nov 2017 11:36:28 +0000 (11:36 +0000)]
classes/cross: Add addto_recipe_sysroot task to cross recipes

This is particularly useful if you want to use gdb-cross as there
is no other good way to access it now with RSS.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoqemu: Add patch to avoid qemuppc boot hangs
Richard Purdie [Tue, 21 Nov 2017 11:32:55 +0000 (11:32 +0000)]
qemu: Add patch to avoid qemuppc boot hangs

qemuppc boots are occasionally hanging on the autobuilder. This adds a
patch which fixes the issue in local testing. Its being discussed with
upstream qemu.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agorunqemu: Ensure we process all tap devices
Richard Purdie [Mon, 20 Nov 2017 20:55:34 +0000 (20:55 +0000)]
runqemu: Ensure we process all tap devices

The regexp in the script misses some tap devices, e.g. we see output like:

runqemu - INFO - Acquiring lockfile /tmp/qemu-tap-locks/tap25.lock failed: [Errno 11] Resource temporarily unavailable
runqemu - INFO - Acquiring lockfile /tmp/qemu-tap-locks/tap26.lock failed: [Errno 11] Resource temporarily unavailable
runqemu - INFO - Acquiring lockfile /tmp/qemu-tap-locks/tap27.lock failed: [Errno 11] Resource temporarily unavailable
runqemu - INFO - Acquiring lockfile /tmp/qemu-tap-locks/tap28.lock failed: [Errno 11] Resource temporarily unavailable
runqemu - INFO - Acquiring lockfile /tmp/qemu-tap-locks/tap40.lock failed: [Errno 11] Resource temporarily unavailable
runqemu - INFO - Acquiring lockfile /tmp/qemu-tap-locks/tap41.lock failed: [Errno 11] Resource temporarily unavailable

What happened to tap29 to tap39?

The issue is was we were missing devices with '0' in the number,
like "10:" and so on in the output from "ip link".

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agobase: add automatic dependency on xz-native for .txz SRC_URI
André Draszik [Fri, 17 Nov 2017 21:43:51 +0000 (21:43 +0000)]
base: add automatic dependency on xz-native for .txz SRC_URI

.txz is .tar.xz, so add it, as this can actually be found in the
wild.

Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agogo: Use right dynamic linker on musl
Khem Raj [Fri, 17 Nov 2017 21:58:18 +0000 (13:58 -0800)]
go: Use right dynamic linker on musl

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agonet-tools: correctly set COPTS and LOPTS
Joe Slater [Tue, 14 Nov 2017 21:53:28 +0000 (13:53 -0800)]
net-tools: correctly set COPTS and LOPTS

COPTS will be ignored if it is defined in the environment.
It must be passed directly to make.  To be consistent, we
pass LOPTS that way, too.

Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agostrace: 4.18 -> 4.19
Robert Yang [Mon, 13 Nov 2017 17:58:50 +0000 (01:58 +0800)]
strace: 4.18 -> 4.19

Rebase Makefile-ptest.patch

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agolibsdl2: 2.0.5 -> 2.0.7
Robert Yang [Mon, 13 Nov 2017 17:58:49 +0000 (01:58 +0800)]
libsdl2: 2.0.5 -> 2.0.7

* Drop linkage.patch, this version already links .lo object.
* Remove backported patch fix-build-failure-on-ppc.patch
* Update LIC_FILES_CHKSUM since the year is changed.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoless: 487 -> 527
Robert Yang [Mon, 13 Nov 2017 17:58:48 +0000 (01:58 +0800)]
less: 487 -> 527

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agologrotate: 3.12.3 -> 3.13.0
Robert Yang [Mon, 13 Nov 2017 17:58:47 +0000 (01:58 +0800)]
logrotate: 3.12.3 -> 3.13.0

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoliberror-perl: 0.17024 -> 0.17025
Robert Yang [Mon, 13 Nov 2017 17:58:46 +0000 (01:58 +0800)]
liberror-perl: 0.17024 -> 0.17025

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agogit: 2.13.3 -> 2.15.0
Robert Yang [Mon, 13 Nov 2017 17:58:45 +0000 (01:58 +0800)]
git: 2.13.3 -> 2.15.0

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agofile: 5.31 -> 5.32
Robert Yang [Mon, 13 Nov 2017 17:58:44 +0000 (01:58 +0800)]
file: 5.31 -> 5.32

Rebase debian-742262.patch for new source.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoe2fsprogs: 1.43.5 -> 1.43.7
Robert Yang [Mon, 13 Nov 2017 17:58:43 +0000 (01:58 +0800)]
e2fsprogs: 1.43.5 -> 1.43.7

Remove reproducible-doc.patch which is already in the source.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoautoconf-archive: inherit allarch and fix package splitting
Chen Qi [Mon, 13 Nov 2017 05:26:22 +0000 (13:26 +0800)]
autoconf-archive: inherit allarch and fix package splitting

autoconf-archive is a set of common m4 macros, it should be allarch,
just like it is on other distros.

Also fix package splitting. With current package splitting,
autoconf-archive itself contains almost nothing, the m4 macros are
contained in its dev package. However, autoconf-archive should
contain those m4 marcos itself.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoiproute2: upgrade to 4.13
Changhyeok Bae [Mon, 13 Nov 2017 16:06:16 +0000 (16:06 +0000)]
iproute2: upgrade to 4.13

- 0001-include-stdint.h-explicitly-for-UINT16_MAX.patch is already
  applied to upstream.
- Rebase two patches.

Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agomesa: Upgrade to 17.2.5
Otavio Salvador [Mon, 13 Nov 2017 13:02:16 +0000 (11:02 -0200)]
mesa: Upgrade to 17.2.5

This upgrades the recipe to 17.2.5 bugfix release.

The changes can be seen at:

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

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agorecipetool: create: fix failure handling included dicts
Paul Eggleton [Sun, 12 Nov 2017 22:00:25 +0000 (11:00 +1300)]
recipetool: create: fix failure handling included dicts

If a setup dict in a python setup.py file pulled in the contents of
another dict (e.g.  **otherdict), then we got an error when mapping
the keys because the key is None in that case. Skip those keys to avoid
the error (we pick up the values directly in any case).

A quick reproducer for this issue:

recipetool create https://files.pythonhosted.org/packages/source/p/pyqtgraph/pyqtgraph-0.10.0.tar.gz

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agolinux-firmware: Remove iwlwifi-8000C-19 SRC_URI
Saul Wold [Fri, 10 Nov 2017 17:41:32 +0000 (09:41 -0800)]
linux-firmware: Remove iwlwifi-8000C-19 SRC_URI

Since it's been removed from the upstream repo and not fetchable
remove it here.  The newer firmware supports the device correctly.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agosite/microblaze-linux: Add MicroBlaze linux site info
Nathan Rossi [Fri, 10 Nov 2017 17:04:17 +0000 (03:04 +1000)]
site/microblaze-linux: Add MicroBlaze linux site info

Add linux site info for the MicroBlaze architecture. This is based on
the site info from meta-xilinx and additional options based on config
options that other *-linux architecture site info files define.

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agositeinfo.bbclass: Add microblaze(eb/el) linux site info targets
Nathan Rossi [Fri, 10 Nov 2017 17:04:17 +0000 (03:04 +1000)]
siteinfo.bbclass: Add microblaze(eb/el) linux site info targets

Add mappings for the microblaze(eb/el) linux and linux-musl variants to
use architecture common linux site data.

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoinsane.bbclass: add microblaze-*-elf to machine dictionary
Nathan Rossi [Fri, 10 Nov 2017 16:58:16 +0000 (02:58 +1000)]
insane.bbclass: add microblaze-*-elf to machine dictionary

Add the definitions for microblaze-*-elf targets to the machine
dictionary.

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoicu: CVE-2017-14952
Ovidiu Panait [Fri, 10 Nov 2017 15:46:10 +0000 (17:46 +0200)]
icu: CVE-2017-14952

Double free in i18n/zonemeta.cpp in International Components for Unicode
(ICU) for C/C++ through 59.1 allows remote attackers to execute arbitrary
code via a crafted string, aka a "redundant UVector entry clean up
function call" issue.

Reference:
https://nvd.nist.gov/vuln/detail/CVE-2017-14952

Upstream patches:
http://bugs.icu-project.org/trac/changeset/40324/trunk/icu4c/source/i18n/zonemeta.cpp

Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoqemu.inc: Drop rng-tools
Richard Purdie [Mon, 13 Nov 2017 17:33:26 +0000 (17:33 +0000)]
qemu.inc: Drop rng-tools

This was included to allow hwrng to feed data to /dev/random. Since the
kernel does this itself (confirmed by the recent kernel Kconfig text change
, code inspection and local testing), we can drop rng-tools from these
images.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolttng-modules: Upgrade to 2.9.5 release
Otavio Salvador [Thu, 9 Nov 2017 13:34:59 +0000 (11:34 -0200)]
lttng-modules: Upgrade to 2.9.5 release

This upgrade is critical as it fixes the support for Linux 4.14 LTS kernel.

The changlog is:

2017-10-05 LTTng modules 2.9.5
* Fix: update block instrumentation for 4.14 kernel
* Revert "Fix: update block instrumentation for kernel 4.14"

2017-10-03 (National Techies Day) LTTng modules 2.9.4
* Fix: version check error in btrfs instrumentation
* Fix: update btrfs instrumentation for kernel 4.14
* Fix: update writeback instrumentation for kernel 4.14
* Fix: update block instrumentation for kernel 4.14
* Fix: vmalloc wrapper on kernel < 2.6.38
* Fix: vmalloc wrapper on kernel >= 4.12
* Add kmalloc failover to vmalloc
* Fix: mmap: caches aliased on virtual addresses
* Fix: update ext4 instrumentation for kernel 4.13
* Fix: Sleeping function called from invalid context
* Fix: sched for v4.11.5-rt1
* Fix: handle missing ftrace header on v4.12

This also removes the previously backported patches as they are part
of 2.9.4 release and the missing fix is part of 2.9.5 release.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agogawk: upgrade to 4.2.0
Chen Qi [Thu, 9 Nov 2017 02:12:14 +0000 (10:12 +0800)]
gawk: upgrade to 4.2.0

test-arrayind1-Remove-hashbang-line.patch is dropped as it has
been merged in new version.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agocups: upgrade to 2.2.6
Chen Qi [Thu, 9 Nov 2017 02:12:13 +0000 (10:12 +0800)]
cups: upgrade to 2.2.6

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agosysstat: upgrade to 11.6.1
Chen Qi [Thu, 9 Nov 2017 02:12:12 +0000 (10:12 +0800)]
sysstat: upgrade to 11.6.1

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agosudo: upgrade to 1.8.21p2
Chen Qi [Thu, 9 Nov 2017 02:12:11 +0000 (10:12 +0800)]
sudo: upgrade to 1.8.21p2

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agokexec-tools: 2.0.14 -> 2.0.15
zhengrq [Wed, 8 Nov 2017 09:56:02 +0000 (17:56 +0800)]
kexec-tools: 2.0.14 -> 2.0.15

1) Upgrade kexec-tools from 2.0.14 to 2.0.15.
2) Remove patches that are included in 2.0.15.
   kexec-tools/0001-arm64-Disable-PIC.patch
   kexec-tools/0001-kexec-exntend-the-semantics-of-kexec_iomem_for_each_.patch
   kexec-tools/0001-vmcore-dmesg-Define-_GNU_SOURCE.patch
   kexec-tools/0001-x86-x86_64-Fix-format-warning-with-die.patch
   kexec-tools/0002-kexec-generalize-and-rename-get_kernel_stext_sym.patch
   kexec-tools/0002-ppc-Fix-format-warning-with-die.patch
   kexec-tools/0003-arm64-identify-PHYS_OFFSET-correctly.patch
   kexec-tools/0004-arm64-kdump-identify-memory-regions.patch
   kexec-tools/0005-arm64-kdump-add-elf-core-header-segment.patch
   kexec-tools/0006-arm64-kdump-set-up-kernel-image-segment.patch
   kexec-tools/0007-arm64-kdump-set-up-other-segments.patch
   kexec-tools/0008-arm64-kdump-add-DT-properties-to-crash-dump-kernel-s.patch
   kexec-tools/0009-arm64-kdump-Add-support-for-binary-image-files.patch

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agosbc: fix license
Radek Dostál [Fri, 10 Nov 2017 12:11:05 +0000 (13:11 +0100)]
sbc: fix license

sbc library itself is licensed under LGPLv2.1 or higher as mentioned in
sbc/sbc.h or any other file in sbc directory.

sbc test applications are licensed under GPLv2 or higher as mentioned in
src/sbcenc.c or any other file in src directory

Reported-by: Vladimir Koutny <vladimir.koutny@streamunlimited.com>
Signed-off-by: Radek Dostál <radek.dostal@streamunlimited.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agosbc: move examples to their own package
Radek Dostál [Fri, 10 Nov 2017 12:11:04 +0000 (13:11 +0100)]
sbc: move examples to their own package

Suggested-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Radek Dostál <radek.dostal@streamunlimited.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agosqlite3: upgrade to 3.21.0
Maxin B. John [Fri, 10 Nov 2017 12:00:27 +0000 (14:00 +0200)]
sqlite3: upgrade to 3.21.0

Remove upstreamed patch:
        1. sqlite3-fix-CVE-2017-13685.patch

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agolibproxy: upgrade to 0.4.15
Maxin B. John [Fri, 10 Nov 2017 12:00:26 +0000 (14:00 +0200)]
libproxy: upgrade to 0.4.15

0.4.14 -> 0.4.15

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoquota: upgrade to 4.04
Maxin B. John [Fri, 10 Nov 2017 12:00:24 +0000 (14:00 +0200)]
quota: upgrade to 4.04

4.03 -> 4.04

Removed the following backported patches:
        1. 0001-Do-not-accidentaly-override-commandline-passed-CFLAG.patch
        2. 0001-Fix-build-with-disabled-ldap.patch
        3. 0001-Use-NGROUPS_MAX-instead-of-NGROUPS.patch
        4. 0003-Don-t-build-rpc.rquotad-when-disable-rpc-was-request.patch
        5. 0004-Fix-warnings-due-to-missing-stdlib.h.patch

Refreshed the following patch:
        1. replace_getrpcbynumber_r.patch

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoharfbuzz: upgrade to 1.6.3
Maxin B. John [Fri, 10 Nov 2017 12:00:23 +0000 (14:00 +0200)]
harfbuzz: upgrade to 1.6.3

1.4.8 -> 1.6.3

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoofono: upgrade to 1.21
Maxin B. John [Fri, 10 Nov 2017 12:00:22 +0000 (14:00 +0200)]
ofono: upgrade to 1.21

1.20 -> 1.21

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agohostap-utils: remove obsolete driver
Ross Burton [Thu, 9 Nov 2017 15:44:21 +0000 (15:44 +0000)]
hostap-utils: remove obsolete driver

HostAP is the user-space part of the Intersil Prism 2/2.5/3 wifi chipset.  It's
also a decade old and obsolete, so remove it from oe-core.

Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agopackagegroup-base: remove hostap-utils from wifi support
Ross Burton [Thu, 9 Nov 2017 15:49:18 +0000 (15:49 +0000)]
packagegroup-base: remove hostap-utils from wifi support

hostap-utils is the userspace part of the Intersil Prism2/2.5/3 wifi driver,
which is a decade old and obsolete.  Stop pulling it into all images via the
base packagegroup, BSPs which still need this driver can do that themselves.

Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agodhcp: fix build issue with libxml2 support
Awais Belal [Wed, 8 Nov 2017 07:58:41 +0000 (12:58 +0500)]
dhcp: fix build issue with libxml2 support

A missing case breaks the build when libxml2 is
required and found appropriately. The third argument
to the function AC_SEARCH_LIB is action-if-found which
was mistakenly been used for the case where the library
is not found and hence breaks the configure phase
where it shoud actually pass.
We now pass on silently when action-if-found is
executed.

Signed-off-by: Awais Belal <awais_belal@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agodhcp: use ${BPN} instead of ${PN} for user
Dan Dedrick [Wed, 8 Nov 2017 01:12:20 +0000 (20:12 -0500)]
dhcp: use ${BPN} instead of ${PN} for user

${PN} will include additional prefixes, such as lib32-, which are not
actually a part of the user that is being added. This was creating an unused
user and possibly missing the actually intended user. By using ${BPN} this
will remove all additional extra information and consistently be "dhcp".

Signed-off-by: Dan Dedrick <ddedrick@lexmark.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agopackage_ipk.bbclass: handle only whitespace in PACKAGE_EXCLUDE
Andre McCurdy [Wed, 25 Oct 2017 04:55:04 +0000 (21:55 -0700)]
package_ipk.bbclass: handle only whitespace in PACKAGE_EXCLUDE

If PACKAGE_EXCLUDE is constructed using _append then it's possible
that the final value will contain only a space. Currently that
results in build failures due to an invalid opkg command line.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agogcc: backport patch to fix miscompilation on mips64
Chen Qi [Wed, 8 Nov 2017 02:33:52 +0000 (10:33 +0800)]
gcc: backport patch to fix miscompilation on mips64

Backport a patch to fix miscompilation on mips64.

We've observed strange behaviour of `systemctl status <xxx> on qemumips64.
The output of the command is like `systemctl show <xxx>', which is incorrect.

The problem is due to the miscompilation of gcc for mips64 platform, thus
backporting patch from upstream to fix this problem.

[YOCTO #12266]

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoRevert "gcc: fix miscompilation on mips64"
Ross Burton [Thu, 9 Nov 2017 21:41:44 +0000 (21:41 +0000)]
Revert "gcc: fix miscompilation on mips64"

This reverts commit b656fd9267b1f36d46ca20a1c0bcfaedbf7df438.

7 years agoinitramfs-live-install: Add aarch64 arch to COMPATIBLE_HOST.
Peter Griffin [Wed, 8 Nov 2017 10:50:39 +0000 (10:50 +0000)]
initramfs-live-install: Add aarch64 arch to COMPATIBLE_HOST.

So that we can use this on aarch64 with HiKey board.

Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agolinux-firmware: Bump to bf04291 revision
Otavio Salvador [Wed, 8 Nov 2017 13:17:16 +0000 (11:17 -0200)]
linux-firmware: Bump to bf04291 revision

This includes following changes:

bf04291 WHENCE: Add new qed firmware
d8fc990 WHENCE: Add new radeon firmware
7245319 WHENCE: Fix syntax error for iwlwifi-8265-31.ucode entry
18d71a8 Revert "ath10k: QCA988X hw2.0: update firmware to 10.2.4.70.63-2"
4ebfab3 ath10k: QCA6174 hw3.0: update board-2.bin
96a7402 ath10k: QCA6174 hw3.0: update firmware-6.bin to WLAN.RM.4.4.1-00051-QCARMSWP-1
59bf7e2 cxgb4: update firmware to revision 1.16.63.0

The MD5 checksum of WHENCE license file was due the changes above as
the firmware versions are listed there. It had no license term
changes.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agocmake: Upgrade to 3.9.5
Otavio Salvador [Wed, 8 Nov 2017 13:17:15 +0000 (11:17 -0200)]
cmake: Upgrade to 3.9.5

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agolibdrm: upgrade to 2.4.88
Otavio Salvador [Wed, 8 Nov 2017 13:17:14 +0000 (11:17 -0200)]
libdrm: upgrade to 2.4.88

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agobase.bbclass: increase indent in get_layers_branch_rev() and buildcfg_vars()
Andre McCurdy [Thu, 9 Nov 2017 02:53:34 +0000 (18:53 -0800)]
base.bbclass: increase indent in get_layers_branch_rev() and buildcfg_vars()

Although it may not appeal so much to users to prefer 80x24 consoles,
the general trend is for screens to get bigger and the current output
has started to look a little cramped on a modern HD display.

Increasing from 17 to 20 is obviously arbitrary, but does give enough
space to cleanly display layers such as "meta-nodejs-contrib" and
"meta-virtualization" while still keeping the output fairly compact.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agomesa: Upgrade to 17.2.4 release
Otavio Salvador [Wed, 8 Nov 2017 13:17:13 +0000 (11:17 -0200)]
mesa: Upgrade to 17.2.4 release

Upgrade to a new stable release and drop patches applied on upstream.

For a full release notes, please see:
https://mesa3d.org/relnotes/17.2.0.html
https://mesa3d.org/relnotes/17.2.1.html
https://mesa3d.org/relnotes/17.2.2.html
https://mesa3d.org/relnotes/17.2.3.html
https://mesa3d.org/relnotes/17.2.4.html

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agodevtool: implement conditional patch handling
Paul Eggleton [Tue, 31 Oct 2017 03:48:05 +0000 (16:48 +1300)]
devtool: implement conditional patch handling

If you have a recipe that uses overrides to conditionally extend
SRC_URI to add additional patches, then you will often need to update
those patches if you're making other changes to the source tree (for
example if you're upgrading the underlying source). Make this possible
with devtool by creating devtool-override-* branches for each override
that conditionally appends/prepends SRC_URI, and have devtool
update-recipe / finish check each branch out in turn and update the
corresponding patches.

A current example of a recipe that does this is the quota recipe - it
applies an additional patch if musl is the selected C library (i.e.
libc-musl is in OVERRIDES).

Note that use of this functionality does require some care - in
particular, updates to patches that appear on the main branch (named
"devtool" by default) should be made there and not only on one of the
specific devtool-override-* branches that are created for each override.
The recommended procedure is to make the changes you want to make to the
main branch first, then check out and rebase each devtool-override-*
branch, testing each one by activating the corresponding configuration,
and then finally run devtool finish.

Fixes [YOCTO #11516].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agodevtool: finish: add dry-run option
Paul Eggleton [Tue, 31 Oct 2017 22:56:18 +0000 (11:56 +1300)]
devtool: finish: add dry-run option

If you're not sure what changes devtool finish is going to make, or
you're not sure you're finished with your modifications, it is useful to
be able to see what devtool finish is going to do beforehand, so add
a -N/--dry-run option to make that possible.

(It's also very useful for debugging devtool finish itself.)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agodevtool: finish: improve reporting for removed files
Paul Eggleton [Tue, 7 Nov 2017 21:52:15 +0000 (10:52 +1300)]
devtool: finish: improve reporting for removed files

If a file is going to be effectively removed from the destination by
devtool finish, we should report that rather than just reporting that
we're removing files from the workspace. This is a little tricky because
the way we actually operate when finishing is to:
 (1) remove all original files (as recorded by devtool upgrade, if that
     was used)
 (2) as part of updating the recipe file, remove the files from next to
     the new recipe (i.e. in the workspace for an upgrade, real recipe
     otherwise) corresponding to commits not in the git tree
 (3) copy over remaining files from the workspace to the destination

To report the files removed with respect to what was originally there,
we need to swap steps 1 and 2 so we can see what no longer exists after
the deletion, and suppress the reporting currently done in step 2 -
however, we still want to report removal in step 2 for the non-upgrade
case, so the latter is conditional.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>