+ # and specific case for qemu where arch is not the same (qemux86-64 vs corei7-64)
+ 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')])
+ if grepQemu == 0:
+ ARCH = 'qemux86-64'
+