1
0
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:
Sebastian Goscik 2016-06-16 13:31:53 +01:00
parent cf791d1e64
commit 5880f6e9ef

View File

@ -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