have a working script
This commit is contained in:
parent
37cd4e1b2e
commit
1ae3c67ba6
BIN
iso/py/.sync-from-peridot.swp
Normal file
BIN
iso/py/.sync-from-peridot.swp
Normal file
Binary file not shown.
@ -5,3 +5,26 @@ import argparse
|
|||||||
from common import *
|
from common import *
|
||||||
from util import Checks
|
from util import Checks
|
||||||
from util import IsoBuild
|
from util import IsoBuild
|
||||||
|
|
||||||
|
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()
|
||||||
|
@ -3,6 +3,8 @@
|
|||||||
fullname: 'Rocky Linux 8'
|
fullname: 'Rocky Linux 8'
|
||||||
revision: '8.6'
|
revision: '8.6'
|
||||||
rclvl: 'RC2'
|
rclvl: 'RC2'
|
||||||
|
major: '8'
|
||||||
|
minor: '6'
|
||||||
allowed_arches:
|
allowed_arches:
|
||||||
- x86_64
|
- x86_64
|
||||||
- aarch64
|
- aarch64
|
||||||
|
@ -3,6 +3,8 @@
|
|||||||
fullname: 'Rocky Linux 9'
|
fullname: 'Rocky Linux 9'
|
||||||
revision: '9.1'
|
revision: '9.1'
|
||||||
rclvl: 'RC1'
|
rclvl: 'RC1'
|
||||||
|
major: '9'
|
||||||
|
minor: '1'
|
||||||
bugurl: 'https://bugs.rockylinux.org'
|
bugurl: 'https://bugs.rockylinux.org'
|
||||||
allowed_arches:
|
allowed_arches:
|
||||||
- x86_64
|
- x86_64
|
||||||
|
@ -3,6 +3,8 @@
|
|||||||
fullname: 'Rocky Linux 9'
|
fullname: 'Rocky Linux 9'
|
||||||
revision: '9.0'
|
revision: '9.0'
|
||||||
rclvl: 'RC1'
|
rclvl: 'RC1'
|
||||||
|
major: '9'
|
||||||
|
minor: '0'
|
||||||
bugurl: 'https://bugs.rockylinux.org'
|
bugurl: 'https://bugs.rockylinux.org'
|
||||||
allowed_arches:
|
allowed_arches:
|
||||||
- x86_64
|
- x86_64
|
||||||
|
@ -3,6 +3,8 @@
|
|||||||
fullname: 'Rocky Linux 9'
|
fullname: 'Rocky Linux 9'
|
||||||
revision: '9.1'
|
revision: '9.1'
|
||||||
rclvl: 'RC1'
|
rclvl: 'RC1'
|
||||||
|
major: '9'
|
||||||
|
minor: '1'
|
||||||
bugurl: 'https://bugs.rockylinux.org'
|
bugurl: 'https://bugs.rockylinux.org'
|
||||||
allowed_arches:
|
allowed_arches:
|
||||||
- x86_64
|
- x86_64
|
||||||
|
BIN
iso/py/util/.dnf_utils.py.swp
Normal file
BIN
iso/py/util/.dnf_utils.py.swp
Normal file
Binary file not shown.
@ -59,7 +59,7 @@ class IsoBuild:
|
|||||||
|
|
||||||
# Relevant major version items
|
# Relevant major version items
|
||||||
self.release = rlvars['revision']
|
self.release = rlvars['revision']
|
||||||
self.minor_version = rlvars['revision'].split('.')[1]
|
self.minor_version = rlvars['minor']
|
||||||
self.revision = rlvars['revision'] + "-" + rlvars['rclvl']
|
self.revision = rlvars['revision'] + "-" + rlvars['rclvl']
|
||||||
self.rclvl = rlvars['rclvl']
|
self.rclvl = rlvars['rclvl']
|
||||||
self.repos = rlvars['iso_map']['repos']
|
self.repos = rlvars['iso_map']['repos']
|
||||||
|
Loading…
Reference in New Issue
Block a user