[Build] Fix rid generation error (#1820)
authorWonYoung Choi <wy80.choi@samsung.com>
Mon, 13 Jul 2020 06:40:29 +0000 (15:40 +0900)
committerGitHub <noreply@github.com>
Mon, 13 Jul 2020 06:40:29 +0000 (15:40 +0900)
packaging/makerid.py

index d6a5dca..da8ed84 100755 (executable)
@@ -16,7 +16,9 @@ with open(runtime_dir) as json_file:
 
     for key in key_list:
         key = key.replace("-armel", "")
+        key = key.replace("-arm64", "")
         key = key.replace("-x86", "")
+        key = key.replace("-x64", "")
         key = key.replace("tizen.", "")
         key = key.replace("tizen", "")
         if key.strip():
@@ -24,7 +26,7 @@ with open(runtime_dir) as json_file:
 
     rid_list = list(set(rid_list))
     rid_list.sort()
-    
+
     f = open(spec_dir,'r')
     origin_data = f.read()
     f.close()