[builder/sabayon-buildpackages] passing REMOTE_OVERLAY to builder and adding repos as listed https://github.com/Sabayon/community-buildspec/issues/9

This commit is contained in:
mudler
2016-05-12 12:09:44 +02:00
parent 795aab5d24
commit 64d7085cb6
2 changed files with 7 additions and 12 deletions
+6
View File
@@ -33,6 +33,7 @@ my $enman_add_self = $ENV{ENMAN_ADD_SELF} // 0;
my $build_injected_args = $ENV{BUILD_INJECTED_ARGS};
my $equo_masks = $ENV{EQUO_MASKS};
my $equo_unmasks = $ENV{EQUO_UNMASKS};
my $remote_overlay = $ENV{REMOTE_OVERLAY};
my $make_conf = $ENV{MAKE_CONF};
@@ -259,6 +260,11 @@ priority=9999
auto-sync = no' > /etc/portage/repos.conf/local.conf
}; # Declaring the repo and giving priority
if ($remote_overlay and $remote_overlay ne "") {
add_portage_repository( $_ )
for ( split( / /, $remote_overlay ) );
}
system("mkdir -p /usr/portage/distfiles/git3-src");
unless ( $skip_portage_sync == 1 ) {