]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
4 years agooe-publish-sdk: add --keep-orig option
Adrian Freihofer [Mon, 7 Sep 2020 16:43:14 +0000 (18:43 +0200)]
oe-publish-sdk: add --keep-orig option

Support publishing the sdk-update as well as the sdk installer in one
go.

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agooe-publish-sdk: fix layers init via ssh
Adrian Freihofer [Mon, 7 Sep 2020 16:43:13 +0000 (18:43 +0200)]
oe-publish-sdk: fix layers init via ssh

Escaping does not work in my use case. It must be escaped for
python, ssh and shell as well as for different versions of echo.
Let's try it a little less elegant, but hopefully more reliable.

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoimage.bbclass: fix REPRODUCIBLE_TIMESTAMP_ROOTFS reference
Matt Madison [Mon, 7 Sep 2020 13:21:15 +0000 (06:21 -0700)]
image.bbclass: fix REPRODUCIBLE_TIMESTAMP_ROOTFS reference

Commit 97b439469a45a089431ca9c31893288c855045f4 added a fallback
mechanism for getting the rootfs timestamp. However, it uses curly
braces around the variable name, which causes bitbake resolve the
variable reference, rather than the shell, so the git timestamp
never gets used. Fix the reference to restore the intent of
making it a fallback for when there is no git timestamp to
retrieve.

Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agorunqemu: Add a hook to allow it to renice
Richard Purdie [Sat, 5 Sep 2020 14:06:07 +0000 (15:06 +0100)]
runqemu: Add a hook to allow it to renice

We have an issue where qemu is being starved of resources on our autobuilders.
We can't raise its priority without special capacilties, therefore add a hook
which if present can allow this to happen using an executable
"~/runqemu-renice".

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolocal.conf.sample.extended: remove help2man reference
Ross Burton [Thu, 3 Sep 2020 13:02:27 +0000 (14:02 +0100)]
local.conf.sample.extended: remove help2man reference

help2man isn't part of the early build anymore, so there's no point in
referring to it here.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogo: Upgrade to 1.15 major release
Khem Raj [Fri, 4 Sep 2020 02:23:47 +0000 (19:23 -0700)]
go: Upgrade to 1.15 major release

1.15 is latest major release changelog is [1] and detailed blog is [2]

Drop hardcoding ldso patch in favor of setting it using GO_LDSO variable
which can be defined in terms of linuxloader defined by OE

Setting GOBUILDMODE to pie is no longer needed

[1] https://golang.org/doc/go1.15
[2] https://blog.golang.org/go1.15

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agohelp2man: rewrite recipe
Ross Burton [Fri, 4 Sep 2020 15:42:36 +0000 (16:42 +0100)]
help2man: rewrite recipe

This recipe was originally explicitly minimal because it was needed to
bootstrap autotools, but that isn't the case anymore.

Instead of being explicitly native, use BBCLASSEXTEND.

No need to explicitly depend on autoconf-native automake-native, because
the autotools class does that.

As this recipe isn't needed in early build anymore there's no need to
avoid reconfiguring.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agokea: bump to 1.7.10
Ross Burton [Thu, 3 Sep 2020 20:31:53 +0000 (21:31 +0100)]
kea: bump to 1.7.10

This is the latest release in the 1.7.x series so should be a safe
upgrade, and means we can drop a patch as the AC_TRY_RUN has an
optimistic fallback for cross-compiling now.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agokea: don't use PACKAGECONFIG inappropriately
Ross Burton [Thu, 3 Sep 2020 20:31:52 +0000 (21:31 +0100)]
kea: don't use PACKAGECONFIG inappropriately

The Kea recipe has PACKAGECONFIG options for boost, openssl, and
log4cplus. However, these are not optional but mandatory dependencies.

Remove the PACKAGECONFIGs and replace with explicit DEPENDS and
EXTRA_OECONF. Also the RDEPENDS in the PACKAGECONFIGs are redundant as
the library dependencies are generated correctly.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agokea: no need to depend on kea-native
Ross Burton [Thu, 3 Sep 2020 20:31:51 +0000 (21:31 +0100)]
kea: no need to depend on kea-native

kea-msg-compiler is only needed if you alter the messages and the
generated sources need to be rebuilt.  When this is the case, there are
better ways to build kea-msg-compiler that don't involve building all of
Kea.

Don't depend on kea-native, remove BBCLASSEXTEND=native, and the target
overrides.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoautoconf: consolidate DEPENDS
Ross Burton [Thu, 3 Sep 2020 14:39:25 +0000 (15:39 +0100)]
autoconf: consolidate DEPENDS

Depending on nativesdk- varients in a nativesdk build isn't correct, so
just collapse the DEPENDS down and let bitbake do the right thing (which
is leaving them as -native).

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoautoconf: consolidate SRC_URI
Ross Burton [Thu, 3 Sep 2020 14:39:24 +0000 (15:39 +0100)]
autoconf: consolidate SRC_URI

There's no point splitting SRC_URI between the .inc and the .bb when
there's just one recipe and the splitting appeared to be arbitrary.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoinsane: only load real files as ELF
Ross Burton [Thu, 3 Sep 2020 12:43:19 +0000 (13:43 +0100)]
insane: only load real files as ELF

The file path checks are passed an ELF object if the file is an ELF. It
doesn't make a lot of sense to load symlinks to ELFs as if they're in
the same package then the real file will be checked too.

This should speed up do_package_qa slightly as libraries won't be
scanned repeatedly.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agodebianutils: change SRC_URI to use snapshot.debian.org
Ross Burton [Thu, 3 Sep 2020 10:54:48 +0000 (11:54 +0100)]
debianutils: change SRC_URI to use snapshot.debian.org

The primary Debian archive only contains tarballs which are currently
shipped in a release, so it's easy for a tarball we need to disappear.
Instead, point at snapshot.debian.org to ensure the link remains valid.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogdk-pixbuf: add tests PACKAGECONFIG
Ross Burton [Thu, 3 Sep 2020 10:54:39 +0000 (11:54 +0100)]
gdk-pixbuf: add tests PACKAGECONFIG

Convert the installed-tests toggle from simply respecting PTEST_ENABLED
to a PACKAGECONFIG, so that it can be turned on/off in the usual manner.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agorpcbind: Use update-alternatives for rpcinfo
Khem Raj [Tue, 1 Sep 2020 22:32:27 +0000 (15:32 -0700)]
rpcbind: Use update-alternatives for rpcinfo

rpcinfo is also provided vy netkit in meta-networking

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoxserver-xorg: update 1.20.8 -> 1.20.9
Alexander Kanavin [Wed, 2 Sep 2020 21:13:29 +0000 (23:13 +0200)]
xserver-xorg: update 1.20.8 -> 1.20.9

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agomesa: update 20.1.5 -> 20.1.6
Alexander Kanavin [Wed, 2 Sep 2020 21:13:30 +0000 (23:13 +0200)]
mesa: update 20.1.5 -> 20.1.6

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibx11: update 1.6.11 -> 1.6.12
Alexander Kanavin [Wed, 2 Sep 2020 21:13:28 +0000 (23:13 +0200)]
libx11: update 1.6.11 -> 1.6.12

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agognupg: update 2.2.21 -> 2.2.22
Alexander Kanavin [Wed, 2 Sep 2020 21:13:27 +0000 (23:13 +0200)]
gnupg: update 2.2.21 -> 2.2.22

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibva-utils: fix upstream version check
Alexander Kanavin [Wed, 2 Sep 2020 21:13:26 +0000 (23:13 +0200)]
libva-utils: fix upstream version check

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agonasm: update 2.15.03 -> 2.15.05
Alexander Kanavin [Wed, 2 Sep 2020 21:13:25 +0000 (23:13 +0200)]
nasm: update 2.15.03 -> 2.15.05

