File osc-add-sb2install-support.patch of Package osc

From eb393c572c664086f2c10fb6b020a7e7e7547ad1 Mon Sep 17 00:00:00 2001
From: Carsten Munk <carsten.munk@gmail.com>
Date: Fri, 10 Feb 2012 08:20:27 +0100
Subject: [PATCH] Add sb2install support to osc

Signed-off-by: Carsten Munk <carsten.munk@gmail.com>
---
 osc/build.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/osc/build.py b/osc/build.py
index 82d8102e..b5ccb22c 100644
--- a/osc/build.py
+++ b/osc/build.py
@@ -177,6 +177,7 @@ class Buildinfo:
             self.pathes.append(node.get('project')+"/"+node.get('repository'))
 
         self.vminstall_list = [ dep.name for dep in self.deps if dep.vminstall ]
+        self.sb2install_list = [ dep.name for dep in self.deps if dep.sb2install ]
         self.preinstall_list = [ dep.name for dep in self.deps if dep.preinstall ]
         self.runscripts_list = [ dep.name for dep in self.deps if dep.runscripts ]
         self.noinstall_list = [ dep.name for dep in self.deps if dep.noinstall ]
@@ -214,6 +215,7 @@ class Pac:
                   'project', 'repository', 'sysroot',
                   'preinstall', 'vminstall', 'runscripts',
                   'noinstall', 'installonly', 'notmeta',
+                  'sb2install',
                  ]:
             self.mp[i] = node.get(i)
 
@@ -1312,6 +1314,7 @@ def main(apiurl, opts, argv):
 
     rpmlist.append('preinstall: ' + ' '.join(bi.preinstall_list) + '\n')
     rpmlist.append('vminstall: ' + ' '.join(bi.vminstall_list) + '\n')
+    rpmlist.append('sb2install: ' + ' '.join(bi.sb2install_list) + '\n')
     rpmlist.append('runscripts: ' + ' '.join(bi.runscripts_list) + '\n')
     if build_type != 'kiwi' and build_type != 'docker' and build_type != 'podman' and build_type != 'fissile':
         if bi.noinstall_list:
-- 
2.31.1