mirror of
https://github.com/rocky-linux/createhdds.git
synced 2024-12-22 01:58:30 +00:00
Provide alternative function to detect cpu arch
This commit is contained in:
parent
f6bfd46d04
commit
094371b749
@ -42,6 +42,7 @@ from six.moves.urllib.request import urlopen
|
||||
# directory.
|
||||
SCRIPTDIR = os.path.abspath(os.path.dirname(sys.argv[0]))
|
||||
CPUARCH = platform.processor()
|
||||
if CPUARCH == '' : CPUARCH = platform.machine()
|
||||
logger = logging.getLogger('createhdds')
|
||||
|
||||
def handle_size(size):
|
||||
|
Loading…
Reference in New Issue
Block a user