import fnmatch
import argparse
import subprocess
+from subprocess import DEVNULL
import re
PARSER = argparse.ArgumentParser(
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'