mirror of
https://github.com/ARM-software/devlib.git
synced 2025-01-31 02:00:45 +00:00
LinuxTarget: now used 'uname' instead of 'busybox uname'
To install busybox we need to know the ABI of the device to push the correct binary but to know the ABI we need busybox. Since uname is part of the POSIX standard and this issue only effects the LinuxTarget (AndroidTarget gets this from build.prop) it is safe to assume all LinuxTargets should have uname.
This commit is contained in:
parent
cf791d1e64
commit
5880f6e9ef
@ -525,7 +525,7 @@ class LinuxTarget(Target):
|
||||
@property
|
||||
@memoized
|
||||
def abi(self):
|
||||
value = self.execute('{} uname -m'.format(self.busybox)).strip()
|
||||
value = self.execute('uname -m').strip()
|
||||
for abi, architectures in ABI_MAP.iteritems():
|
||||
if value in architectures:
|
||||
result = abi
|
||||
|
Loading…
x
Reference in New Issue
Block a user