mirror of
https://github.com/debauchee/barrier.git
synced 2024-11-30 01:53:17 +03:00
arm distftp support
This commit is contained in:
parent
10e974970e
commit
a4416d4b16
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user