gdm: make this work reliably now.
--HG-- branch : gnome3
This commit is contained in:
parent
a5d33277c7
commit
0933fb5a74
4 changed files with 16 additions and 19 deletions
|
@ -3,16 +3,11 @@
|
|||
#
|
||||
case "${ACTION}" in
|
||||
post)
|
||||
chmod 1770 var/gdm
|
||||
chown root:gdm var/gdm
|
||||
chmod 0711 var/run/gdm
|
||||
chown root:gdm var/run/gdm
|
||||
chmod 0755 var/run/gdm/greeter
|
||||
chown gdm:gdm var/run/gdm/greeter
|
||||
chmod 0755 var/lib/gdm/.config/dconf
|
||||
chown gdm:gdm var/lib/gdm/.config/dconf
|
||||
chmod 1755 var/cache/gdm
|
||||
chown root:gdm /var/cache/gdm
|
||||
chown -R root:gdm var/lib/gdm/.gconf.mandatory
|
||||
if [ ! -d var/log/gdm ]; then
|
||||
mkdir -p var/log/gdm
|
||||
chown root:gdm var/log/gdm
|
||||
fi
|
||||
chown gdm:gdm var/lib/gdm > /dev/null
|
||||
chown -R gdm:gdm var/lib/gdm/.gconf.mandatory
|
||||
;;
|
||||
esac
|
||||
|
|
|
@ -6,6 +6,5 @@ post)
|
|||
[ -d var/cache/gdm ] && rm -rf var/cache/gdm
|
||||
[ -d var/lib/gdm ] && rm -rf var/lib/gdm
|
||||
[ -d var/log/gdm ] && rm -rf var/log/gdm
|
||||
[ -d var/gdm ] && rm -rf var/gdm
|
||||
;;
|
||||
esac
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/sbin/runscript
|
||||
|
||||
command=/usr/sbin/gdm-binary
|
||||
command=/usr/sbin/gdm
|
||||
|
||||
depend()
|
||||
{
|
||||
|
|
|
@ -5,9 +5,7 @@ revision=1
|
|||
distfiles="${GNOME_SITE}/$pkgname/2.91/$pkgname-$version.tar.bz2"
|
||||
build_style=gnu_configure
|
||||
configure_args="--disable-schemas-install --disable-scrollkeeper
|
||||
--with-gconf-schema-file-dir=/usr/share/gconf/schemas
|
||||
--localstatedir=/var --enable-ipv6 --with-user=gdm --with-group=gdm
|
||||
--with-xevie --exec-prefix=/usr"
|
||||
--with-gconf-schema-file-dir=/usr/share/gconf/schemas --localstatedir=/var"
|
||||
short_desc="GNOME Display Manager"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
checksum=63925bf2bf2e6a6b619702db797fd40ba5fa395036a527d3566f3d41b9d9b90e
|
||||
|
@ -25,15 +23,20 @@ long_desc="
|
|||
xdmcp a little bit in places where I thought xdm was lacking (but is
|
||||
still compatible with xdm's xdmcp)."
|
||||
|
||||
keep_empty_dirs=yes
|
||||
conf_files="/etc/gdm/custom.conf /etc/pam.d/gdm /etc/pam.d/gdm-autologin"
|
||||
conf_files="
|
||||
/etc/gdm/custom.conf
|
||||
/etc/gdm/Init/Default
|
||||
/etc/gdm/PreSession/Default
|
||||
/etc/gdm/PostSession/Default
|
||||
/etc/pam.d/gdm
|
||||
/etc/pam.d/gdm-autologin"
|
||||
|
||||
gconf_schemas="gdm-simple-greeter.schemas"
|
||||
gtk_iconcache_dirs="/usr/share/icons/hicolor"
|
||||
|
||||
# Create the 'gdm' system user/group.
|
||||
system_accounts="gdm"
|
||||
gdm_homedir="/var/lib/gdm"
|
||||
gdm_descr="GNOME Display Manager user"
|
||||
openrc_services="gdm default true"
|
||||
|
||||
Add_dependency run glibc
|
||||
|
|
Loading…
Reference in a new issue