commit:     d3fb5e15c10d25fa06c6862fbbcd996a2d6182df
Author:     Magnus Granberg <zorry <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 24 08:41:34 2022 +0000
Commit:     Magnus Granberg <zorry <AT> gentoo <DOT> org>
CommitDate: Mon Jan 24 08:41:34 2022 +0000
URL:        
https://gitweb.gentoo.org/proj/tinderbox-cluster.git/commit/?id=d3fb5e15

set ACCEPT_LICENSE by project

Signed-off-by: Magnus Granberg <zorry <AT> gentoo.org>

 buildbot_gentoo_ci/steps/portage.py | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/buildbot_gentoo_ci/steps/portage.py 
b/buildbot_gentoo_ci/steps/portage.py
index 08ab559..e5d0a25 100644
--- a/buildbot_gentoo_ci/steps/portage.py
+++ b/buildbot_gentoo_ci/steps/portage.py
@@ -224,8 +224,9 @@ class SetMakeConf(BuildStep):
             for v in makeconf_variables_values_data:
                 if v['build_id'] == 0:
                     makeconf_variable_list.append(v['value'])
-            if k['variable'] == 'ACCEPT_LICENSE' and makeconf_variable_list != 
[]:
-                makeconf_variable_list.append('ACCEPT_LICENSE="*"')
+            #NOTE: set it by project
+            #if k['variable'] == 'ACCEPT_LICENSE' and makeconf_variable_list 
!= []:
+            #    makeconf_variable_list.append('ACCEPT_LICENSE="*"')
             if makeconf_variable_list != []:
                 makeconf_variable_string = k['variable'] + '="' + 
separator2.join(makeconf_variable_list) + '"'
                 makeconf_list.append(makeconf_variable_string)

Reply via email to