aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xscripts/sdks/agl/db-dump4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/sdks/agl/db-dump b/scripts/sdks/agl/db-dump
index e5ee8c8..d375177 100755
--- a/scripts/sdks/agl/db-dump
+++ b/scripts/sdks/agl/db-dump
@@ -26,6 +26,7 @@ import inspect
import fnmatch
import argparse
import subprocess
+from subprocess import DEVNULL
import re
PARSER = argparse.ArgumentParser(
@@ -120,7 +121,8 @@ for one_sdk in INSTALLED_SDK:
if ARCH == 'corei7-64':
# Use /etc/rpm/platform to distinguish qemux86-64 from corei7-64 architecture
grepQemu = subprocess.call(['grep', '-q', 'qemux86', os.path.join(
- one_sdk['SYSROOTS'], 'corei7-64-agl-linux', 'etc', 'rpm', 'platform')])
+ one_sdk['SYSROOTS'], 'corei7-64-agl-linux', 'etc', 'rpm', 'platform')],
+ stdout=DEVNULL, stderr=subprocess.STDOUT)
if grepQemu == 0:
ARCH = 'qemux86-64'