mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-02-20 11:58:55 +00:00
fix: uname utility is unavailable in Android. It has to be invoked through busybox.
This commit is contained in:
parent
e357a46b62
commit
2f214da8a2
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user