]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
5 years agoperl: improve reproducibility
Ross Burton [Fri, 10 Jan 2020 17:24:21 +0000 (17:24 +0000)]
perl: improve reproducibility

Occasionally the reproducibility selftest fails because perl-pod differs,
specifically that the perltoc.pod file was sometimes missing modules.

Debugging revealed that there are missing dependencies so there is a build race:
building perltoc.pod from an clean build tree results in no modules being listed
at all.

A bug has been filed at https://github.com/arsv/perl-cross/issues/86 to solve
this properly, but for now we can just delete perltoc.pod after make has
finished and re-generate it.

[ YOCTO #13726 ]

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agorunqemu: Add network bridge support
Joshua Watt [Wed, 8 Jan 2020 19:48:07 +0000 (13:48 -0600)]
runqemu: Add network bridge support

Qemu supports attaching the virtual machine to an existing network
bridge interface via the qemu-bridge-helper program (as long as the
system is correctly configured to give the user permissions). Add
support for runqemu to do this also via the "bridge=<INTERFACE>"
argument. Note that for this to work correctly, the host
qemu-bridge-helper must be used, not the one that might have been built
by qemu-native. In order for qemu to correctly find this program, a
qemu-oe-bridge-helper program has been added to qemu-helper-native, and
runqemu will use this helper as the bridge helper. The helper will look
for the host qemu-bridge-helper first by looking in the
QEMU_BRIDGE_HELPER environment variable, then by search common paths
where the helper is installed.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agocups: fix crossscripts
Diego Rondini [Wed, 8 Jan 2020 16:48:55 +0000 (17:48 +0100)]
cups: fix crossscripts

Fix crossscripts to report the correct "serverbin" value.
While the packaged "cups-config --serverbin" reported
"/usr/libexec/cups" the crossscripts version reported
"/usr/lib/cups", causing packaging issues when building for example
cups-filters.
Also fix FILES_${PN} to use ${libexecdir}; previously it was working
just because "${libexecdir}/*" was part of the default values in
bitbake.conf.

Signed-off-by: Diego Rondini <diego.rondini@kynetics.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoopensbi: Use -ffreestanding compiler options
Khem Raj [Wed, 8 Jan 2020 16:42:54 +0000 (08:42 -0800)]
opensbi: Use -ffreestanding compiler options

This usually helps compiler to not use built-in optimizations
for string functions and mem* functions unnecessarily, since OE's
compiler is hosted for linux cross compile, this also means we instruct
it rightly for building a baremetal application

Refresh the patches to apply without fuzz
Fixes linking errors e.g.

platform/qemu/virt/lib/libplatsbi.a(sbi_string.o): in function `sbi_memset':
| /mnt/b/yoe/build/tmp/work/riscv64-yoe-linux/opensbi/0.5-r0/git/lib/sbi/sbi_string.c:102: undefined reference to `memset'
| collect2: error: ld returned 1 exit status

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoRevert "tclibc-musl: Add -D__USE_TIME_BITS64 to c/c++ flags"
Khem Raj [Tue, 7 Jan 2020 16:46:39 +0000 (08:46 -0800)]
Revert "tclibc-musl: Add -D__USE_TIME_BITS64 to c/c++ flags"

This reverts commit 194bd4136459e7a38510830b2fb0938d892ece45.

 __USE_TIME_BITS64 is already added by musl headers internally now [1]

 [1] https://git.musl-libc.org/cgit/musl/commit/include/alltypes.h.in?id=f12bd8e05c8bb2c3e2b91d635887ec424ef8fbd9

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoalsa-plugins: 1.1.9 -> 1.2.1
Tanu Kaskinen [Mon, 6 Jan 2020 09:18:06 +0000 (11:18 +0200)]
alsa-plugins: 1.1.9 -> 1.2.1

Signed-off-by: Tanu Kaskinen <tanuk@iki.fi>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoalsa-utils: 1.1.9 -> 1.2.1
Tanu Kaskinen [Mon, 6 Jan 2020 09:18:05 +0000 (11:18 +0200)]
alsa-utils: 1.1.9 -> 1.2.1

I moved the ALLOW_EMPTY line next to the line that sets FILES to "".
That makes it easier to see that the package is not only allowed to be
empty, but forced to be empty.

Signed-off-by: Tanu Kaskinen <tanuk@iki.fi>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoalsa-topology-conf: new recipe, version 1.2.1
Tanu Kaskinen [Mon, 6 Jan 2020 09:18:04 +0000 (11:18 +0200)]
alsa-topology-conf: new recipe, version 1.2.1

The topology configuration files were moved from the alsa-lib repository
to a new alsa-topology-conf repository. The move was accompanied by
a license change from LGPL2.1 to BSD-3-Clause.

Signed-off-by: Tanu Kaskinen <tanuk@iki.fi>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoalsa-ucm-conf: new recipe, version 1.2.1.2
Tanu Kaskinen [Mon, 6 Jan 2020 09:18:03 +0000 (11:18 +0200)]
alsa-ucm-conf: new recipe, version 1.2.1.2

The UCM configuration files were moved from the alsa-lib repository to a
new alsa-ucm-conf repository. The move was accompanied by a license
change from LGPL2.1 to BSD-3-Clause.

Signed-off-by: Tanu Kaskinen <tanuk@iki.fi>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoalsa-lib: 1.1.9 -> 1.2.1.2
Tanu Kaskinen [Mon, 6 Jan 2020 09:18:02 +0000 (11:18 +0200)]
alsa-lib: 1.1.9 -> 1.2.1.2

Changelogs:
https://alsa-project.org/wiki/Changes_v1.1.9_v1.2.1
https://alsa-project.org/wiki/Changes_v1.2.1_v1.2.1.1
https://alsa-project.org/wiki/Changes_v1.2.1.1_v1.2.1.2

This upgrade brings support for the new "UCM2" configuration format.
Another big change is that the UCM and topology configuration files were
moved to separate repositories, so those are removed from alsa-lib and
will need to be packaged separately.

The topology API was moved from libasound to a separate libatopology
library. This seems like a recipe for regressions for applications that
used to use libasound for the topology stuff, but I don't think there
are many applications in existence that use the topology API. I hope the
upstream knows what they are doing.

Patches added:

0001-configure.ac-remove-an-unnecessary-libtool-fix.patch
This fixes a failure during configure.

0001-ucm-Use-strncmp-to-avoid-access-out-of-boundary.patch
0002-ucm-return-always-at-least-NULL-if-no-list-is-availa.patch
Backports. I don't know if these are regression fixes, but since the UCM
code was heavily worked on in this upgrade, it seems likely that these
patches fix regressions.

0003-namehint-correct-the-args-check.patch
0004-namehint-improve-the-previous-patch-check-the-return.patch
Backports. A change in alsa-plugins caused a regression in the pulse
plugin, but that was actually due to a bug in alsa-lib, which is fixed
by these patches.

0005-ucm-Do-not-fail-to-parse-configs-on-cards-with-an-em.patch
Backport. Fixes a regression with some Intel hardware.

0001-Fix-alsa-sound-.h-for-external-programs.patch
0001-uapi-Move-typedefs-from-uapi-to-sound.patch
Backports. These fix build failures in alsa-tools.

I removed alsa-doc from PACKAGES, because no files were assigned to it.

Signed-off-by: Tanu Kaskinen <tanuk@iki.fi>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoovmf: update to 201911
Alexander Kanavin [Wed, 18 Dec 2019 17:30:22 +0000 (18:30 +0100)]
ovmf: update to 201911

Remove unused patch.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
5 years agopopulate_sdk_ext.bbclass: No longer needed to clean away conf/sanity_info
Peter Kjellerstedt [Tue, 7 Jan 2020 22:10:43 +0000 (23:10 +0100)]
populate_sdk_ext.bbclass: No longer needed to clean away conf/sanity_info

Since the sanity_info file has moved from the conf directory to the
cache directory, there is no longer any need to clean it away
explicitly in clean_esdk_builddir() since the whole cache directory is
already cleaned away anyway.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agosanity.bbclass: Move sanity_info from conf to cache
Peter Kjellerstedt [Tue, 7 Jan 2020 22:10:42 +0000 (23:10 +0100)]
sanity.bbclass: Move sanity_info from conf to cache

Since this file is written during recipe parsing, having it in the
${BUILDDIR}/conf directory, which is covered by an inotify watcher,
will trigger a re-parse the next time bitbake is run and the resident
bitbake server is enabled. This causes the sanity_info file to be
updated again, which triggers a new parse the next time bitbake is run
ad infinitum. Moving it to ${BUILDDIR}/cache should avoid this.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agozip: Add patch fixing zipnote segfault
Jate Sujjavanich [Tue, 7 Jan 2020 03:36:10 +0000 (22:36 -0500)]
zip: Add patch fixing zipnote segfault

This patch has been applied in several Linux distributions

Signed-off-by: Jate Sujjavanich <jatedev@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agospeexdsp: 1.2rc3 -> 1.2.0
Tanu Kaskinen [Tue, 7 Jan 2020 07:20:14 +0000 (09:20 +0200)]
speexdsp: 1.2rc3 -> 1.2.0

Removed backported patch
0001-Don-t-rely-on-HAVE_STDINT_H-et-al.-being-defined.patch

Enabling NEON on aarch64 doesn't break the build any more.

Signed-off-by: Tanu Kaskinen <tanuk@iki.fi>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoenchant: Replace with enchant2 from meta-oe
Adrian Bunk [Tue, 7 Jan 2020 11:26:15 +0000 (13:26 +0200)]
enchant: Replace with enchant2 from meta-oe

webkitgtk does now support the new version.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agooeqa: archiver: Tidy up test case descriptions
Paul Barker [Tue, 7 Jan 2020 11:27:34 +0000 (11:27 +0000)]
oeqa: archiver: Tidy up test case descriptions

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoarchiver.bbclass: Add new mirror archiver mode
Paul Barker [Tue, 7 Jan 2020 11:27:33 +0000 (11:27 +0000)]
archiver.bbclass: Add new mirror archiver mode

We define a new method of populating a source mirror using the archiver
bbclass instead of simply copying the contents of the downloads
directory. This allows the archiver features such as copyleft license
filtering and recipe type filtering to be used when preparing a source
mirror.

This new archiver mode is selected by setting `ARCHIVE_MODE[src]` to
'mirror'.

The source mirror mode can either be 'split' (default) or 'combined',
controlled by `ARCHIVER_MODE[mirror]`. Additionally, sources can be
excluded as needed by setting `ARCHIVER_MIRROR_EXCLUDE` to a list of
URI prefixes. These options are described in more detail in the new
entries in the header of archiver.bbclass.

New oeqa selftest cases are added to cover the mirror archiver mode.

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoopenssh: Allow clock_nanosleep/clock_gettime64/clock_nanosleep_time64 syscall
Khem Raj [Wed, 8 Jan 2020 01:51:57 +0000 (17:51 -0800)]
openssh: Allow clock_nanosleep/clock_gettime64/clock_nanosleep_time64 syscall

Fixes connection denials with these syscalls being there on upcoming glibc 2.31 release

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agomaintainers.inc: cleanup entries
Yi Zhao [Wed, 8 Jan 2020 06:51:17 +0000 (14:51 +0800)]
maintainers.inc: cleanup entries

Cleanup the following entries because these recipes have been removed
from oe-core:
  cve-check-tool
  gcc-cross-initial
  gcc-crosssdk-initial
  gcc-source-8.3.0
  gccmakedep
  gnome-themes-standard
  gtk+
  gtk-icon-utils-native
  libnewt-python
  mkfontdir
  python3-file-utils

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agowic: Add --include-path argument
Paul Barker [Wed, 8 Jan 2020 11:25:46 +0000 (11:25 +0000)]
wic: Add --include-path argument

This option adds the contents of the given path to a partition built
with the rootfs source plugin. The path is relative to the directory in
which wic is running not the rootfs itself so use of an absolute path
is recommended. This option is most useful when multiple copies of the
rootfs are added to an image and it is required to add extra content to
only one of these copies. This option only has an effect with the
rootfs source plugin.

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agowic: Preserve intermediate files
Paul Barker [Wed, 8 Jan 2020 11:25:45 +0000 (11:25 +0000)]
wic: Preserve intermediate files

When debugging issues or trying to add new features in wic it's useful
to examine the intermediate files created by the tool such as images of
the individual partitions. Previously these files were created in a
subdirectory of IMGDEPLOYDIR and, deleted by wic itself and then the
working subdirectory completely removed at the end of IMAGE_CMD_wic.
Instead we should work in a staging directory named build-wic and leave
behind intermediate files for analysis if necessary.

This has the added benefit of allowing individual partition images to
be preserved by adding commands to IMAGE_CMD_wic_append() in an image
recipe if needed. This is useful where an update system requires exact
sized and pre-formatted partition images for deployment.

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agooe-pkgdata-browser: Make the window 1200x900 by default
Peter Kjellerstedt [Wed, 8 Jan 2020 03:44:55 +0000 (04:44 +0100)]
oe-pkgdata-browser: Make the window 1200x900 by default

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agooe-pkgdata-browser: Select a matching package when a recipe is selected
Peter Kjellerstedt [Wed, 8 Jan 2020 03:44:54 +0000 (04:44 +0100)]
oe-pkgdata-browser: Select a matching package when a recipe is selected

When a recipe is selected, automatically select the package that
matches the recipe name (if it exists), otherwise select the first
package.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agooe-pkgdata-browser: Avoid an extra space for dependencies without version
Peter Kjellerstedt [Wed, 8 Jan 2020 03:44:53 +0000 (04:44 +0100)]
oe-pkgdata-browser: Avoid an extra space for dependencies without version

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agooe-pkgdata-browser: Show file sizes in a human readable format
Peter Kjellerstedt [Wed, 8 Jan 2020 03:44:52 +0000 (04:44 +0100)]
oe-pkgdata-browser: Show file sizes in a human readable format

Just like the package sizes already are shown.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agooe-pkgdata-browser: Correct the prefix for kilo to "k"
Peter Kjellerstedt [Wed, 8 Jan 2020 03:44:51 +0000 (04:44 +0100)]
oe-pkgdata-browser: Correct the prefix for kilo to "k"

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agooe-pkgdata-browser: Clean the package view properly
Peter Kjellerstedt [Wed, 8 Jan 2020 03:44:50 +0000 (04:44 +0100)]
oe-pkgdata-browser: Clean the package view properly

Not all widgets were hidden when no package was selected.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agooe-pkgdata-browser: Rename from pkgdataui.py
Peter Kjellerstedt [Wed, 8 Jan 2020 03:44:49 +0000 (04:44 +0100)]
oe-pkgdata-browser: Rename from pkgdataui.py

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibmodule-build-perl: fix ptests
Alexander Kanavin [Wed, 8 Jan 2020 13:27:59 +0000 (14:27 +0100)]
libmodule-build-perl: fix ptests

Particularly remove a broken detection of skipped tests
(which was marking tests that actually passed), and install
additional artefacts needed for testing.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoperl: install typemap and other extutils metadata as part of perl-core
Alexander Kanavin [Wed, 8 Jan 2020 13:27:58 +0000 (14:27 +0100)]
perl: install typemap and other extutils metadata as part of perl-core

Modules actually make use of these files, so they belong in perl-core
other than perl-doc (the immediate failure was ptests for
libmodule-build-perl failing).

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoperl: package Config.pm from arch directory into the main perl package
Alexander Kanavin [Wed, 8 Jan 2020 13:27:57 +0000 (14:27 +0100)]
perl: package Config.pm from arch directory into the main perl package

Otherwise, some modules such as libmodule-build-perl fail to work
properly.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agokbd: fix failing ptests
Alexander Kanavin [Wed, 8 Jan 2020 13:27:56 +0000 (14:27 +0100)]
kbd: fix failing ptests

Some assumptions about where data files are needs to be adjusted.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agogawk: fix failing ptests
Alexander Kanavin [Wed, 8 Jan 2020 13:27:55 +0000 (14:27 +0100)]
gawk: fix failing ptests

They were failing due to incorrect locale being used.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agogettext: additional ptest fixing
Alexander Kanavin [Wed, 8 Jan 2020 13:27:54 +0000 (14:27 +0100)]
gettext: additional ptest fixing

In previous testing some tests were skipped due to missing autotools;
when autotools are present on target, additional failures are exposed.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agogzip: do not pull in perl-ptest for gzip-ptest
Alexander Kanavin [Wed, 8 Jan 2020 13:27:53 +0000 (14:27 +0100)]
gzip: do not pull in perl-ptest for gzip-ptest

This significantly adds to the ptest execution time and isn't
needed, as all tests pass anyway.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoptest-packagelists.inc: add a couple of missed ptests
Alexander Kanavin [Wed, 8 Jan 2020 13:27:52 +0000 (14:27 +0100)]
ptest-packagelists.inc: add a couple of missed ptests

Also remove mdadm-ptest as it is already included in the slow list.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoptest: report ptests that couldn't be run at all
Alexander Kanavin [Wed, 8 Jan 2020 13:27:51 +0000 (14:27 +0100)]
ptest: report ptests that couldn't be run at all

Currently if a ptest does not produce PASS or FAIL, but simply
errors out, this is not caught or reported; I think some ptests
may have silently regressed due to this.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agostaging.bbclass: correctly exclude ptest directories
Alexander Kanavin [Wed, 8 Jan 2020 13:27:50 +0000 (14:27 +0100)]
staging.bbclass: correctly exclude ptest directories

They were not excluded when multilib variants were being built.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agodummy-sdk-package.inc: do multilib expanesion for RREPLACES as well
Alexander Kanavin [Wed, 8 Jan 2020 13:27:49 +0000 (14:27 +0100)]
dummy-sdk-package.inc: do multilib expanesion for RREPLACES as well

Otherwise, multilib packages such as lib64-perl aren't properly replaced:
Error:
 Problem: package target-sdk-provides-dummy-1.0-r0.sdk_provides_dummy_target conflicts with lib64-perl provided by lib64-perl-5.30.1-r0.x86_64
  - package target-sdk-provides-dummy-1.0-r0.sdk_provides_dummy_target conflicts with lib64-perl-module-strict provided by lib64-perl-5.30.1-r0.x86_64
  - package target-sdk-provides-dummy-1.0-r0.sdk_provides_dummy_target conflicts with lib64-perl-module-warnings provided by lib64-perl-5.30.1-r0.x86_64
  - package target-sdk-provides-dummy-1.0-r0.sdk_provides_dummy_target conflicts with lib64-perl-module-vars provided by lib64-perl-5.30.1-r0.x86_64

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolib/oe/package_manager.py: put the sdk_provides_dummy_target upfront
Alexander Kanavin [Wed, 8 Jan 2020 13:27:48 +0000 (14:27 +0100)]
lib/oe/package_manager.py: put the sdk_provides_dummy_target upfront

Otherwise, the package utilizing this architecure does not get
properly prioritized by rpm/dnf. This isn't seen single-lib builds
(as the architecture ends up upfront anyway), but is triggered in
multulib where the architecture may end up in the middle of the list
due to multilib expansion/trimming duplicates.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agosystemtap: remove the unneeded patch
Alexander Kanavin [Wed, 8 Jan 2020 13:27:47 +0000 (14:27 +0100)]
systemtap: remove the unneeded patch

As the problem is now fixed with a backported patch to
gettext itself, the patch is no longer needed.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agovirglrenderer: update to 0.8.1
Alexander Kanavin [Wed, 8 Jan 2020 13:27:46 +0000 (14:27 +0100)]
virglrenderer: update to 0.8.1

Switch over to meson build system, add a patch
to avoid target python3 dependency.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoresolvconf: update to 1.82
Alexander Kanavin [Wed, 8 Jan 2020 13:27:41 +0000 (14:27 +0100)]
resolvconf: update to 1.82

Switch to git, as using debian snapshots makes automated upgrades impossible.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agou-boot-fw-utils: Drop as replaced
Richard Purdie [Fri, 3 Jan 2020 14:55:12 +0000 (14:55 +0000)]
u-boot-fw-utils: Drop as replaced

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibubootenv: Add libubootenv which replaces u-boot-fw-utils
Stefano Babic [Fri, 3 Jan 2020 12:33:22 +0000 (13:33 +0100)]
libubootenv: Add libubootenv which replaces u-boot-fw-utils

libubootenv is a replacement for u-boot-fw-utils. It is
hardware-independent and provides fw_printenv and fw_setenv tools that
are full compatible with the ones provided by U-Boot. A library is
provided to access the environment from an own application.
License is LGPL-2.1 and this allow to link the library to proprietary
code. The user of the tools should install the configuration file
"fw_env.config", as he is already used to with u-boot-fw-utils. The
configuration file is compatible with u-boot-fw-utils.
A full discussion about issues on current u-boot-fw-utils can be read on
U-Boot's ML at:

http://u-boot.10912.n7.nabble.com/SWUpdate-U-Boot-environment-library-dependency-tt340530.html#none

Signed-off-by: Stefano Babic <sbabic@denx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agorunqemu: add virtio block device
Maxim Uvarov [Sat, 4 Jan 2020 20:08:57 +0000 (23:08 +0300)]
runqemu: add virtio block device

Implement new QB_DRIVE_TYPE="/dev/vdb" which falls back
to virtio block device emulated by qemu.
That is needed to support following qemu command line:
-drive id=disk0,file=%s,if=none,format=%s \
  -device virtio-blk-device,drive=disk0'

Real use case is arm64 emulation with qemu with atf+optee+uboot,
so that uboot driver sees this disk and able to load from it.

Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoglib: set missing cross property
Ross Burton [Mon, 6 Jan 2020 12:47:26 +0000 (12:47 +0000)]
glib: set missing cross property

GLib 2.60 onwards checks for /proc/self/cmdline instead of assuming that
it exists on Linux (because Cygwin also has it).  As this is a runtime
test it doesn't execute in cross builds so defaults to false, but under
Linux this should be true.

Restore the previous behaviour and silence the warning by setting the
cross property appropriately.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agosstate: Avoid races over rewritten siginfo files
Richard Purdie [Mon, 6 Jan 2020 10:08:46 +0000 (10:08 +0000)]
sstate: Avoid races over rewritten siginfo files

Try and avoid errors like:

Exception: bb.process.ExecutionError: Execution of 'build/tmp/work/x86_64-linux/libxslt-native/1.1.34-r0/temp/run.sstate_unpack_package.12343' failed with exit code 1:
touch: setting times of 'build/sstate_devtool/80/4d/sstate:libxslt-native::1.1.34:r0::3:804d33f3f8d032b01ae92207669dd0a8f95a84917d563d122a77df19e786d73c_populate_lic.tgz.siginfo': Stale file handle
WARNING: exit code 1 from a shell command.

by not overwriting existing files.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoscripts/gen-lockedsig-cache: Only look at new format sstate objects
Richard Purdie [Mon, 6 Jan 2020 13:14:17 +0000 (13:14 +0000)]
scripts/gen-lockedsig-cache: Only look at new format sstate objects

We can have sstate directories which are mixtures of old and new layout entries.
Only use the new format ones since these are the only ones bitbake itself will
look at.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agosstate: Handle sstate filenames longer than 255 characters
Richard Purdie [Sun, 5 Jan 2020 14:49:03 +0000 (14:49 +0000)]
sstate: Handle sstate filenames longer than 255 characters

Many filesystems can't cope with filenames longer that 255 characters.
Add code to detect this and truncate non-essential elements of the filename
to stay within the limit.

[YOCTO #13268]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agosstate: Merge file name generation into single function
Richard Purdie [Sun, 5 Jan 2020 14:48:39 +0000 (14:48 +0000)]
sstate: Merge file name generation into single function

Move the task handling and extension handling into one common filename
construction function.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agosstate: Improve SSTATE_PKG handling
Richard Purdie [Wed, 11 Dec 2019 12:06:54 +0000 (12:06 +0000)]
sstate: Improve SSTATE_PKG handling

Move the task handling code into the SSTATE_PKGNAME variable using a temporary variable.

This makes the code more understandable as as well as allowing the length of the
final sstate filename to be more easily accesses for following patches.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agosstate: Add extra directory level
Richard Purdie [Fri, 3 Jan 2020 18:03:35 +0000 (18:03 +0000)]
sstate: Add extra directory level

We're having speed issues on the autobuilder due to the numbers of files in sstate
directories. We previously split these by the first two characters of the hash.
This change extends this to split by the next two characters as well, creating
more layers of directories.

This should signifiantly speed up eSDK builds on the autobuilder as the current
sstate layout simply isn't scaling there but addresses a general complaint.

gen-lockedsig-cache needed to be updated for the new split level sstate.

Also update tests for new layout.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopopulate_sdk_ext: Fix confusing failure message
Richard Purdie [Mon, 6 Jan 2020 14:45:08 +0000 (14:45 +0000)]
populate_sdk_ext: Fix confusing failure message

This stack trace is horrible and obscurs the real failure message, avoid that.

The stack trace of python calls that resulted in this exception/failure was:
File: 'exec_python_func() autogenerated', lineno: 2, function: <module>
     0001:
 *** 0002:copy_buildsystem(d)
     0003:
File: 'build/meta/classes/populate_sdk_ext.bbclass', lineno: 446, function: copy_buildsystem
     0442:    sdk_ext_type = d.getVar('SDK_EXT_TYPE')
     0443:    if (sdk_ext_type != 'minimal' or sdk_include_toolchain or derivative) and not sdk_include_nativesdk:
     0444:        # Create the filtered task list used to generate the sstate cache shipped with the SDK
     0445:        tasklistfn = d.getVar('WORKDIR') + '/tasklist.txt'
 *** 0446:        create_filtered_tasklist(d, baseoutpath, tasklistfn, conf_initpath)
     0447:    else:
     0448:        tasklistfn = None
     0449:
     0450:    if os.path.exists(builddir + '/cache/bb_unihashes.dat'):
File: 'build/meta/classes/populate_sdk_ext.bbclass', lineno: 182, function: create_filtered_tasklist
     0178:        # Clean out residue of running bitbake, which check_sstate_task_list()
     0179:        # will effectively do
     0180:        clean_esdk_builddir(d, sdkbasepath)
     0181:    finally:
 *** 0182:        os.replace(sdkbasepath + '/conf/local.conf.bak', sdkbasepath + '/conf/local.conf')
     0183:
     0184:python copy_buildsystem () {
     0185:    import re
     0186:    import shutil
Exception: FileNotFoundError: [Errno 2] No such file or directory: 'tmp/work/qemux86-poky-linux/core-image-sato/1.0-r0/sdk-ext/image//opt/poky/3.0/conf/local.conf.bak' -> 'tmp/work/qemux86-poky-linux/core-image-sato/1.0-r0/sdk-ext/image//opt/poky/3.0/conf/local.conf'

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agomusl: Ensure that B is clean before configure task is run
Khem Raj [Fri, 3 Jan 2020 22:50:14 +0000 (14:50 -0800)]
musl: Ensure that B is clean before configure task is run

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agosysstat: 12.2.0 -> 12.2.1
Wang Mingyu [Fri, 3 Jan 2020 13:01:18 +0000 (05:01 -0800)]
sysstat: 12.2.0 -> 12.2.1

0001-Include-needed-headers-explicitly.patch and CVE-2019-19725.patch
Removed since they are included in 12.2.1

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agostress-ng: upgrade 0.10.13 -> 0.10.15
Wang Mingyu [Fri, 3 Jan 2020 13:01:17 +0000 (05:01 -0800)]
stress-ng: upgrade 0.10.13 -> 0.10.15

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agorng-tools: upgrade 6.8 -> 6.9
Wang Mingyu [Fri, 3 Jan 2020 13:01:16 +0000 (05:01 -0800)]
rng-tools: upgrade 6.8 -> 6.9

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agotclibc-musl: Add -D__USE_TIME_BITS64 to c/c++ flags
Khem Raj [Fri, 3 Jan 2020 07:21:23 +0000 (23:21 -0800)]
tclibc-musl: Add -D__USE_TIME_BITS64 to c/c++ flags

This is needed for 64bit time_t support on 32bit architectures
see [1]

[1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit?id=152194fe9c3f

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agomusl: Build outside of source tree
Khem Raj [Fri, 3 Jan 2020 07:21:22 +0000 (23:21 -0800)]
musl: Build outside of source tree

musl does not use cmake/autotools etc. but plane old makefile basded
build system, which means it does not get B defined to be outside S
therefore define B explicitly to be outside S

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agomusl: Upgrade beyond 1.24
Khem Raj [Fri, 3 Jan 2020 07:21:21 +0000 (23:21 -0800)]
musl: Upgrade beyond 1.24

License-Change: Added ARM to copyright files [1] [2] [3]

Detailed changes are here [4]

[1] https://git.musl-libc.org/cgit/musl/commit/COPYRIGHT?id=db3cc9a319c788cf5241ea68d3fa86b43f35733e
[2] https://git.musl-libc.org/cgit/musl/commit/?id=daa29e894c74d61296fe19d9b7c4be2f04037639
[3] https://git.musl-libc.org/cgit/musl/commit/?id=d3f7df235904439d48db041c7796e5b44be5b8e6
[4] https://git.musl-libc.org/cgit/musl/log/?qt=range&q=2c2477da9a553c0b9b2fa18073a5dcdbe6d395af..70d80609558153a996833392999c69cdb74e1119

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoglib-2.0: upgrade 2.62.3 -> 2.62.4
Wang Mingyu [Fri, 3 Jan 2020 06:06:18 +0000 (22:06 -0800)]
glib-2.0: upgrade 2.62.3 -> 2.62.4

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoshadow: Security Advisory - shadow - CVE-2019-19882
Li Zhou [Fri, 3 Jan 2020 05:58:12 +0000 (13:58 +0800)]
shadow: Security Advisory - shadow - CVE-2019-19882

Backport patch from <https://github.com/shadow-maint/shadow/pull/199/
commits/66b7bc0dcfda12d7f58eba993bd02872cae1d713> to solve
CVE-2019-19882.

Signed-off-by: Li Zhou <li.zhou@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopython/python3: Whitelist CVE-2019-18348
Adrian Bunk [Wed, 1 Jan 2020 18:50:59 +0000 (20:50 +0200)]
python/python3: Whitelist CVE-2019-18348

This is not exploitable when glibc has CVE-2016-10739 fixed,
which is fixed in the upstream version since warrior.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agosstatesig: Avoid resetting taskhash within siggen for locked sigs
Richard Purdie [Thu, 2 Jan 2020 16:37:58 +0000 (16:37 +0000)]
sstatesig: Avoid resetting taskhash within siggen for locked sigs

Since get_unihash uses taskhash as a key internally, changing it means
different bebahour when locked sigs are active verses not active. Under
corner cases this leads to a signature mismatch.

Avoid this by by adding a wrapper for the place its externally exposed
and then not changing the internals.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agosstatesig: Fix locked signature handling with unihashes
Richard Purdie [Mon, 30 Dec 2019 14:44:01 +0000 (14:44 +0000)]
sstatesig: Fix locked signature handling with unihashes

get_taskhash will call get_unihash internally in the parent class. We
need to disable our filter of it whilst this runs else incorrect hashes
can be calculated.

This is believed to be causing the locked signatures test to fail under
some circumstances (depending on whether earlier hashes are being
remapped).

[YOCTO #13605]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agosstatesig: Test cross/native hashserv method extension
Richard Purdie [Sat, 28 Dec 2019 00:02:46 +0000 (00:02 +0000)]
sstatesig: Test cross/native hashserv method extension

We can have one taskhash which represents multiple native/cross sstate objects
since they're stored by BUILD_ARCH or possibly host distro (or host gcc version).
We need to put these into separate namespaces on hashserv since their outhashes
will never match and we need deterministic lookups for the different namespaces.

Use this extramethod option to handle this. This fixes several problematic
failures on the autobuilder.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopython3: Update to apply libgcc fix to libpython, glibc only
Richard Purdie [Wed, 1 Jan 2020 11:10:35 +0000 (11:10 +0000)]
python3: Update to apply libgcc fix to libpython, glibc only

Update to account for review feedback on list.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agonfs-utils: Drop unneeded patches, cmdline option overrides
Khem Raj [Tue, 31 Dec 2019 16:15:34 +0000 (08:15 -0800)]
nfs-utils: Drop unneeded patches, cmdline option overrides

0001-configure.ac-Do-not-fatalize-Wmissing-prototypes.patch is no longer
needed

disabling format warnings is no longer needed as well therefore remove
it from recipe and address the warnings (if any in patches)

Ensure that it can build with clang as well on the way via the new clang-warnings.patch
patch

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agou-boot: Update to v2020.01-rc5
Alistair Francis [Tue, 31 Dec 2019 15:55:40 +0000 (07:55 -0800)]
u-boot: Update to v2020.01-rc5

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agowic/filemap: If FIGETBSZ iotctl fail, failback to os.stat
Kalle Lampila [Tue, 31 Dec 2019 15:10:49 +0000 (17:10 +0200)]
wic/filemap: If FIGETBSZ iotctl fail, failback to os.stat

Some file systems don't support fetching the block size (notably the
file system Docker uses for containers), so if iotctl() fail, try to use
failback via os.stat() to get block size.

Signed-off-by: Kalle lampila <kalle.lampila@lempea.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agogettext: Backport patch to fix po files without translations
Khem Raj [Wed, 1 Jan 2020 03:47:59 +0000 (19:47 -0800)]
gettext: Backport patch to fix po files without translations

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agogettext: fix failing ptests
Alexander Kanavin [Tue, 17 Dec 2019 16:00:11 +0000 (17:00 +0100)]
gettext: fix failing ptests

Results:

pass 400
fail 0
skip 32

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopsmisc: revert to default autopoint exclusion
Alexander Kanavin [Tue, 17 Dec 2019 16:00:10 +0000 (17:00 +0100)]
psmisc: revert to default autopoint exclusion

Otherwise, builds break with latest gettext.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agogettext: update to 0.20.1
Alexander Kanavin [Tue, 17 Dec 2019 16:00:09 +0000 (17:00 +0100)]
gettext: update to 0.20.1

License-Update: URLs changed from http to https
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agogettext-minimal-native: update to 0.20.1
Alexander Kanavin [Tue, 17 Dec 2019 16:00:08 +0000 (17:00 +0100)]
gettext-minimal-native: update to 0.20.1

Rather than update a tarball, I took m4 files directly from an install of 0.20.1.

The patch is dropped as guile has long been removed from oe-core.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoutil-linux: Use PCRE for hardlink
Khem Raj [Tue, 31 Dec 2019 00:44:48 +0000 (16:44 -0800)]
util-linux: Use PCRE for hardlink

Use PCRE, this enables using posix extended Regexps on cmdline

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agomaintainers: Add entry for buildtools-extended-tarball
Richard Purdie [Tue, 31 Dec 2019 11:26:50 +0000 (11:26 +0000)]
maintainers: Add entry for buildtools-extended-tarball

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agobuildtools-extended-tarball: add recipe with build-essentials
Tim Orling [Mon, 23 Dec 2019 01:18:37 +0000 (17:18 -0800)]
buildtools-extended-tarball: add recipe with build-essentials

* For some aging distros, such as CentOS 7, the native version
  of gcc is simply too ancient and is a constant source of
  headaches for moving forward.

* Add an extended version of buildtools-tarball which adds all
  of build-essential, so that the host is now modernized and
  capable of compiling the latest versions of components.

Fixes [YOCTO #13714]

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agobitbake.conf: Simplify TARGET_SYS/SDK_SYS
Richard Purdie [Sat, 28 Dec 2019 23:37:37 +0000 (23:37 +0000)]
bitbake.conf: Simplify TARGET_SYS/SDK_SYS

As pointed out by Masahiro Yamada <masahiroy@kernel.org>, ('' or 'custom')
equates to "custom" and this code seems unecesaarily complicated and unused.

It was likely intended to supress the value if XXX_OS was set to '' but the
code doesn't actually do that. Simplify it as we shouldn't have this indirection
if we don't need it, its horrible.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopython3: RDEPEND on libgcc
Joshua Watt [Mon, 30 Dec 2019 20:59:41 +0000 (14:59 -0600)]
python3: RDEPEND on libgcc

=help>
List-Subscribe:
 <http://lists.openembedded.org/mailman/listinfo/openembedded-core>,
 <mailto:openembedded-core-request@lists.openembedded.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Sender: openembedded-core-bounces@lists.openembedded.org
Errors-To: openembedded-core-bounces@lists.openembedded.org
X-Virus-Scanned: clamav-milter 0.101.4 at dan
X-Virus-Status: Clean
X-Evolution-Source: 1525863794.3857.16@hex
Content-Transfer-Encoding: 8bit

Python uses features of glibc that require it to dynamically load (i.e.
dlopen()) libgcc_s at runtime. However, since this isn't a link time
dependency, it doesn't get picked up automatically by bitbake so
manually add it to RDEPENDS.

There is an outstanding bug in Python to make it explicitly link against
libgcc at link time which would remove the need for this. See:
https://bugs.python.org/issue37395

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolttng-ust: Turn examples into a packageconfig
Khem Raj [Mon, 30 Dec 2019 21:10:03 +0000 (13:10 -0800)]
lttng-ust: Turn examples into a packageconfig

examples are unbuildable in some cases, see [1]
this helps in making them optional via the newly addded
configure option in 2.11 release

[1] https://bugs.lttng.org/issues/1132
[2] https://patchwork.ozlabs.org/patch/832106/

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agorunqemu: Add multiconfig support
Joshua Watt [Mon, 30 Dec 2019 20:59:50 +0000 (14:59 -0600)]
runqemu: Add multiconfig support

Users may want to run qemu against a specific multiconfig instead of the
base configuration, so give them the ability to specify which config
should be used with the MULTICONFIG environment variable.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoclasses/image_types_wic: Depend on do_image_complete tasks
Joshua Watt [Mon, 30 Dec 2019 20:59:29 +0000 (14:59 -0600)]
classes/image_types_wic: Depend on do_image_complete tasks

do_image_wic now depends on the do_image_complete tasks from all it's
dependencies. This allows images recipes specified in WKS_FILE_DEPENDS
(for example, if a machine wants to put a initrd into a boot partition)
to correctly trigger rebuilds for the wic image.

Note that recrdeptask can't be used as was done for do_deploy because
this would cause circular task dependency errors. This shouldn't be
necessary anyway if the dependencies specified in WKS_FILE_DEPENDS are
complete.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agosystemd: fix ${PN}-journal-remote systemd unit
André Draszik [Mon, 30 Dec 2019 20:36:55 +0000 (20:36 +0000)]
systemd: fix ${PN}-journal-remote systemd unit

Commit d31ff84a5f47 ("systemd: fix PN-container package splitting"),
d0b2cedfb099 in poky, created a new package for the remote journal,
but introduced a typo during declaration of the systemd unit part
of that package.

Fix it.

Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agomesa: Upgrade to 19.3.1
Alistair Francis [Sat, 21 Dec 2019 06:36:48 +0000 (22:36 -0800)]
mesa: Upgrade to 19.3.1

Upgrade mesa to 19.3 and refresh the patches.

As MESA_EGL_NO_X11_HEADERS was renamed to EGL_NO_X11 in [1] we are going
to change the do_install and add a patch to libepoxy to use the new
define.

1: https://gitlab.freedesktop.org/mesa/mesa/commit/6202a13b71e18dc31ba7e2f4ea915b67eacc1ddb

Signed-off-by: Alistair Francis <alistair@alistair23.me>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopython3: Upgrade 3.7.5 -> 3.7.6
Adrian Bunk [Fri, 20 Dec 2019 04:51:11 +0000 (06:51 +0200)]
python3: Upgrade 3.7.5 -> 3.7.6

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agosstate.bbclass: Fix for consistent whitespace
Martin Jansa [Mon, 16 Dec 2019 10:56:41 +0000 (11:56 +0100)]
sstate.bbclass: Fix for consistent whitespace

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agomultilib.conf: Ensure that RECIPE_SYSROOT is unchanged for native
Mike Crowe [Tue, 17 Dec 2019 08:02:25 +0000 (08:02 +0000)]
multilib.conf: Ensure that RECIPE_SYSROOT is unchanged for native

Ensure that RECIPE_SYSROOT is the same for -native recipes whether
multilib.conf is included or not.

Without this change task signatures for -native recipes change when
switching between MACHINEs that require multilib.conf and those that
don't.

This fix was one of the ones suggested by Khem Raj in
http://lists.openembedded.org/pipermail/openembedded-core/2019-December/290303.html

Add test_sstate_multilib_or_not_native_samesigs test case to
sstatetests.py to ensure that this stays fixed.

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoglib-networking: upgrade 2.62.1 -> 2.62.2
Anuj Mittal [Thu, 19 Dec 2019 05:41:04 +0000 (13:41 +0800)]
glib-networking: upgrade 2.62.1 -> 2.62.2

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agotune-riscv: Add support for no float
Alistair Francis [Thu, 19 Dec 2019 21:24:10 +0000 (13:24 -0800)]
tune-riscv: Add support for no float

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoperl/tcl: fix /usr/share/man/man3/Thread.3 conflicts
Hongxu Jia [Sat, 21 Dec 2019 06:19:35 +0000 (14:19 +0800)]
perl/tcl: fix /usr/share/man/man3/Thread.3 conflicts

While installing perl-doc and tcl-doc to image, there is a file conflicts
at do_rootfs
...
|file /usr/share/man/man3/Thread.3 conflicts between attempted installs of
perl-doc-5.30.1-r0.core2_64 and tcl-doc-8.6.10-r0.core2_64
...

Use update-alternatives to fix

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agonativesdk-buildtools-perl-dummy: add dependencies for autoconf and automake
Tim Orling [Mon, 23 Dec 2019 01:18:36 +0000 (17:18 -0800)]
nativesdk-buildtools-perl-dummy: add dependencies for autoconf and automake

* For buildtools-extended-tarball, where we are adding all of build-essentials
  to the nativesdk, we need additional perl modules for autoconf and automake.

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopango: Disable Wimplicit-fallthrough as error
Khem Raj [Sun, 29 Dec 2019 18:44:15 +0000 (10:44 -0800)]
pango: Disable Wimplicit-fallthrough as error

Clang is quite a lot more stricter and ends up finding more cases,
these are code format warnings so its safer to disable them here.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoxkbcomp: Gcc 10 spits out extra warnings as errors
Khem Raj [Sun, 29 Dec 2019 18:44:14 +0000 (10:44 -0800)]
xkbcomp: Gcc 10 spits out extra warnings as errors

Its better for us to disable these extra warnings, upstream should fix
them correctly in code and we can re-enable it

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agorecipes: Use -fcommon explicitly
Khem Raj [Sun, 29 Dec 2019 18:44:13 +0000 (10:44 -0800)]
recipes: Use -fcommon explicitly

This is needed with gcc 10

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agollvm: Upgrade to 9.0.1 release
Khem Raj [Sun, 29 Dec 2019 18:44:12 +0000 (10:44 -0800)]
llvm: Upgrade to 9.0.1 release

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agotune-power9: Add power9 tunings
Khem Raj [Sun, 29 Dec 2019 18:44:04 +0000 (10:44 -0800)]
tune-power9: Add power9 tunings

Add Little/big Endian, 32bit/64bit

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopowerpc, powerpc64: Append little-endianness to tune arch
Khem Raj [Sun, 29 Dec 2019 18:44:03 +0000 (10:44 -0800)]
powerpc, powerpc64: Append little-endianness to tune arch

This helps in constructing right arch for target tuple name for
Little-endian ppc

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>