2022-06-06 22:02:08 +00:00
|
|
|
#!/usr/bin/env python3
|
|
|
|
# builds ISO's
|
|
|
|
|
|
|
|
import argparse
|
|
|
|
from common import *
|
|
|
|
from util import Checks
|
|
|
|
from util import IsoBuild
|
2022-06-17 06:25:17 +00:00
|
|
|
|
|
|
|
parser = argparse.ArgumentParser(description="ISO Compose")
|
|
|
|
|
|
|
|
parser.add_argument('--release', type=str, help="Major Release Version", required=True)
|
|
|
|
parser.add_argument('--isolation', type=str, help="mock isolation mode")
|
|
|
|
parser.add_argument('--rc', action='store_true', help="Release Candidate")
|
|
|
|
parser.add_argument('--local-compose', action='store_true', help="Compose Directory is Here")
|
|
|
|
parser.add_argument('--logger', type=str)
|
|
|
|
results = parser.parse_args()
|
|
|
|
rlvars = rldict[results.release]
|
|
|
|
major = rlvars['major']
|
|
|
|
|
|
|
|
a = IsoBuild(
|
|
|
|
rlvars,
|
|
|
|
config,
|
|
|
|
major=major,
|
|
|
|
rc=results.rc,
|
|
|
|
isolation=results.isolation,
|
|
|
|
compose_dir_is_here=results.local_compose,
|
|
|
|
logger=results.logger,
|
|
|
|
)
|
|
|
|
|
|
|
|
a.run()
|