From 5880f6e9efcaf65a35e14a10f482af7510472eb6 Mon Sep 17 00:00:00 2001 From: Sebastian Goscik Date: Thu, 16 Jun 2016 13:31:53 +0100 Subject: [PATCH] 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. --- devlib/target.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devlib/target.py b/devlib/target.py index 22392ce..5ec2763 100644 --- a/devlib/target.py +++ b/devlib/target.py @@ -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