]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/log
thirdparty/openembedded/openembedded-core-contrib.git
7 years agodevtool: reset: print source tree base path
Paul Eggleton [Fri, 29 Sep 2017 03:19:28 +0000 (16:19 +1300)] 
devtool: reset: print source tree base path

If S points to a subdirectory of the source rather than the "base" of
the source tree then print that rather than the subdirectory path when
telling the user they need to remove the source tree, since that is the
directory that they will need to remove.

(From OE-Core rev: 9e8808099046478e98c6cf1903dc6787d69132fc)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agodevtool: make find-recipe and edit-recipe always work with any recipe
Paul Eggleton [Fri, 29 Sep 2017 01:22:17 +0000 (14:22 +1300)] 
devtool: make find-recipe and edit-recipe always work with any recipe

After some reconsideration I think it's a bit annoying for users to be
forced to use an option to work with recipes where the file isn't in the
workspace, so let's just have these commands check the workspace first
for the recipe, and if it isn't there then load the cache and get it
that way.

(From OE-Core rev: 46683c61069a386658676a79d797062404bf1140)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agodevtool: show some warnings for upgrade versions
Paul Eggleton [Thu, 28 Sep 2017 02:51:40 +0000 (15:51 +1300)] 
devtool: show some warnings for upgrade versions

* Show a warning in devtool upgrade if the version is less than the
  current version suggesting that the user may need to bump PE in the
  recipe
* Show a warning in devtool add and devtool upgrade if the version looks
  like a pre-release version suggesting using a version number that
  won't mess up the progression when you come to upgrade to the final
  release version.

(From OE-Core rev: 92c4d9be9ed365c449ea1ac5a18ddb15e4a36b2d)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agodevtool: fix handling of oe-local-files when source is in a subdirectory
Paul Eggleton [Fri, 29 Sep 2017 02:26:22 +0000 (15:26 +1300)] 
devtool: fix handling of oe-local-files when source is in a subdirectory

If S points to a subdirectory of the source rather than the "base" of
the source tree then we weren't handling the oe-local-files directory
properly - it got extracted to the base of the tree but devtool
update-recipe and devtool finish assumed it would be under S which would
be the subdirectory, thus it would be missing and devtool would assume
the files had been deleted and remove them from the recipe. Record the
base of the source tree in the bbappend and read it into the in-memory
workspace so we can use that to find out where oe-local-files should be
found.

(From OE-Core rev: 30d2ea67b2c4727e23d06a35745b1afa64b130cc)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agodevtool: upgrade: improve performance and show progress when adding files
Paul Eggleton [Thu, 28 Sep 2017 03:46:14 +0000 (16:46 +1300)] 
devtool: upgrade: improve performance and show progress when adding files

When devtool upgrade is upgrading to a new version where the source is
fetched as an archive (e.g. a tarball), we create a single commit in the
git repository that is the upgrade from the old version to the new. We
do this by extracting the old source, committing it, deleting all files,
copying in the new files, running git add on each new/changed/deleted
file, and then committing the result. When a lot of files have changed
in an upgrade (such as QEMU 2.8.1.1 -> 2.10.0) the penultimate step of
running git add it can take quite a long time; in order to reduce this
and show some feedback to the user, run git add with batches of 100
files at once and also show a progress bar. In a local test with the
aforementioned QEMU upgrade it took the time down from over 7 minutes
down to about 13 seconds.

