Reconsider installation location of vendor.conf
If we want Lenovo laptop installs to have language and keyboard layout selection, then we need to do something about vendor.conf. Currently, on Fedora this file is installed under /usr/share and cannot be overridden from /etc. (Packaging is here.) In theory, since Lenovo is building a custom image, they could ship an override file under /etc. Only problem is, the location of this file is set by meson build argument, because it exists somewhere different in Endless. So we can't have a "standard" search path situation where it's known that the file always exists in a certain place under /usr/share or /usr/lib and then a file in /etc overrides it, because the file will be in a different place per distro.
Known distros using vendor.conf:
- Fedora uses /usr/share/gnome-initial-setup/vendor.conf
- Ubuntu uses /usr/lib/gnome-initial-setup/vendor.conf
- Endless uses /var/lib/eos-image-defaults/branding/gnome-initial-setup.conf
IIRC in Endless it needs to be in /var or /etc so that it's not included in the ostree image. Maybe that would be needed for Silverblue in the future too.
I guess the ideal end result for Fedora would be: Fedora installs vendor.conf under /usr/share or /usr/lib, then the OEM overrides it by shipping a file under /etc or /var. Will, any thoughts on this?