Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/pr/174'
Browse files Browse the repository at this point in the history
* origin/pr/174:
  publish_rpm: use createrepo --update
  • Loading branch information
marmarek committed Feb 6, 2025
2 parents 16bd19e + 435b07d commit 7437576
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions qubesbuilder/plugins/publish_rpm/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,9 @@ def createrepo(self, executor, target_dir):
self.config.sources_dir
/ f"qubes-release/comps/comps-{self.dist.package_set}.xml"
).exists():
cmd.append("createrepo_c -g comps.xml .")
cmd.append("createrepo_c --update -g comps.xml .")
else:
cmd.append("createrepo_c .")
cmd.append("createrepo_c --update .")
try:
shutil.rmtree(target_dir / "repodata")
executor.run(cmd)
Expand Down

0 comments on commit 7437576

Please sign in to comment.