diff options
author | Ray Strode <rstrode@redhat.com> | 2011-10-18 17:34:56 -0400 |
---|---|---|
committer | Ray Strode <rstrode@redhat.com> | 2011-10-18 20:45:59 -0400 |
commit | 25004e4d11bbd2e8a22d5bcf49f294e9f63d2ce5 (patch) | |
tree | 9cc513448d99561aca2aed2637e15496a2ec9af8 /autogen.sh | |
parent | e6dad812f60c3e043ec74839f33f6574f2f3529a (diff) | |
download | gdm-25004e4d11bbd2e8a22d5bcf49f294e9f63d2ce5.tar.gz |
data: change the way we do dconf
We currently generate a complete, binary dconf database
as part of the install process.
In general, system administrators can change dconf
settings system-wide using a mechanism described here:
https://live.gnome.org/dconf/SystemAdministrators
Unfortunately, because of the way we generate our database,
any administrator overrides will get discarded during
package upgrade, and likewise, our carefully vetted database
will get destroyed on any site administrator updates.
Rather than step on each others toes, this commit changes
GDM to use the same mechanism described above. This should
make upstream defaults and system defaults coexist much
better.
Note, the mechanism used isn't quite as featureful as we
would really like. It doesn't support wildcards or changing
whole subtrees at a time. That means, in theory, if a new
plugin gets added to settings daemon it could be marked active
at the login screen without being vetted first.
To circumvent this, we add a layer of indirection in and some
gross shell scripting to give us the features we need.
Distributions should probably run
/usr/libexec/gdm-update-dconf-db \
gdm \
/usr/share/gdm/upstream-settings \
00-upstream-settings
In there post transaction hooks, but at a minimum need to run
dconf update.
Diffstat (limited to 'autogen.sh')
-rwxr-xr-x | autogen.sh | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -17,11 +17,6 @@ PKG_NAME="GDM" exit 1 } -(cd $srcdir/data/ ; ./make-dconf-override-db.sh) || { - echo "**Error**: Script "\`$srcdir/data/make-dconf-override-db.sh\'" failed" - exit 1 -} - which gnome-autogen.sh || { echo "You need to install gnome-common from the GNOME SVN" exit 1 |