Update gnome-initial-setup vendor configuration path #136
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Previously we built GNOME Initial Setup to use the path
/var/lib/eos-image-defaults/branding/gnome-initial-setup.conf
andinstalled the keyfile specified in the
[image] branding_fbe_config
keythere. (There was no validation that its name was actually
gnome-initial-setup.conf
, which was necessary for it to work.)When we contributed this feature upstream to gnome-initial-setup, the
path was made configurable with a build-time parameter, with no default.
Some time later, Initial Setup started reading
/etc/gnome-initial-setup/vendor.conf
if present; and/usr/share/gnome-initial-setup/vendor.conf
otherwise. It retained abuild-time parameter, which we continued to set; but setting that
parameter disabled both of the upstream paths.
With the upstream behaviour, it is possible to ship overrides in the
immutable bit of the OS, and further override them in
/etc
. This is inmy opinion preferable to what we have historically done, to
always write a file in
/var
for all images, even if the specific imagedoes not want any image-specific customisation of Initial Setup.
/etc
, matching a buildconfiguration change I will make in our gnome-initial-setup package.
gnome-initial-setup
vendor.conf
in favour of Install & migrate gnome-initial-setup vendor.conf file eos-theme#392.https://phabricator.endlessm.com/T35040