arm distftp support

This commit is contained in:
Nick Bolton 2014-03-20 23:40:05 +00:00
parent 10e974970e
commit a4416d4b16
1 changed files with 3 additions and 0 deletions

View File

@ -1136,6 +1136,9 @@ class InternalCommands:
print 'Done'
def getLinuxPlatform(self):
if os.uname()[4][:3] == 'arm':
return 'Linux-armv6l'
# os_bits should be loaded with '32bit' or '64bit'
import platform
(os_bits, other) = platform.architecture()