mirror of
https://github.com/debauchee/barrier.git
synced 2025-07-17 08:27:39 +02:00
arm distftp support
This commit is contained in:
parent
10e974970e
commit
a4416d4b16
1 changed files with 3 additions and 0 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue