Share fonts from ChromiumOS to the GuestOS

We want the GuestOS to have access to the same fonts as ChromeOS,
after the font directory has been mounted to /mnt/chromeos/fonts, the
search directories for available fonts needs to see the above directory.

This is done through the installation of a Debian package which will
move a config file to /etc/fonts/conf.d that will specify a new path.

BUG=chromium:903631
TEST=create deb package using bazel, sudo apt-install and check
fc-list available fonts

Change-Id: Ic5a3c60350a040f6739b5e6c919a10e61652de40
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/containers/cros-container-guest-tools/+/1980189
Reviewed-by: Nic Hollingum <hollingum@google.com>
Reviewed-by: Stephen Barber <smbarber@chromium.org>
Commit-Queue: Matthew Chen <matterchen@google.com>
Tested-by: kokoro <noreply+kokoro@google.com>
6 files changed
tree: 5b68b6b92ca9cbbab4f22aceec8b9d60d7bae70c
  1. .gitignore
  2. LICENSE
  3. OWNERS
  4. PRESUBMIT.cfg
  5. README.md
  6. WORKSPACE
  7. cros-adapta/
  8. cros-apt-config/
  9. cros-debs/
  10. cros-garcon/
  11. cros-gpu-alpha/
  12. cros-gpu-buster/
  13. cros-gpu-stretch/
  14. cros-guest-tools/
  15. cros-host-fonts/
  16. cros-notificationd/
  17. cros-pulse-config/
  18. cros-sftp/
  19. cros-sommelier-config/
  20. cros-sommelier/
  21. cros-sudo-config/
  22. cros-systemd-overrides/
  23. cros-tast-tests/
  24. cros-ui-config/
  25. cros-wayland/
  26. docs/
  27. kokoro/
  28. lxd/
  29. mesa/
  30. scripts/
  31. termina/
README.md

cros-container-guest-tools

Overview

These are the guest packages for setting up a container to integrate with Chrome OS. This includes build scripts that are run in Google's internal continuous integration service.

Building

The guest packages can be built with Bazel.

bazel build //cros-debs:debs --host_force_python=py2

Releasing

promote\_apt.sh MILESTONE and promote\_container.sh MILESTONE in scripts are used to promote containers from staging to live. NOTE: Whatever is the latest in staging is what gets promoted to live so make sure it's what was tested.