-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add config inheritance for personality field
It is often the case that we want to build an image which just applies a few minor changes to an existing personality. For instance, the apps we want for most Spanish images are the same, but we have a few country-specific applications, and we often wish to build a sub-variant for a partner or region of a particular country. Currently we need to copy the full list of apps & settings from our es.ini personality config into (for instance) es_MX.ini; and then again from es_MX.ini into (e.g.) es_MX_aguascalientes.ini to add some region-specific apps or resources Implement a form of inheritance where (e.g.) building the es_MX personality reads es.ini and es_MX.ini, in that order; and (e.g.) building the es_MX_aguascalientes personality reads es.ini, es_MX.ini and es_MX_aguascalientes.ini, again in that order. This matches the convention that we have of naming personalities for the locale, and then adding further underscore-separated suffixes for subvariants thereof. This is only implemented for the personality field. This is where we do most of our customisation and is the place where inheritance would be most useful. https://phabricator.endlessm.com/T34731
- Loading branch information
Showing
2 changed files
with
80 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters