mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-02-21 20:38:57 +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
|
@property
|
||||||
def abi(self):
|
def abi(self):
|
||||||
if not self._abi:
|
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():
|
for abi, architectures in ABI_MAP.iteritems():
|
||||||
if val in architectures:
|
if val in architectures:
|
||||||
self._abi = abi
|
self._abi = abi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user