diff options
-rw-r--r-- | deployment/mga_buildsystem/manifests/config.pp | 1 | ||||
-rw-r--r-- | modules/buildsystem/manifests/var/youri.pp | 6 |
2 files changed, 7 insertions, 0 deletions
diff --git a/deployment/mga_buildsystem/manifests/config.pp b/deployment/mga_buildsystem/manifests/config.pp index 7dfe03c2..df605e5d 100644 --- a/deployment/mga_buildsystem/manifests/config.pp +++ b/deployment/mga_buildsystem/manifests/config.pp @@ -197,6 +197,7 @@ class mga_buildsystem::config { ], 'posts' => [ 'genhdlist2', + 'createrepo', 'clean_rpmsrate', 'mirror', ], diff --git a/modules/buildsystem/manifests/var/youri.pp b/modules/buildsystem/manifests/var/youri.pp index 33a0a2d1..025a23d2 100644 --- a/modules/buildsystem/manifests/var/youri.pp +++ b/modules/buildsystem/manifests/var/youri.pp @@ -254,6 +254,12 @@ class buildsystem::var::youri( 'command' => '/usr/bin/genhdlist2 --xml-info-filter ".lzma:xz -T4"', }, }, + 'createrepo' => { + 'class' => 'Youri::Submit::Post::RunOnModifiedMedia', + 'options' => { + 'command' => 'createrepo_c --no-database --update --workers=10', + }, + }, 'clean_rpmsrate' => { 'class' => 'Youri::Submit::Post::CleanRpmsrate', }, |