From: Steve Sakoman <steve@sakoman.com>
To: openembedded-core@lists.openembedded.org
Subject: [OE-core][dunfell 07/11] linux-firwmare: restore WHENCE_CHKSUM variable
Date: Thu, 18 Aug 2022 06:56:24 -1000 [thread overview]
Message-ID: <a92117ddc61f4c8bb32a4badcf00a5d1a0cb2371.1660841536.git.steve@sakoman.com> (raw)
In-Reply-To: <cover.1660841536.git.steve@sakoman.com>
From: Dmitry Baryshkov <dbaryshkov@gmail.com>
Restore WHENCE_CHKSUM variable which is used to hold the WHENCE file
checksum. It is necessary to allow easily overriding it from local.conf
if the devupstream version is selected:
PREFERRED_VERSION_linux-firmware = "1:20220708+git%"
SRCREV:class-devupstream = "${AUTOREV}"
WHENCE_CHKSUM:class-devupstream:pn-linux-firmware = "abf1077491eeb261ecdcb680a34fc059"
Without the WHENCE_CHECKSUM one would need to manually patch the
LIC_FILES_CHKSUM variable to change the checksum of WHENC (e.g. using
the anonymous python function or remove expression).
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 554be2af1e0a03a2d23032d48afbbe0913a45409)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
---
.../recipes-kernel/linux-firmware/linux-firmware_20220708.bb | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/meta/recipes-kernel/linux-firmware/linux-firmware_20220708.bb b/meta/recipes-kernel/linux-firmware/linux-firmware_20220708.bb
index e7a7e0828f..27146154be 100644
--- a/meta/recipes-kernel/linux-firmware/linux-firmware_20220708.bb
+++ b/meta/recipes-kernel/linux-firmware/linux-firmware_20220708.bb
@@ -128,8 +128,11 @@ LIC_FILES_CHKSUM = "file://LICENCE.Abilis;md5=b5ee3f410780e56711ad48eadc22b8bc \
file://LICENCE.xc4000;md5=0ff51d2dc49fce04814c9155081092f0 \
file://LICENCE.xc5000;md5=1e170c13175323c32c7f4d0998d53f66 \
file://LICENCE.xc5000c;md5=12b02efa3049db65d524aeb418dd87ca \
- file://WHENCE;md5=def08711eb23ba967fb7e1f8cff66178 \
+ file://WHENCE;md5=${WHENCE_CHKSUM} \
"
+# WHENCE checksum is defined separately to ease overriding it if
+# class-devupstream is selected.
+WHENCE_CHKSUM = "def08711eb23ba967fb7e1f8cff66178"
# These are not common licenses, set NO_GENERIC_LICENSE for them
# so that the license files will be copied from fetched source
--
2.25.1
next prev parent reply other threads:[~2022-08-18 16:57 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-18 16:56 [OE-core][dunfell 00/11] Patch review Steve Sakoman
2022-08-18 16:56 ` [OE-core][dunfell 01/11] qemu: CVE-2020-27821 heap buffer overflow in msix_table_mmio_write Steve Sakoman
2022-08-18 16:56 ` [OE-core][dunfell 02/11] gnutls: CVE-2022-2509 Double free during gnutls_pkcs7_verify Steve Sakoman
2022-08-18 16:56 ` [OE-core][dunfell 03/11] zlib: CVE-2022-37434 a heap-based buffer over-read Steve Sakoman
2022-08-18 16:56 ` [OE-core][dunfell 04/11] vim: Upgrade 9.0.0021 -> 9.0.0063 Steve Sakoman
2022-08-18 16:56 ` [OE-core][dunfell 05/11] vim: update from 9.0.0063 to 9.0.0115 Steve Sakoman
2022-08-18 16:56 ` [OE-core][dunfell 06/11] linux-firmware: update 20220610 -> 20220708 Steve Sakoman
2022-08-18 16:56 ` Steve Sakoman [this message]
2022-08-18 16:56 ` [OE-core][dunfell 08/11] kernel-arch: Fix buildpaths leaking into external module compiles Steve Sakoman
2022-08-18 16:56 ` [OE-core][dunfell 09/11] bin_package: install into base_prefix Steve Sakoman
2022-08-18 16:56 ` [OE-core][dunfell 10/11] rootfs-postcommands.bbclass: move host-user-contaminated.txt to ${S} Steve Sakoman
2022-08-18 16:56 ` [OE-core][dunfell 11/11] initscripts: run umountnfs as a KILL script Steve Sakoman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=a92117ddc61f4c8bb32a4badcf00a5d1a0cb2371.1660841536.git.steve@sakoman.com \
--to=steve@sakoman.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox