]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
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.

Signed-off-by: Ross Burton <ross.burton@intel.com>
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.

Signed-off-by: Ross Burton <ross.burton@intel.com>
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.

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.

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.

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

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
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

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
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

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
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.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
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

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
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

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
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

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
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

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
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

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
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.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
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.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
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

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

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
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

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
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.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
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

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
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

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
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

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
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

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
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

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
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

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
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

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
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

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
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.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
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.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
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

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
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

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
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.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
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.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
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

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
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

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
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

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
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.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
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.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
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

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
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

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
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.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
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.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
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

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
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.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
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.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
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.

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.

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.

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.

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.

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.

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.

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.

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.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
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

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
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.

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
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.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
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]

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
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.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
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.

Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
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.

Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
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.

Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
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.

Signed-off-by: Martin Kelly <mkelly@xevo.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
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

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

Signed-off-by: Dengke Du <dengke.du@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
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

Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
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]

Signed-off-by: Amanda Brindle <amanda.r.brindle@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
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

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
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.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
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

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
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.

Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
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.

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
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.

Signed-off-by: Li Zhou <li.zhou@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
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

Signed-off-by: Andy Kling <andreas.kling@peiker-cee.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
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.

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
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.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
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.

Signed-off-by: Ross Burton <ross.burton@intel.com>
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.

Signed-off-by: Ross Burton <ross.burton@intel.com>
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

Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
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.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
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.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agosshcontrol.py: in copy_to() always use scp
Erik Botö [Mon, 6 Nov 2017 18:13:06 +0000 (10:13 -0800)]
sshcontrol.py: in copy_to() always use scp

The current implementation is broken when the localpath is a link.
Then only a symlink would be created on the target, instead of copying
the actual file.

[YOCTO #11524]

Signed-off-by: Erik Botö <erik.boto@pelagicore.com>
Signed-off-by: Stephano Cetola <stephano.cetola@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agomasterimage.py: rename parameter "params" in start() to "extra_bootparams"
Erik Botö [Mon, 6 Nov 2017 18:13:05 +0000 (10:13 -0800)]
masterimage.py: rename parameter "params" in start() to "extra_bootparams"

This matches how it is called, and how it is named in qmeu target.

[YOCTO #11524]

Signed-off-by: Erik Botö <erik.boto@pelagicore.com>
Signed-off-by: Stephano Cetola <stephano.cetola@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agomasterimage.py: fix stop()
Erik Botö [Mon, 6 Nov 2017 18:13:04 +0000 (10:13 -0800)]
masterimage.py: fix stop()

The stop() function is called in the context of the masterimage,
so self.master should be used instead of self.connection which is
undefined at that time.

[YOCTO #11524]

Signed-off-by: Erik Botö <erik.boto@pelagicore.com>
Signed-off-by: Stephano Cetola <stephano.cetola@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agomasterimage.py: fix issue with calling reboot on masterimage/DUT
Erik Botö [Mon, 6 Nov 2017 18:13:03 +0000 (10:13 -0800)]
masterimage.py: fix issue with calling reboot on masterimage/DUT

On systemd systems calling reboot over an ssh connection doesn't
return as expected causing an exception, therefore wrap the call
to reboot in order to avoid this issue.

Also sync the filesystems before rebooting cause otherwise, it will be
done as part of the reboot and could take a very long time and testimage
will fail to access the machine. This issue was observed consistently with
one of our rootfs at Pelagicore.

[YOCTO #11524]

Signed-off-by: Erik Botö <erik.boto@pelagicore.com>
Signed-off-by: Stephano Cetola <stephano.cetola@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoselftest/imagefeatures: add basic test for useradd-staticids
Ross Burton [Fri, 29 Sep 2017 16:10:16 +0000 (17:10 +0100)]
selftest/imagefeatures: add basic test for useradd-staticids

Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agolib/oeqa/selftest/cases/gotoolchain: add selftest for the Go toolchain
Joshua Lock [Wed, 4 Oct 2017 16:22:48 +0000 (17:22 +0100)]
lib/oeqa/selftest/cases/gotoolchain: add selftest for the Go toolchain

Add a simple test case to being testing of the Go toolchain:
1) build meta-go-toolchain
2) create a temp directory and install the generated Go toolchain within
3) fetch an archive of the Go Dep tool
4) create an appropriately laid out GOROOT and inflate the dep archive there
5) build the dep command with the SDK's Go toolchain and check it returned
   successfully.

