mirror of
https://github.com/rocky-linux/createhdds.git
synced 2024-12-22 01:58:30 +00:00
Merge branch 'rocky' into beta-lookahead-support
This commit is contained in:
commit
5738ed4b57
@ -42,6 +42,7 @@ from six.moves.urllib.request import urlopen
|
|||||||
# directory.
|
# directory.
|
||||||
SCRIPTDIR = os.path.abspath(os.path.dirname(sys.argv[0]))
|
SCRIPTDIR = os.path.abspath(os.path.dirname(sys.argv[0]))
|
||||||
CPUARCH = platform.processor()
|
CPUARCH = platform.processor()
|
||||||
|
if CPUARCH == '' : CPUARCH = platform.machine()
|
||||||
logger = logging.getLogger('createhdds')
|
logger = logging.getLogger('createhdds')
|
||||||
|
|
||||||
def handle_size(size):
|
def handle_size(size):
|
||||||
|
Loading…
Reference in New Issue
Block a user