Use autotools-brokensep as new version needs that.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agognu-config: update to latest revision
Alexander Kanavin [Wed, 2 Sep 2020 21:13:24 +0000 (23:13 +0200)]
gnu-config: update to latest revision

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agostress-ng: upgrade 0.11.18 -> 0.11.19
Alexander Kanavin [Wed, 2 Sep 2020 21:13:23 +0000 (23:13 +0200)]
stress-ng: upgrade 0.11.18 -> 0.11.19

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoresolvconf: upgrade 1.82 -> 1.83
Alexander Kanavin [Wed, 2 Sep 2020 21:13:22 +0000 (23:13 +0200)]
resolvconf: upgrade 1.82 -> 1.83

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agore2c: upgrade 2.0.2 -> 2.0.3
Alexander Kanavin [Wed, 2 Sep 2020 21:13:21 +0000 (23:13 +0200)]
re2c: upgrade 2.0.2 -> 2.0.3

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopango: upgrade 1.46.0 -> 1.46.1
Alexander Kanavin [Wed, 2 Sep 2020 21:13:20 +0000 (23:13 +0200)]
pango: upgrade 1.46.0 -> 1.46.1

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agop11-kit: upgrade 0.23.20 -> 0.23.21
Alexander Kanavin [Wed, 2 Sep 2020 21:13:19 +0000 (23:13 +0200)]
p11-kit: upgrade 0.23.20 -> 0.23.21

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoninja: upgrade 1.10.0 -> 1.10.1
Alexander Kanavin [Wed, 2 Sep 2020 21:13:18 +0000 (23:13 +0200)]
ninja: upgrade 1.10.0 -> 1.10.1

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agomsmtp: upgrade 1.8.11 -> 1.8.12
Alexander Kanavin [Wed, 2 Sep 2020 21:13:17 +0000 (23:13 +0200)]
msmtp: upgrade 1.8.11 -> 1.8.12

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibuv: upgrade 1.38.1 -> 1.39.0
Alexander Kanavin [Wed, 2 Sep 2020 21:13:16 +0000 (23:13 +0200)]
libuv: upgrade 1.38.1 -> 1.39.0

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibrepo: upgrade 1.12.0 -> 1.12.1
Alexander Kanavin [Wed, 2 Sep 2020 21:13:15 +0000 (23:13 +0200)]
librepo: upgrade 1.12.0 -> 1.12.1

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibmpc: upgrade 1.1.0 -> 1.2.0
Alexander Kanavin [Wed, 2 Sep 2020 21:13:14 +0000 (23:13 +0200)]
libmpc: upgrade 1.1.0 -> 1.2.0

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoharfbuzz: upgrade 2.7.1 -> 2.7.2
Alexander Kanavin [Wed, 2 Sep 2020 21:13:13 +0000 (23:13 +0200)]
harfbuzz: upgrade 2.7.1 -> 2.7.2

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoenchant2: upgrade 2.2.8 -> 2.2.9
Alexander Kanavin [Wed, 2 Sep 2020 21:13:12 +0000 (23:13 +0200)]
enchant2: upgrade 2.2.8 -> 2.2.9

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agodebianutils: upgrade 4.11 -> 4.11.1
Alexander Kanavin [Wed, 2 Sep 2020 21:13:11 +0000 (23:13 +0200)]
debianutils: upgrade 4.11 -> 4.11.1

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibxcrypt: upgrade 4.4.16 -> 4.4.17
Alexander Kanavin [Wed, 2 Sep 2020 21:13:10 +0000 (23:13 +0200)]
libxcrypt: upgrade 4.4.16 -> 4.4.17

License-Update: adjusted file list
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agocmake: upgrade 3.18.1 -> 3.18.2
Alexander Kanavin [Wed, 2 Sep 2020 21:13:09 +0000 (23:13 +0200)]
cmake: upgrade 3.18.1 -> 3.18.2

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoglib-2.0: update 2.64.4 -> 2.64.5
Alexander Kanavin [Wed, 2 Sep 2020 21:13:08 +0000 (23:13 +0200)]
glib-2.0: update 2.64.4 -> 2.64.5

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopackage.bbclass: hash equivalency and pr service
Mark Hatle [Wed, 2 Sep 2020 15:33:22 +0000 (10:33 -0500)]
package.bbclass: hash equivalency and pr service

When the PR service is enabled a number of small changes may happen
to variables.  In the do_package step a call to package_get_auto_pr
will end up setting PRAUTO and modifying PKGV (if AUTOINC is there).

PRAUTO is then used by EXTENDPRAUTO, which is then used to generate
PKGR.

Since this behavior typically happens BEFORE the BB_UNIHASH is
calculated for do_package, we need a way to defer the expansion
until after we have the unihash value.

Writing out the pkgdata files w/o AUTOPR and PKGV (AUTOINC) expanded
to placeholder values is the easiest way to deal with this.  All other
variables are expanded as expected.

In the next task, typically do_packagedata, we will then use the
UNIHASH from the do_package to get the PR (AUTOPR) as well as
generate the AUTOINC replacement value (now PRSERV_PV_AUTOINC).

The do_packagedata then translates the placeholders to the final values
when copying the data from pkgdata to pkgdata-pdata-input.

Also update the prservice test case.  With unihash, just changing the
do_package (via a _append) will not change the PR.  So write the date
to a specific file that is incorporated into the unihash to ensure it
is always different for the test.  Various assert messages were also
updated to make it easier to figure out where/why a problem occured.

Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agokernel-yocto: only replace leading -I in include paths
Yanfei Xu [Wed, 2 Sep 2020 14:33:04 +0000 (10:33 -0400)]
kernel-yocto: only replace leading -I in include paths

We just want to remove the first '-I' in $d, hence removing the
g' of sed avoid changing the real path which is include '-I'

We also add an anchor to the regex to only match -I at the start
of the path.

Signed-off-by: Yanfei Xu <yanfei.xu@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolinux-yocto/5.8: update to v5.8.5
Bruce Ashfield [Wed, 2 Sep 2020 14:33:03 +0000 (10:33 -0400)]
linux-yocto/5.8: update to v5.8.5

Updating linux-yocto/5.8 to the latest korg -stable release that comprises
the following commits:

    9ece50d8a470 Linux 5.8.5
    c05dea7c0f3f binfmt_flat: revert "binfmt_flat: don't offset the data start"
    44f639d5aeda io_uring: fix missing ->mm on exit
    3f4be7a7db9f netlink: fix state reallocation in policy export
    1c0be9a99c9c ethtool: Don't omit the netlink reply if no features were changed
    507d7ac63fad ethtool: Account for hw_features in netlink interface
    e53140320193 ethtool: Fix preserving of wanted feature bits in netlink interface
    da995e0a6dac net: ena: Make missed_tx stat incremental
    3942262b7499 tipc: fix uninit skb->data in tipc_nl_compat_dumpit()
    828fd2e892b0 tipc: call rcu_read_lock() in tipc_aead_encrypt_done()
    22f2be57784e net/smc: Prevent kernel-infoleak in __smc_diag_dump()
    df805b956877 net: sctp: Fix negotiation of the number of data streams.
    4c1fc05e5d6a net/sched: act_ct: Fix skb double-free in tcf_ct_handle_fragments() error flow
    351366ffef2c net: qrtr: fix usage of idr in port assignment to socket
    c4c76ec584a7 net: nexthop: don't allow empty NHA_GROUP
    a75f8a60c415 net: Fix potential wrong skb->protocol in skb_vlan_untag()
    3f13223bb0b1 gre6: Fix reception with IP6_TNL_F_RCV_DSCP_COPY

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolinux-libc-headers: kernel headers are installed in STAGING_KERNEL_BUILDDIR
Nicolas Dechesne [Wed, 2 Sep 2020 10:47:44 +0000 (12:47 +0200)]
linux-libc-headers: kernel headers are installed in STAGING_KERNEL_BUILDDIR

