[ABS] Force clean all old rootstrap
[scm/meta/abs.git] / abs
diff --git a/abs b/abs
index a73c8bb..487f57f 100755 (executable)
--- a/abs
+++ b/abs
@@ -147,7 +147,7 @@ class _Rootstrap(object):
     def list_rootstrap(self, rootstrap_search=None):
         """List all the rootstraps"""
 
-        rs_prefix = 'mobile|wearable'
+        rs_prefix = 'mobile|wearable|tizeniot'
         if rootstrap_search is not None:
             rs_prefix = rootstrap_search
         print 'Set rs_prefix: %s' % rs_prefix
@@ -197,7 +197,7 @@ class Sdk(object):
         self.runtool = Executor(checker=self.error_parser)
 
         self.home = os.getenv('HOME')
-        self.config_file = os.path.join(g_home, '.abs')
+        self.config_file = os.path.join(g_home, '.absconfig')
 
         if sdkpath is None:
             self.tizen = self.get_user_root()
@@ -411,8 +411,10 @@ class Sdk(object):
             os.makedirs(output_dir)
         with open(logpath + '.log', 'w') as lf:
             lf.write(out)
-        if 'keystore password was incorrect' in out:
-            raise LocalError('keystore password was incorrect for %s.' % appname)
+        if 'keystore password was incorrect' in out \
+            or 'Sequence tag error' in out \
+            or 'Signing... java.io.IOException: ' in out:
+            raise LocalError('signing error for %s.' % appname)
         raise LocalError('TPK/WGT file not generated for %s.' % appname)
 
     def package(self, source, cert=None, pkg_type=None, conf='Debug', manual_strip=False):