This set of changes moves the kernel:do_strip() functionality to the packaging code related to split_and_strip_files(). The code checks the KENREL_IMAGE_STRIP_EXTRA_SECTIONS for the kernel specific path. This also needs to strip out the "/usr/src/kernel" path since the kernel uses work-shared, which is added to the search path.
I am still working on testing this, but want to get more eyes on it. I am most concerned with the change to package.bbclass to handle the kernel and modules. As mentioned in the other patch thread, there was some concern about the stripping being too agressive. I am guessing that part of the change might need some tuning. Thanks Sau! Saul Wold (3): create-spdx: Add kernel work-shared source kernel.bbclass: remove do_strip() method package: Add support for kernel stripping meta/classes/create-spdx.bbclass | 6 +++++- meta/classes/kernel.bbclass | 35 +++----------------------------- meta/classes/package.bbclass | 23 +++++++++++---------- meta/lib/oe/package.py | 7 +++++-- 4 files changed, 25 insertions(+), 46 deletions(-) -- 2.31.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#160270): https://lists.openembedded.org/g/openembedded-core/message/160270 Mute This Topic: https://lists.openembedded.org/mt/88271783/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
