From 71403285a41380d45da7ff8de36981c3b7d1da28 Mon Sep 17 00:00:00 2001 From: mudler Date: Fri, 25 Mar 2016 14:12:21 +0100 Subject: [PATCH] adding ENMAN_REPOSITORIES to supply a space-separated list of entropy repositories to add with enman --- builder | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/builder b/builder index 7779a86..56459e7 100755 --- a/builder +++ b/builder @@ -23,6 +23,7 @@ my $dep_scan_depth = $ENV{DEPENDENCY_SCAN_DEPTH} // 2; my $skip_portage_sync = $ENV{SKIP_PORTAGE_SYNC} // 0; my $emerge_split_install = $ENV{EMERGE_SPLIT_INSTALL} // 0; my $webrsync = $ENV{WEBRSYNC} // 0; +my $enman_repositories = $ENV{ENMAN_REPOSITORIES}; my $make_conf = $ENV{MAKE_CONF}; @@ -221,6 +222,10 @@ if ($use_equo && $entropy_repository eq "weekly" ) { } if ($use_equo) { + if ($enman_repositories and $enman_repositories ne "") { + my @enman_toadd=split(/ /,$enman_repositories); + system("enman add $_") for @enman_toadd; + } system("equo repo mirrorsort sabayonlinux.org") if $equo_mirrorsort; system("equo up && equo u") }