mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-08 23:14:20 +08:00
arm distftp support
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user