arm distftp support

This commit is contained in:
Nick Bolton 2014-03-20 23:40:05 +00:00
parent 10e974970e
commit a4416d4b16

View File

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