[RSB 5 PATCH 4/6] sb/setbuilder: Do not install if --no-install option is used

chrisj at rtems.org chrisj at rtems.org
Sun Sep 18 01:51:25 UTC 2022


From: Chris Johns <chrisj at rtems.org>

- This is a bug introduced in the recent bset tar file changes

Updates #4716
---
 source-builder/sb/setbuilder.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/source-builder/sb/setbuilder.py b/source-builder/sb/setbuilder.py
index 36fca46..1452aca 100644
--- a/source-builder/sb/setbuilder.py
+++ b/source-builder/sb/setbuilder.py
@@ -560,7 +560,8 @@ class buildset:
                         buildroot = path.join(b.config.expand('%{buildroot}'), prefix)
                         if self.staging():
                             prefix = b.config.expand('%{stagingroot}')
-                        self.install(self.install_mode(), b.name(), buildroot, prefix)
+                        if not self.opts.no_install():
+                            self.install(self.install_mode(), b.name(), buildroot, prefix)
             #
             # Sizes ...
             #
-- 
2.37.1



More information about the devel mailing list