Skip to content

Commit

Permalink
Merge pull request #219 from stkw0/locale
Browse files Browse the repository at this point in the history
build minimal set of locales
  • Loading branch information
nicolasbock authored Apr 14, 2024
2 parents decf520 + 8ed94b8 commit b427f23
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions ebuildtester/docker.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,8 +240,9 @@ def _tweak_settings(self):
self.execute(("echo */* PYTHON_TARGETS: %s" %
(options.OPTIONS.python_targets)) +
" >> /etc/portage/package.use/python")
if options.OPTIONS.ccache:
self.execute("emerge --verbose dev-util/ccache")

# Avoid wasting time generating the whole set
self.execute('echo "C.UTF-8 UTF-8" > /etc/locale.gen')

def _get_repo_names(self, overlay_dirs):
"""Get repo names from local overlay settings."""
Expand Down Expand Up @@ -328,6 +329,9 @@ def _update(self):
def _install_basics(self):
"""Install some basic packages."""

if options.OPTIONS.ccache:
self.execute("emerge --verbose dev-util/ccache")

if not options.OPTIONS.install_basic_packages:
options.log.info("skipping basic packages")
else:
Expand Down

0 comments on commit b427f23

Please sign in to comment.