Adding 5.5 rootstrap search option
authorhyokeun <hyokeun.jeon@samsung.com>
Mon, 19 Nov 2018 11:50:54 +0000 (20:50 +0900)
committerhyokeun <hyokeun.jeon@samsung.com>
Mon, 19 Nov 2018 11:50:54 +0000 (20:50 +0900)
Change-Id: I0239010267e22c0a35ae683296b4f96ad70fee57

abs

diff --git a/abs b/abs
index 52f7a26..ed036e8 100755 (executable)
--- a/abs
+++ b/abs
@@ -158,12 +158,12 @@ class _Rootstrap(object):
         cmdline = self.tizen + ' list rootstrap'
         ret = Executor().run(cmdline, show=False)
         for x in ret.splitlines():
-            if re.search('(%s)-(2.4|3.0|4.0|5.0)-(device|emulator|device64|emulator64).core.*' % rs_prefix, x):
+            if re.search('(%s)-(2.4|3.0|4.0|5.0|5.5)-(device|emulator|device64|emulator64).core.*' % rs_prefix, x):
                 if self.rootstrap_list == None:
                     self.rootstrap_list = []
                 self.rootstrap_list.append(x.split(' ')[0])
             else:
-                print 'No search result for %s' % '(%s)-(2.4|3.0|4.0|5.0)-(device|emulator|device64|emulator64).core.*' % rs_prefix
+                print 'No search result for %s' % '(%s)-(2.4|3.0|4.0|5.0|5.5)-(device|emulator|device64|emulator64).core.*' % rs_prefix
         return self.rootstrap_list
 
     def check_rootstrap(self, rootstrap, show=True):