diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/buildsystem/templates/repoctl.conf | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/modules/buildsystem/templates/repoctl.conf b/modules/buildsystem/templates/repoctl.conf index a538fcde..e72d4c4e 100644 --- a/modules/buildsystem/templates/repoctl.conf +++ b/modules/buildsystem/templates/repoctl.conf @@ -1,3 +1,8 @@ +<%- +bootstrap_root = scope.lookupvar('buildsystem::var::repository::bootstrap_root') +mirror_root = scope.lookupvar('buildsystem::var::repository::mirror_root') +distribdir = scope.lookupvar('buildsystem::var::repository::distribdir') +-%> dryrun=echo if [ -z $SUDO_USER ] then @@ -7,10 +12,10 @@ else fi lockdir=/var/lib/repoctl/locks hdlistsdir=/var/lib/repoctl/hdlists -rootdir=/distrib/bootstrap -finalrootdir=/distrib/mirror -distribdir=$rootdir/distrib -finaldistribdir=$finalrootdir/distrib +rootdir=<%= bootstrap_root %> +finalrootdir=<%= mirror_root %> +distribdir=$rootdir/<%= distribdir %> +finaldistribdir=$finalrootdir/<%= distribdir %> distroreleases='<%= distroreleases.flatten.join(' ') -%>' distrosections='<%= distrosections.flatten.join(' ') -%>' sectionsrepos='<%= sectionsrepos.flatten.join(' ') -%>' |