From: Adrian Freihofer <[email protected]> Add a mechanism for IDE plugins to append packages to IMAGE_INSTALL_DEBUGFS.
Signed-off-by: Adrian Freihofer <[email protected]> --- scripts/lib/devtool/ide_sdk.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/scripts/lib/devtool/ide_sdk.py b/scripts/lib/devtool/ide_sdk.py index c527d17806..1eb4d94fc6 100755 --- a/scripts/lib/devtool/ide_sdk.py +++ b/scripts/lib/devtool/ide_sdk.py @@ -221,6 +221,9 @@ class RecipeImage: self.base_image_fstypes_debugfs = '' self.base_has_combined_dbg = False self.base_image_install = set() + self.base_image_install_debugfs = set() + # Packages IDE plugins want added to IMAGE_INSTALL_DEBUGFS + self.extra_image_install_debugfs = set() self._bbappend = None # Content of the bbappend before strip_bbappend_sections() ran. self._orig_bbappend_content = orig_bbappend_content @@ -279,6 +282,8 @@ class RecipeImage: 'image-combined-dbg', image_d) self.base_image_install = set( (image_d.getVar('IMAGE_INSTALL') or '').split()) + self.base_image_install_debugfs = set( + (image_d.getVar('IMAGE_INSTALL_DEBUGFS') or '').split()) workdir = image_d.getVar('WORKDIR') self.__rootfs = os.path.join(workdir, 'rootfs') @@ -437,6 +442,8 @@ class RecipeImage: lines.append('IMAGE_INSTALL:append = " %s"' % r.name) if r.has_ptest and (r.name + '-ptest') not in self.base_image_install: lines.append('IMAGE_INSTALL:append = " %s-ptest"' % r.name) + for pkg in sorted(self.extra_image_install_debugfs - self.base_image_install_debugfs): + lines.append('IMAGE_INSTALL_DEBUGFS:append = " %s"' % pkg) original_content = self._orig_bbappend_content or '' # strip_bbappend_sections() left this on disk, and it is what bitbake -- 2.55.0
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#246569): https://lists.openembedded.org/g/openembedded-core/message/246569 Mute This Topic: https://lists.openembedded.org/mt/121405676/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
