Skip to content

Commit

Permalink
Pass createrepo_c arguments to build_stage_repository
Browse files Browse the repository at this point in the history
  • Loading branch information
pcreech authored and Odilhao committed Dec 5, 2023
1 parent 9fcad70 commit e3693a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build_stage_repository
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def create_modulemd(collection, version, stage_dir):


def create_repository(repo_dir):
check_output(['createrepo_c', repo_dir], stderr=STDOUT)
check_output(['createrepo_c', "--general-compress-type=gz", "--database" ,repo_dir], stderr=STDOUT)

This comment has been minimized.

Copy link
@dralley

dralley Dec 6, 2023

You probably also want to set --compress-type

Yes, it's dumb that there's two options rpm-software-management/createrepo_c#363

Alternatively once this merges you can just pass --compatibility rpm-software-management/createrepo_c#411



def sync_prod_repository(collection, version, target_dir, dist, arch):
Expand Down

0 comments on commit e3693a3

Please sign in to comment.