mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-09-01 10:52:33 +01:00
fix: uname utility is unavailable in Android. It has to be invoked through busybox.
This commit is contained in:
@@ -113,7 +113,7 @@ class BaseLinuxDevice(Device): # pylint: disable=abstract-method
|
||||
@property
|
||||
def abi(self):
|
||||
if not self._abi:
|
||||
val = self.execute('uname -m').strip()
|
||||
val = self.execute('uname -m', busybox=True).strip()
|
||||
for abi, architectures in ABI_MAP.iteritems():
|
||||
if val in architectures:
|
||||
self._abi = abi
|
||||
|
Reference in New Issue
Block a user