From: Saul Wold <saul.wold@windriver.com>
To: openembedded-core@lists.openembedded.org,
bruce.ashfield@gmail.com, JPEWhacker@gmail.com
Cc: Saul Wold <saul.wold@windriver.com>
Subject: [RFC PATCH v2 0/3] Extend create-spdx to build kernel spdx info
Date: Tue, 11 Jan 2022 15:58:37 -0800 [thread overview]
Message-ID: <20220111235840.81471-1-saul.wold@windriver.com> (raw)
This second change set, enables the kernel:do_strip() to share the
oe.package:runstrip() method. A copy of the kernel is made for the
kernel strip processing which is ultimately deployed, while the
unstripped kernel image can be used by package.bbclass to generate
the extended packagedata (debug info). The extended packagedata is
also used to genrate the SPDX data.
This change also needs to strip out the "/usr/src/kernel" path since
the kernel uses work-shared, which is added to the search path.
I have tested this with edgerouter which uses the
KERNEL_IMAGE_STRIP_EXTRA_SECTIONS variable
If this looks good, I will send a non-RFC patch set tomorrow.
Sau!
Saul Wold (3):
create-spdx: Add kernel work-shared source
package: Add support for kernel stripping
kernel.bbclass: use common strip()
meta/classes/create-spdx.bbclass | 6 ++++-
meta/classes/kernel.bbclass | 44 ++++++++++++++------------------
meta/classes/package.bbclass | 21 +++++----------
meta/lib/oe/package.py | 7 +++--
4 files changed, 36 insertions(+), 42 deletions(-)
--
2.31.1
next reply other threads:[~2022-01-11 23:59 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-11 23:58 Saul Wold [this message]
2022-01-11 23:58 ` [RFC PATCH v2 1/3] create-spdx: Add kernel work-shared source Saul Wold
2022-01-11 23:58 ` [RFC PATCH v2 2/3] package: Add support for kernel stripping Saul Wold
2022-01-12 14:21 ` Bruce Ashfield
2022-01-11 23:58 ` [RFC PATCH v2 3/3] kernel.bbclass: use common strip() Saul Wold
2022-01-12 14:30 ` Bruce Ashfield
2022-01-12 15:42 ` Saul Wold
2022-01-12 14:30 ` [RFC PATCH v2 0/3] Extend create-spdx to build kernel spdx info Bruce Ashfield
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=20220111235840.81471-1-saul.wold@windriver.com \
--to=saul.wold@windriver.com \
--cc=JPEWhacker@gmail.com \
--cc=bruce.ashfield@gmail.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