[YOCTO #12152]

Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agooeqa/core/loader: Make _built_modules_dict() support packages correctly
Peter Kjellerstedt [Fri, 29 Sep 2017 16:06:11 +0000 (18:06 +0200)]
oeqa/core/loader: Make _built_modules_dict() support packages correctly

For test modules in a package, e.g., oelib.license, running
`oe-selftest -r oelib.license` or `oe-selftest -r
oelib.license.TestSimpleCombinations` would fail with a message that
the specified test cases could not be found. This was due to the
parsing in _built_modules_dict(), which failed to distinguish between
<package>.<module>.<class> and <module>.<class>.<testcase> and treated
both cases as the latter.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agooeqa/selftest/runtime_test: use console in postinst_rootfs_and_boot
Ross Burton [Mon, 6 Nov 2017 17:54:48 +0000 (17:54 +0000)]
oeqa/selftest/runtime_test: use console in postinst_rootfs_and_boot

Use a console login not SSH for simplicity.

Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoimage.bbclass: let do_image depend on do_populate_lic of EXTRA_IMAGEDEPENDS
Ming Liu [Tue, 26 Sep 2017 12:31:16 +0000 (14:31 +0200)]
image.bbclass: let do_image depend on do_populate_lic of EXTRA_IMAGEDEPENDS

The licenses of EXTRA_IMAGEDEPENDS recipes are being referenced in
image postcommand write_deploy_manifest, but a dependency is missing
between do_image and do_populate_lic of EXTRA_IMAGEDEPENDS recipes,
this leads some license files not present when write_deploy_manifest
runs, hence will cause build errors.

Fixed by letting do_image depend on do_populate_lic of
EXTRA_IMAGEDEPENDS recipes.

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoexternalsrc: fix ExpansionError if the source dir does not exist yet
Luca Ceresoli [Fri, 29 Sep 2017 08:39:24 +0000 (10:39 +0200)]
externalsrc: fix ExpansionError if the source dir does not exist yet

The externalsrc class code assumes that the source directory
(EXTERNALSRC) exists before bitbake is called. Otherwise do_configure
will fail obviously since externalsrc does not fetch anything.

Commit 3ca6085729d9 ("externalsrc: Handle .git not being a directory")
changed this behaviour. Now on a missing EXTERNALSRC directory we get
a bb.data_smart.ExpansionError during _parsing_, way before
do_configure can be run.

This new behaviour creates two problems:

 * First, there error message is very cryptic (and it's hard to
   provide a better message since no task is ever run):

     ERROR: ExpansionError during parsing /<...>/<...>.bb
     Traceback (most recent call last):
     bb.data_smart.ExpansionError: Failure expanding variable do_compile[file-checksums], expression was ${@srctree_hash_files(d)} which triggered exception FileNotFoundError: [Errno 2] No such file or directory: '<...>'

 * Second, this prevents creating a class based on externalsrc that
   automatically fetches the code in EXTERNALSRC before do_compile
   runs.

Fix both problems by simply calling git with '-C ${EXTERNALSRC}'
instead of calling git inside the non-existing directory. This changes
from a bb.data_smart.ExpansionError to a
subprocess.CalledProcessError, which is in line with what's actually
going on: git is telling us it can't find the git dir.

Also remove a comment that does not apply anymore.

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Cc: Joshua Watt <jpewhacker@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoimage.bbclass: Fix 'vardepsexclude' mechanism for image_cmd_${FSTYPE}
Igor Romanov [Thu, 28 Sep 2017 18:08:31 +0000 (21:08 +0300)]
image.bbclass: Fix 'vardepsexclude' mechanism for image_cmd_${FSTYPE}

Current mechanism doesn't allow to use any non-determenistic variable, except 'DATE' and 'DATETIME', inside IMAGE_CMD_${FSTYPE} prototype.

Passing 'vardepsexclude' values from IMAGE_CMD_${FSTYPE}, so users will be able to avoid taskhash mismatch problems.

Signed-off-by: Igor Romanov <i.romanov@inango-systems.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agobase.bbclass: use d instead on e.data
Leonardo Sandoval [Wed, 5 Jul 2017 16:02:11 +0000 (09:02 -0700)]
base.bbclass: use d instead on e.data

According to the bitbake documentation, the "d" global datastore should be
used instead of "e.data" because the latter is deprecated.

Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agouseradd-staticids: explain how to fix the the problem
Patrick Ohly [Thu, 19 Oct 2017 07:13:26 +0000 (09:13 +0200)]
useradd-staticids: explain how to fix the the problem

When a distro uses useradd-staticids.bbclass and some developer
unfamiliar with the static ID mechanism tries to add a recipe which
needs new IDs, the resulting error or warning is typically not
something that the developer will understand.

Even experienced developers do not get enough information. They first
must find out whether the missing ID is for a system user or group,
then locate the file(s) in which the ID could be added. Both of this
is now part of the message:

ERROR: .../meta/recipes-extended/cronie/cronie_1.5.1.bb: cronie -
cronie: system groupname crontab does not have a static ID defined.
Add crontab to one of these files: /.../conf/distro/include/my-distro-group

The case that no file was found is also handled:

ERROR: .../meta/recipes-extended/cronie/cronie_1.5.1.bb: cronie -
cronie: system groupname crontab does not have a static ID defined.
USERADD_GID_TABLES file(s) not found in BBPATH: files/group

It would be nice if the error message could also list the range in
which a new ID needs to be allocated, but /etc/login.defs isn't
available at the time of creating the message, so that part is still
something that a developer needs to know.

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agouseradd-staticids: skip recipes without static IDs
Patrick Ohly [Tue, 26 Sep 2017 07:29:47 +0000 (09:29 +0200)]
useradd-staticids: skip recipes without static IDs

When enabling useradd-staticids.bbclass, one has to define static IDs
for all recipes in a world build, otherwise those without static IDs
generate parse errors or warnings, depending on USERADD_ERROR_DYNAMIC.

Defining unused IDs is a lot of work and clutters the passwd/group
file of a distro.

Distros which want to avoid this can now set USERADD_ERROR_DYNAMIC =
"skip" and recipes which would have triggered a message then silently
get disabled. Only trying to build them shows the error message:

$ bitbake apt
...
ERROR: Nothing PROVIDES 'apt'
ERROR: apt was skipped: apt - apt: username _apt does not have a static ID defined.

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agofeature-arm-vfp.inc: drop unnecessary extra space from TUNE_CCARGS
Andre McCurdy [Mon, 16 Oct 2017 17:37:34 +0000 (10:37 -0700)]
feature-arm-vfp.inc: drop unnecessary extra space from TUNE_CCARGS

The trailing space added to TUNE_CCARGS when appending -mfpu=XXX is
unnecessary and leads to a double space in the final value.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agomaintainers.inc: update maintainership
Yi Zhao [Tue, 7 Nov 2017 06:12:05 +0000 (14:12 +0800)]
maintainers.inc: update maintainership

Reassign Dengke's recipes to Yi Zhao.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agolib/oe/terminal.py: use an absolute path to execute oe-gnome-terminal-phonehome
Ming Liu [Fri, 13 Oct 2017 11:26:16 +0000 (13:26 +0200)]
lib/oe/terminal.py: use an absolute path to execute oe-gnome-terminal-phonehome

A flaw was found on my Ubuntu 14.04.5 LTS, on which that gnome-terminal is
the default terminal, when I run any of the tasks:
bitbake busybox -c menuconfig/devshell/devpyshell
bitbake virtual/kernel -c menuconfig/devshell/devpyshell

I got a error as follows:
"Failed to execute child process "oe-gnome-terminal-phonehome" (No such file or directory)"

Seems the environment of the process calling Popen is not passed to the
child process, this behaviour is a known issue in Python bug tracker:
http://bugs.python.org/issue8557

It could be fixed by using an absolute path instead per test.

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agooeqa/selftest/runtime_test: fix postinst_rootfs_and_boot
Ross Burton [Mon, 6 Nov 2017 17:54:48 +0000 (17:54 +0000)]
oeqa/selftest/runtime_test: fix postinst_rootfs_and_boot

This test overrides IMAGE_FEATURES but failed to include package-management,
which is essential for postinsts to work under dpkg.

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