aboutsummaryrefslogtreecommitdiffstats
path: root/modules/buildsystem
diff options
context:
space:
mode:
Diffstat (limited to 'modules/buildsystem')
-rw-r--r--modules/buildsystem/templates/repoctl.conf6
1 files changed, 2 insertions, 4 deletions
diff --git a/modules/buildsystem/templates/repoctl.conf b/modules/buildsystem/templates/repoctl.conf
index 9bd60836..14506a25 100644
--- a/modules/buildsystem/templates/repoctl.conf
+++ b/modules/buildsystem/templates/repoctl.conf
@@ -1,6 +1,4 @@
<%-
-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')
distros = scope.lookupvar('buildsystem::var::distros::distros')
arches = {}
@@ -27,8 +25,8 @@ else
fi
lockdir=/var/lib/repoctl/locks
hdlistsdir=/var/lib/repoctl/hdlists
-rootdir=<%= bootstrap_root %>
-finalrootdir=<%= mirror_root %>
+rootdir=<%= scope.lookupvar('buildsystem::var::repository::bootstrap_root') %>
+finalrootdir=<%= scope.lookupvar('buildsystem::var::repository::mirror_root') %>
distribdir=$rootdir/<%= distribdir %>
finaldistribdir=$finalrootdir/<%= distribdir %>
distroreleases='<%= distros.keys.sort.join(' ') -%>'