Since 'fido', kernel headers are installed in STAGING_KERNEL_BUILDDIR,
not STAGING_KERNEL_DIR. So this message in the linux-libc-headers
recipe is slightly misleading.

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoiputils: Adapt ${PN}-tftpd package dependency to PACKAGECONFIG
Richard Purdie [Wed, 2 Sep 2020 10:40:22 +0000 (11:40 +0100)]
iputils: Adapt ${PN}-tftpd package dependency to PACKAGECONFIG

This avoids failures when recipes try and use the iptuils package.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoiputils: upgrade s20190709 -> s20200821
Changhyeok Bae [Tue, 1 Sep 2020 22:53:23 +0000 (00:53 +0200)]
iputils: upgrade s20190709 -> s20200821

- libgcrypt is not required anymore because the md5 implementation was
  part of this project.
- ninfod patches are upstreamed and other patch is not required anymore.
- Add tftpd in PACKAGECONFIG

Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agojson-glib: Backport a build fix with clang
Khem Raj [Wed, 2 Sep 2020 06:43:02 +0000 (23:43 -0700)]
json-glib: Backport a build fix with clang

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoselftest/prservice: Improve test failure message
Richard Purdie [Tue, 1 Sep 2020 22:41:15 +0000 (23:41 +0100)]
selftest/prservice: Improve test failure message

When failing, give more information about why exactly a failure is
happening such as the PR values in question.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agodiffoscope: upgrade 156 -> 158
Joshua Watt [Tue, 1 Sep 2020 18:57:07 +0000 (13:57 -0500)]
diffoscope: upgrade 156 -> 158

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agobind: 9.11 remove
akuster [Tue, 1 Sep 2020 15:22:36 +0000 (08:22 -0700)]
bind: 9.11 remove

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agobind: Add 9.16.x
akuster [Tue, 1 Sep 2020 15:22:35 +0000 (08:22 -0700)]
bind: Add 9.16.x

Removed obsolete packageconfig options

License change to MPL-2.0
https://gitlab.isc.org/isc-projects/bind9/blob/master/LICENSE

Refreshed:
bind-ensure-searching-for-json-headers-searches-sysr.patch
0001-named-lwresd-V-and-start-log-hide-build-options.patch
bind-ensure-searching-for-json-headers-searches-sysr.patch

Drop obsolete patch: 0001-configure.in-remove-useless-L-use_openssl-lib.patch

RP: Dropped the multilib scripts handling as those scripts are no longer present
in this version.

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agodhcp: remove from core
akuster [Tue, 1 Sep 2020 15:22:34 +0000 (08:22 -0700)]
dhcp: remove from core

update maintainers.inc too

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agobuild-appliance/packagegroup-core-base-utils: Replace dhcp-client/dhcp-server with...
Richard Purdie [Tue, 1 Sep 2020 18:20:58 +0000 (19:20 +0100)]
build-appliance/packagegroup-core-base-utils: Replace dhcp-client/dhcp-server with dhcpcd/kea

dhcp-client/dhcp-server is obsolete and unmaintained and about to be removed,
replace it with something which is maintained.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agomaintainers.inc: Add me as dhcpcd maintainer
akuster [Tue, 1 Sep 2020 15:22:33 +0000 (08:22 -0700)]
maintainers.inc: Add me as dhcpcd maintainer

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agodhcpcd: Move from meta-network as OE-Core needs a client
akuster [Tue, 1 Sep 2020 15:22:32 +0000 (08:22 -0700)]
dhcpcd: Move from meta-network as OE-Core needs a client

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agomaintainers.inc: Add me as kea & log4plus maintainer.
akuster [Tue, 1 Sep 2020 15:22:31 +0000 (08:22 -0700)]
maintainers.inc: Add me as kea & log4plus maintainer.

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agokea: Move from meta-networking
akuster [Tue, 1 Sep 2020 15:22:30 +0000 (08:22 -0700)]
kea: Move from meta-networking

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolog4cplus: move meta-oe pkg to core
akuster [Tue, 1 Sep 2020 15:22:29 +0000 (08:22 -0700)]
log4cplus: move meta-oe pkg to core

pkg need for kea

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agodevtool: deploy-target: Fix size calculation for hard links
Michael Tretter [Tue, 1 Sep 2020 13:29:00 +0000 (15:29 +0200)]
devtool: deploy-target: Fix size calculation for hard links

If a package contains hard links to a file, the file size is added for
each hard link instead of once for the file. Therefore, the calculated
size may be much larger than the actual package size.

For example, the mesa-megadriver package contains several hard links to
the same library.

Keep track of the inode numbers when listing the files that are
installed and use the actual size only for the first occurrence of an
inode. All further hard links to the same inode are added to the file
list, but accounted with size 0.

All file names need to be added to the file list, because the list is
used for preserving the files/hard links on the target.

Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoinsane: improve gnu-hash-style warning
Ross Burton [Wed, 2 Sep 2020 10:41:53 +0000 (11:41 +0100)]
insane: improve gnu-hash-style warning

Instead of showing a filename under packages-split, show the package
name and filename inside the package.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoinsane: fix gnu-hash-style check
Sumit Garg [Tue, 1 Sep 2020 12:59:23 +0000 (18:29 +0530)]
insane: fix gnu-hash-style check

Fix gnu-hash-style check that always returned True after commit [1]
leading to false positive presence of "GNU_HASH" in objdump output.

Fixes: 9ff90bf04a4c ("mips: Enable gnu-hash-style on glibc") [1]
Signed-off-by: Sumit Garg <sumit.garg@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoelfutils: silence a new QA warning
Ross Burton [Wed, 2 Sep 2020 10:41:54 +0000 (11:41 +0100)]
elfutils: silence a new QA warning

The fix to the gnu-hash-style check (oe-core 70d932f21) causes elfutils-ptest
to emit a new warning.  This binary is explicitly compiled with a curated
minimal set of compiler flags, so to avoid breaking the test simply skip the
ldflags check for elfutils-ptest.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopatchelf: upgrade 0.11 -> 0.12
Richard Purdie [Sat, 29 Aug 2020 13:19:13 +0000 (13:19 +0000)]
patchelf: upgrade 0.11 -> 0.12

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolinux-yocto-dev: bump to v5.9+
Bruce Ashfield [Sun, 30 Aug 2020 02:54:06 +0000 (22:54 -0400)]
linux-yocto-dev: bump to v5.9+

The dev branches have moved ahead, bump the version number to
match.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolttng-modules/devupstream: bump to latest 2.12 commits
Bruce Ashfield [Mon, 31 Aug 2020 16:34:32 +0000 (12:34 -0400)]
lttng-modules/devupstream: bump to latest 2.12 commits

Updating lttng-devupstream so we can build against kernel
5.9+

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agosysvinit rc: Use PSPLASH_FIFO_DIR for progress fifo
Michael Gloff [Sat, 29 Aug 2020 03:09:01 +0000 (22:09 -0500)]
sysvinit rc: Use PSPLASH_FIFO_DIR for progress fifo

psplash expects the fifo to be in /run or specified
by PSPLASH_FIFO_DIR. This patch allows psplash to
quit normally. Also, fix the work around of using
echo directly into the fifo and use psplash-write.

Signed-off-by: Michael Gloff <mgloff@emacinc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agooeqa: reproducible: Fix test not producing diffs
Joshua Watt [Sun, 30 Aug 2020 03:00:34 +0000 (22:00 -0500)]
oeqa: reproducible: Fix test not producing diffs

Diffoscope changed the --exclude-directory-metadata option to require an
argument.

Add a test to validate that diffoscope is functioning as
expected to ensure that future upgrades do not unintentionally break
the reproducibility tests.

