Skip to content

Commit

Permalink
[backend] disable sqlite databases for createrepo runs (0.9.9 and new…
Browse files Browse the repository at this point in the history
…er).
  • Loading branch information
adrianschroeter committed Aug 14, 2013
1 parent 706c4a1 commit c5eef14
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/backend/bs_publish
Expand Up @@ -336,6 +336,11 @@ sub createrepo_rpmmd {
my @legacyargs;
push @legacyargs, '--simple-md-filenames', '--checksum=sha' if $options{'legacy'};
my @updateargs;
# createrepo 0.9.9 defaults to usually not used sqlite database.
# We do disable it since it is time and space consuming.
# doing this via @updateargs for the case that an old createrepo is installed which does not support
# this switch.
push @updateargs, '--no-database';
if (-f "$extrep/repodata/repomd.xml") {
push @updateargs, '--update';
}
Expand Down

0 comments on commit c5eef14

Please sign in to comment.