commit | 4b1774ae6e4197d7f458d04a0bbbaa03516096c4 | [log] [tgz] |
---|---|---|
author | James Ye <jamesye@google.com> | Tue Aug 23 14:25:02 2022 +1000 |
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Aug 24 23:49:47 2022 +0000 |
tree | d0ff718985c854772692fe4d35ba2c767eeaf96b | |
parent | fc52550b3d41f2c5bea121698f2f23c623039f3d [diff] |
cros-host-fonts: Don't unmount fonts on removal A package upgrade is essentially a removal followed by an install, which results in the systemd mount unit being stopped. Since this mount will be created by LXD, there will be no way to re-create it within the container. To maintain compatibility, the unit file is kept and started on install, but disabled at boot. If the old /mnt/chromeos/fonts share does not exist, and this package is upgraded from the previous version, fonts may be broken for the current boot of the container, so the old share should be kept until the majority of users have upgraded. BUG=b:231252066 TEST=bazel build //cros-host-fonts:deb TEST=on DUT: dpkg -i cros_host_fonts_0.4_all.deb Change-Id: Ifa758b86673328bd4fe40d312cad0234d037dea3 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/containers/cros-container-guest-tools/+/3849742 Tested-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Fergus Dall <sidereal@google.com> Commit-Queue: James Ye <jamesye@google.com> Reviewed-by: David Munro <davidmunro@google.com>
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.
The guest packages can be built with Bazel.
bazel build //cros-debs:debs
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.