[YOCTO #14025]

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agotimezone: include leap second data in tzdata-core
Peter A. Bigot [Sat, 29 Aug 2020 21:26:31 +0000 (16:26 -0500)]
timezone: include leap second data in tzdata-core

Conversion between UTC and continuous time scales like TAI requires
information about leap seconds.

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolttng-tools: lttng-ust works on riscv64
Khem Raj [Mon, 31 Aug 2020 05:20:10 +0000 (22:20 -0700)]
lttng-tools: lttng-ust works on riscv64

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoiw: upgrade 5.4 -> 5.8
Changhyeok Bae [Mon, 31 Aug 2020 09:59:47 +0000 (11:59 +0200)]
iw: upgrade 5.4 -> 5.8

Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoglib-networking: add ptest
Yi Zhao [Mon, 31 Aug 2020 09:08:01 +0000 (17:08 +0800)]
glib-networking: add ptest

Results:
$ ./run-ptest
Running test: glib-networking/connection-gnutls.test
[snip]
PASS: glib-networking/connection-gnutls.test
Running test: glib-networking/file-database-gnutls.test
[snip]
PASS: glib-networking/file-database-gnutls.test
Running test: glib-networking/certificate-gnutls.test
[snip]
PASS: glib-networking/certificate-gnutls.test
SUMMARY: total=3; passed=3; skipped=0; failed=0; user=0.2s; system=0.0s; maxrss=12896

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agooeqa: sdk: Capture stderr output
Joshua Watt [Mon, 31 Aug 2020 21:53:53 +0000 (16:53 -0500)]
oeqa: sdk: Capture stderr output

Redirect stderr to stdout when running subcommands while doing the SDK
tests. The tests will show stdout when CalledProcessError is raised,
but any output to stderr was lost.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoutil-linux: Allow update alternatives for additional apps
Khem Raj [Mon, 31 Aug 2020 18:57:17 +0000 (11:57 -0700)]
util-linux: Allow update alternatives for additional apps

mcookie/prlimit/uuidgen are also provided by toybox

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agorecipes-kernel: linux-firmware add qcom-venus-{5.2,5.4} packages
Anibal Limon [Mon, 31 Aug 2020 18:49:02 +0000 (13:49 -0500)]
recipes-kernel: linux-firmware add qcom-venus-{5.2,5.4} packages

Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agowic: misc: Add /bin to the list of searchpaths
Vijai Kumar K [Tue, 1 Sep 2020 10:02:33 +0000 (15:32 +0530)]
wic: misc: Add /bin to the list of searchpaths

/bin is also a valid path where one can find executables. Add
that to the search path.

Signed-off-by: Vijai Kumar K <vijaikumar.kanagarajan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolicense_image.bbclass: Create symlink to the image license manifest dir
Diego Sueiro [Tue, 1 Sep 2020 07:12:16 +0000 (08:12 +0100)]
license_image.bbclass: Create symlink to the image license manifest dir

In the LICENSE_DIRECTORY each time an image recipe is built a new directory
is created to hold the image license manifests.

By creating a symlink to the most recent created image license manifest
directory, we make things easier for users to collect and pack the data.

Signed-off-by: Diego Sueiro <diego.sueiro@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agosysstat: fix installed-vs-shipped QA Issue in systemd
hongxu [Fri, 28 Aug 2020 01:46:10 +0000 (18:46 -0700)]
sysstat: fix installed-vs-shipped QA Issue in systemd

While enabling systemd, there is QA issue:
...
|ERROR: sysstat-12.4.0-r0 do_package: QA Issue: sysstat: Files/directories
were installed but not shipped in any package:
|  /lib/systemd/system-sleep
|  /lib/systemd/system-sleep/sysstat.sleep
...

https://www.freedesktop.org/software/systemd/man/systemd-sleep.html
says the files should be dropped into /usr/lib/systemd/system-sleep
(that would be /lib/systemd/system-sleep in our configuration).  By
moving the files to another directory they'll be packaged but not
loaded by systemd.

Suggested-by Ross Burton <ross@burtonini.com>

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agokernel-yocto: checksum all modifications to available kernel fragments directories
Bruce Ashfield [Thu, 27 Aug 2020 20:04:47 +0000 (16:04 -0400)]
kernel-yocto: checksum all modifications to available kernel fragments directories

This is based on the patch from Zhaolong Zhang <zhangzl2013@126.com>
[kernel-yocto: checksum indirect cfg and scc files]

While the recommended manner to share/reuse feature fragments is to
maintain them in a kernel-meta repository and track the changes via the
standard SRCREV fetcher mechanism, that method is not always practical
for small sets of features or for quick testing of changes.

These other flows use .scc files on the SRC_URI. It has been noted that
config fragments or other features indirectly included by those .scc
files will not trigger the kernel meta-data to be re-run and hence a
build can continue with stale data (or not be triggered at all).

To solve this issue, we can collect the directories that are searchable
via FILESEXTRAPATHS and add them to the do_kernel_metadata task
checksum.

This allows modifications, additions and removals from the potential
kernel feature directories to trigger a re-execution of the meta data
task.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agokernel.bbclass: Move away from calling package_get_auto_pr
Mark Hatle [Thu, 27 Aug 2020 19:07:05 +0000 (14:07 -0500)]
kernel.bbclass: Move away from calling package_get_auto_pr

...instead we call read_subpackage_metadata.

Calling package_get_auto_pr *should* result in the same PKGV AUTOINC
replacement.  However, it will also end up changing PKGR differently
then do_package as the BB_TASKHASH used will be for the wrong task.

Generally this won't cause any real-world issue, but it could cause
problems.

Moving to read_subpackage_metadata ensures that the values used
in do_package will be read in and used for kernel deployment.

Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agobuildhistory.bbclass: Rework to use read_subpackage_metadata
Mark Hatle [Thu, 27 Aug 2020 19:07:04 +0000 (14:07 -0500)]
buildhistory.bbclass: Rework to use read_subpackage_metadata

Using this mechanism ensures that we have a single point to implement
the loading of the package and subpackage meta data.  This also then
allows the buildhistory class to use the regular datastore vs it's
own custom arrays for processing history items.

Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agokernel-yocto: allow promotion of configuration warnings to errors
Bruce Ashfield [Thu, 27 Aug 2020 17:54:03 +0000 (13:54 -0400)]
kernel-yocto: allow promotion of configuration warnings to errors

It was requested to add the ability to upgrade configuration warnings
to errors, so that they can't be missed in a build.

Add a flag KMETA_AUDIT_WERROR, that when set, triggers a bb.fatal at
the end of configuration checking if any warnings are found.

This is off by default, but is available for those that want to enable
it in their kernel recipe or bbappend.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolinux-yocto/5.8: disable IKHEADERS in default builds
Bruce Ashfield [Thu, 27 Aug 2020 17:54:01 +0000 (13:54 -0400)]
linux-yocto/5.8: disable IKHEADERS in default builds

A patch from 5.4 wasn't propagated to 5.8, and IKHEADERS was
renabled in our default builds.

This cases reproducibility issues when kernel modules are built.

We haven't tracked down the root cause yet, but for now, we still
don't want reproducibility failing on builds.

There's a dedicated reproducibility feature available for those
that want to enable the feature.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolinux-yocto/5.8: update to v5.8.4
Bruce Ashfield [Thu, 27 Aug 2020 17:54:00 +0000 (13:54 -0400)]
linux-yocto/5.8: update to v5.8.4

Updating linux-yocto/5.8 to the latest korg -stable release that comprises
the following commits:

    47dcb7fcad1d Linux 5.8.4
    920ebff48be3 Revert "drm/amd/display: Improve DisplayPort monitor interop"
    d0a3a0136337 KVM: arm64: Only reschedule if MMU_NOTIFIER_RANGE_BLOCKABLE is not set
    af3093319fce KVM: Pass MMU notifier range flags to kvm_unmap_hva_range()
    d9903e8c2576 do_epoll_ctl(): clean the failure exits up a bit
    1f802ace4bd5 efi/libstub: Handle unterminated cmdline
    ca60a5eb8372 efi/libstub: Handle NULL cmdline
    3bff856ba44d efi/libstub: Stop parsing arguments at "--"
    e6584124b982 efi: add missed destroy_workqueue when efisubsys_init fails
    09a307050798 efi/x86: Mark kernel rodata non-executable for mixed mode
    3d9ed544ec9b EDAC/{i7core,sb,pnd2,skx}: Fix error event severity
    979a9c0058f9 powerpc/pseries: Do not initiate shutdown when system is running on UPS
    d9b227a03e9a powerpc: Fix P10 PVR revision in /proc/cpuinfo for SMT4 cores
    c09886c19233 epoll: Keep a reference on files added to the check list
    3489cea04a4b net: dsa: b53: check for timeout
    0c831e9dad9d hv_netvsc: Fix the queue_mapping in netvsc_vf_xmit()
    d446604e432c selftests/bpf: Remove test_align leftovers
    9500db5480f8 net: gemini: Fix missing free_netdev() in error path of gemini_ethernet_port_probe()
    af4a56476ddd net: ena: Change WARN_ON expression in ena_del_napi_in_range()
    8c01a77d28bf net: ena: Prevent reset after device destruction
    3c1d705f29c6 bonding: fix active-backup failover for current ARP slave
    f6c6b312efef powerpc/pseries/hotplug-cpu: wait indefinitely for vCPU death
    63f10205a215 bpf: Use get_file_rcu() instead of get_file() for task_file iterator
    2fe8be1a33d5 powerpc/fixmap: Fix the size of the early debug area
    6f1d3ac25b59 ARM64: vdso32: Install vdso32 from vdso_install
    88d78fa3426f afs: Fix NULL deref in afs_dynroot_depopulate()
    f09a790a6e46 kconfig: qconf: remove qInfo() to get back Qt4 support
    19881ebab34f afs: Fix key ref leak in afs_put_operation()
    f35bb8426115 Revert "RDMA/hns: Reserve one sge in order to avoid local length error"
    8facd0c47293 RDMA/bnxt_re: Do not add user qps to flushlist
    1f43cb1c6f56 Fix build error when CONFIG_ACPI is not set/enabled:
    15f8decf24ed efi: avoid error message when booting under Xen
    80876bf7962d kconfig: qconf: fix signal connection to invalid slots
    a00ac43450bf kconfig: qconf: do not limit the pop-up menu to the first row
    a4d533969b91 Revert "scsi: qla2xxx: Disable T10-DIF feature with FC-NVMe during probe"
    06e5e83d1fa5 scsi: ufs: Fix interrupt error message for shared interrupts
    a3ef038de59a scsi: ufs-pci: Add quirk for broken auto-hibernate for Intel EHL
    88a3da2e55b0 scsi: ufs: Add quirk to fix abnormal ocs fatal error
    65fa4a6ee3b8 scsi: ufs: Introduce UFSHCD_QUIRK_PRDT_BYTE_GRAN quirk
    2a0b7adc5d0d scsi: ufs: Add quirk to enable host controller without hce
    81929755f92e scsi: ufs: Add quirk to disallow reset of interrupt aggregation
    8ab0b065d8bd scsi: ufs: Add quirk to fix mishandling utrlclr/utmrlclr
    c3e9f5c75eba scsi: ufs: ti-j721e-ufs: Fix error return in ti_j721e_ufs_probe()
    3d1bc8c7b20f of/address: check for invalid range.cpu_addr
    e10e99e4872b kvm: x86: Toggling CR4.PKE does not load PDPTEs in PAE mode
    cfc52749f050 kvm: x86: Toggling CR4.SMAP does not load PDPTEs in PAE mode
    753d60c62003 arch/ia64: Restore arch-specific pgd_offset_k implementation
    c9486fc5f69b vfio/type1: Add proper error unwind for vfio_iommu_replay()
    c49fa6397b6d vfio-pci: Avoid recursive read-lock usage
    ba9c27ba1175 watch_queue: Limit the number of watches a user can hold
    7505eeadc5a7 ASoC: intel: Fix memleak in sst_media_open
    2586fcb08f85 ASoC: msm8916-wcd-analog: fix register Interrupt offset
    ca79907768d3 s390/ptrace: fix storage key handling
    87a297a5a835 s390/runtime_instrumentation: fix storage key handling
    3bd77efc033f ipvlan: fix device features
    39560b31450b bonding: fix a potential double-unregister
    dfdc8eaf69a6 can: j1939: add rxtimer for multipacket broadcast session
    638e26b82db3 can: j1939: abort multipacket broadcast session when timeout occurs
    f7653e4b8fa9 can: j1939: cancel rxtimer on multipacket broadcast session complete
    6cc1cc005e97 can: j1939: fix support for multipacket broadcast message
    f9c6097aeb30 bonding: show saner speed for broadcast mode
    b9ca7a24e64a net: fec: correct the error path for regulator disable in probe
    22da47f7c872 i40e: Fix crash during removing i40e driver
    fb95a28d7daf i40e: Set RX_ONLY mode for unicast promiscuous on VLAN
    d302358881c4 igc: Fix PTP initialization
    16c3d947c69b can: j1939: transport: add j1939_session_skb_find_by_offset() function
    f0c778597a5a can: j1939: transport: j1939_simple_recv(): ignore local J1939 messages send not by J1939 stack
    089dd91ec99b can: j1939: fix kernel-infoleak in j1939_sk_sock2sockaddr_can()
    93c39ebb5d44 libbpf: Fix BTF-defined map-in-map initialization on 32-bit host arches
    db7f8c57dbdd bpf: sock_ops sk access may stomp registers when dst_reg = src_reg
    cd4644d904e1 bpf: sock_ops ctx access may stomp registers in corner case
    5d9c020bd8e3 tools/bpftool: Make skeleton code C++17-friendly by dropping typeof()
    c2bbf3cbcf78 ASoC: q6routing: add dummy register read/write function
    60df9abd8489 ASoC: q6afe-dai: mark all widgets registers as SND_SOC_NOPM
    4c3f6739fe05 spi: stm32: fixes suspend/resume management
    4707dba95055 netfilter: nf_tables: nft_exthdr: the presence return value should be little-endian
    cfa678021a1b ext4: check journal inode extents more carefully
    20070b188bf4 ext4: don't allow overlapping system zones
    480a5124cd0e drm/virtio: fix missing dma_fence_put() in virtio_gpu_execbuffer_ioctl()
    88e79f7a9841 ext4: fix potential negative array index in do_split()
    95e117076842 fs/signalfd.c: fix inconsistent return codes for signalfd4
    796f99a7b77a fat: fix fat_ra_init() for data clusters == 0
    f358706be43a alpha: fix annotation of io{read,write}{16,32}be()
    5461d5e84ed3 xfs: Fix UBSAN null-ptr-deref in xfs_sysfs_init
    99b3f3bd1fa9 tools/testing/selftests/cgroup/cgroup_util.c: cg_read_strcmp: fix null pointer dereference
    2dc74b9a9a9f media: camss: fix memory leaks on error handling paths in probe
    630170dfc73a virtio_ring: Avoid loop when vq is broken in virtqueue_poll
    55bd4074ce6b scsi: libfc: Free skb in fc_disc_gpn_id_resp() for valid cases
    caceaea09891 cpufreq: intel_pstate: Fix cpuinfo_max_freq when MSR_TURBO_RATIO_LIMIT is 0
    3f6735308fdf swiotlb-xen: use vmalloc_to_page on vmalloc virt addresses
    8d5b9bb9a58a ceph: fix use-after-free for fsc->mdsc
    17754f71db7b jffs2: fix UAF problem
    7beedf14a639 riscv: Fixup static_obj() fail
    106f319212e5 drm/ttm: fix offset in VMAs with a pg_offs in ttm_bo_vm_access
    8da93b053951 xfs: fix inode quota reservation checks
    a8c8ad128e19 svcrdma: Fix another Receive buffer leak
    2a9eccbe614e m68knommu: fix overwriting of bits in ColdFire V3 cache control
    4accb5af385b MIPS: Fix unable to reserve memory for Crash kernel
    689bee9eb02a Input: psmouse - add a newline when printing 'proto' by sysfs
    f6b2fb80ffdc f2fs: should avoid inode eviction in synchronous path
    a692a28626e2 media: vpss: clean up resources in init
    b0eecd0e3c05 rtc: goldfish: Enable interrupt in set_alarm() when necessary
    e055ffe8d48a f2fs: fix to check page dirty status before writeback
    527b13f612df media: coda: jpeg: add NULL check after kmalloc
    cd67c599233f media: budget-core: Improve exception handling in budget_register()
    f05c0e45e0b7 scsi: target: tcmu: Fix crash in tcmu_flush_dcache_range on ARM
    b84142b25cae scsi: ufs: Add DELAY_BEFORE_LPM quirk for Micron devices
    c68589be55fd drm/i915: Provide the perf pmu.module
    3a07e556aa59 drm/i915/pmu: Prefer drm_WARN_ON over WARN_ON
    33eb147ff02f drm/amd/display: fix pow() crashing when given base 0
    e0a7a29fb37f drm/amd/display: Fix DFPstate hang due to view port changed
    9cb01ea4fab5 drm/amd/display: Blank stream before destroying HDCP session
    115e2a7226c0 drm/amd/display: Fix EDID parsing after resume from suspend
    e06fe5e678fe drm/amd/display: Fix incorrect backlight register offset for DCN
    c20d9803acc2 drm/amdgpu/display: use GFP_ATOMIC in dcn20_validate_bandwidth_internal
    bdc689905bef drm: amdgpu: Use the correct size when allocating memory
    144fa0580fbe mm/memory.c: skip spurious TLB flush for retried page fault
    6f2950ebcd88 s390/pci: ignore stale configuration request event
    4c86de3bff29 s390/pci: fix PF/VF linking on hot plug
    1d95c4596123 s390/pci: re-introduce zpci_remove_device()
    c77c3fdef0f6 s390/pci: fix zpci_bus_link_virtfn()
    91729fc577b3 selftests: kvm: Use a shorter encoding to clear RAX
    171f7e5f7d6a scsi: zfcp: Fix use-after-free in request timeout handlers
    1ae4b74a2302 jbd2: add the missing unlock_buffer() in the error path of jbd2_write_superblock()
    38ccb4b484bb ext4: fix checking of directory entry validity for inline directories
    7535cbdd6cab ext4: do not block RWF_NOWAIT dio write on unallocated space
    e25d2b38fe64 opp: Put opp table in dev_pm_opp_set_rate() if _set_opp_bw() fails
    9cb98fa067fa opp: Put opp table in dev_pm_opp_set_rate() for empty tables
    e8996e480762 opp: Enable resources again if they were disabled earlier
    6b5b9fdedd98 RDMA/hfi1: Correct an interlock issue for TID RDMA WRITE request
    e0d5793a7aa6 ASoC: amd: renoir: restore two more registers during resume
    5b21a116b136 mm, page_alloc: fix core hung in free_pcppages_bulk()
    3d803ebd631e mm: include CMA pages in lowmem_reserve at boot
    37d1789de274 squashfs: avoid bio_alloc() failure with 1Mbyte blocks
    a1a1ea598177 uprobes: __replace_page() avoid BUG in munlock_vma_page()
    14fb06cc4b38 kernel/relay.c: fix memleak on destroy relay channel
    734a5c3f266c romfs: fix uninitialized memory leak in romfs_dev_read()
    0675a6f26bd8 mm/vunmap: add cond_resched() in vunmap_pmd_range
    917cdc0d2c53 io_uring: find and cancel head link async work on files exit
    93366cb81056 spi: Prevent adding devices below an unregistering controller
    a14e7ce59232 can: j1939: socket: j1939_sk_bind(): make sure ml_priv is allocated
    cf3b3ffb272c can: j1939: transport: j1939_session_tx_dat(): fix use-after-free read in j1939_tp_txtimer()
    2d790596d76f ALSA: hda/realtek: Add quirk for Samsung Galaxy Book Ion
    c20d8d9c04b9 ALSA: hda/realtek: Add quirk for Samsung Galaxy Flex Book
    44d8f487a7d6 ALSA: hda: avoid reset of sdo_limit
    6a1624ca6229 khugepaged: adjust VM_BUG_ON_MM() in __khugepaged_enter()
    801515285db3 drm/ast: Initialize DRAM type before posting GPU
    38814f974d34 drm/ast: Remove unused code paths for AST 1180
    f8be691dbd88 drm/panel-simple: Fix inverted V/H SYNC for Frida FRD350H54004 panel
    f04844351ce2 drm/vgem: Replace opencoded version of drm_gem_dumb_map_offset()

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolinux-yocto/5.4: update to v5.4.61
Bruce Ashfield [Thu, 27 Aug 2020 17:53:59 +0000 (13:53 -0400)]
linux-yocto/5.4: update to v5.4.61

Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

    6576d69aac94 Linux 5.4.61
    d316d52742c4 KVM: arm64: Only reschedule if MMU_NOTIFIER_RANGE_BLOCKABLE is not set
    e1818ffcca0e KVM: Pass MMU notifier range flags to kvm_unmap_hva_range()
    744fde53ec32 xen: don't reschedule in preemption off sections
    d6bca2a8f064 mm/hugetlb: fix calculation of adjust_range_if_pmd_sharing_possible
    42694912aaf1 do_epoll_ctl(): clean the failure exits up a bit
    b158e91610c7 epoll: Keep a reference on files added to the check list
    5167f194da69 efi: add missed destroy_workqueue when efisubsys_init fails
    13b1fc60ecb0 powerpc/pseries: Do not initiate shutdown when system is running on UPS
    dafae068886a net: dsa: b53: check for timeout
    83236e697f79 hv_netvsc: Fix the queue_mapping in netvsc_vf_xmit()
    2dd00ae408a9 net: gemini: Fix missing free_netdev() in error path of gemini_ethernet_port_probe()
    f4adc6430d74 net: ena: Prevent reset after device destruction
    f4ed9ede3441 bonding: fix active-backup failover for current ARP slave
    542a493c8c5e ARM64: vdso32: Install vdso32 from vdso_install
    278eb88ab206 afs: Fix NULL deref in afs_dynroot_depopulate()
    140ac9370b16 RDMA/bnxt_re: Do not add user qps to flushlist
    dc0d58e281a6 Fix build error when CONFIG_ACPI is not set/enabled:
    7cc9812be1c7 efi: avoid error message when booting under Xen
    d3ca317cf62a kconfig: qconf: fix signal connection to invalid slots
    51d85e70e3ad kconfig: qconf: do not limit the pop-up menu to the first row
    da1069e4e727 Revert "scsi: qla2xxx: Disable T10-DIF feature with FC-NVMe during probe"
    6e2aa034d777 kvm: x86: Toggling CR4.PKE does not load PDPTEs in PAE mode
    46713f3d61b3 kvm: x86: Toggling CR4.SMAP does not load PDPTEs in PAE mode
    667a59aa55fb vfio/type1: Add proper error unwind for vfio_iommu_replay()
    503176f5dc07 ASoC: intel: Fix memleak in sst_media_open
    8aeb112d58c0 ASoC: msm8916-wcd-analog: fix register Interrupt offset
    e9849a60facb s390/ptrace: fix storage key handling
    d35f24bc566d s390/runtime_instrumentation: fix storage key handling
    cc215d206881 bonding: fix a potential double-unregister
    8a49739f58f5 can: j1939: add rxtimer for multipacket broadcast session
    d7ab964b6ba9 can: j1939: abort multipacket broadcast session when timeout occurs
    d0dc3d2c71e2 can: j1939: cancel rxtimer on multipacket broadcast session complete
    5159a0a5164b can: j1939: fix support for multipacket broadcast message
    5dc0c1c12094 bonding: show saner speed for broadcast mode
    1b9dee25ad25 net: fec: correct the error path for regulator disable in probe
    c0e04d08e544 i40e: Fix crash during removing i40e driver
    e2a8d4423640 i40e: Set RX_ONLY mode for unicast promiscuous on VLAN
    154ccf69feca can: j1939: transport: add j1939_session_skb_find_by_offset() function
    3bfd1398de6a can: j1939: transport: j1939_simple_recv(): ignore local J1939 messages send not by J1939 stack
    ff723ef6b7b6 can: j1939: fix kernel-infoleak in j1939_sk_sock2sockaddr_can()
    6e0bc946cbee bpf: sock_ops sk access may stomp registers when dst_reg = src_reg
    ece9ca5840e0 ASoC: q6routing: add dummy register read/write function
    aaa6e691b983 ASoC: q6afe-dai: mark all widgets registers as SND_SOC_NOPM
    233d6f2ab120 spi: stm32: fixes suspend/resume management
    666d1d1a0584 netfilter: nf_tables: nft_exthdr: the presence return value should be little-endian
    3473fa198178 ext4: don't allow overlapping system zones
    ea54176e5821 ext4: fix potential negative array index in do_split()
    2585402c5799 fs/signalfd.c: fix inconsistent return codes for signalfd4
    e4f952b031c1 alpha: fix annotation of io{read,write}{16,32}be()
    538c74a9cb26 xfs: Fix UBSAN null-ptr-deref in xfs_sysfs_init
    4591461ea9f2 tools/testing/selftests/cgroup/cgroup_util.c: cg_read_strcmp: fix null pointer dereference
    10b2bb101f06 media: camss: fix memory leaks on error handling paths in probe
    05724341d9db virtio_ring: Avoid loop when vq is broken in virtqueue_poll
    34f8368f6634 scsi: libfc: Free skb in fc_disc_gpn_id_resp() for valid cases
    28850b8043cc cpufreq: intel_pstate: Fix cpuinfo_max_freq when MSR_TURBO_RATIO_LIMIT is 0
    cca58a166920 swiotlb-xen: use vmalloc_to_page on vmalloc virt addresses
    2bd8ba398fad ceph: fix use-after-free for fsc->mdsc
    2524bb04d81b jffs2: fix UAF problem
    04aeb884e8a5 drm/ttm: fix offset in VMAs with a pg_offs in ttm_bo_vm_access
    711f5688bb97 xfs: fix inode quota reservation checks
    8fe5e38acbe7 svcrdma: Fix another Receive buffer leak
    7aca2f7d1710 m68knommu: fix overwriting of bits in ColdFire V3 cache control
    1a718d4caa1a MIPS: Fix unable to reserve memory for Crash kernel
    5594a54c520b Input: psmouse - add a newline when printing 'proto' by sysfs
    06d4d9acd7d8 media: vpss: clean up resources in init
    f948f1d02237 rtc: goldfish: Enable interrupt in set_alarm() when necessary
    85ad0d5f3d69 media: budget-core: Improve exception handling in budget_register()
    62b8c76d061f scsi: target: tcmu: Fix crash in tcmu_flush_dcache_range on ARM
    59d587cc3640 scsi: ufs: Add DELAY_BEFORE_LPM quirk for Micron devices
    10e99c3003d5 opp: Enable resources again if they were disabled earlier
    52d322f91954 kthread: Do not preempt current task if it is going to call schedule()
    504fe0ab2412 drm/amd/display: fix pow() crashing when given base 0
    1f3cfa9338c3 drm/amd/display: Fix EDID parsing after resume from suspend
    6f3bff30f1cb drm/amdgpu/display: use GFP_ATOMIC in dcn20_validate_bandwidth_internal
    f45ab6e7d957 scsi: zfcp: Fix use-after-free in request timeout handlers
    b4062a49ad4a jbd2: add the missing unlock_buffer() in the error path of jbd2_write_superblock()
    2bc54ba65fdc ext4: fix checking of directory entry validity for inline directories
    59af0759bd46 RDMA/hfi1: Correct an interlock issue for TID RDMA WRITE request
    0cfb9320d00c mm, page_alloc: fix core hung in free_pcppages_bulk()
    5663159e2930 mm: include CMA pages in lowmem_reserve at boot
    e9e3ec03e6ae uprobes: __replace_page() avoid BUG in munlock_vma_page()
    fa2e0d4e4a4c kernel/relay.c: fix memleak on destroy relay channel
    19a77c937a19 romfs: fix uninitialized memory leak in romfs_dev_read()
    3e538c536f01 spi: Prevent adding devices below an unregistering controller
    143df6b3584a can: j1939: socket: j1939_sk_bind(): make sure ml_priv is allocated
    60be1488a3ae can: j1939: transport: j1939_session_tx_dat(): fix use-after-free read in j1939_tp_txtimer()
    055c65c7e7dd ALSA: hda/realtek: Add quirk for Samsung Galaxy Book Ion
    4fe52a85eeb4 ALSA: hda/realtek: Add quirk for Samsung Galaxy Flex Book
    84bfb4b10d6f btrfs: add wrapper for transaction abort predicate
    745148367b04 btrfs: return EROFS for BTRFS_FS_STATE_ERROR cases
    de88b7e2f02f btrfs: don't show full path of bind mounts in subvol=
    038580b1f58b btrfs: export helpers for subvolume name/id resolution
    b40753984979 bcache: avoid nr_stripes overflow in bcache_device_init()
    9f4f7c08d50b khugepaged: adjust VM_BUG_ON_MM() in __khugepaged_enter()
    9a05b774af30 khugepaged: khugepaged_test_exit() check mmget_still_valid()
    8043d5ee9168 perf probe: Fix memory leakage when the probe point is not found
    888d9b829c25 gfs2: Never call gfs2_block_zero_range with an open transaction
    18a640d3b570 gfs2: Improve mmap write vs. punch_hole consistency
    e42c75ef3477 drm/vgem: Replace opencoded version of drm_gem_dumb_map_offset()
    62353048e2d4 kbuild: support LLVM=1 to switch the default tools to Clang/LLVM
    c7d8f67db126 kbuild: replace AS=clang with LLVM_IAS=1
    244d9026768d kbuild: remove AS variable
    fed06097acce kbuild: remove PYTHON2 variable
    fa84d9f31599 x86/boot: kbuild: allow readelf executable to be specified
    c173511a12e4 net: wan: wanxl: use $(M68KCC) instead of $(M68KAS) for rebuilding firmware
    c7c239c947be net: wan: wanxl: use allow to pass CROSS_COMPILE_M68k for rebuilding firmware
    f781285d09a9 Documentation/llvm: fix the name of llvm-size
    97eab9af0036 Documentation/llvm: add documentation on building w/ Clang/LLVM

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopackage.bbclass: explode the RPROVIDES so we don't think the versions are provides
Ross Burton [Thu, 27 Aug 2020 15:58:04 +0000 (16:58 +0100)]
package.bbclass: explode the RPROVIDES so we don't think the versions are provides

emit_pkgdata() creates symlinks for each of the RPROVIDES in
pkgdata/MACHINE/runtime-rprovides.  However this string can contain
versions which results in directories called (=2.32), so pass the
RPROVIDES string through bb.utils.explode_deps() to strip the versions
out.

Helps mitigate - but not solve - #13999.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agooeqa/multilib: un-skip the connman test
Alexander Kanavin [Thu, 27 Aug 2020 10:59:33 +0000 (12:59 +0200)]
oeqa/multilib: un-skip the connman test

It was previously skipped as it was expecting plain connman
to not be in the image, and for core-image-sato connman is always there.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agooeqa/multilib: rework to use readelf from the host
Alexander Kanavin [Thu, 27 Aug 2020 10:59:32 +0000 (12:59 +0200)]
oeqa/multilib: rework to use readelf from the host

It is difficult and error-prone to ensure binutils gets
installed into target images where this test may run;
on the other hand readelf is always present on the
host, as it is a part of HOSTTOOLS.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agooeqa/x32lib: rework to use readelf from the host
Alexander Kanavin [Thu, 27 Aug 2020 10:59:31 +0000 (12:59 +0200)]
oeqa/x32lib: rework to use readelf from the host

It is difficult and error-prone to ensure binutils gets
installed into target images where this test may run;
on the other hand readelf is always present on the
host, as it is a part of HOSTTOOLS.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopackagegroup-core-device-devel: remove
Alexander Kanavin [Thu, 27 Aug 2020 10:59:30 +0000 (12:59 +0200)]
packagegroup-core-device-devel: remove

The purpose and content of the group is not clear;
the only consumer (poky distro) is no longer using it.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agojson-glib: inherit upstream-version-is-even
Alexander Kanavin [Thu, 27 Aug 2020 10:59:29 +0000 (12:59 +0200)]
json-glib: inherit upstream-version-is-even

As specified in https://wiki.gnome.org/Projects/JsonGlib

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agosystemd-boot: bump version to 246.2
Alexander Kanavin [Thu, 27 Aug 2020 10:59:28 +0000 (12:59 +0200)]
systemd-boot: bump version to 246.2

The recipe includes systemd.inc and so shares SRCREV with the main systemd.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolttng: Move platform logic to dedicated inc file
Richard Purdie [Thu, 27 Aug 2020 08:56:28 +0000 (09:56 +0100)]
lttng: Move platform logic to dedicated inc file

Some platforms support kernel tracing, some support userspace tracing.
This change:

* Moves the knowledge/config to one place in an inc file
* Allows lttng-tools to build without lttng-modules
* Hence enables tools+ust for riscv64
* Has the packagegroup just depend on lttng-tools which will pull in
  ust/modules as needed

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibgpg-error:upgrade 1.38 -> 1.39
zangrc [Thu, 27 Aug 2020 13:16:24 +0000 (21:16 +0800)]
libgpg-error:upgrade 1.38 -> 1.39

0003-build-Fix-cross-compiling-into-a-separate-build-dir.patch
0005-src-gen-lock-obj.sh-add-a-file.patch
Removed since these are included in 1.39

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibcap-ng:upgrade 0.7.10 -> 0.7.11
zangrc [Thu, 27 Aug 2020 13:16:23 +0000 (21:16 +0800)]
libcap-ng:upgrade 0.7.10 -> 0.7.11

0001-configure.ac-add-library-if-header-found.patch
0002-Wrap-pthread_atfork-usage-in-HAVE_PTHREAD_H.patch
Removed since these are included in 0.7.11

Refresh the following patch:
python.patch

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibcap:upgrade 2.42 -> 2.43
zangrc [Thu, 27 Aug 2020 13:16:22 +0000 (21:16 +0800)]
libcap:upgrade 2.42 -> 2.43

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agodevtool: expand SRC_URI when guessing recipe update mode
Martin Jansa [Wed, 19 Aug 2020 11:20:51 +0000 (13:20 +0200)]
devtool: expand SRC_URI when guessing recipe update mode

* I have recipes which use variable inside SRC_URI, e.g.:
  ROS_BRANCH ?= "branch=release/melodic/swri_nodelet"
  SRC_URI = "git://github.com/swri-robotics-gbp/marti_common-release;${ROS_BRANCH};protocol=https"

  and devtool modify works fine, but devtool finish fails with:

  $ devtool finish --force-patch-refresh swri-nodelet meta-ros/meta-ros1-melodic/
  ...
  Traceback (most recent call last):
    File "/OE/openembedded-core/scripts/devtool", line 334, in <module>
      ret = main()
    File "/OE/openembedded-core/scripts/devtool", line 321, in main
      ret = args.func(args, config, basepath, workspace)
    File "/OE/openembedded-core/scripts/lib/devtool/standard.py", line 2082, in finish
      updated, appendfile, removed = _update_recipe(args.recipename, workspace, rd, args.mode, appendlayerdir, wildcard_version=True, no_remove=False, no_report_remove=removing_original, initial_rev=args.initial_rev, dry_run_outdir=dry_run_outdir, no_overrides=args.no_overrides, force_patch_refresh=args.force_patch_refresh)
    File "/OE/openembedded-core/scripts/lib/devtool/standard.py", line 1737, in _update_recipe
      mode = _guess_recipe_update_mode(srctree, rd)
    File "/OE/openembedded-core/scripts/lib/devtool/standard.py", line 1721, in _guess_recipe_update_mode
      params = bb.fetch.decodeurl(uri)[5]
    File "/OE/bitbake/lib/bb/fetch2/__init__.py", line 390, in decodeurl
      raise MalformedUrl(url, "The URL: '%s' is invalid: parameter %s does not specify a value (missing '=')" % (url, s))
  bb.fetch2.MalformedUrl: The URL: 'git://github.com/swri-robotics-gbp/marti_common-release;${ROS_BRANCH};protocol=https' is invalid: parameter ${ROS_BRANCH} does not specify a value (missing '=')

  let it expand the SRC_URI before trying to decode it.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolib/oe/recipeutils.py: add support for BBFILES_DYNAMIC
Naveen Saini [Fri, 21 Aug 2020 01:00:36 +0000 (09:00 +0800)]
lib/oe/recipeutils.py: add support for BBFILES_DYNAMIC

Instead of relying on value of BBFILES from bitbake, devtool
parses the layer.conf because the layer might not be in bblayers.conf.
And it currently does not consider the value of BBFILES_DYNAMIC because
of which recipes, in paths defined by BBFILES_DYNAMIC, upgraded
using devtool end up in wrong location.

Include the code from bitbake to append values to BBFILES based on
what is in BBFILES_DYNAMIC too.

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoimage_types_wic: Add ASSUME_PROVIDED to WICVARS
Vijai Kumar K [Wed, 26 Aug 2020 16:20:25 +0000 (21:50 +0530)]
image_types_wic: Add ASSUME_PROVIDED to WICVARS

Add ASSUME_PROVIDED to WICVARS so that wic can use that
when running on bitbake environment.

This fixes the below build failure in do_image_wic
when --include-path is used in wks file.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopseudo: fix renaming to self
Joe Slater [Wed, 26 Aug 2020 18:58:57 +0000 (11:58 -0700)]
pseudo: fix renaming to self

Pseudo tests for an item being renamed to itself only after
information about it has been deleted.  Move the test to before
we change the database.

Note that pseudo does not support renameat2(), but neither does
glibc.

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agokernel.bbclass: Remove do_install[prefunc] no longer needed
Mark Hatle [Wed, 26 Aug 2020 11:27:29 +0000 (06:27 -0500)]
kernel.bbclass: Remove do_install[prefunc] no longer needed

Prior work has refactored the do_install task multiple times, and any
references to PKGV and PKGR (even indirect ones) have been removed.

Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopackage_tar.bbclass: Sync to the other package_* classes
Mark Hatle [Wed, 26 Aug 2020 11:27:28 +0000 (06:27 -0500)]
package_tar.bbclass: Sync to the other package_* classes

Sync up the anonymous python definition with the other package_*.bbclass
files.  This should make future maintenance easier, even though it has
no difference in behavior from what was there.

Additional, there was a missing deltask in the nopackages.bbclass related
to the package_tar which has been corrected.  This could cause problems on
native recipes when package_tar was enabled.

Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>