[obs-commits] [PATCH] [backend] bs_publish: add rpmmd creation hook to add local data
From: Michael Schroeder <mls@suse.de> --- src/backend/bs_publish | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/src/backend/bs_publish b/src/backend/bs_publish index dc7308c..42325fd 100755 --- a/src/backend/bs_publish +++ b/src/backend/bs_publish @@ -379,6 +379,9 @@ sub createrepo_rpmmd { qsystem('repoview', '-f', "-t$repoinfo->{'title'}", $extrep) && print(" repoview failed: $?\n"); } } + if ($BSConfig::createrepo_rpmmd_hook) { + $BSConfig::createrepo_rpmmd_hook->($projid, $repoid, $extrep, \%options); + } if ($BSConfig::sign && -e "$extrep/repodata/repomd.xml") { my @signargs; push @signargs, '--project', $projid if $BSConfig::sign_project; -- 1.7.7 -- To unsubscribe, e-mail: obs-commits+unsubscribe@opensuse.org To contact the owner, e-mail: obs-commits+owner@opensuse.org
participants (1)
-
OBS build-service