Skip to content

Commit cc15193

Browse files
committed
ensure multilib can be set
1 parent e781ed6 commit cc15193

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

mangle/koji/branch_tag.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,24 @@
1010
parser.add_argument('--minor', type=str, required=True,
1111
choices=('0', '1', '2', '3', '4', '5', '6', '7', '8', '9', '10'))
1212
parser.add_argument('--riscv', action='store_true')
13+
parser.add_argument('--multilib', action='store_true')
1314
parser.add_argument('--modularity', action='store_true')
1415

1516
results = parser.parse_args()
1617
MAJOR = results.major
1718
MINOR = results.minor
1819
RISCV = results.riscv
20+
MULTILIB = results.multilib
1921
MODULES = results.modules
2022
RELEASE = f'{MAJOR}.{MINOR}'
2123
PREFIX = f'dist-rocky{RELEASE}'
2224
TOOLS = f'dist-rocky{MAJOR}-build-tools'
2325
MODULE_BUILD = f'module-rocky{RELEASE}-build'
2426
DEFAULT_ARCHES = 'x86_64 aarch64 ppc64le s390x'
2527

28+
if MULTILIB:
29+
DEFAULT_ARCHES += ' i686'
30+
2631
# RelEng: Every build tag will have repo.auto. Even though this isn't
2732
# required (as per upstream), we're setting it anyway. Note that all other
2833
# extra options are set at the build-tools tag. This allows us to override

0 commit comments

Comments
 (0)