Skip to content

Commit 8d25237

Browse files
authored
Add the multi_arch option in make_deb.py in order to add the Multi-Arch field in debian control file. (#937)
1 parent cc4b9c0 commit 8d25237

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

pkg/private/deb/make_deb.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@
5959
('Built-Using', False, False, None),
6060
('Distribution', False, False, 'unstable'),
6161
('Urgency', False, False, 'medium'),
62+
('Multi-Arch', False, False),
6263
]
6364

6465
# size of chunks for copying package content to final .deb file
@@ -407,7 +408,9 @@ def main():
407408
priority=options.priority,
408409
conflicts=options.conflicts,
409410
breaks=options.breaks,
410-
installedSize=helpers.GetFlagValue(options.installed_size))
411+
installedSize=helpers.GetFlagValue(options.installed_size),
412+
multiArch=helpers.GetFlagValue(options.multi_arch)
413+
)
411414
CreateChanges(
412415
output=options.changes,
413416
deb_file=options.output,

0 commit comments

Comments
 (0)