Skip to content

Commit

Permalink
Merge pull request #222 from nicolasbock/fix_binhost
Browse files Browse the repository at this point in the history
Fix key errors when binhosts are enabled
  • Loading branch information
nicolasbock authored Jun 29, 2024
2 parents 84a6a32 + 4735cee commit f87b6e2
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions ebuildtester/docker.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,8 +223,11 @@ def _tweak_settings(self):
(options.OPTIONS.threads)) +
">> /etc/portage/make.conf")
if options.OPTIONS.binhost:
self.execute("echo PORTAGE_BINHOST=\\\"{}\\\""
">> /etc/portage/make.conf"
self.execute("getuto")
self.execute("echo -e '[ebuildtester]\n"
"priority = 999\n"
"sync-uri = {}\n'"
">> /etc/portage/binrepos.conf/ebuildtester.conf"
.format(options.OPTIONS.binhost))
if options.OPTIONS.unstable:
self.execute("echo ACCEPT_KEYWORDS=\\\"~amd64\\\" " +
Expand Down

0 comments on commit f87b6e2

Please sign in to comment.