From 3c7f02d481edc662ee490525cff939074ff36b38 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Thu, 23 May 2013 15:06:21 +0000 Subject: buildsystem: add support for medias dependencies In upload.conf template for ulri config use the dependencies between medias defined in buildsystem::var::distros. --- modules/buildsystem/manifests/var/distros.pp | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'modules/buildsystem/manifests') diff --git a/modules/buildsystem/manifests/var/distros.pp b/modules/buildsystem/manifests/var/distros.pp index ae00810a..7aed19ac 100644 --- a/modules/buildsystem/manifests/var/distros.pp +++ b/modules/buildsystem/manifests/var/distros.pp @@ -18,6 +18,13 @@ # 'media_types' => [ 'release' ], # 'noauto' => '1', # }, +# # the 'updates' repo +# 'release' => { +# 'media_types' => [ 'updates' ], +# 'noauto' => '1', +# # the 'updates' repo requires the 'release' repo +# 'requires' => [ 'release' ], +# }, # }, # # media_types for media.cfg # 'media_types' => [ 'official', 'free' ], @@ -25,6 +32,15 @@ # # the option will be added to media.cfg # 'noauto' => '1', # }, +# # the 'non-free' media +# 'non-free' => { +# 'repos' => { +# ... +# }, +# 'media_types' => [ 'official', 'non-free' ], +# # the 'non-free' media requires the 'core' media +# 'requires' => [ 'core' ], +# } # }, # # the list of media used by iurt to build the chroots # 'base_medias' => [ 'core/release' ], -- cgit v1.2.1