On Tue, 4 Feb 2025 at 13:36, Mathieu Othacehe <othac...@gnu.org> wrote: > Quentin, pointed out, that we could be more generic and offer a > PACKAGE_KEEP_SECTIONS variable instead, to prevent specific sections > from being stripped. > > That's what is done in this v2. I have proposed a documentation update > here: https://lists.yoctoproject.org/g/docs/message/6243
Thanks. But you still need to look at existing minidebuginfo tests and see if you can enhance them. Otherwise we have a variable that isn't tested. Also, if minidebuginfo distro feature is enabled, do we actually need this level of control? Why not just always have the needed bits? > It is only modifying the run_strip function and its callers, so "all over > the place" seems like an overstatement. I am not really sure how to > break that into more pieces. It's just about instructing "strip" to keep > some sections that are specified in the PACKAGE_KEEP_SECTIONS variable. You can split into at least four commits: - change of runstrip signature - change of strip_execs signature - adding new variable to package.py - adding new variable to staging class. Alex
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#210781): https://lists.openembedded.org/g/openembedded-core/message/210781 Mute This Topic: https://lists.openembedded.org/mt/110989612/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-