Distribution Constructor Project » Project caiman.DC Changes for Language Facets
en

Project caiman.DC Changes for Language Facets

If you don't use distro_const(1M), you can ignore this email.

If you are using build 165 or are in sync with the slim_source gate, my push for:

  • 7037378 specify locale facets in default DC manifests

is a flag day and manifests delivered must be used to build images.

This fix incorporates minor changes for all DC installer manifests:

- the transfer-ips-install Software checkpoint now includes an xinclude directive which points at /usr/share/distro_const/lang_facets.xml.  The entire <Image> element (and all sub-elements) have been moved to lang_facets.xml.

Any IPS properties and any other Image sub-elements *must* now be specified in lang_facets.xml to work as before.  If the user prefers, any other XML file may be substituted for lang_facets.xml in the xinclude directive in the original DC manifest.

Usage:

If the user wishes, various facets may be toggled from "true" to "false" to limit which language facets are installed to the pkg_image area.  e.g.:

<image img_root="{PKG_IMAGE_PATH}" action="create">
  <facet set="false">facet.locale.*</facet>
  <facet set="true">facet.locale.de</facet>
  <facet set="true">facet.locale.de_DE</facet>
  <facet set="false">facet.locale.en</facet>
  <facet set="false">facet.locale.en_US</facet>
  <facet set="false">facet.locale.es</facet>
  <facet set="false">facet.locale.es_ES</facet>
  <facet set="false">facet.locale.fr</facet>
  <facet set="false">facet.locale.fr_FR</facet>
  <facet set="false">facet.locale.it</facet>
  <facet set="false">facet.locale.it_IT</facet>
  <facet set="false">facet.locale.ja</facet>
  <facet set="false">facet.locale.ja_*</facet>
  <facet set="false">facet.locale.ko</facet>
  <facet set="false">facet.locale.ko_*</facet>
  <facet set="false">facet.locale.pt</facet>
  <facet set="false">facet.locale.pt_BR</facet>
  <facet set="false">facet.locale.zh</facet>
  <facet set="false">facet.locale.zh_CN</facet>
  <facet set="false">facet.locale.zh_TW</facet>
  <img_type completeness="full"/>
  <property val="true">flush-content-cache-on-success</property>
</image>

Will install *only* the locale.de and local.de_DE language facet packages.

Please redirect all your questions to caiman-discuss@opensolaris.org

Tags:
Created by Drew Fisher on 2011/04/25 20:30
Last modified by Drew Fisher on 2011/04/25 20:30

Collectives

Project caiman Pages


XWiki Enterprise 2.7.1.34853 - Documentation