Fixes [YOCTO #11948].

(From OE-Core rev: 8b184f6c874b60324ee107af53853687173d3434)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agodevtool: upgrade: fix not committing deleted files with older git versions
Paul Eggleton [Wed, 8 Nov 2017 22:07:15 +0000 (11:07 +1300)] 
devtool: upgrade: fix not committing deleted files with older git versions

With versions of git older than 2.0, "git add" on a deleted file (i.e.
in this case a file that was removed between versions) will not add the
delete to be committed by default, with the result that the rebase of
patches on top of the new branch will fail. We need to use the -A
option in order to force that for older git versions.

(From OE-Core rev: c7f4c9f050c11c0de7fcf5badcc19a8fbc6428cf)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agodevtool: upgrade: fix accidentally swapped parameters
Paul Eggleton [Mon, 30 Oct 2017 22:35:17 +0000 (11:35 +1300)] 
devtool: upgrade: fix accidentally swapped parameters

It appears that when fixing the signature unlocking in OE-Core commit
4e9a0be32fc30fb87d65da7cd1a4015c99533aff I swapped the parameters here
and did not test it within the eSDK (it does nothing outside of the
eSDK) resulting in a TypeError when devtool upgrade was used in the
eSDK. Swap the parameters around to the correct ordering.

Fixes [YOCTO #12285].

(From OE-Core rev: 05e2c4ada7083f40866846a21fe76c852f1dfefe)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolib/oe/recipeutils: fix line splitting in patch_recipe_*
Paul Eggleton [Wed, 1 Nov 2017 00:49:44 +0000 (13:49 +1300)] 
lib/oe/recipeutils: fix line splitting in patch_recipe_*

If a value was split over multiple lines (e.g. as SRC_URI usually is)
then we were inserting the value as one item in the lines list with
newlines between each line. There's nothing wrong with this if you're
writing the list out to a file, but if you want to generate a patch (as
patch_recipe_file() will do if the patch parameter is set to True) then
the diff output looks a bit odd. Split the value before adding it to the
lines list to resolve this.

(From OE-Core rev: 44f4c97234623cbd770fbc86eabb04e7e0c91061)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolib/oe/recipeutils: fix find_layerdir() to return absolute paths
Paul Eggleton [Tue, 7 Nov 2017 20:45:06 +0000 (09:45 +1300)] 
lib/oe/recipeutils: fix find_layerdir() to return absolute paths

find_layerdir() should really return absolute paths, so make it do so.
This fixes devtool finish not deleting files it should do after devtool
upgrade if the specified path is relative, since the devtool finish code
was assuming that find_layerdir() was returning an absolute path.

Fixes [YOCTO #12318].

(From OE-Core rev: 5e3fe00a0233d563781849a44f53885b4e924a9c)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agorecipetool: ignore incidental kernel module source
Paul Eggleton [Wed, 20 Sep 2017 04:43:33 +0000 (16:43 +1200)] 
recipetool: ignore incidental kernel module source

If the source tree happens to contain a kernel module as an example, a
test or under a "contrib" directory then we shouldn't be picking it up
and making the determination that the entire thing is a kernel module.

An example that triggered this is zstd, which ships a kernel module
under contrib/linux-kernel:

  https://github.com/facebook/zstd

(From OE-Core rev: c2b3154158d4bb0855daa56477393341139d4cf9)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agorecipetool: pass absolute source tree path to plugins
Paul Eggleton [Wed, 20 Sep 2017 00:03:39 +0000 (12:03 +1200)] 
recipetool: pass absolute source tree path to plugins

We shouldn't be passing a relative path to the plugins if that's what's
been specified on the recipetool command line.

(From OE-Core rev: 949067384c5166058ebc76f931cc492dad1db645)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agogcc7/gcc6: Fix unaligned STRD issue on ARM
Khem Raj [Tue, 7 Nov 2017 23:26:52 +0000 (15:26 -0800)] 
gcc7/gcc6: Fix unaligned STRD issue on ARM

Backport
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82445

Fixes [YOCTO 12297]

(From OE-Core rev: 568227133be3f9f015679df3525f6c4f86304fd0)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agomusl: Update to 1.1.18
Khem Raj [Fri, 6 Oct 2017 18:57:12 +0000 (11:57 -0700)] 
musl: Update to 1.1.18

Rich Felker (9):
      fix access by setjmp and longjmp to __hwcap on arm built as thumb2
      for executing init array functions, use function type with prototype
      fix read-after-free type error in pthread_detach
      fix incorrect base name offset from nftw when pathname ends in slash(es)
      in dns parsing callback, enforce MAXADDRS to preclude overflow
      release 1.1.17
      fix regression in glob with literal . or .. path component
      fix build regression on ARM for ISA levels less than v5
      release 1.1.18

Szabolcs Nagy (1):
      math: rewrite fma with mostly int arithmetics

Will Dietz (1):
      posix_spawn: use larger stack to cover worst-case in execvpe

(From OE-Core rev: c3f0a70a40e0a8115e9046fb96b4b371b0db44ee)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agosystemd: Fix build with musl/mips64
Khem Raj [Fri, 27 Oct 2017 20:16:03 +0000 (13:16 -0700)] 
systemd: Fix build with musl/mips64

(From OE-Core rev: b2ca2d74d773d6d63834c1018a9041ae52a6701f)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoat-spi2-core: remove redundant intltool dependency
Ross Burton [Thu, 9 Nov 2017 15:35:20 +0000 (15:35 +0000)] 
at-spi2-core: remove redundant intltool dependency

(From OE-Core rev: 3546344f518a473b79e0ebce7158a3808d76409a)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agodefault-providers: remove virtual/db
Ross Burton [Tue, 31 Oct 2017 21:10:27 +0000 (21:10 +0000)] 
default-providers: remove virtual/db

Now that db doesn't PROVIDE virtual/db, remove it from default-providers.

(From OE-Core rev: 1c0507eb0d5ae9a9707b47e526398987d949e34b)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agodb: don't provide virtual/db
Ross Burton [Tue, 31 Oct 2017 21:10:13 +0000 (21:10 +0000)] 
db: don't provide virtual/db

As there are no alternative providers for virtual/db remove the PROVIDES and
recipes can just depend on db.

(From OE-Core rev: dcbc45aa3fe72c528fe4d47a783da4b4ed5ff38e)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoperl: depend on db, not virtual/db
Ross Burton [Tue, 31 Oct 2017 21:10:00 +0000 (21:10 +0000)] 
perl: depend on db, not virtual/db

As there are no alternative providers for virtual/db, just depend directly on
db.

(From OE-Core rev: be49f3d2d66574d8a680dd1e7479229a10d3bfff)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agooeqa/runner: Pass the value of buffer, don't force to True
Richard Purdie [Thu, 9 Nov 2017 13:23:04 +0000 (13:23 +0000)] 
oeqa/runner: Pass the value of buffer, don't force to True

The value could be False in which case we should pass that through.

(From OE-Core rev: d0a3379bbcbcd8153bd59ccdb56d40fff7ad6c6b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agooeqa: Markup further tests for stdout/stderr buffering
Richard Purdie [Thu, 9 Nov 2017 12:10:16 +0000 (12:10 +0000)] 
oeqa: Markup further tests for stdout/stderr buffering

This further cleans up the output of oe-selftest so that runqemu output
is hidden unless tests fail.

(From OE-Core rev: efa064d5026538ab513edc11869364ce2f14b977)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agotestimage: Ensure full logs are shown for failures
Richard Purdie [Fri, 10 Nov 2017 14:41:32 +0000 (14:41 +0000)] 
testimage: Ensure full logs are shown for failures

Currently, the fact an error message is shown means the rest of the
task logs are suppressed. In this case we don't want that as it hides
the real errors and useful information. Therefore override this behaviour.

(From OE-Core rev: 7058ac23c5ce32fbdc4be6c05f85550e1fd9fe77)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agomaintainers.inc: add Otavio Salvador for go-dep
Alexander Kanavin [Tue, 10 Oct 2017 13:05:10 +0000 (16:05 +0300)] 
maintainers.inc: add Otavio Salvador for go-dep

(From OE-Core rev: f706448952c942d25ea96cda09a700d2c5c63520)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agomaintainers.inc: add Khem Raj for libmnl
Alexander Kanavin [Tue, 10 Oct 2017 13:03:32 +0000 (16:03 +0300)] 
maintainers.inc: add Khem Raj for libmnl

(From OE-Core rev: 1f7ccccfba8d5895ecbd72898514d9f3d8fd79dc)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoglew: update to 2.1.0
Alexander Kanavin [Tue, 10 Oct 2017 12:22:47 +0000 (15:22 +0300)] 
glew: update to 2.1.0

(From OE-Core rev: 2c45465c4f6ebfe67bd45071abcefac7265a1caf)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoatk: update to 2.26.0
Alexander Kanavin [Tue, 10 Oct 2017 12:21:31 +0000 (15:21 +0300)] 
atk: update to 2.26.0

Remove --disable-glibtest as ./configure no longer has it.

(From OE-Core rev: 97dbe812e5f964e2d25ae7e8014ca07b7bdc6318)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoat-spi2-atk: update to 2.26.0
Alexander Kanavin [Tue, 10 Oct 2017 12:19:43 +0000 (15:19 +0300)] 
at-spi2-atk: update to 2.26.0

(From OE-Core rev: 8b69b8d0fc16c768f9005941bde6c2436b26ebe9)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoat-spi2-core: update to 2.26.0
Alexander Kanavin [Tue, 10 Oct 2017 12:18:04 +0000 (15:18 +0300)] 
at-spi2-core: update to 2.26.0

Drop 0001-nls.m4-Take-it-from-gettext-0.15.patch as it's now
upstreamed.

Remove --disable-xevie option:
https://github.com/GNOME/at-spi2-core/commit/644096a28a47bdf5c6e0c34c9cd5b944df059925

(From OE-Core rev: f7c3b14238b7e2b84d5a972bc3dfda29de45ad3e)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoclutter-gtk-1.0: update to 1.8.4
Alexander Kanavin [Tue, 10 Oct 2017 12:11:39 +0000 (15:11 +0300)] 
clutter-gtk-1.0: update to 1.8.4

(From OE-Core rev: ac66754a84fa8317027861c2771434280a696395)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolibrsvg: update to 2.40.19
Alexander Kanavin [Tue, 10 Oct 2017 12:10:35 +0000 (15:10 +0300)] 
librsvg: update to 2.40.19

(From OE-Core rev: 326b2b838e57bfeb37651d838d74d64365d835fd)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agovte: update to 0.50.1
Alexander Kanavin [Tue, 10 Oct 2017 12:07:05 +0000 (15:07 +0300)] 
vte: update to 0.50.1

(From OE-Core rev: c00f50e58d8db29243db2e9d29023635e381080c)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolibinput: update to 1.8.3
Alexander Kanavin [Tue, 10 Oct 2017 12:04:37 +0000 (15:04 +0300)] 
libinput: update to 1.8.3

Drop upstreamed patch.

(From OE-Core rev: ba8606db1b8b6d51cf76d4fb0db39780a4a72056)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agofontconfig: update to 2.12.6
Alexander Kanavin [Tue, 10 Oct 2017 12:02:27 +0000 (15:02 +0300)] 
fontconfig: update to 2.12.6

Add a patch to avoid crashing under qemu.

(From OE-Core rev: da1d9898e953207a7649dfa765dd37eea9baf55d)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agopango: update to 1.40.12
Alexander Kanavin [Tue, 10 Oct 2017 12:00:35 +0000 (15:00 +0300)] 
pango: update to 1.40.12

(From OE-Core rev: ffe5c27179bd82a87ab632766e7050c2a2d134e6)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolibgudev: update to 232
Alexander Kanavin [Tue, 10 Oct 2017 11:52:09 +0000 (14:52 +0300)] 
libgudev: update to 232

(From OE-Core rev: a78acdaff88250d99f04144d1a5a651ff7c4256f)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agohicolor-icon-theme: update to 0.17
Alexander Kanavin [Tue, 10 Oct 2017 11:45:09 +0000 (14:45 +0300)] 
hicolor-icon-theme: update to 0.17

(From OE-Core rev: 07582f1d821a8821568382c274c55968db3374c8)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agogdk-pixbuf: update to 2.36.11
Alexander Kanavin [Mon, 9 Oct 2017 13:50:11 +0000 (16:50 +0300)] 
gdk-pixbuf: update to 2.36.11

Remove upstreamed 0001-queryloaders-Make-output-more-reproducible.patch

Rebase fatal-loader.patch

Add a patch to fix a libtiff detection issue.

(From OE-Core rev: 057fadbaa9948fb26d99ffcbe68145658df64038)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoassimp: update to 4.0.1
Alexander Kanavin [Mon, 9 Oct 2017 13:35:28 +0000 (16:35 +0300)] 
assimp: update to 4.0.1

(From OE-Core rev: 8d3128811739c0ddcb3f062a9098d81b611da9e3)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoshared-mime-info: update to 1.9
Alexander Kanavin [Mon, 9 Oct 2017 13:33:03 +0000 (16:33 +0300)] 
shared-mime-info: update to 1.9

(From OE-Core rev: 5d1c0d9a54aff15ef5283cdfecc222405d2cf9ca)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoadwaita-icon-theme: update to 3.26.0
Alexander Kanavin [Mon, 9 Oct 2017 13:28:35 +0000 (16:28 +0300)] 
adwaita-icon-theme: update to 3.26.0

(From OE-Core rev: 5f406687ca82a9f18feac6ed1dc70085208aceae)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolibsoup-2.4: update to 2.60.1
Alexander Kanavin [Mon, 9 Oct 2017 13:24:31 +0000 (16:24 +0300)] 
libsoup-2.4: update to 2.60.1

(From OE-Core rev: 26aaaf8313a3361aafd8abdb0bc8a00d39958e3e)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agogsettings-desktop-schemas: update to 3.24.1
Alexander Kanavin [Mon, 9 Oct 2017 13:21:49 +0000 (16:21 +0300)] 
gsettings-desktop-schemas: update to 3.24.1

(From OE-Core rev: 21f4914693626bf750ed9aa1fe71703c8faadae6)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoxdg-utils: update to 1.1.2
Alexander Kanavin [Mon, 9 Oct 2017 13:20:25 +0000 (16:20 +0300)] 
xdg-utils: update to 1.1.2

(From OE-Core rev: 7b29829e072fa51b8cb24f31e44d60635a86e4e9)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agovulkan: update to 1.0.61.1
Alexander Kanavin [Mon, 9 Oct 2017 13:16:15 +0000 (16:16 +0300)] 
vulkan: update to 1.0.61.1

(From OE-Core rev: 939e6ca27ca1f500bc3bbfdf4f7f893a57cc0820)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agofreetype: update to 2.8.1
Alexander Kanavin [Mon, 9 Oct 2017 13:12:25 +0000 (16:12 +0300)] 
freetype: update to 2.8.1

(From OE-Core rev: 1d387edd3651062760acdf927d8bb0657747a18a)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agogtk+3: update to 3.22.24
Alexander Kanavin [Mon, 9 Oct 2017 13:09:14 +0000 (16:09 +0300)] 
gtk+3: update to 3.22.24

Rebase Jussi's GL patches.

(From OE-Core rev: 7b23d5a7cbc536b9139f9f53baa1fbe4c50e2135)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agogtk-doc.bbclass: correctly make the list of directories with shared libraries
Alexander Kanavin [Thu, 5 Oct 2017 14:16:11 +0000 (17:16 +0300)] 
gtk-doc.bbclass: correctly make the list of directories with shared libraries

Previously it was working only if only one shared library was found, and
broke when there were several.

(From OE-Core rev: a4da3957f4577f9826c73e1d23bcffe9ee96a7d4)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agosysprof: update to 3.26.1
Alexander Kanavin [Thu, 5 Oct 2017 12:03:24 +0000 (15:03 +0300)] 
sysprof: update to 3.26.1

(From OE-Core rev: afd20828521332a398a92cc03fb12ea9ec1de33a)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoiso-codes: update to 3.76
Alexander Kanavin [Thu, 5 Oct 2017 12:00:24 +0000 (15:00 +0300)] 
iso-codes: update to 3.76

(From OE-Core rev: 5cbcd0c1bddda4dc6f0377ec2e35e728947966cb)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoboost: update to 1.65.1
Alexander Kanavin [Wed, 4 Oct 2017 15:23:41 +0000 (18:23 +0300)] 
boost: update to 1.65.1

Add a patch to fix bjam-native compile error (due to mistyped
variable name).

Drop upstreamed patch.

(From OE-Core rev: ba2d391d8268203895ab2f792f92b7fd92deeb45)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoffmpeg: upgrade to 3.3.4
Chen Qi [Sat, 30 Sep 2017 03:21:01 +0000 (11:21 +0800)] 
ffmpeg: upgrade to 3.3.4

Upgrade ffmpeg to version 3.3.4. Version 3.3.4 is a bug fix version, and
there's no new feature added.

Compared to version 3.3.3, there are 57 new commits. These 57 commits are
either bug fix or small tweaks.

Drop CVE patches that were backported from 3.3.4.

(From OE-Core rev: 234d9aaffc2b08846281247e5ba37b20fea1493d)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolibsolv: update to 0.6.29
Alexander Kanavin [Wed, 4 Oct 2017 14:00:37 +0000 (17:00 +0300)] 
libsolv: update to 0.6.29

(From OE-Core rev: 9d0eadf0e0dad97c92a34062a6acf005922039e5)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agompg123: update to 1.25.7
Alexander Kanavin [Wed, 4 Oct 2017 13:58:35 +0000 (16:58 +0300)] 
mpg123: update to 1.25.7

(From OE-Core rev: 32569391c62c96fb133c6d92f32f474b2119ec2b)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agobtrfs-tools: update to 4.13.2
Alexander Kanavin [Wed, 4 Oct 2017 13:37:16 +0000 (16:37 +0300)] 
btrfs-tools: update to 4.13.2

(From OE-Core rev: caf7310c93657af489096493f6cbad6439a7476c)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agovala: update to 0.38.2
Alexander Kanavin [Wed, 4 Oct 2017 12:31:40 +0000 (15:31 +0300)] 
vala: update to 0.38.2

Valadoc has been merged into the main vala tree, so
add necessary patches to disable it.

(From OE-Core rev: 2c290f7253bba5ceb0d32e7d0b0ec0d0e81cc263)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolibxslt: update to 1.1.31
Alexander Kanavin [Wed, 4 Oct 2017 11:35:08 +0000 (14:35 +0300)] 
libxslt: update to 1.1.31

Drop upstreamed patches, including pkg-config support patch,
as upstream now does use pkg-config.

configure.in is now configure.ac, adjust recipe accordingly.

(From OE-Core rev: e9d487de8b5c03108c8c25c0365d5bd6b48f03e9)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agofreetype: fix upstream version check
Alexander Kanavin [Wed, 4 Oct 2017 11:21:28 +0000 (14:21 +0300)] 
freetype: fix upstream version check

(From OE-Core rev: 29b0955c33fd905a5c1115e0c1e00b914e739c53)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolz4: fix upstream version check
Alexander Kanavin [Wed, 4 Oct 2017 11:18:00 +0000 (14:18 +0300)] 
lz4: fix upstream version check

(From OE-Core rev: c6606acfe3a8c831de9b19749aaa61a3888aecbe)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agogo-helloworld: add an acknowledgement of unknown upstream version
Alexander Kanavin [Wed, 4 Oct 2017 10:29:19 +0000 (13:29 +0300)] 
go-helloworld: add an acknowledgement of unknown upstream version

As upstream has no git tags.

(From OE-Core rev: d853e588afbccf09ee65e077e0360de65b964a52)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agotcf-agent: latest upstream version is now known
Alexander Kanavin [Wed, 4 Oct 2017 10:28:23 +0000 (13:28 +0300)] 
tcf-agent: latest upstream version is now known

So incorrect acknowledgement of it being unknown can be deleted.

(From OE-Core rev: e76874db9599fd23188384db761813ec7e0d7c28)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoeudev: fix upstream version check
Alexander Kanavin [Wed, 4 Oct 2017 10:28:04 +0000 (13:28 +0300)] 
eudev: fix upstream version check

(From OE-Core rev: 5d9e109a14a2631ddfce1abcb0938f750c73ab23)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolibpfm4: remove the recipe
Alexander Kanavin [Fri, 11 Aug 2017 11:29:22 +0000 (14:29 +0300)] 
libpfm4: remove the recipe

It was required only by oprofile.

(From OE-Core rev: 95b391e5f34b706ad5f1c7e4a8c82fb8a18f3c0b)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agooprofile: remove the recipe
Alexander Kanavin [Mon, 7 Aug 2017 11:27:23 +0000 (14:27 +0300)] 
oprofile: remove the recipe

Perf is the preferred solution, and oprofile is difficult to
maintain against musl.

(From OE-Core rev: 5f470aed944c941b339652961a13266389288739)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agobitbake: tinfoil: Ensure we clean up loggers
Richard Purdie [Wed, 8 Nov 2017 14:04:50 +0000 (14:04 +0000)] 
bitbake: tinfoil: Ensure we clean up loggers

This is primarily paranoid but ensure we remove any loggers we setup
either directly or indirectly so the initial state is restored after
we exit.

(Bitbake rev: af7d63b1f76fd3f7fa92ed15ae61ca47d9e13472)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agobitbake: event: Ensure we clean up loggers
Richard Purdie [Wed, 8 Nov 2017 14:03:59 +0000 (14:03 +0000)] 
bitbake: event: Ensure we clean up loggers

Whilst we're likely exiting in this case, clean up the loggers we add
so that in the case of certain server retries there is no possibility
multiple loggers stack up.

(Bitbake rev: 25b7bf6672be66bcbfe5760610dce7d3e866cdcc)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agooeqa/target/ssh: Drop command/output logging to debug level
Richard Purdie [Thu, 9 Nov 2017 10:56:13 +0000 (10:56 +0000)] 
oeqa/target/ssh: Drop command/output logging to debug level

This ensures the console is kept clear of confusing output but that
the main logs contain good debugging information.

(From OE-Core rev: caeb5dcfbd3c1d71f8e0eb78b3dd45d5ce349d25)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agooeqa: Clean up logger handling
Richard Purdie [Wed, 8 Nov 2017 18:17:17 +0000 (18:17 +0000)] 
oeqa: Clean up logger handling

The logger handling in oeqa was confused at best. This patch:

a) Passes in a logger through various qemu runner pieces
b) Uses that logger consistently in the code
c) Creates a logger for QemuRunner outside the bitbake namespace
   meaning we don't conflict with the tinfoil logging changes

The result of this is more consistency. For runtime tests in testimage,
the logs always contain the debug info, nothing is shwon on the console.
For the oe-selftests, logs are intercepted and only shown if the test
fails.

(From OE-Core rev: 4ff678137a55b93c9ba2cbffda34335ba859f704)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agotestimage: Pass the logger into OERuntimeTestContextExecutor.getTarget()
Richard Purdie [Wed, 8 Nov 2017 18:15:02 +0000 (18:15 +0000)] 
testimage: Pass the logger into OERuntimeTestContextExecutor.getTarget()

I have no idea why we didn't do this but it means the code has nowhere
to log to unless we do this. This means we can then use the logger
to log data to the task logs.

(From OE-Core rev: e241fb128840889acff79dbf3fae7bfaafcb5357)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agooeqa/qemurunner: Use logger.debug, not logger.info
Richard Purdie [Wed, 8 Nov 2017 18:13:24 +0000 (18:13 +0000)] 
oeqa/qemurunner: Use logger.debug, not logger.info

Bitbake logs info messages to the console. These messages are really
there as debugging information. At the debug level, they will be shown
in failure logs and in the task logs but not on the console which
is what we want in this case.

(From OE-Core rev: e05b14ad5a3c5ac1656b6fffdcf7e58250638e96)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agooeqa/targetcontrol: Drop unused get_target_controller function
Richard Purdie [Wed, 8 Nov 2017 14:14:24 +0000 (14:14 +0000)] 
oeqa/targetcontrol: Drop unused get_target_controller function

This funciton appears completely unused, drop it.

(From OE-Core rev: f352ef37a27cb0871c87cf9991d8ad2e1d560fde)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agooeqa/runqemu: Only show stdout/stderr upon test failure
Richard Purdie [Wed, 8 Nov 2017 14:03:28 +0000 (14:03 +0000)] 
oeqa/runqemu: Only show stdout/stderr upon test failure

In general we don't need to see the output of runqemu however if it fails
we do. Use the buffer option that already exists in TestResult but allow
us to trigger it on a per test basis.

(From OE-Core rev: 86bef95bccbe9dad3dc3445ea365439861966179)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoqemurunner: Ensure logging handler is removed
Richard Purdie [Tue, 7 Nov 2017 23:23:54 +0000 (23:23 +0000)] 
qemurunner: Ensure logging handler is removed

If we don't remove the handler we end up with duplicate log messages
which is undesireable.

(From OE-Core rev: 4155a58aebe9c730be9ff1f68150f34d1cd472e5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agobusybox.inc: Fix bashism in compile, which fixes sh being suid
Nathan Rossi [Thu, 9 Nov 2017 11:09:25 +0000 (21:09 +1000)] 
busybox.inc: Fix bashism in compile, which fixes sh being suid

Fix the bashism in the suid check. This ensures that the check works
correctly on hosts that default sh to e.g. dash. If this check fails the
suid shell workaround does not remove sh from the suid binary and
results in the target system containing a busybox.suid with sh as well
as /bin/sh -> /bin/busybox.suid.

(From OE-Core rev: 28547cf01b5ebb81c525a2b982db9b04997d7c4f)

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Cc: Andrej Valek <andrej.valek@siemens.com>
Cc: Radovan Scasny <radovan.scasny@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agogcc: fix miscompilation on mips64
Chen Qi [Fri, 27 Oct 2017 09:43:51 +0000 (17:43 +0800)] 
gcc: 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.

This patch is from gcc bugzilla's attachment.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81803

The patch hasn't been merged into gcc. But it does solve the above problem.

(From OE-Core rev: 3717c76eb24217c14a22f72fdd8732923729dee8)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agosystemd: Fix build on musl
Khem Raj [Fri, 27 Oct 2017 05:10:42 +0000 (22:10 -0700)] 
systemd: Fix build on musl

Add needed patches for portability across glibc/musl
enable systemd on musl too

Disable utmp,ldconfig,nss,resolved,localed for musl
which is not supported on musl

(From OE-Core rev: acdee728f0f6358dda709304ec307d737124aee6)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoe2fsprogs-ptest: improve reproducibility
Juro Bystricky [Wed, 25 Oct 2017 23:00:26 +0000 (16:00 -0700)] 
e2fsprogs-ptest: improve reproducibility

Remove several Makefiles containing build host references.
While at it, also remove some additional files not needed for
testing.

(From OE-Core rev: 65a3b7b7b6aa91153ac3bd78411665316f1b2cba)

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agooe-build-perf-report-email.py: add images as MIME objects
Markus Lehtonen [Wed, 25 Oct 2017 11:39:38 +0000 (14:39 +0300)] 
oe-build-perf-report-email.py: add images as MIME objects

Add images as separate MIME objects instead of directly embedding images
in the html (as base64 encoded pngs). This makes the emails better
suited for certain email servers/clients.

(From OE-Core rev: 6b61126c386a0a7334cdf475d349b830c436ed82)

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agogobject-introspection: improve reproducibility
Juro Bystricky [Tue, 24 Oct 2017 21:04:09 +0000 (14:04 -0700)] 
gobject-introspection: improve reproducibility

Remove cross-compiler wrappers from the package, these contain numerous
build host references.
The wrappers are only needed for cross-compiling.

[YOCTO #11705]

(From OE-Core rev: 6870c4d11adcb831247dc1e05794bfa6ac1374c0)

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agowayland-protocols: upgrade to 1.11
Denys Dmytriyenko [Tue, 17 Oct 2017 23:51:30 +0000 (19:51 -0400)] 
wayland-protocols: upgrade to 1.11

usesysrootprefixforpkgdatadirvariable.patch was a backport from 1.11,
no longer needed.

(From OE-Core rev: d4cb21de07f6f63f5aa703d6dc4f13a1e0d74b44)

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoqemu: upgrade to 2.10.1
Leonardo Sandoval [Thu, 19 Oct 2017 20:10:46 +0000 (13:10 -0700)] 
qemu: upgrade to 2.10.1

All CVE patches removed because these are already integrated in 2.10.1.

(From OE-Core rev: ad3e2e2fde557aba0a53bc91d1746518c34b4bd8)

Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agowic: Update canned-wks for systemd to use UUID everywhere
Tom Rini [Thu, 21 Sep 2017 17:46:17 +0000 (13:46 -0400)] 
wic: Update canned-wks for systemd to use UUID everywhere

With systemd, the mounting of the swap partition is handled via systemd
and will mount it, regardless of if PARTUUID is parsed or not.  systemd
has a runtime dependency on util-linux-mount so PARTUUID for regular
mount points will be handled correctly.  Make all partitions that we add
to the image make use of UUIDs for maximum portability.

(From OE-Core rev: 497467262d501b94061338b4ce826c6f2f9b97b4)

Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agowic: When using --use-uuid make sure that we update the fstab with PARTUUID
Tom Rini [Thu, 21 Sep 2017 17:46:16 +0000 (13:46 -0400)] 
wic: When using --use-uuid make sure that we update the fstab with PARTUUID

When we have been told to use the UUID we should also update the fstab
to make use of PARTUUID instead of hard-coding the device in question.
This will make the resulting image much more portable.

(From OE-Core rev: e7443e7cf876d9bbe326033ac5eee0b98ce5d37f)

Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agosystemctl-native: add target.wants to target regex
Martin Kelly [Mon, 16 Oct 2017 16:31:42 +0000 (09:31 -0700)] 
systemctl-native: add target.wants to target regex

The regex for acceptable systemd WantedBy/RequiredBy targets does not include
target.wants, so a line like this:

WantedBy=multi-user.target.wants

gets silently ignored, even though it works fine on a real system.

(From OE-Core rev: ccffc66c64fc0dde433b0375c69760983c657427)

Signed-off-by: Martin Kelly <mkelly@xevo.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agodpkg: use snapshot.debian.org
Ross Burton [Tue, 7 Nov 2017 13:18:18 +0000 (13:18 +0000)] 
dpkg: use snapshot.debian.org

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoexpat: upgrade to 2.2.5
Dengke Du [Fri, 3 Nov 2017 07:26:42 +0000 (15:26 +0800)] 
expat: upgrade to 2.2.5

(From OE-Core rev: 422959ac1958cb6c9f857df3cbac7e8acc70a2a4)

Signed-off-by: Dengke Du <dengke.du@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agowget: Upgrade 1.19.1 -> 1.19.2
Zhixiong Chi [Tue, 31 Oct 2017 09:52:29 +0000 (17:52 +0800)] 
wget: Upgrade 1.19.1 -> 1.19.2

Among other things, fix CVE-2017-13089 CVE-2017-13090 CVE-2017-6508
External References:
https://nvd.nist.gov/vuln/detail/CVE-2017-13089
https://nvd.nist.gov/vuln/detail/CVE-2017-13090
https://nvd.nist.gov/vuln/detail/CVE-2017-6508

(From OE-Core rev: 97717693042e30ade6a568e45c333159eea43cbb)

Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoscripts/contrib/bbvars.py: Rewrite to use tinfoil
Amanda Brindle [Mon, 30 Oct 2017 21:57:04 +0000 (14:57 -0700)] 
scripts/contrib/bbvars.py: Rewrite to use tinfoil

Use tinfoil to collect all variable names globally and in each recipe.

No longer show the count of variables if they are undocumented.

Fixes [YOCTO #2086]

(From OE-Core rev: b947de583964020b488cb1c382877624e96d4319)

Signed-off-by: Amanda Brindle <amanda.r.brindle@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agocurl_7.54.1.bb: improve reproducibility
Juro Bystricky [Mon, 30 Oct 2017 17:49:46 +0000 (10:49 -0700)] 
curl_7.54.1.bb: improve reproducibility

Improve reproducible build of curl-dev and curl-dbg packages.

curl-dev: Correctly remove build host references from curl-config
curl-dbg: Do not generate time stamps in files generated by mkhelp.pl

(From OE-Core rev: 6bc323ac9315712e75a0282cddb292bc84afc6f1)

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agosystemd: remove useless options for mips4
Chen Qi [Fri, 27 Oct 2017 09:43:50 +0000 (17:43 +0800)] 
systemd: remove useless options for mips4

Looking back the history, we had problem with systemd on qemumips64
which is also related to compilation flags. We solved that by using
tweaking FULL_OPTIMIZATION for mips64 to have "-fno-tree-switch-conversion
-fno-tree-tail-merge".

Now systemd has been upgraded to 234, and we don't have the above problem
any more, thus removing these flags.

(From OE-Core rev: 713761d23df24ad1b52e08bd2d2dc688393bef5b)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agomusl: Update to latest
Khem Raj [Sat, 14 Oct 2017 15:48:54 +0000 (08:48 -0700)] 
musl: Update to latest

* fix use of memset without declaration in sched.h cpu set macros
* powerpc{64}: fix MAP_NORESERVE and MAP_LOCKED in mman.h

(From OE-Core rev: 3953c54c30473450d4baf511772276e5e8e09919)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agorpm: remove --sysroot from macros on target
Joe Slater [Fri, 13 Oct 2017 22:40:25 +0000 (15:40 -0700)] 
rpm: remove --sysroot from macros on target

We do not want to specify --sysroot when defining __cc
used on a target.

(From OE-Core rev: 0ff69fc42b0ac2e7e865943e7febd87093da69d3)

Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolibsolv: fix a kernel-devsrc installation issue
Ming Liu [Mon, 2 Oct 2017 05:25:42 +0000 (07:25 +0200)] 
libsolv: fix a kernel-devsrc installation issue

We encountered a problem when installing kernel-devsrc package on a
intel-x86 target, as follows:
$ dnf install kernel-devsrc
| Installing : kernel-devsrc-1.0-r0.0.intel_corei7_64 1/1
| failed loading RPMDB
| The downloaded packages were saved in cache until the next successful transaction.
| You can remove cached packages by executing 'dnf clean packages'.

It can be fixed by increasing MAX_HDR_CNT and MAX_HDR_DSIZE in libsolv
per test.

(From OE-Core rev: 24fdebbbfdeadcf3d152a0adf3058c714b193a8f)

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoexpect: Fix segfaults when Expect clib is used directly from C program
Li Zhou [Fri, 29 Sep 2017 02:00:21 +0000 (10:00 +0800)] 
expect: Fix segfaults when Expect clib is used directly from C program

Fix segfaults if Tcl is built with stubs and Expect clib function is used
directly from C program.

(From OE-Core rev: 44af4f20bfb1fe853ed0b5dfc76bdd2900f47cb0)

Signed-off-by: Li Zhou <li.zhou@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agobind: move libraries to own package
andreas.kling@peiker-cee.de [Mon, 25 Sep 2017 09:01:30 +0000 (11:01 +0200)] 
bind: move libraries to own package

(From OE-Core rev: d74ebc91388941295a2321a295cdb06ee87fc38b)

Signed-off-by: Andy Kling <andreas.kling@peiker-cee.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agogrub_2.02.bb: improve reproducibility
Juro Bystricky [Mon, 25 Sep 2017 23:36:08 +0000 (16:36 -0700)] 
grub_2.02.bb: improve reproducibility

Remove several build host references from modinfo.sh files.

(From OE-Core rev: 391ceb68ba0be36009893bc9ab8a937a985052a9)

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoffmpeg: upgrade to 3.3.4
Chen Qi [Sat, 30 Sep 2017 03:21:01 +0000 (11:21 +0800)] 
ffmpeg: upgrade to 3.3.4

Upgrade ffmpeg to version 3.3.4. Version 3.3.4 is a bug fix version, and
there's no new feature added.

Compared to version 3.3.3, there are 57 new commits. These 57 commits are
either bug fix or small tweaks.

(From OE-Core rev: 22d1ec2aa77e289813e0f3b516abdc8cdbc512d9)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agopython: add PACKAGECONFIG for Berkeley DB module
Ross Burton [Wed, 1 Nov 2017 00:28:34 +0000 (00:28 +0000)] 
python: add PACKAGECONFIG for Berkeley DB module

The bsddb module is deprecated and requires an old version of Berkeley DB that
some may be unhappy with even shipping, so expose a way to disable the module.

(From OE-Core rev: 701250dae6c5d3f464bf6d7c46c19d59d1c00bec)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agodb: change types to avoid headers changing between architectures
Ross Burton [Wed, 1 Nov 2017 13:52:19 +0000 (13:52 +0000)] 
db: change types to avoid headers changing between architectures

Triggered by looking at why Python doesn't find db.h (because it greps db.h for
a regex, and db.h is actually a oe_multilib_header wrapper) I realised that the
only reason we have to oe_multilib_header db.h is because one typedef is
different between 32-bit and 64-bit architectures.

However, the typedef is for a 64-bit integer so instead of using long (64-bit)
or long long (32-bit), just use int64_t.  Some of the overly complicated
configure tests need to be deleted after this change but that is safe as we're
building in a controlled environment and can assume int64_t exists.

With this done the header doesn't change between architectures, and it doesn't
need to be wrapped by oe_multilib_header.

(From OE-Core rev: 60aa20b8b691e5a72a6a11bf795b86c6359db886)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolibxml2: 2.9.5 -> 2.9.7
Andrej Valek [Mon, 6 Nov 2017 07:29:57 +0000 (08:29 +0100)] 
libxml2: 2.9.5 -> 2.9.7

(From OE-Core rev: 090eeccce74554bd4282b6a0407963037bc761a9)

Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agobash-completion: remove rfkill file that util-linux provides
Chen Qi [Mon, 6 Nov 2017 06:10:17 +0000 (14:10 +0800)] 
bash-completion: remove rfkill file that util-linux provides

Remove the rfkill bash completion file that util-linux provides
to avoid conflicts.

(From OE-Core rev: db5f9b8b5f51e8c0b6fc99dfdbac8b11f272d602)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoutil-linux: upgrade to 2.31
Chen Qi [Mon, 6 Nov 2017 06:10:16 +0000 (14:10 +0800)] 
util-linux: upgrade to 2.31

The utility 'reset' is removed in this new version.
A new utility 'rfkill' is added in this new version.

Recipe is modified to remove reset and add rfkill according to the
above changes in new version.

(From OE-Core rev: 4cae425facdfbc0853187702e44faca4e328ebfe)

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