]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
4 years agorecipes-sato: Add missing HOMEPAGE and DESCRIPTION for recipes
Meh Mbeh Ida Delphine [Tue, 2 Mar 2021 10:07:32 +0000 (11:07 +0100)]
recipes-sato: Add missing HOMEPAGE and DESCRIPTION for recipes

Fixes: [YOCTO #13471]
Signed-off-by: Ida Delphine <idadelm@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agorecipes-multimedia: Add missing HOMEPAGE and DESCRIPTION for recipes.
Meh Mbeh Ida Delphine [Tue, 2 Mar 2021 10:07:31 +0000 (11:07 +0100)]
recipes-multimedia: Add missing HOMEPAGE and DESCRIPTION for recipes.

Fixes: [YOCTO #13471]
Signed-off-by: Ida Delphine <idadelm@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopython3-magic: upgrade 0.4.20 -> 0.4.22
zhengruoqin [Tue, 2 Mar 2021 07:20:50 +0000 (15:20 +0800)]
python3-magic: upgrade 0.4.20 -> 0.4.22

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agosysvinit: upgrade 2.98 -> 2.99
zhengruoqin [Tue, 2 Mar 2021 04:13:49 +0000 (12:13 +0800)]
sysvinit: upgrade 2.98 -> 2.99

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopython3-git: upgrade 3.1.13 -> 3.1.14
zhengruoqin [Tue, 2 Mar 2021 04:13:42 +0000 (12:13 +0800)]
python3-git: upgrade 3.1.13 -> 3.1.14

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopython3-cython: upgrade 0.29.21 -> 0.29.22
zhengruoqin [Tue, 2 Mar 2021 04:13:29 +0000 (12:13 +0800)]
python3-cython: upgrade 0.29.21 -> 0.29.22

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolog4cplus: upgrade 2.0.5 -> 2.0.6
zhengruoqin [Tue, 2 Mar 2021 04:12:56 +0000 (12:12 +0800)]
log4cplus: upgrade 2.0.5 -> 2.0.6

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibxcrypt-compat: upgrade 4.4.17 -> 4.4.18
zhengruoqin [Tue, 2 Mar 2021 04:11:53 +0000 (12:11 +0800)]
libxcrypt-compat: upgrade 4.4.17 -> 4.4.18

When the libxcrypt version is updated, libxcrypt-compat is omitted.

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agocoreutils: use u-a for base32
Martin Jansa [Tue, 2 Mar 2021 09:25:02 +0000 (10:25 +0100)]
coreutils: use u-a for base32

* busybox 1.33.0 added base32 applet and now do_rootfs for read-only images is failing with:
  do_rootfs: busybox.postinst returned 1, marking as unpacked only, configuration required on target.
  ERROR: image-devel-1.0-r2 do_rootfs: Postinstall scriptlets of ['busybox'] have failed. If the intention is to defer them to first boot,
         then please place them into pkg_postinst_ontarget_${PN} ().
         Deferring to first boot via 'exit 1' is no longer supported.
         Details of the failure are in image-devel/1.0-r2/temp/log.do_rootfs.

  and log.do_rootfs shows:
  update-alternatives: Error: not linking image-devel/1.0-r2/rootfs/usr/bin/base32 to /usr/bin/busybox.nosuid since image-devel/1.0-r2/rootfs/usr/bin/base32 exists and is not a link

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agodosfstools: Build --without-iconv
Colin Finck [Tue, 2 Mar 2021 13:19:45 +0000 (14:19 +0100)]
dosfstools: Build --without-iconv

The new version has an internal CP850 conversion table, hence it doesn't
need iconv anymore (and currently errors when trying).

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopython3-cython: Remove build paths from debug sources
Richard Purdie [Tue, 2 Mar 2021 11:12:09 +0000 (11:12 +0000)]
python3-cython: Remove build paths from debug sources

There are build paths which are in generated sources injected
into ${PN}-src. These are in generated files and don't influence the
binary output. As such we can correct them at do_package time by
tweaking in an appropriately injected function. This fixes
the reproducbility of the recipe.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoltp: Fixing determinism issues
Richard Purdie [Mon, 1 Mar 2021 21:28:58 +0000 (21:28 +0000)]
ltp: Fixing determinism issues

Add a patch adding sorting to a couple of points in the Makefiles
which removes most of the determinism issues in ltp.

Build swapon before the main build to ensure libswapon.o is built
deterministically as it races with swapoff.

All issues reported on the upstream mailing list.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoAdd core-image-weston to reproducible build tests
Jan-Simon Moeller [Mon, 1 Mar 2021 17:46:23 +0000 (18:46 +0100)]
Add core-image-weston to reproducible build tests

This change adds core-image-weston to the reproducible build test.
For this we also need to update the static-group and static-passwd.

Besides the world package build which includes the wayland package,
this adds a wayland/weston-based image to the reproducible build test.

Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agobinutils: add PACKAGECONFIG for debuginfod
Dorinda [Mon, 1 Mar 2021 16:45:17 +0000 (17:45 +0100)]
binutils: add PACKAGECONFIG for debuginfod

Added PACKAGECONFIG for debuginfod

Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoscripts/oe-debuginfod: script that fetches package manager directory
Dorinda [Mon, 1 Mar 2021 14:42:56 +0000 (15:42 +0100)]
scripts/oe-debuginfod: script that fetches package manager directory

Added a script that fetches the package manager directory and runs the elfutils-native debuginfod on DEPLOY_DIR
Added a check to ensure that PACKAGECONFIG options is set in local.conf

Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agorecipes-kernel: Add missing HOMEPAGE and DESCRIPTION for recipes.
Meh Mbeh Ida Delphine [Mon, 1 Mar 2021 13:57:35 +0000 (14:57 +0100)]
recipes-kernel: Add missing HOMEPAGE and DESCRIPTION for recipes.

Fixes: [YOCTO #13471]
Signed-off-by: Ida Delphine <idadelm@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agorecipes-graphics: Add missing HOMEPAGE and DESCRIPTION for recipes.
Meh Mbeh Ida Delphine [Mon, 1 Mar 2021 13:57:34 +0000 (14:57 +0100)]
recipes-graphics: Add missing HOMEPAGE and DESCRIPTION for recipes.

Fixes: [YOCTO #13471]
Signed-off-by: Ida Delphine <idadelm@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agorecipes-gnome: Add missing HOMEPAGE and DESCRIPTION for recipes
Meh Mbeh Ida Delphine [Mon, 1 Mar 2021 13:57:33 +0000 (14:57 +0100)]
recipes-gnome: Add missing HOMEPAGE and DESCRIPTION for recipes

Fixes: [YOCTO #13471]
Signed-off-by: Ida Delphine <idadelm@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoscripts/lib/wic/partition.py: do not set FAT size
Alexander Kanavin [Sun, 28 Feb 2021 15:37:00 +0000 (16:37 +0100)]
scripts/lib/wic/partition.py: do not set FAT size

Modern dosfstools automatically determines the appropriate size
and will error out if something that doesn't make sense is
supplied on the command line.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolttng: Fix reproducibility issues
Richard Purdie [Mon, 1 Mar 2021 14:23:31 +0000 (14:23 +0000)]
lttng: Fix reproducibility issues

Add a hack to hardcode in specific rpaths which we then remove,
allowing the build to be reproducible.

Strip build patches out of one of the test scripts too.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoqemu: Determinism fixes
Richard Purdie [Mon, 1 Mar 2021 13:00:47 +0000 (13:00 +0000)]
qemu: Determinism fixes

Add a patch to address two determinism issues and allow reproducible
builds.

Also strip full paths we don't need out of some ptest files,
we can use the installed binaries.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoiputils: Fix cap_net_raw for installed binaries
Jate Sujjavanich [Sat, 27 Feb 2021 00:40:10 +0000 (00:40 +0000)]
iputils: Fix cap_net_raw for installed binaries

Add libcap-native to libcap PACKAGECONFIG  making native setcap available
during the build. This assures its availability during install and prevents
meson from searching absolute paths and the resulting possible host
contamination.

Move -DNO_SETCAP_OR_SUID=true to the libcap PACKAGECONFIG negative case
This will prevent possible non-determinism for the setuid case.

Signed-off-by: Jate Sujjavanich <jatedev@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoglibc: Disable CPU ISA level requirement check
He Zhe [Fri, 26 Feb 2021 14:20:45 +0000 (22:20 +0800)]
glibc: Disable CPU ISA level requirement check

We experience the following error and fail to boot on qemu64 machine

/lib64/libc.so.6: CPU ISA level is lower than required
Kernel panic - not syncing: Attempted to kill init! exitcode=0x00007f00

As stated in [1],

Passing -march= causes glibc to add annotations not compatible to run
result on -march= as too high ISA level is inferred.

ISA level is a new feature of 2.33 release.

Until it's fixed let's disable ISA level inference with
    libc_cv_include_x86_isa_level=no
(no better configure option yet).

[1] https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5dbd6a821ff753e3b41324c4fb7c58cf65eeea33

Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogcc-sanitizers: Move content from gcclibdir into libdir
Mike Crowe [Sun, 28 Feb 2021 12:20:54 +0000 (12:20 +0000)]
gcc-sanitizers: Move content from gcclibdir into libdir

In e9e5744ba8b0d43c8b874d365f83071ce20bf0a1, Khem Raj wrote:
> OE does not use the traditional /usr/lib/gcc prefix to store
> gcc-runtime it basically is moved into libdir, however some newer
> files were installed by newer versions of gcc especially libgomp (
> omp.h openacc.h ) into gcclibdir, so we have content in both
> directories, this confuses other tools which are trying to guess the
> gcc installation and its runtime location, since now we have two
> directories, the tools either choose one or other and we get
> inconsistent behavior, e.g. clang for aarch64 uses /usr/lib but same
> clang for riscv64 chose /usr/lib/gcc

> This change ensures that OE ends up with single valid location for gcc
> runtime files

I think that the same thing needs to happen in gcc-sanitizers.inc,
otherwise I get errors like:

| .../recipe-sysroot/usr/include/gpg-error-64.h:884:11: fatal error: sanitizer/lsan_interface.h: No such file or directory

when attempting to compile with sanitizers enabled.

FILES_${PN} needs updating to match too.

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Cc: Khem Raj <raj.khem@gmail.com>
Cc: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibbsd: udpate 0.10.0 -> 0.11.3
Alexander Kanavin [Sun, 28 Feb 2021 15:36:58 +0000 (16:36 +0100)]
libbsd: udpate 0.10.0 -> 0.11.3

License-Update: copyright years, file lists

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibmd: add a recipe
Alexander Kanavin [Sun, 28 Feb 2021 15:36:57 +0000 (16:36 +0100)]
libmd: add a recipe

This is required by new versions of libbsd.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopinentry: update 1.1.0 -> 1.1.1
Alexander Kanavin [Sun, 28 Feb 2021 15:36:55 +0000 (16:36 +0100)]
pinentry: update 1.1.0 -> 1.1.1

Refresh xxx-config->pkg-config patches.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibgcrypt: update 1.8.7 -> 1.9.2
Alexander Kanavin [Sun, 28 Feb 2021 15:36:53 +0000 (16:36 +0100)]
libgcrypt: update 1.8.7 -> 1.9.2

Drop backports.

Add a patch that inserts missing spaces in Makefiles.

Drop determinism.patch: upstream has moved the git
stuff to an external script, which has a guard that
checkes for presence of .git/ in source tree.

License-Update: additional source file listed

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agowebkitgtk: update 2.30.4 -> 2.30.5
Alexander Kanavin [Sun, 28 Feb 2021 15:36:52 +0000 (16:36 +0100)]
webkitgtk: update 2.30.4 -> 2.30.5

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agovulkan-samples: update to latest revision
Alexander Kanavin [Sun, 28 Feb 2021 15:36:51 +0000 (16:36 +0100)]
vulkan-samples: update to latest revision

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopango: update 1.48.0 -> 1.48.2
Alexander Kanavin [Sun, 28 Feb 2021 15:36:50 +0000 (16:36 +0100)]
pango: update 1.48.0 -> 1.48.2

Drop a patch; issue fixed upstream:
https://gitlab.gnome.org/GNOME/pango/-/commit/fcda7d6f9b6ee966f5da860be5ec0c0096193a83

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoptest-perl/run-ptest: address failures caused by perl 5.32.1
Alexander Kanavin [Sun, 28 Feb 2021 15:37:02 +0000 (16:37 +0100)]
ptest-perl/run-ptest: address failures caused by perl 5.32.1

Particulary, . needs to be explicitly specified so that perl
looks there when loading items in 'require'.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoopenssl: address ptest failures caused by perl 5.32.1
Alexander Kanavin [Sun, 28 Feb 2021 15:37:01 +0000 (16:37 +0100)]
openssl: address ptest failures caused by perl 5.32.1

For some reason the new perl no longer has . in list of
directories searched in 'require', and so the file
needs to be copied where perl can find it.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoperl: update 5.32.0 -> 5.32.1
Alexander Kanavin [Sun, 28 Feb 2021 15:36:49 +0000 (16:36 +0100)]
perl: update 5.32.0 -> 5.32.1

Drop perl-cross-makefile.patch as it is merged upstream.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agomeson: update 0.56.2 -> 0.57.1
Alexander Kanavin [Sun, 28 Feb 2021 15:36:48 +0000 (16:36 +0100)]
meson: update 0.56.2 -> 0.57.1

Replace hacky 0001-gnome.py-prefix-g-i-paths-with-PKG_CONFIG_SYSROOT_DI.patch
with entries in meson.cross.

Rest of the patches are refreshed.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoelfutils: update 0.182 -> 0.183
Alexander Kanavin [Sun, 28 Feb 2021 15:36:45 +0000 (16:36 +0100)]
elfutils: update 0.182 -> 0.183

Drop 0001-ppc_initreg.c-Incliude-asm-ptrace.h-for-pt_regs-defi.patch
Drop 0001-musl-obstack-fts.patch
(upstream has fixed the issues).

Drop a few other chunks where upstream has fixed the issues
or removed the code being patched.

Adjust ptests to pass again.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoe2fsprogs: update 1.45.7 -> 1.46.1
Alexander Kanavin [Sun, 28 Feb 2021 15:36:44 +0000 (16:36 +0100)]
e2fsprogs: update 1.45.7 -> 1.46.1

Drop gettext patches; upstream has fixed the issues.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agodosfstools: update 4.1 -> 4.2
Alexander Kanavin [Sun, 28 Feb 2021 15:36:43 +0000 (16:36 +0100)]
dosfstools: update 4.1 -> 4.2

udev support had been dropped upstream.

The tools now have internal locale support so the glibc locale
dependencies can be dropped.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoselftest/reproducible: Add ability to pull some objects from sstate
Richard Purdie [Fri, 26 Feb 2021 14:24:26 +0000 (14:24 +0000)]
selftest/reproducible: Add ability to pull some objects from sstate

When debugging why a single recipe doesn't reproduce, its a pain
to wait for the world to rebuild from scratch. Update the selftest
to allow this to be configured, for example you could set
targets as ['perf'] and sstate_targets as ['virtual/kernel']
and then it should only be rebuilding perf in the test rather than
things like the toolchain (parts of the kernel may be unavoiable
as they're not in sstate).

Can be run as:

OEQA_DEBUGGING_SAVED_OUTPUT=/tmp/perf-diffoscope oe-selftest -r reproducible.ReproducibleTests.test_reproducible_builds

to save diffoscope output.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agosystemd-bootchart: Disable LTO to fix reproducibility
Richard Purdie [Sun, 28 Feb 2021 17:26:21 +0000 (17:26 +0000)]
systemd-bootchart: Disable LTO to fix reproducibility

LTO likely doesn't buy us much here, disable it to allow the binaries
to be reproducible.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoefivar: Fix reproducibility issue
Richard Purdie [Mon, 1 Mar 2021 00:12:37 +0000 (00:12 +0000)]
efivar: Fix reproducibility issue

Add sorting to the globbing within the Makefile to make the output
reproducible.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoswig: Fix reproducibility issue
Richard Purdie [Mon, 1 Mar 2021 00:11:10 +0000 (00:11 +0000)]
swig: Fix reproducibility issue

Remove hardcoding the build configuration into the help/version output
from swig to make the binaries reproducible.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agosyslinux: Fix reproducibility issues
Richard Purdie [Sat, 27 Feb 2021 23:42:03 +0000 (23:42 +0000)]
syslinux: Fix reproducibility issues

Add sorting to wildcard expansion in the makefile to make builds
reproducible.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agosyslinux: use NO_INLINE_FUNCS in CFLAGS
Alexander Kanavin [Sun, 28 Feb 2021 15:36:59 +0000 (16:36 +0100)]
syslinux: use NO_INLINE_FUNCS in CFLAGS

This is required with latest versions of e2fsprogs.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agowebkit/wpe: only check even versions
Alexander Kanavin [Sun, 28 Feb 2021 15:36:39 +0000 (16:36 +0100)]
webkit/wpe: only check even versions

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agokea: Fix configure test error with gcc11
Khem Raj [Sat, 27 Feb 2021 15:16:03 +0000 (07:16 -0800)]
kea: Fix configure test error with gcc11

Since the test program fails to compile, configure thinks compiler is
not having thread support and bails out

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoigt-gpu-tools: Fix warnings with gcc 11
Khem Raj [Sat, 27 Feb 2021 22:14:12 +0000 (14:14 -0800)]
igt-gpu-tools: Fix warnings with gcc 11

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopuzzles: Fix stringop-overflow warning
Khem Raj [Sat, 27 Feb 2021 22:14:11 +0000 (14:14 -0800)]
puzzles: Fix stringop-overflow warning

gcc11 is pedantic about it and finds a case where this
maybe used uninitialized

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agodtc: Fix array-bounds error
Khem Raj [Sat, 27 Feb 2021 07:41:31 +0000 (23:41 -0800)]
dtc: Fix array-bounds error

Fixes
| libfdt/libfdt.h:251:28: error: array subscript 'struct fdt_header[0]' is partly outside array bounds of 'unsigned char[4]' [-Werror=array-bounds]
|   251 |                 fdth->name = cpu_to_fdt32(val); \
|       |                 ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agollvm: Fix build with c++17
Khem Raj [Sat, 27 Feb 2021 07:41:30 +0000 (23:41 -0800)]
llvm: Fix build with c++17

Fixes
/benchmark_register.h:17:30: error: 'numeric_limits' is not a member of 'std'
|   static const T kmax = std::numeric_limits<T>::max();
|                              ^~~~~~~~~~~~~~

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agorxvt-unicode: Do not use throw specifications
Khem Raj [Sat, 27 Feb 2021 07:41:29 +0000 (23:41 -0800)]
rxvt-unicode: Do not use throw specifications

Fixes build with -std=c++17

| ../../rxvt-unicode-9.22/src/../libev/ev++.h:379:46: error: ISO C++17 does not allow dynamic exception specifications
|   379 |     default_loop (unsigned int flags = AUTO) throw (bad_loop)
|       |                                              ^~~~~

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoiproute2: upgrade 5.10.0 -> 5.11.0
Wang Mingyu [Sat, 27 Feb 2021 04:48:16 +0000 (12:48 +0800)]
iproute2: upgrade 5.10.0 -> 5.11.0

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoglslang: upgrade 11.1.0 -> 11.2.0
Wang Mingyu [Sat, 27 Feb 2021 04:48:15 +0000 (12:48 +0800)]
glslang: upgrade 11.1.0 -> 11.2.0

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoeudev: upgrade 3.2.9 -> 3.2.10
Wang Mingyu [Sat, 27 Feb 2021 04:48:14 +0000 (12:48 +0800)]
eudev: upgrade 3.2.9 -> 3.2.10

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoccache: upgrade 4.1 -> 4.2
Wang Mingyu [Sat, 27 Feb 2021 04:48:13 +0000 (12:48 +0800)]
ccache: upgrade 4.1 -> 4.2

0001-Improve-SIMD-detection-735.patch
0001-blake3-Remove-asm-checks-for-sse-avx.patch
0002-Always-use-64bit-to-print-time_t.patch
removed since they'are included in 4.2

-License-Update: Copyright year updated to 2021.

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agodiffoscope: Upgrade 167 -> 168
Richard Purdie [Mon, 1 Mar 2021 00:07:05 +0000 (00:07 +0000)]
diffoscope: Upgrade 167 -> 168

This includes a fix for the 'hang' on larger diffs with html output
as seen on the autobuilder.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogstreamer1.0-python: Set internal python library path correcty
Richard Purdie [Sun, 28 Feb 2021 12:05:14 +0000 (12:05 +0000)]
gstreamer1.0-python: Set internal python library path correcty

The library hardcodes paths to the python library internally and currently
these are build paths. Fix this to use the correct target path and
fix reproducibility in the process.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoapr-util: Fix CFLAGS used in build
Richard Purdie [Sun, 28 Feb 2021 18:21:02 +0000 (18:21 +0000)]
apr-util: Fix CFLAGS used in build

We need to use CFLAGS with the correct WORKDIR in them, replace those
in the sysroot file with the ones appropriate to the current recipe.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibid3tag: Fix reproducibility issue
Richard Purdie [Sat, 27 Feb 2021 15:17:16 +0000 (15:17 +0000)]
libid3tag: Fix reproducibility issue

Configure was swallowing our cflags meaning the resulting binaries were
not reproducible. Tweak configure not to do that and fix reproducibility.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoigt-gpu-tools: Fix reproducibility issue
Richard Purdie [Sat, 27 Feb 2021 14:51:41 +0000 (14:51 +0000)]
igt-gpu-tools: Fix reproducibility issue

Add a configuration option to pass in srcdir, removing hard coded
build paths from the binaries.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agobootchart2: Fix manpage reproducibility issue
Richard Purdie [Sat, 27 Feb 2021 14:15:24 +0000 (14:15 +0000)]
bootchart2: Fix manpage reproducibility issue

The compressed docs contained a timestamp of the original file which
meant the SDE clamping during package creation didn't work. The
benefits of compression are minor, decompress the files to avoid
the reproducibility issues.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoglibc: Fix rawmemchr
Khem Raj [Fri, 26 Feb 2021 17:40:09 +0000 (09:40 -0800)]
glibc: Fix rawmemchr

This is to help gcc bug upstream
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98512

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoglib-2.0: replace THISDIR instead of COREBASE in find_meson_cross_files --cross-file...
Martin Jansa [Thu, 25 Feb 2021 17:45:16 +0000 (18:45 +0100)]
glib-2.0: replace THISDIR instead of COREBASE in find_meson_cross_files --cross-file paths

* COREBASE works correctly only as long as this recipe is inside of
  COREBASE directory and leaves the full absolute paths if you copy
  this recipe into your own layer (e.g. to backport newer version)

* use THISDIR as all FILESPATH should be relative to that, unless
  there is a .bbappend not only extending FILESPATH, but also adding
  meson.cross.d files there (at which point it also didn't work with
  COREBASE replacements as well already) - show an ERROR in such case,
  I don't think it's common scenario to spend more time to support that.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agocreaterepo-c: set path to magic database for native and nativesdk
Diego Santa Cruz [Fri, 26 Feb 2021 11:33:32 +0000 (12:33 +0100)]
createrepo-c: set path to magic database for native and nativesdk

The modifyrepo_c tool can use the magic database for input files
(e.g., if the file has no recognized extension) and fails if none
can be found.

This adds a wrapper that sets MAGIC to point to the proper place,
it also sets up MAGIC in the createrepo_c wrapper since that tool
also takes input files.

Signed-off-by: Diego Santa Cruz <Diego.SantaCruz@spinetix.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agovalgrind: Increase timeout duration 30 -> 90 s
Yi Fan Yu [Fri, 26 Feb 2021 02:14:37 +0000 (21:14 -0500)]
valgrind: Increase timeout duration 30 -> 90 s

Attempt to fix intermittent failure of `drd/tests/std_list`
Locally tested to take around 45 s on qemuarm64

[YOCTO #14228]

Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agooeqa/pam: Need shadow installed for the tests
Khem Raj [Thu, 25 Feb 2021 23:29:16 +0000 (15:29 -0800)]
oeqa/pam: Need shadow installed for the tests

Distros may not use shadow for login manager
secondly login --help returns 1 only with shadow provided login
utility, with busybox it returns normal 0, the testcase clearly
assumes shadow being part of image, therefore add needed
checks to ensure the pre-requisites are met

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agobitbake.conf: Split PSEUDO_IGNORE_PATHS to be more readable
Richard Purdie [Fri, 26 Feb 2021 11:24:07 +0000 (11:24 +0000)]
bitbake.conf: Split PSEUDO_IGNORE_PATHS to be more readable

We've had a lot of concern about the readability of diffs of this
path setting, refactor to avoid long line length.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agobitbake.conf/image: Move image specific PSEUDO_IGNORE_PATHS to image class
Richard Purdie [Fri, 26 Feb 2021 11:21:17 +0000 (11:21 +0000)]
bitbake.conf/image: Move image specific PSEUDO_IGNORE_PATHS to image class

This path is image specific so we can move to the image class
definition of PSEUDO_IGNORE_PATHS.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopopulate_sdk: Add directories to PSEUDO_IGNORE_PATHS
Richard Purdie [Fri, 26 Feb 2021 11:18:42 +0000 (11:18 +0000)]
populate_sdk: Add directories to PSEUDO_IGNORE_PATHS

Some paths used in sdk construction shouldn't be tracked under pseudo
so list these.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoimage: Add directories to PSEUDO_IGNORE_PATHS
Richard Purdie [Fri, 26 Feb 2021 11:17:32 +0000 (11:17 +0000)]
image: Add directories to PSEUDO_IGNORE_PATHS

Some paths used in image construction shouldn't be tracked under pseudo
so list these.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoselftest/reproducible: Don't call sync between each file compare
Richard Purdie [Fri, 26 Feb 2021 17:45:20 +0000 (17:45 +0000)]
selftest/reproducible: Don't call sync between each file compare

Calling sync between each file compare is horrible performance wise
as we compare thousands of files. We don't care about IO latency here
so disable.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibhandy: Fix reproducibility issue
Richard Purdie [Thu, 25 Feb 2021 17:26:06 +0000 (17:26 +0000)]
libhandy: Fix reproducibility issue

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibsecret: Improve determimism
Richard Purdie [Thu, 25 Feb 2021 15:19:22 +0000 (15:19 +0000)]
libsecret: Improve determimism

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoparted: Fix reproducibility issue
Richard Purdie [Thu, 25 Feb 2021 15:06:36 +0000 (15:06 +0000)]
parted: Fix reproducibility issue

We don't use tbe BUILDINFO line of host information in the Makefile
so remove it for reproducibility.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogst-devtools: Fix reproducibility issue
Richard Purdie [Thu, 25 Feb 2021 15:00:57 +0000 (15:00 +0000)]
gst-devtools: Fix reproducibility issue

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoepiphany: Fix distributor contamination from /etc/os-release
Richard Purdie [Fri, 26 Feb 2021 10:17:52 +0000 (10:17 +0000)]
epiphany: Fix distributor contamination from /etc/os-release

Set our own distro string rather than using the value from
/etc/os-release.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoepiphany: Fix reproducibility issue
Richard Purdie [Thu, 25 Feb 2021 14:52:32 +0000 (14:52 +0000)]
epiphany: Fix reproducibility issue

We don't want to encide BUILD_ROOT into target packages. This is used
for build time tests but in our case those would be on target anyway
do use the target paths.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogtk-doc: Fix reproducibility issue
Richard Purdie [Thu, 25 Feb 2021 14:02:17 +0000 (14:02 +0000)]
gtk-doc: Fix reproducibility issue

config_data was including a build system path to pkg-config, fix
this.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agorsync: Update patch status
Richard Purdie [Thu, 25 Feb 2021 22:35:23 +0000 (22:35 +0000)]
rsync: Update patch status

Mark the path as submitted and effectively a backport as a different fix
was added upstream addressing the issue.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agosysklogd: do not open any network sockets by default
Diego Santa Cruz [Thu, 25 Feb 2021 16:03:56 +0000 (17:03 +0100)]
sysklogd: do not open any network sockets by default

The default in sysklogd 2.x is to open listening network sockets,
unlike sysklogd 1.5 where the default was the opposite.

This is contrary to a "secure by default" design, so set up the
init script to pass the -ss option to prevent syslogd from opening
any network sockets. It can be overridden in /etc/default/syslogd.

Signed-off-by: Diego Santa Cruz <Diego.SantaCruz@spinetix.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopackagegroup-base: do not force hdparm and e2fsprogs
Diego Santa Cruz [Thu, 25 Feb 2021 20:23:27 +0000 (21:23 +0100)]
packagegroup-base: do not force hdparm and e2fsprogs

The hdparm and (base) e2fsprogs are not always useful in all machines
having ext2 in MACHINE_FEATURES, so do not force them to b installed,
make them recommendations instead.

Signed-off-by: Diego Santa Cruz <Diego.SantaCruz@spinetix.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopackagegroup-base: use amixer instead of alsamixer
Diego Santa Cruz [Thu, 25 Feb 2021 20:23:26 +0000 (21:23 +0100)]
packagegroup-base: use amixer instead of alsamixer

Including alsamixer, which is an ncurses based interactive program,
does not seem to make sense as a base package in embedded systems,
replace it by the command line mixer utility amixer instead; it is
scriptable and has no ncurses dependencies.

Signed-off-by: Diego Santa Cruz <Diego.SantaCruz@spinetix.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agowic: Warn if an ext filesystem affected by the Y2038 problem is used
Florian Bezdeka [Thu, 25 Feb 2021 08:22:02 +0000 (09:22 +0100)]
wic: Warn if an ext filesystem affected by the Y2038 problem is used

We are getting closer and closer to the year 2038 where the 32 bit
time_t overflow will happen. While products (= embedded systems) with an
expected life time of 15 years are still save the situation may change
if your system has to survive the next 20 years.

ext2 and ext3 filesystems are always affected by the time overflow, so
let's warn the user if these filesystems are still being used.

If ext4 is affected depends on the inode size chosen during filesystem
creation. At least 256 bytes are necessary to be safe. As ext4 is
used very often (and partitions may be created small first and extended
later) this might be an issue for many users.

Some filesystems created during CI runs were already affected by the Y2038
problem. By using `--mkfs-extraopts "-T default"` we tell mke2fs not to
auto-detect the usage type based on the filesystem size. mke2fs will use
the default values for tuning parameters instead. The inode size is one
of these parameters.

Signed-off-by: Florian Bezdeka <florian.bezdeka@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agometa/recipes-core: Add HOMEPAGE / DESCRIPTION
Dorinda [Thu, 25 Feb 2021 00:39:00 +0000 (01:39 +0100)]
meta/recipes-core: Add HOMEPAGE / DESCRIPTION

Added HOMEPAGE and DESCRIPTION for recipes with missing decriptions or homepage

[YOCTO #13471]

Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agometa/recipes-devtools: Add HOMEPAGE / DESCRIPTION
Dorinda [Thu, 25 Feb 2021 00:39:01 +0000 (01:39 +0100)]
meta/recipes-devtools: Add HOMEPAGE / DESCRIPTION

Added HOMEPAGE and DESCRIPTION for recipes with missing decriptions or homepage

[YOCTO #13471]

Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agometa/recipes-connectivity: Add HOMEPAGE / DESCRIPTION
Dorinda [Thu, 25 Feb 2021 00:38:59 +0000 (01:38 +0100)]
meta/recipes-connectivity: Add HOMEPAGE / DESCRIPTION

Added HOMEPAGE and DESCRIPTION for recipes with missing decriptions or homepage

[YOCTO #13471]

Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agometa/recipes-bsp: Add HOMEPAGE / DESCRIPTION
Dorinda [Thu, 25 Feb 2021 00:38:58 +0000 (01:38 +0100)]
meta/recipes-bsp: Add HOMEPAGE / DESCRIPTION

Added HOMEPAGE and DESCRIPTION for recipes with missing decriptions or homepage

[YOCTO #13471]

Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoexternalsrc: Pass through npmsw URIs in SRC_URI
Mike Crowe [Thu, 25 Feb 2021 10:46:27 +0000 (10:46 +0000)]
externalsrc: Pass through npmsw URIs in SRC_URI

NPM shrinkwrap files need to stay in SRC_URI even when using
externalsrc so that npm_do_fetch can run to fetch the required
dependencies.

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogdb-common.inc: add PACKAGECONFIG for debuginfod
Dorinda [Thu, 25 Feb 2021 00:36:30 +0000 (01:36 +0100)]
gdb-common.inc: add PACKAGECONFIG for debuginfod

Added PACKAGECONFIG for debuginfod

Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogdb: Remove "ALLOW_EMPTY_gdbserver" on riscv
Yi Fan Yu [Wed, 24 Feb 2021 20:45:23 +0000 (15:45 -0500)]
gdb: Remove "ALLOW_EMPTY_gdbserver" on riscv

Revert 21e748d620022a75c0c2d0ab4a763a5992e8f154 "riscv32"
Revert 111f65528e3c0b147c1713cfc684958f94c41cd6 "riscv64"

Reason:

The following commit present in binutils-2_35

commit bf84f7066626c78884436e1c39fb60f04c665f21
Author: Maciej W. Rozycki <macro@wdc.com>
Date:   Wed Feb 19 01:24:37 2020 +0000

    gdbserver: Add RISC-V/Linux support

Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogcr: Fix reproducibility issue
Richard Purdie [Wed, 24 Feb 2021 22:49:59 +0000 (22:49 +0000)]
gcr: Fix reproducibility issue

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agocups: fix CVE-2020-10001
Stefan Ghinea [Thu, 25 Feb 2021 18:41:27 +0000 (20:41 +0200)]
cups: fix CVE-2020-10001

A buffer (read) overflow in the ippReadIO function.

References:
https://nvd.nist.gov/vuln/detail/CVE-2020-10001

Upstream patches:
https://github.com/OpenPrinting/cups/commit/efbea1742bd30f842fbbfb87a473e5c84f4162f9

Signed-off-by: Stefan Ghinea <stefan.ghinea@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agocups: Fix reproducibility issues
Richard Purdie [Wed, 24 Feb 2021 21:40:52 +0000 (21:40 +0000)]
cups: Fix reproducibility issues

configure inspects the host's /etc/group for these configuration
options, fix this to the correct values by using configure options.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agollvm: Upgrade to 11.1.0 release
Khem Raj [Thu, 25 Feb 2021 16:44:11 +0000 (08:44 -0800)]
llvm: Upgrade to 11.1.0 release

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agobinutils: Upgrade to 2.36.1 release
Khem Raj [Thu, 25 Feb 2021 18:17:02 +0000 (10:17 -0800)]
binutils: Upgrade to 2.36.1 release

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agobusybox: update 1.33.0
Oleksandr Kravchuk [Fri, 19 Feb 2021 22:00:42 +0000 (23:00 +0100)]
busybox: update 1.33.0

Removed upstreamed patch.

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agonfs-utils: upgrade 2.5.2 -> 2.5.3
Wang Mingyu [Wed, 24 Feb 2021 14:26:28 +0000 (22:26 +0800)]
nfs-utils: upgrade 2.5.2 -> 2.5.3

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibxcrypt: upgrade 4.4.17 -> 4.4.18
Wang Mingyu [Wed, 24 Feb 2021 14:26:27 +0000 (22:26 +0800)]
libxcrypt: upgrade 4.4.17 -> 4.4.18

file LICENSING updated: directory of files changed from m4 to build-aux

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agobluez5: upgrade 5.55 -> 5.56
Wang Mingyu [Wed, 24 Feb 2021 14:26:26 +0000 (22:26 +0800)]
bluez5: upgrade 5.55 -> 5.56

-License-Update:
remove the description of license from src/main.c

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoasciidoc: Switch to using the main branch
Peter Kjellerstedt [Wed, 24 Feb 2021 13:37:44 +0000 (14:37 +0100)]
asciidoc: Switch to using the main branch

Upstream has renamed the "master" branch to "main".

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>