--
--
Chromium OS Developers mailing list: chromiu...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-os-dev?hl=en
+chromeos-infra-discuss +Don GarrettI don't see anything fancy with the chromeos-bmpblk ebuild(Why) are developers having to build this from source?Is this a fallout of us not publishing prebuilts often enough from the CQ?In general, developers don't have to care about packages they're not working on being costly to build -- they just get prebuilts by default. iiuc, the complaint here is that this package is getting built from source when the developer isn't actually working on it (no cros-workon start sys-boot/chromeos-bmpblk). Correct?
5,6d4< CROS_WORKON_COMMIT="ed30b5473c7973e2e77d8fae59a495da31fbd243"< CROS_WORKON_TREE="6bb8c17e8177d008cb72cc78494f5c0bb58df62b"93c91< KEYWORDS="*"---> KEYWORDS="~*"
You received this message because you are subscribed to the Google Groups "Chromium OS dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-os-dev+unsubscribe@chromium.org.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-os-d...@chromium.org.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-os-dev+unsubscribe@chromium.org.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-os-dev+unsubscribe@chromium.org.
I think I see why a fresh chroot doesn't have the font cache, but some existing chroots do.
Fontconfig and chromeos-fonts are installed during creation of the SDK, in that order. Fontconfig runs fc-cache to create the cache as part of pkg_postinst in the ebuild. Since chromeos-fonts hasn't been installed yet, there are no fonts to cache, so no cache files are created. Then chromeos-fonts installs the fonts and runs fc-cache again, except in the case of the SDK. The chromeos-fonts ebuild does not run fc-cache for the SDK under the assumption that the cache isn't needed. This is why a fresh SDK doesn't have the cache, but the board-specific builds do.
Later when setup_board is run, it checks the SDK against the current tree to see if any packages need to be updated. If fontconfig is outdated, it gets updated and fc-cache is run like before as part of pkg_postinst. This time, however, the fonts are there because chromeos-fonts is already installed, so the cache files get created. This is probably why many people don't encounter the chromeos-bmpblk build time issue. Fontconfig was updated in their chroot at some point and the cache was created.
I submitted https://chromium-review.googlesource.com/#/c/669915/ to allow chromeos-fonts to run fc-cache during installation in the SDK.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-os-d...@chromium.org.