cros-host-fonts: bind-mount host fonts in /usr/share/fonts

Host fonts are mounted at the non-standard location /mnt/chromeos/fonts
and made available with fontconfig. There are at least two cases of
applications not working with this location due to sandboxing: Firefox
as well as Flatpak applications.

A bind mount is used rather than a symbolic link to avoid potential
problems with file name canonicalisation.

BUG=b:206887557
TEST=Install cros-host-fonts=0.2, run Firefox or Flatpak apps and verify
     that host fonts work.

Change-Id: I0f8301e45e8a3640e2f0b50ec940ddf728a90335
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/containers/cros-container-guest-tools/+/3539407
Reviewed-by: David Munro <davidmunro@google.com>
Tested-by: kokoro <noreply+kokoro@google.com>
Commit-Queue: James Ye <jamesye@google.com>
8 files changed
tree: b490a41aa48003fc5de83204caed14c125f6307a
  1. cros-adapta/
  2. cros-apt-config/
  3. cros-debs/
  4. cros-garcon/
  5. cros-gpu-buster/
  6. cros-guest-tools/
  7. cros-host-fonts/
  8. cros-logging/
  9. cros-notificationd/
  10. cros-pulse-config/
  11. cros-sftp/
  12. cros-sommelier/
  13. cros-sommelier-config/
  14. cros-sudo-config/
  15. cros-systemd-overrides/
  16. cros-tast-tests/
  17. cros-ui-config/
  18. cros-wayland/
  19. docs/
  20. kokoro/
  21. lxd/
  22. mesa/
  23. scripts/
  24. termina/
  25. .gitignore
  26. LICENSE
  27. OWNERS
  28. PRESUBMIT.cfg
  29. README.md
  30. WORKSPACE
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

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.