From cd3a41f82d8ee36aaa0716ab2f7c400b89b5b901 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Sun, 22 Nov 2015 18:03:29 +0100 Subject: buildsystem: fix youri host.conf template to use an array as well for src node Otherwise it failed on Mageia 5 with: Detail: undefined method `sort' for "valstar":String --- modules/buildsystem/templates/youri/host.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/buildsystem/templates/youri/host.conf b/modules/buildsystem/templates/youri/host.conf index 559417e0..bf4fa086 100644 --- a/modules/buildsystem/templates/youri/host.conf +++ b/modules/buildsystem/templates/youri/host.conf @@ -1,7 +1,7 @@ <%- aliases = scope.lookupvar('buildsystem::var::scheduler::build_nodes_aliases') nodes = {} - nodes['src'] = scope.lookupvar('buildsystem::var::scheduler::build_src_node') + nodes['src'] = [ scope.lookupvar('buildsystem::var::scheduler::build_src_node') ] scope.lookupvar('buildsystem::var::scheduler::build_nodes').each{|arch,n| a = arch + '|noarch|src' nodes[a] = [] -- cgit v1.2.1